@elu-labs/analytics-browser 1.410.4 → 1.411.0
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 +149 -20
- package/THIRD_PARTY_NOTICES.txt +1 -1
- package/dist/cold-session.mjs +1 -1
- package/dist/cold-session.mjs.map +1 -1
- package/dist/elu.js +1 -1
- package/dist/elu.js.map +1 -1
- package/dist/index.d.ts +194 -2
- package/dist/main.cjs +1 -1
- package/dist/main.cjs.map +1 -1
- package/dist/module.mjs +1 -1
- package/dist/module.mjs.map +1 -1
- package/dist/recorder.js +1 -1
- package/dist/recorder.js.map +1 -1
- package/dist/recorder.mjs +1 -1
- package/dist/recorder.mjs.map +1 -1
- package/dist/storage.js +1 -1
- package/dist/storage.js.map +1 -1
- package/package.json +1 -1
package/dist/recorder.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! ELU-modified distribution. Notices and license terms: https://elu.dev/sdk/licenses */
|
|
2
|
-
function e(e,t,r,n,s,i,o){try{var a=e[i](o),l=a.value}catch(e){return void r(e)}a.done?t(l):Promise.resolve(l).then(n,s)}function t(t){return function(){var r=this,n=arguments;return new Promise((function(s,i){var o=t.apply(r,n);function a(t){e(o,s,i,a,l,"next",t)}function l(t){e(o,s,i,a,l,"throw",t)}a(void 0)}))}}function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(null,arguments)}function n(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}class s extends Error{constructor(){super("Recorder cleanup incomplete"),this.name="RecorderCleanupError"}}var i=e=>e instanceof s||!!e&&"object"==typeof e&&"RecorderCleanupError"===e.name;function o(){var e=[],t=!1,r=!1,n=e=>{try{e()}catch(e){r=!0}},i=()=>{if(r)throw new s};return{close:()=>{for(t=!0;e.length;)n(e.pop());i()},poison(){r=!0},add(r){t?(n(r),i()):e.push(r)},replace(e,r,n){if(t)throw new s;var i=Object.getOwnPropertyDescriptor(e,r);this.add((()=>{if(i)Object.defineProperty(e,r,i);else if(!Reflect.deleteProperty(e,r))throw new Error("Recorder patch restoration failed")})),e[r]=n}}}function a(e){var t=o();try{return e(t),t.close}catch(e){throw i(e)&&t.poison(),t.close(),e}}var l=function(e){return e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e}({}),u=function(e){return e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e}({}),c=function(e){return e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e}({}),d=function(e){return e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e}({}),h=function(e){return e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e}({}),p=function(e){return e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e}({}),f=function(e){return e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e}({});function m(e,t){return-1!==e.indexOf(t)}var v={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot"],MutationObserver:[]},g={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:["querySelector","querySelectorAll"],MutationObserver:["constructor"]},y={};function w(e){if(y[e])return y[e];var t=function(e){var t,r=null==globalThis||null==(t=globalThis.Zone)||null==t.__symbol__?void 0:t.__symbol__(e);return r&&globalThis[r]?globalThis[r]:void 0}(e)||globalThis[e],r=t.prototype,n=e in v?v[e]:void 0,s=Boolean(n&&n.every((e=>{var t;return Boolean(null==(t=Object.getOwnPropertyDescriptor(r,e))||null==(t=t.get)?void 0:t.toString().includes("[native code]"))}))),i=e in g?g[e]:void 0,o=Boolean(i&&i.every((e=>{var t;return"function"==typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))})));if(s&&o)return y[e]=t.prototype,t.prototype;var a=document.createElement("iframe");a.style.display="none";var l,u=!1;try{document.body.appendChild(a);var c=a.contentWindow;if(!c)return t.prototype;var d=c[e].prototype;return d?(m(l=navigator.userAgent,"AppleWebKit")&&!m(l,"Chrome")&&(a.classList.add("rr-block","ph-no-capture"),a.setAttribute("__rrwebUntaintedPrototype",e),u=!0),y[e]=d):r}catch(e){return r}finally{!u&&a.parentNode&&document.body.removeChild(a)}}var b={};function S(e,t,r){var n,s=e+"."+String(r);if(b[s])return b[s].call(t);var i=w(e),o=null==(n=Object.getOwnPropertyDescriptor(i,r))?void 0:n.get;return o?(b[s]=o,o.call(t)):t[r]}var C={};function I(e,t,r){var n=e+"."+String(r);if(C[n])return C[n].bind(t);var s=w(e)[r];return"function"!=typeof s?t[r]:(C[n]=s,s.bind(t))}function M(){return w("MutationObserver").constructor}function k(e,t,r){try{if(!(t in e))return()=>{};var n=e[t],s={next:n},i=r((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.next.apply(this,t)}));return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n},__rrweb_layer__:{enumerable:!1,value:s}})),e[t]=i,()=>{if(e[t]!==i)for(var r=e[t];"function"==typeof r&&r.__rrweb_layer__;){var n=r.__rrweb_layer__;if(n.next===i)return void(n.next=s.next);r=n.next}else e[t]=s.next}}catch(e){return()=>{}}}var O={childNodes:function(e){return S("Node",e,"childNodes")},parentNode:function(e){return S("Node",e,"parentNode")},parentElement:function(e){return S("Node",e,"parentElement")},textContent:function(e){return S("Node",e,"textContent")},contains:function(e,t){return I("Node",e,"contains")(t)},getRootNode:function(e){return I("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?S("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?S("Element",e,"shadowRoot"):null},querySelector:function(e,t){return I("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return I("Element",e,"querySelectorAll")(t)},mutationObserver:M,patch:k};function x(e){return e.nodeType===e.ELEMENT_NODE}function E(e){var t=e&&"host"in e&&"mode"in e&&O.host(e)||null;return Boolean(t&&"shadowRoot"in t&&O.shadowRoot(t)===e)}function R(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function N(e){try{var t=e.rules||e.cssRules;if(!t)return null;var r=e.href;!r&&e.ownerNode&&(r=e.ownerNode.baseURI);var n=Array.from(t,(e=>A(e,r))).join("");return(s=n).includes(" background-clip: text;")&&!s.includes(" -webkit-background-clip: text;")&&(s=s.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),s}catch(e){return null}var s}function A(e,t){if(function(e){return"styleSheet"in e}(e)){var r;try{r=N(e.styleSheet)||function(e){var t=e.cssText;if(t.split('"').length<3)return t;var r=["@import","url("+JSON.stringify(e.href)+")"];return""===e.layerName?r.push("layer"):e.layerName&&r.push("layer("+e.layerName+")"),e.supportsText&&r.push("supports("+e.supportsText+")"),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}(e)}catch(t){r=e.cssText}try{var n;if(r&&null!=(n=e.styleSheet)&&n.href)return z(r,e.styleSheet.href)}catch(e){}return r}var s,i=e.cssText;return function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":")&&(s=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,i=i.replace(s,"$1\\$2")),t?z(i,t):i}class D{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){var t;if(!e)return-1;var r=null==(t=this.getMeta(e))?void 0:t.id;return null!=r?r:-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){var t=this.getId(e);if(this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach((e=>this.removeNodeFromMap(e))),x(e)){var r=O.shadowRoot(e);r&&this.removeNodeFromMap(r),"IFRAME"===e.nodeName&&e.contentDocument&&this.removeNodeFromMap(e.contentDocument)}}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){var r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)}replace(e,t){var r=this.getNode(e);if(r){var n=this.nodeMetaMap.get(r);n&&this.nodeMetaMap.set(t,n)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function T(e){var t=e.element,r=e.maskInputOptions,n=e.tagName,s=e.type,i=e.value,o=e.maskInputFn,a=i||"",l=s&&L(s);return(r[n.toLowerCase()]||l&&r[l])&&(a=o?o(a,t):"*".repeat(a.length)),a}function L(e){return e.toLowerCase()}var F="__rrweb_original__";function P(e){try{var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?L(t):null}catch(e){return null}}var B=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,j=/^(?:[a-z+]+:)?\/\//i,H=/^www\..*/i,W=/^(data:)([^,]*),(.*)/i;function z(e,t){return(e||"").replace(B,((e,r,n,s,i,o)=>{var a,l=n||i||o,u=r||s||"";if(!l)return e;if(j.test(l)||H.test(l))return"url("+u+l+u+")";if(W.test(l))return"url("+u+l+u+")";if("/"===l[0])return"url("+u+(((a=t).indexOf("//")>-1?a.split("/").slice(0,3).join("/"):a.split("/")[0]).split("?")[0]+l)+u+")";var c=t.split("/"),d=l.split("/");for(var h of(c.pop(),d))"."!==h&&(".."===h?c.pop():c.push(h));return"url("+u+c.join("/")+u+")"}))}var U,G,J="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzPgogICAgPHBhdHRlcm4gaWQ9InN0cmlwZXMiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+CiAgICAgIDxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iYmxhY2siLz4KICAgICAgPHBhdGggZD0iTTggMEgxNkwwIDE2VjhMOCAwWiIgZmlsbD0iIzJEMkQyRCIvPgogICAgICA8cGF0aCBkPSJNMTYgOFYxNkg4TDE2IDhaIiBmaWxsPSIjMkQyRDJEIi8+CiAgICA8L3BhdHRlcm4+CiAgPC9kZWZzPgogIDxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjc3RyaXBlcykiLz4KPC9zdmc+Cg==",V=4096,K=1,Y=new RegExp("[^a-z0-9-_:]"),q=-2;function Z(){return K++}var Q=/^[^ \t\n\r\u000c]+/,X=/^[, \t\n\r\u000c]+/,_=new WeakMap;function $(e,t){return t&&""!==t.trim()?ee(e,t):t}function ee(e,t){var r=_.get(e);if(r||(r=e.createElement("a"),_.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function te(e,t){return null!=t&&t.maxBase64ImageLength?function(e,t){return!t||e.length<=t?e:J}(e,t.maxBase64ImageLength):e}function re(e,t,r,n,s,i){if(!n)return n;if("src"===r||"href"===r&&("use"!==t||"#"!==n[0])){if("link"===t&&s){var o,a=null==(o=s.sheet)?void 0:o.href;if(a)return a}var l=$(e,n);if(l.startsWith("data:")){if("img"===t&&s){var u=l;return(null!=i&&i.type||void 0!==(null==i?void 0:i.quality))&&(u=function(e,t,r,n){if(!e.complete||0===e.naturalWidth)return t;if(e.naturalWidth>V||e.naturalHeight>V)return t;try{var s=document.createElement("canvas");s.width=e.naturalWidth,s.height=e.naturalHeight;var i=s.getContext("2d");return i?(i.drawImage(e,0,0),s.toDataURL(r||"image/webp",null!=n?n:.4)):t}catch(e){return t}}(s,l,i.type,i.quality)),te(u,i)}if("image"===t)return te(l,i)}return l}if("xlink:href"===r&&"#"!==n[0]){var c=$(e,n);return"image"===t&&c.startsWith("data:")?te(c,i):c}return"background"!==r||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===r?function(e,t){if(""===t.trim())return t;var r=0;function n(e){var n,s=e.exec(t.substring(r));return s?(n=s[0],r+=n.length,n):""}for(var s=[];n(X),!(r>=t.length);){var i=n(Q);if(","===i.slice(-1))i=$(e,i.substring(0,i.length-1)),s.push(i);else{var o="";i=$(e,i);for(var a=!1;;){var l=t.charAt(r);if(""===l){s.push((i+o).trim());break}if(a)")"===l&&(a=!1);else{if(","===l){r+=1,s.push((i+o).trim());break}"("===l&&(a=!0)}o+=l,r+=1}}}return s.join(", ")}(e,n):"style"===r?z(n,ee(e)):"object"===t&&"data"===r?$(e,n):n:$(e,n)}function ne(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function se(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!r&&se(O.parentNode(e),t,r);for(var n=e.classList.length;n--;){var s=e.classList[n];if(t.test(s))return!0}return!!r&&se(O.parentNode(e),t,r)}function ie(e,t,r,n){var s;if(x(e)){if(s=e,!O.childNodes(s).length&&!O.shadowRoot(s))return!1}else if(!(s=O.parentElement(e))){var i=O.parentNode(e);i&&E(i)&&(s=O.host(i))}try{for(;s;){if("string"==typeof t){if(n?s.closest("."+t):s.classList.contains(t))return!0}else if(se(s,t,n))return!0;if(r&&(n?s.closest(r):s.matches(r)))return!0;if(!n)return!1;var o=O.getRootNode(s);s=E(o)?O.host(o):null}}catch(e){}return!1}function oe(e,t,r){var n=e.removeEventListener;"function"==typeof n&&n.call(e,t,r)}var ae=new Map;function le(){var e=!1;for(var t of[...ae.values()].reverse())try{t.abort()}catch(t){e=!0}if(e){var r=new Error("Recorder stylesheet cleanup incomplete");throw r.name="RecorderCleanupError",r}}function ue(e,t){return Array.from(e.styleSheets).find((e=>e.href===t))}function ce(e){return null==e?"":e.toLowerCase()}var de=50,he=!1;function pe(e,t){var r=t.doc,n=t.mirror,s=t.blockClass,i=t.blockSelector,o=t.maskTextClass,a=t.maskTextSelector,l=t.skipChild,u=void 0!==l&&l,c=t.inlineStylesheet,d=void 0===c||c,h=t.maskInputOptions,p=void 0===h?{}:h,m=t.maskTextFn,v=t.maskInputFn,g=t.slimDOMOptions,y=t.dataURLOptions,w=void 0===y?{}:y,b=t.inlineImages,S=void 0!==b&&b,C=t.recordCanvas,I=void 0!==C&&C,M=t.canvasMaskingConfigured,k=t.onSerialize,A=t.onIframeLoad,D=t.iframeLoadTimeout,B=void 0===D?5e3:D,j=t.onIframeListenerRegistered,H=t.onStylesheetLoad,W=t.stylesheetLoadTimeout,J=void 0===W?5e3:W,V=t.keepIframeSrcFn,K=void 0===V?()=>!1:V,Q=t.newlyAddedElement,X=void 0!==Q&&Q,_=t.depth,$=void 0===_?0:_,te=t.maxDepth,se=void 0===te?de:te,le=t.needsMask,fe=t.preserveWhiteSpace,me=void 0===fe||fe;if($>=se)return he||(he=!0,console.warn("[rrweb-snapshot] DOM tree depth exceeded max depth of "+se+". Children beyond this depth will not be recorded. This may indicate deeply nested DOM structures.")),null;le||(le=ie(e,o,a,void 0===le));var ve,ge=function(e,t){var r=t.doc,n=t.mirror,s=t.blockClass,i=t.blockSelector,o=t.needsMask,a=t.inlineStylesheet,l=t.maskInputOptions,u=void 0===l?{}:l,c=t.maskTextFn,d=t.maskInputFn,h=t.dataURLOptions,p=void 0===h?{}:h,m=t.inlineImages,v=t.recordCanvas,g=t.canvasMaskingConfigured,y=t.keepIframeSrcFn,w=t.newlyAddedElement,b=void 0!==w&&w,S=function(e,t){if(t.hasNode(e)){var r=t.getId(e);return 1===r?void 0:r}}(r,n);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:f.Document,childNodes:[],compatMode:e.compatMode}:{type:f.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:f.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:S};case e.ELEMENT_NODE:return function(e,t){for(var r,n=t.doc,s=t.inlineStylesheet,i=t.maskInputOptions,o=void 0===i?{}:i,a=t.maskInputFn,l=t.dataURLOptions,u=void 0===l?{}:l,c=t.inlineImages,d=t.recordCanvas,h=t.canvasMaskingConfigured,p=t.keepIframeSrcFn,m=t.newlyAddedElement,v=void 0!==m&&m,g=t.rootId,y=function(e,t,r){try{if("string"==typeof t){if(e.classList.contains(t))return!0}else for(var n=e.classList.length;n--;){var s=e.classList[n];if(t.test(s))return!0}if(r)return e.matches(r)}catch(e){}return!1}(e,t.blockClass,t.blockSelector),w=function(e){if(e instanceof HTMLFormElement)return"form";var t=L(e.tagName);return Y.test(t)?"div":t}(e),b={},S=e.attributes.length,C=0;C<S;C++){var I=e.attributes[C];ne(w,I.name,I.value)||(b[I.name]=re(n,w,L(I.name),I.value,e,u))}if("link"===w&&s){var M=e.sheet;if(!M){var k=function(e){return e.href}(e);k&&!(M=ue(n,k))&&k.includes(".css")&&(M=ue(n,window.location.origin+"/"+k.replace(window.location.href,"")))}var x=null;M&&(x=N(M)),x&&(delete b.rel,delete b.href,b._cssText=x)}if("style"===w&&e.sheet&&!(e.innerText||O.textContent(e)||"").trim().length){var E=N(e.sheet);E&&(b._cssText=E)}if("input"===w||"textarea"===w||"select"===w){var R=e.value,A=e.checked;"radio"!==b.type&&"checkbox"!==b.type&&"submit"!==b.type&&"button"!==b.type&&R?b.value=T({element:e,type:P(e),tagName:w,value:R,maskInputOptions:o,maskInputFn:a}):A&&(b.checked=A)}if("option"===w&&(e.selected&&!o.select?b.selected=!0:delete b.selected),"dialog"===w&&e.open)try{b.rr_open_mode=e.matches("dialog:modal")?"modal":"non-modal"}catch(e){b.rr_open_mode="modal",b.ph_rr_could_not_detect_modal=!0}if("canvas"===w&&d&&(null==h||!h()))if("2d"===e.__context)(function(e){var t=e.getContext("2d");if(!t)return!0;for(var r=0;r<e.width;r+=50)for(var n=0;n<e.height;n+=50){var s=t.getImageData,i=F in s?s[F]:s;if(new Uint32Array(i.call(t,r,n,Math.min(50,e.width-r),Math.min(50,e.height-n)).data.buffer).some((e=>0!==e)))return!1}return!0})(e)||(b.rr_dataURL=e.toDataURL(u.type,u.quality));else if(!("__context"in e)){var D=e.toDataURL(u.type,u.quality),B=n.createElement("canvas");B.width=e.width,B.height=e.height,D!==B.toDataURL(u.type,u.quality)&&(b.rr_dataURL=D)}if("img"===w&&c){U||(U=n.createElement("canvas"),G=U.getContext("2d"));var j=e,H=j.currentSrc||j.getAttribute("src")||"<unknown-src>",W=j.crossOrigin,z=()=>{oe(j,"load",z);try{U.width=j.naturalWidth,U.height=j.naturalHeight,G.drawImage(j,0,0),b.rr_dataURL=U.toDataURL(u.type,u.quality)}catch(e){if("anonymous"!==j.crossOrigin)return j.crossOrigin="anonymous",void(j.complete&&0!==j.naturalWidth?z():j.addEventListener("load",z));console.warn("Cannot inline img src="+H+"! Error: "+e)}"anonymous"===j.crossOrigin&&(W?b.crossOrigin=W:j.removeAttribute("crossorigin"))};j.complete&&0!==j.naturalWidth?z():j.addEventListener("load",z)}if("audio"===w||"video"===w){var J=b;J.rr_mediaState=e.paused?"paused":"played",J.rr_mediaCurrentTime=e.currentTime,J.rr_mediaPlaybackRate=e.playbackRate,J.rr_mediaMuted=e.muted,J.rr_mediaLoop=e.loop,J.rr_mediaVolume=e.volume}if(v||(e.scrollLeft&&(b.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(b.rr_scrollTop=e.scrollTop)),y){var V,K,q,Z=e.getBoundingClientRect(),Q=Z.width,X=Z.height,_=Z.left,$=Z.top,ee=null==(V=n.defaultView)?void 0:V.getComputedStyle(e);b={class:b.class,rr_width:Q+"px",rr_height:X+"px",rr_left:Math.floor(_+((null==(K=n.defaultView)?void 0:K.scrollX)||0))+"px",rr_top:Math.floor($+((null==(q=n.defaultView)?void 0:q.scrollY)||0))+"px"},ee&&(b.rr_position=ee.position||"static",ee.transform&&"none"!==ee.transform&&(b.rr_transform=ee.transform),ee.display&&ee.display.startsWith("inline")&&(b.rr_display=ee.display))}"iframe"!==w||p(b.src)||(e.contentDocument||(b.rr_src=b.src),delete b.src);try{customElements.get(w)&&(r=!0)}catch(e){}return{type:f.Element,tagName:w,attributes:b,childNodes:[],isSVG:(te=e,Boolean("svg"===te.tagName||te.ownerSVGElement)||void 0),needBlock:y,rootId:g,isCustom:r};var te}(e,{doc:r,blockClass:s,blockSelector:i,inlineStylesheet:a,maskInputOptions:u,maskInputFn:d,dataURLOptions:p,inlineImages:m,recordCanvas:v,canvasMaskingConfigured:g,keepIframeSrcFn:y,newlyAddedElement:b,rootId:S});case e.TEXT_NODE:return function(e,t){var r=t.needsMask,n=t.maskTextFn,s=t.rootId,i=O.parentNode(e),o=i&&i.tagName,a=O.textContent(e),l="STYLE"===o||void 0,u="SCRIPT"===o||void 0;if(l&&a){try{var c;if(e.nextSibling||e.previousSibling);else if(null!=(c=i.sheet)&&c.cssRules){var d=N(i.sheet);d&&!/(?:^|[\s;{}])-?[a-zA-Z][\w-]*\s*:\s*;/.test(d)&&(a=d)}}catch(t){console.warn("Cannot get CSS styles from text's parentNode. Error: "+t,e)}a=z(a,ee(t.doc))}return u&&(a="SCRIPT_PLACEHOLDER"),!l&&!u&&a&&r&&(a=n?n(a,O.parentElement(e)):a.replace(/[\S]/g,"*")),{type:f.Text,textContent:a||"",isStyle:l,rootId:s}}(e,{doc:r,needsMask:o,maskTextFn:c,rootId:S});case e.CDATA_SECTION_NODE:return{type:f.CDATA,textContent:"",rootId:S};case e.COMMENT_NODE:return{type:f.Comment,textContent:O.textContent(e)||"",rootId:S};default:return!1}}(e,{doc:r,mirror:n,blockClass:s,blockSelector:i,needsMask:le,inlineStylesheet:d,maskInputOptions:p,maskTextFn:m,maskInputFn:v,dataURLOptions:w,inlineImages:S,recordCanvas:I,canvasMaskingConfigured:M,keepIframeSrcFn:K,newlyAddedElement:X});if(!ge)return console.warn(e,"not serialized"),null;ve=n.hasNode(e)?n.getId(e):function(e,t){if(t.comment&&e.type===f.Comment)return!0;if(e.type===f.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel&&"script"===e.attributes.as||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===function(e,t){var r,n;try{n=new URL(e,window.location.href)}catch(e){return null}var s=n.pathname.match(/\.([0-9a-z]+)(?:$)/i);return null!=(r=null==s?void 0:s[1])?r:null}(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(ce(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===ce(e.attributes.name)||["icon","apple-touch-icon","shortcut icon"].includes(ce(e.attributes.rel)))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&ce(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(ce(e.attributes.property).match(/^(og|twitter|fb):/)||ce(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===ce(e.attributes.name)))return!0;if(t.headMetaRobots&&["robots","googlebot","bingbot"].includes(ce(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&(["author","generator","framework","publisher","progid"].includes(ce(e.attributes.name))||ce(e.attributes.property).match(/^article:/)||ce(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&["google-site-verification","yandex-verification","csrf-token","p:domain_verify","verify-v1","verification","shopify-checkout-api-token"].includes(ce(e.attributes.name)))return!0}}return!1}(ge,g)||!me&&ge.type===f.Text&&!ge.isStyle&&!ge.textContent.replace(/^\s+|\s+$/gm,"").length?q:Z();var ye=Object.assign(ge,{id:ve});if(n.add(e,ye),ve===q)return null;k&&k(e);var we=!u;if(ye.type===f.Element){we=we&&!ye.needBlock,delete ye.needBlock;var be=O.shadowRoot(e);be&&R(be)&&(ye.isShadowHost=!0)}if((ye.type===f.Document||ye.type===f.Element)&&we){g.headWhitespace&&ye.type===f.Element&&"head"===ye.tagName&&(me=!1);var Se={doc:r,mirror:n,blockClass:s,blockSelector:i,needsMask:le,maskTextClass:o,maskTextSelector:a,skipChild:u,inlineStylesheet:d,maskInputOptions:p,maskTextFn:m,maskInputFn:v,slimDOMOptions:g,dataURLOptions:w,inlineImages:S,recordCanvas:I,canvasMaskingConfigured:M,preserveWhiteSpace:me,onSerialize:k,onIframeLoad:A,iframeLoadTimeout:B,onIframeListenerRegistered:j,onStylesheetLoad:H,stylesheetLoadTimeout:J,keepIframeSrcFn:K,depth:$+1,maxDepth:se};if(ye.type===f.Element&&"textarea"===ye.tagName&&void 0!==ye.attributes.value);else for(var Ce of Array.from(O.childNodes(e))){var Ie=pe(Ce,Se);Ie&&ye.childNodes.push(Ie)}var Me=null;if(x(e)&&(Me=O.shadowRoot(e)))for(var ke of Array.from(O.childNodes(Me))){var Oe=pe(ke,Se);Oe&&(R(Me)&&(Oe.isShadow=!0),ye.childNodes.push(Oe))}}var xe=O.parentNode(e);if(xe&&E(xe)&&R(xe)&&(ye.isShadow=!0),ye.type===f.Element&&"iframe"===ye.tagName){var Ee=function(e,t,r){var n,s=()=>{},i=e.contentWindow;if(!i)return s;try{n=i.document.readyState}catch(e){return s}var o=()=>t();if("complete"!==n){var a=!1,l=null,u=()=>{a||(a=!0,null!==l&&(clearTimeout(l),l=null),oe(e,"load",c),e.addEventListener("load",o),t())},c=()=>u();return l=setTimeout(u,r),e.addEventListener("load",c),()=>{null!==l&&(clearTimeout(l),l=null),a?oe(e,"load",o):(a=!0,oe(e,"load",c))}}var d,h="about:blank";try{d=i.location.href}catch(e){return s}if(d!==h||e.src===h||""===e.src){var p=setTimeout(t,0);return e.addEventListener("load",o),()=>{clearTimeout(p),oe(e,"load",o)}}return e.addEventListener("load",o),()=>{oe(e,"load",o)}}(e,(()=>{var t=e.contentDocument;if(t&&A){var r=pe(t,{doc:t,mirror:n,blockClass:s,blockSelector:i,needsMask:le,maskTextClass:o,maskTextSelector:a,skipChild:!1,inlineStylesheet:d,maskInputOptions:p,maskTextFn:m,maskInputFn:v,slimDOMOptions:g,dataURLOptions:w,inlineImages:S,recordCanvas:I,canvasMaskingConfigured:M,preserveWhiteSpace:me,onSerialize:k,onIframeLoad:A,iframeLoadTimeout:B,onIframeListenerRegistered:j,onStylesheetLoad:H,stylesheetLoadTimeout:J,keepIframeSrcFn:K,depth:$+1,maxDepth:se});r&&A(e,r)}}),B);null==j||j(e,Ee)}return ye.type===f.Element&&"link"===ye.tagName&&"stylesheet"===ye.attributes.rel&&function(t,l,u){if(!ae.has(t)){var c;try{c=t.sheet}catch(e){return}if(!c){var h,f=!1,y=!1,b=!1,C=!1,O={abort(){if(f=!0,void 0!==h){var e=h;h=void 0;try{clearTimeout(e)}catch(e){b=!0}}if(C){C=!1;try{t.removeEventListener("load",x)}catch(e){b=!0}}if(b||ae.get(t)!==O||ae.delete(t),b){var r=new Error("Recorder stylesheet cleanup incomplete");throw r.name="RecorderCleanupError",r}}},x=()=>{if(!f&&!y){y=!0;try{(()=>{if(H){var t=pe(e,{doc:r,mirror:n,blockClass:s,blockSelector:i,needsMask:le,maskTextClass:o,maskTextSelector:a,skipChild:!1,inlineStylesheet:d,maskInputOptions:p,maskTextFn:m,maskInputFn:v,slimDOMOptions:g,dataURLOptions:w,inlineImages:S,recordCanvas:I,canvasMaskingConfigured:M,preserveWhiteSpace:me,onSerialize:k,onIframeLoad:A,iframeLoadTimeout:B,onStylesheetLoad:H,stylesheetLoadTimeout:J,keepIframeSrcFn:K,depth:$,maxDepth:se});t&&H(e,t)}})()}finally{O.abort()}}};ae.set(t,O);try{h=setTimeout(x,u),C=!0,t.addEventListener("load",x,{once:!0})}catch(e){throw O.abort(),e}}}}(e,0,J),ye}function fe(e){return!0===e||"all"===e?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===e,headMetaDescKeywords:"all"===e,headTitleMutations:"all"===e}:!1===e?{}:e}function me(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ve(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var r=function e(){var r=!1;try{r=this instanceof e}catch{}return r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var ge,ye={exports:{}};function we(){if(ge)return ye.exports;ge=1;var e=String,t=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e,blackBright:e,redBright:e,greenBright:e,yellowBright:e,blueBright:e,magentaBright:e,cyanBright:e,whiteBright:e,bgBlackBright:e,bgRedBright:e,bgGreenBright:e,bgYellowBright:e,bgBlueBright:e,bgMagentaBright:e,bgCyanBright:e,bgWhiteBright:e}};return ye.exports=t(),ye.exports.createColors=t,ye.exports}var be,Se,Ce,Ie,Me,ke,Oe=ve(Object.freeze({__proto__:null,default:{}}));function xe(){if(Se)return be;Se=1;var e=we(),t=Oe;class r extends Error{constructor(e,t,n,s,i,o){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),s&&(this.source=s),o&&(this.plugin=o),void 0!==t&&void 0!==n&&("number"==typeof t?(this.line=t,this.column=n):(this.line=t.line,this.column=t.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,r)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(r){if(!this.source)return"";var n=this.source;null==r&&(r=e.isColorSupported);var s=e=>e,i=e=>e,o=e=>e;if(r){var a=e.createColors(!0),l=a.bold,u=a.gray,c=a.red;i=e=>l(c(e)),s=e=>u(e),t&&(o=e=>t(e))}var d=n.split(/\r?\n/),h=Math.max(this.line-3,0),p=Math.min(this.line+2,d.length),f=String(p).length;return d.slice(h,p).map(((e,t)=>{var r=h+1+t,n=" "+(" "+r).slice(-f)+" | ";if(r===this.line){if(e.length>160){var a=Math.max(0,this.column-20),l=Math.max(this.column+20,this.endColumn+20),u=e.slice(a,l),c=s(n.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,19)).replace(/[^\t]/g," ");return i(">")+s(n)+o(u)+"\n "+c+i("^")}var d=s(n.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return i(">")+s(n)+o(e)+"\n "+d+i("^")}return" "+s(n)+o(e)})).join("\n")}toString(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}return be=r,r.default=r,be}function Ee(){if(Ie)return Ce;Ie=1;var e=/(<)(\/?style\b)/gi,t=/(<)(!--)/g;function r(r){return"string"!=typeof r?r:r.includes("<")?r.replace(e,"\\3c $2").replace(t,"\\3c $2"):r}var n={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class s{constructor(e){this.builder=e}atrule(e,t){var n=e.raws,s="@"+e.name,i=e.params?this.rawValue(e,"params"):"";if(void 0!==n.afterName?s+=n.afterName:i&&(s+=" "),e.nodes)this.block(e,s+i);else{var o=(n.between||"")+(t?";":"");this.builder(r(s+i+o),e)}}beforeAfter(e,t){var r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var n=e.parent,s=0;n&&"root"!==n.type;)s+=1,n=n.parent;if(r.includes("\n")){var i=this.raw(e,null,"indent");if(i.length)for(var o=0;o<s;o++)r+=i}return r}block(e,t){var n,s=this.raw(e,"between","beforeOpen");this.builder(r(t+s)+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),n=this.raw(e,"after")):n=this.raw(e,"after","emptyBody"),n&&this.builder(r(n)),this.builder("}",e,"end")}body(e){for(var t=e.nodes,n=t.length-1;n>0&&"comment"===t[n].type;)n-=1;for(var s=this.raw(e,"semicolon"),i="document"===e.type,o=0;o<t.length;o++){var a=t[o],l=this.raw(a,"before");l&&this.builder(i?l:r(l)),this.stringify(a,n!==o||s)}}comment(e){var t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder(r("/*"+t+e.text+n+"*/"),e)}decl(e,t){var n=e.raws,s=this.raw(e,"between","colon"),i=e.prop+s+this.rawValue(e,"value");e.important&&(i+=n.important||" !important"),t&&(i+=";"),this.builder(r(i),e)}document(e){this.body(e)}raw(e,t,r){var s;if(r||(r=t),t&&void 0!==(s=e.raws[t]))return s;var i=e.parent;if("before"===r){if(!i||"root"===i.type&&i.first===e)return"";if(i&&"document"===i.type)return""}if(!i)return n[r];var o=e.root(),a=o.rawCache||(o.rawCache={});if(void 0!==a[r])return a[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var l,u="raw"+((l=r)[0].toUpperCase()+l.slice(1));return this[u]?s=this[u](o,e):o.walk((e=>{if(void 0!==(s=e.raws[t]))return!1})),void 0===s&&(s=n[r]),a[r]=s,s}rawBeforeClose(e){var t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){var r;return e.walkComments((e=>{if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){var r;return e.walkDecls((e=>{if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){var t;return e.walk((e=>{if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1})),t}rawBeforeRule(e){var t;return e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){var t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}rawEmptyBody(e){var t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1})),t}rawIndent(e){return e.raws.indent?e.raws.indent:(e.walk((r=>{var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){var s=r.raws.before.split("\n");return t=(t=s[s.length-1]).replace(/\S/g,""),!1}})),t);var t}rawSemicolon(e){var t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1})),t}rawValue(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r}root(e){if(this.body(e),e.raws.after){var t=e.raws.after,n=e.parent&&"document"===e.parent.type;this.builder(n?t:r(t))}}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(r(e.raws.ownSemicolon),e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}return Ce=s,s.default=s,Ce}function Re(){if(ke)return Me;ke=1;var e=Ee();function t(t,r){new e(r).stringify(t)}return Me=t,t.default=t,Me}var Ne,Ae,De,Te,Le,Fe,Pe,Be,je,He,We,ze,Ue,Ge,Je,Ve,Ke,Ye,qe,Ze,Qe,Xe,_e,$e,et,tt={};function rt(){return Ne||(Ne=1,tt.isClean=Symbol("isClean"),tt.my=Symbol("my")),tt}function nt(){if(De)return Ae;De=1;var e=xe(),t=Ee(),r=Re(),n=rt(),s=n.isClean,i=n.my;function o(e,t){var r=new e.constructor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"proxyCache"!==n){var s=e[n],i=typeof s;"parent"===n&&"object"===i?t&&(r[n]=t):"source"===n?r[n]=s:Array.isArray(s)?r[n]=s.map((e=>o(e,r))):("object"===i&&null!==s&&(s=o(s)),r[n]=s)}return r}function a(e,t){if(t&&void 0!==t.offset)return t.offset;for(var r=1,n=1,s=0,i=0;i<e.length;i++){if(n===t.line&&r===t.column){s=i;break}"\n"===e[i]?(r=1,n+=1):r+=1}return s}class l{get proxyOf(){return this}constructor(e){for(var t in void 0===e&&(e={}),this.raws={},this[s]=!1,this[i]=!0,e)if("nodes"===t)for(var r of(this.nodes=[],e[t]))"function"==typeof r.clone&&r.parent?this.append(r.clone()):this.append(r);else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+t.input.from+":"+t.start.line+":"+t.start.column+"$&")}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e){for(var t in void 0===e&&(e={}),e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e){void 0===e&&(e={});var t=o(this);for(var r in e)t[r]=e[r];return t}cloneAfter(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t}error(t,r){if(void 0===r&&(r={}),this.source){var n=this.rangeBy(r),s=n.end,i=n.start;return this.source.input.error(t,{column:i.column,line:i.line},{column:s.column,line:s.line},r)}return new e(t)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,r)=>(e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0)}}markClean(){this[s]=!0}markDirty(){if(this[s]){this[s]=!1;for(var e=this;e=e.parent;)e[s]=!1}}next(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}}positionBy(e){void 0===e&&(e={});var t="document"in this.source.input?this.source.input.document:this.source.input.css,r={column:this.source.start.column,line:this.source.start.line,offset:a(t,this.source.start)};if(e.index)r=this.positionInside(e.index);else if(e.word){var n=t.slice(a(t,this.source.start),a(t,this.source.end)).indexOf(e.word);-1!==n&&(r=this.positionInside(n))}return r}positionInside(e){for(var t=this.source.start.column,r=this.source.start.line,n=("document"in this.source.input?this.source.input.document:this.source.input.css),s=a(n,this.source.start),i=s+e,o=s;o<i;o++)"\n"===n[o]?(t=1,r+=1):t+=1;return{column:t,line:r,offset:i}}prev(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}}rangeBy(e){void 0===e&&(e={});var t="document"in this.source.input?this.source.input.document:this.source.input.css,r={column:this.source.start.column,line:this.source.start.line,offset:a(t,this.source.start)},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:"number"==typeof this.source.end.offset?this.source.end.offset:a(t,this.source.end)+1}:{column:r.column+1,line:r.line,offset:r.offset+1};if(e.word){var s=t.slice(a(t,this.source.start),a(t,this.source.end)).indexOf(e.word);-1!==s&&(r=this.positionInside(s),n=this.positionInside(s+e.word.length))}else e.start?r={column:e.start.column,line:e.start.line,offset:a(t,e.start)}:"number"==typeof e.index&&(r=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line,offset:a(t,e.end)}:"number"==typeof e.endIndex?n=this.positionInside(e.endIndex):"number"==typeof e.index&&(n=this.positionInside(e.index+1));return(n.line<r.line||n.line===r.line&&n.column<=r.column)&&(n={column:r.column+1,line:r.line,offset:r.offset+1}),{end:n,start:r}}raw(e,r){return(new t).raw(this,e,r)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(){if(this.parent){for(var e=this,t=!1,r=arguments.length,n=new Array(r),s=0;s<r;s++)n[s]=arguments[s];for(var i of n)i===this?t=!0:t?(this.parent.insertAfter(e,i),e=i):this.parent.insertBefore(e,i);t||this.remove()}return this}root(){for(var e=this;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){var r={},n=null==t;t=t||new Map;var s=0;for(var i in this)if(Object.prototype.hasOwnProperty.call(this,i)&&"parent"!==i&&"proxyCache"!==i){var o=this[i];if(Array.isArray(o))r[i]=o.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof o&&o.toJSON)r[i]=o.toJSON(null,t);else if("source"===i){if(null==o)continue;var a=t.get(o.input);null==a&&(a=s,t.set(o.input,s),s++),r[i]={end:o.end,inputId:a,start:o.start}}else r[i]=o}return n&&(r.inputs=[...t.keys()].map((e=>e.toJSON()))),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e){void 0===e&&(e=r),e.stringify&&(e=e.stringify);var t="";return e(this,(e=>{t+=e})),t}warn(e,t,r){void 0===r&&(r={});var n={node:this};for(var s in r)n[s]=r[s];return e.warn(t,n)}}return Ae=l,l.default=l,Ae}function st(){if(Le)return Te;Le=1;var e=nt();class t extends e{constructor(e){super(e),this.type="comment"}}return Te=t,t.default=t,Te}function it(){if(Pe)return Fe;Pe=1;var e=nt();class t extends e{get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e=r({},e,{value:String(e.value)})),super(e),this.type="decl"}}return Fe=t,t.default=t,Fe}function ot(){if(je)return Be;je=1;var e,t,r,n,s=st(),i=it(),o=nt(),a=rt(),l=a.isClean,u=a.my;function c(e){return e.map((e=>(e.nodes&&(e.nodes=c(e.nodes)),delete e.source,e)))}function d(e){if(e[l]=!1,e.proxyOf.nodes)for(var t of e.proxyOf.nodes)d(t)}class h extends o{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]}append(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n of t){var s=this.normalize(n,this.last);for(var i of s)this.proxyOf.nodes.push(i)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(var t of this.nodes)t.cleanRaws(e)}each(e){if(this.proxyOf.nodes){for(var t,r,n=this.getIterator();this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?function(){for(var r=arguments.length,n=new Array(r),s=0;s<r;s++)n[s]=arguments[s];return e[t](...n.map((e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e)))}:"every"===t||"some"===t?r=>e[t]((function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];return r(e.toProxy(),...n)})):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,r)=>(e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){var r,n=this.index(e),s=this.normalize(t,this.proxyOf.nodes[n]).reverse();for(var i of(n=this.index(e),s))this.proxyOf.nodes.splice(n+1,0,i);for(var o in this.indexes)n<(r=this.indexes[o])&&(this.indexes[o]=r+s.length);return this.markDirty(),this}insertBefore(e,t){var r,n=this.index(e),s=0===n&&"prepend",i=this.normalize(t,this.proxyOf.nodes[n],s).reverse();for(var o of(n=this.index(e),i))this.proxyOf.nodes.splice(n,0,o);for(var a in this.indexes)n<=(r=this.indexes[a])&&(this.indexes[a]=r+i.length);return this.markDirty(),this}normalize(r,o){if("string"==typeof r)r=c(t(r).nodes);else if(void 0===r)r=[];else if(Array.isArray(r))for(var a of r=r.slice(0))a.parent&&a.parent.removeChild(a,"ignore");else if("root"===r.type&&"document"!==this.type)for(var p of r=r.nodes.slice(0))p.parent&&p.parent.removeChild(p,"ignore");else if(r.type)r=[r];else if(r.prop){if(void 0===r.value)throw new Error("Value field is missed in node creation");"string"!=typeof r.value&&(r.value=String(r.value)),r=[new i(r)]}else if(r.selector||r.selectors)r=[new n(r)];else if(r.name)r=[new e(r)];else{if(!r.text)throw new Error("Unknown node type in node creation");r=[new s(r)]}var f=r.map((e=>(e[u]||h.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[l]&&d(e),e.raws||(e.raws={}),void 0===e.raws.before&&o&&void 0!==o.raws.before&&(e.raws.before=o.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)));return f}prepend(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n of t=t.reverse()){var s=this.normalize(n,this.first,"prepend").reverse();for(var i of s)this.proxyOf.nodes.unshift(i);for(var o in this.indexes)this.indexes[o]=this.indexes[o]+s.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(var e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls((n=>{t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))})),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,r)=>{var n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("atrule"===r.type&&e.test(r.name))return t(r,n)})):this.walk(((r,n)=>{if("atrule"===r.type&&r.name===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("atrule"===e.type)return t(e,r)})))}walkComments(e){return this.walk(((t,r)=>{if("comment"===t.type)return e(t,r)}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("decl"===r.type&&e.test(r.prop))return t(r,n)})):this.walk(((r,n)=>{if("decl"===r.type&&r.prop===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("decl"===e.type)return t(e,r)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("rule"===r.type&&e.test(r.selector))return t(r,n)})):this.walk(((r,n)=>{if("rule"===r.type&&r.selector===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("rule"===e.type)return t(e,r)})))}}return h.registerParse=e=>{t=e},h.registerRule=e=>{n=e},h.registerAtRule=t=>{e=t},h.registerRoot=e=>{r=e},Be=h,h.default=h,h.rebuild=t=>{"atrule"===t.type?Object.setPrototypeOf(t,e.prototype):"rule"===t.type?Object.setPrototypeOf(t,n.prototype):"decl"===t.type?Object.setPrototypeOf(t,i.prototype):"comment"===t.type?Object.setPrototypeOf(t,s.prototype):"root"===t.type&&Object.setPrototypeOf(t,r.prototype),t[u]=!0,t.nodes&&t.nodes.forEach((e=>{h.rebuild(e)}))},Be}function at(){if(We)return He;We=1;var e=ot();class t extends e{constructor(e){super(e),this.type="atrule"}append(){return this.proxyOf.nodes||(this.nodes=[]),super.append(...arguments)}prepend(){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...arguments)}}return He=t,t.default=t,e.registerAtRule(t),He}function lt(){if(Ue)return ze;Ue=1;var e,t,n=ot();class s extends n{constructor(e){super(r({type:"document"},e)),this.nodes||(this.nodes=[])}toResult(r){return void 0===r&&(r={}),new e(new t,this,r).stringify()}}return s.registerLazyResult=t=>{e=t},s.registerProcessor=e=>{t=e},ze=s,s.default=s,ze}function ut(){return Je||(Je=1,Ge={nanoid:function(e){void 0===e&&(e=21);for(var t="",r=0|e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:function(e,t){return void 0===t&&(t=21),function(r){void 0===r&&(r=t);for(var n="",s=0|r;s--;)n+=e[Math.random()*e.length|0];return n}}}),Ge}function ct(){if(Ke)return Ve;Ke=1;var e=Oe.existsSync,t=Oe.readFileSync,r=Oe.dirname,n=Oe.join,s=Oe.SourceMapConsumer,i=Oe.SourceMapGenerator;class o{constructor(e,t){if(!1!==t.map){t.unsafeMap&&(this.unsafeMap=!0),this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var n=t.map?t.map.prev:void 0,s=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=r(this.mapFile)),s&&(this.text=s)}}consumer(){return this.consumerCache||(this.consumerCache=new s(this.json||this.text)),this.consumerCache}decodeInline(e){var t=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(t)return decodeURIComponent(e.substr(t[0].length));var r,n=e.match(/^data:application\/json;charset=utf-?8;base64,/)||e.match(/^data:application\/json;base64,/);if(n)return r=e.substr(n[0].length),Buffer?Buffer.from(r,"base64").toString():window.atob(r);var s=e.slice(22);throw s=s.slice(0,s.indexOf(",")),new Error("Unsupported source map encoding "+s)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){var t=e.match(/\/\*\s*# sourceMappingURL=/g);if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}}loadFile(n,s,i){if(i||this.unsafeMap||/\.map$/i.test(n))return this.root=r(n),e(n)?(this.mapFile=n,t(n,"utf-8").toString().trim()):void 0}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof s)return i.fromSourceMap(t).toString();if(t instanceof i)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}var o=t(e);if(o){var a=this.loadFile(o,e,!0);if(!a)throw new Error("Unable to load previous source map: "+o.toString());return a}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var l=this.annotation;e&&(l=n(r(e),l));var u=this.loadFile(l,e,!1);if(u)try{this.json=JSON.parse(u.replace(/^\)]}'[^\n]*\n/,""))}catch(e){return}return u}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Ve=o,o.default=o,Ve}function dt(){if(qe)return Ye;qe=1;var e=ut().nanoid,t=Oe.isAbsolute,n=Oe.resolve,s=Oe.SourceMapConsumer,i=Oe.SourceMapGenerator,o=Oe.fileURLToPath,a=Oe.pathToFileURL,l=xe(),u=ct(),c=Oe,d=Symbol("lineToIndexCache"),h=Boolean(s&&i),p=Boolean(n&&t);function f(e){if(e[d])return e[d];for(var t=e.css.split("\n"),r=new Array(t.length),n=0,s=0,i=t.length;s<i;s++)r[s]=n,n+=t[s].length+1;return e[d]=r,r}class m{get from(){return this.file||this.id}constructor(r,s){if(void 0===s&&(s={}),null==r||"object"==typeof r&&!r.toString)throw new Error("PostCSS received "+r+" instead of CSS string");if(this.css=r.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,s.document&&(this.document=s.document.toString()),s.from&&(!p||/^\w+:\/\//.test(s.from)||t(s.from)?this.file=s.from:this.file=n(s.from)),p&&h){var i=new u(this.css,s);if(i.text){this.map=i;var o=i.consumer().file;!this.file&&o&&(this.file=this.mapResolve(o))}}this.file||(this.id="<input css "+e(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,n){var s,i,o,u,c;if(void 0===n&&(n={}),t&&"object"==typeof t){var d=t,h=r;if("number"==typeof d.offset){u=d.offset;var p=this.fromOffset(u);t=p.line,r=p.col}else t=d.line,r=d.column,u=this.fromLineAndColumn(t,r);if("number"==typeof h.offset){o=h.offset;var f=this.fromOffset(o);i=f.line,s=f.col}else i=h.line,s=h.column,o=this.fromLineAndColumn(h.line,h.column)}else if(r)u=this.fromLineAndColumn(t,r);else{u=t;var m=this.fromOffset(u);t=m.line,r=m.col}var v=this.origin(t,r,i,s);return(c=v?new l(e,void 0===v.endLine?v.line:{column:v.column,line:v.line},void 0===v.endLine?v.column:{column:v.endColumn,line:v.endLine},v.source,v.file,n.plugin):new l(e,void 0===i?t:{column:r,line:t},void 0===i?r:{column:s,line:i},this.css,this.file,n.plugin)).input={column:r,endColumn:s,endLine:i,endOffset:o,line:t,offset:u,source:this.css},this.file&&(a&&(c.input.url=a(this.file).toString()),c.input.file=this.file),c}fromLineAndColumn(e,t){return f(this)[e-1]+t-1}fromOffset(e){var t=f(this),r=0;if(e>=t[t.length-1])r=t.length-1;else for(var n,s=t.length-2;r<s;)if(e<t[n=r+(s-r>>1)])s=n-1;else{if(!(e>=t[n+1])){r=n;break}r=n+1}return{col:e-t[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:n(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,r,n,s){if(!this.map)return!1;var i,l,u=this.map.consumer(),c=u.originalPositionFor({column:r-1,line:e});if(!c.source)return!1;"number"==typeof n&&(i=u.originalPositionFor({column:s-1,line:n})),l=t(c.source)?a(c.source):new URL(c.source,this.map.consumer().sourceRoot||a(this.map.mapFile));var d={column:c.column+1,endColumn:i&&i.column+1,endLine:i&&i.line,line:c.line,url:l.toString()};if("file:"===l.protocol){if(!o)throw new Error("file: protocol is not available in this PostCSS build");d.file=o(l)}var h=u.sourceContentFor(c.source);return h&&(d.source=h),d}toJSON(){var e={};for(var t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map=r({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}return Ye=m,m.default=m,c&&c.registerInput&&c.registerInput(m),Ye}function ht(){if(Qe)return Ze;Qe=1;var e,t,r=ot();class n extends r{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){var n=super.normalize(e);if(t)if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(var s of n)s.raws.before=t.raws.before;return n}removeChild(e,t){var r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(r){return void 0===r&&(r={}),new e(new t,this,r).stringify()}}return n.registerLazyResult=t=>{e=t},n.registerProcessor=e=>{t=e},Ze=n,n.default=n,r.registerRoot(n),Ze}function pt(){if(_e)return Xe;_e=1;var e={comma:t=>e.split(t,[","],!0),space:t=>e.split(t,[" ","\n","\t"]),split(e,t,r){var n=[],s="",i=!1,o=0,a=!1,l="",u=!1;for(var c of e)u?u=!1:"\\"===c?u=!0:a?c===l&&(a=!1):'"'===c||"'"===c?(a=!0,l=c):"("===c?o+=1:")"===c?o>0&&(o-=1):0===o&&t.includes(c)&&(i=!0),i?(""!==s&&n.push(s.trim()),s="",i=!1):s+=c;return(r||""!==s)&&n.push(s.trim()),n}};return Xe=e,e.default=e,Xe}function ft(){if(et)return $e;et=1;var e=ot(),t=pt();class r extends e{get selectors(){return t.comma(this.selector)}set selectors(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}}return $e=r,r.default=r,e.registerRule(r),$e}var mt,vt,gt,yt,wt,bt,St,Ct,It,Mt,kt,Ot,xt,Et,Rt,Nt,At,Dt,Tt,Lt,Ft,Pt,Bt,jt,Ht,Wt,zt,Ut,Gt=["inputs"],Jt=["inputId"];function Vt(){if(yt)return gt;yt=1;var e=Oe.dirname,t=Oe.relative,r=Oe.resolve,n=Oe.sep,s=Oe.SourceMapConsumer,i=Oe.SourceMapGenerator,o=Oe.pathToFileURL,a=dt(),l=Boolean(s&&i),u=Boolean(e&&r&&t&&n);return gt=class{constructor(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){var e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(var t of this.previous()){var r=this.toUrl(this.path(t.file)),n=t.root||e(t.file),i=void 0;!1===this.mapOpts.sourcesContent?(i=new s(t.text)).sourcesContent&&(i.sourcesContent=null):i=t.consumer(),this.map.applySourceMap(i,r,this.toUrl(this.path(n)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(t);else if(this.css)for(var r;-1!==(r=this.css.lastIndexOf("/*#"));){var n=this.css.indexOf("*/",r+3);if(-1===n)break;for(;r>0&&"\n"===this.css[r-1];)r--;this.css=this.css.slice(0,r)+this.css.slice(n+2)}}generate(){if(this.clearAnnotation(),u&&l&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,(t=>{e+=t})),[e]}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=i.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new i({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new i({file:this.outputFile(),ignoreInvalidMapping:!0});var e,t,r=1,n=1,s="<no source>",o={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((i,a,l)=>{if(this.css+=i,a&&"end"!==l&&(o.generated.line=r,o.generated.column=n-1,a.source&&a.source.start?(o.source=this.sourcePath(a),o.original.line=a.source.start.line,o.original.column=a.source.start.column-1,this.map.addMapping(o)):(o.source=s,o.original.line=1,o.original.column=0,this.map.addMapping(o))),(t=i.match(/\n/g))?(r+=t.length,e=i.lastIndexOf("\n"),n=i.length-e):n+=i.length,a&&"start"!==l){var u=a.parent||{raws:{}};("decl"===a.type||"atrule"===a.type&&!a.nodes)&&a===u.last&&!u.raws.semicolon||(a.source&&a.source.end?(o.source=this.sourcePath(a),o.original.line=a.source.end.line,o.original.column=a.source.end.column-1,o.generated.line=r,o.generated.column=n-2,this.map.addMapping(o)):(o.source=s,o.original.line=1,o.original.column=0,o.generated.line=r,o.generated.column=n-1,this.map.addMapping(o)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(n){if(this.mapOpts.absolute)return n;if(60===n.charCodeAt(0))return n;if(/^\w+:\/\//.test(n))return n;var s=this.memoizedPaths.get(n);if(s)return s;var i=this.opts.to?e(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(i=e(r(i,this.mapOpts.annotation)));var o=t(i,n);return this.memoizedPaths.set(n,o),o}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){var t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{var e=new a(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){var e={};if(this.root)this.root.walk((t=>{if(t.source){var r=t.source.input.from;if(r&&!e[r]){e[r]=!0;var n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,t.source.input.css)}}}));else if(this.css){var 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){var t=this.memoizedFileURLs.get(e);if(t)return t;if(o){var r=o(e).toString();return this.memoizedFileURLs.set(e,r),r}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){var t=this.memoizedURLs.get(e);if(t)return t;"\\"===n&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}},gt}function Kt(){if(bt)return wt;bt=1;var e="'".charCodeAt(0),t='"'.charCodeAt(0),r="\\".charCodeAt(0),n="/".charCodeAt(0),s="\n".charCodeAt(0),i=" ".charCodeAt(0),o="\f".charCodeAt(0),a="\t".charCodeAt(0),l="\r".charCodeAt(0),u="[".charCodeAt(0),c="]".charCodeAt(0),d="(".charCodeAt(0),h=")".charCodeAt(0),p="{".charCodeAt(0),f="}".charCodeAt(0),m=";".charCodeAt(0),v="*".charCodeAt(0),g=":".charCodeAt(0),y="@".charCodeAt(0),w=/[\t\n\f\r "#'()/;[\\\]{}]/g,b=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,S=/.[\r\n"'(/\\]/,C=/[\da-f]/i;return wt=function(I,M){void 0===M&&(M={});var k,O,x,E,R,N,A,D,T,L,F=I.css.valueOf(),P=M.ignoreErrors,B=F.length,j=0,H=[],W=[],z=-1;function U(e){throw I.error("Unclosed "+e,j)}return{back:function(e){W.push(e)},endOfFile:function(){return 0===W.length&&j>=B},nextToken:function(I){if(W.length)return W.pop();if(!(j>=B)){var M=!!I&&I.ignoreUnclosed;switch(k=F.charCodeAt(j)){case s:case i:case a:case l:case o:E=j;do{E+=1,k=F.charCodeAt(E)}while(k===i||k===s||k===a||k===l||k===o);N=["space",F.slice(j,E)],j=E-1;break;case u:case c:case p:case f:case g:case m:case h:var G=String.fromCharCode(k);N=[G,G,j];break;case d:if(L=H.length?H.pop()[1]:"",T=F.charCodeAt(j+1),"url"===L&&T!==e&&T!==t&&T!==i&&T!==s&&T!==a&&T!==o&&T!==l){E=j;do{if(A=!1,-1===(E=F.indexOf(")",E+1))){if(P||M){E=j;break}U("bracket")}for(D=E;F.charCodeAt(D-1)===r;)D-=1,A=!A}while(A);N=["brackets",F.slice(j,E+1),j,E],j=E}else j<=z?N=["(","(",j]:(E=F.indexOf(")",j+1),O=F.slice(j,E+1),-1===E||S.test(O)?(z=-1===E?B:E,N=["(","(",j]):(N=["brackets",O,j,E],j=E));break;case e:case t:R=k===e?"'":'"',E=j;do{if(A=!1,-1===(E=F.indexOf(R,E+1))){if(P||M){E=j+1;break}U("string")}for(D=E;F.charCodeAt(D-1)===r;)D-=1,A=!A}while(A);N=["string",F.slice(j,E+1),j,E],j=E;break;case y:w.lastIndex=j+1,w.test(F),E=0===w.lastIndex?F.length-1:w.lastIndex-2,N=["at-word",F.slice(j,E+1),j,E],j=E;break;case r:for(E=j,x=!0;F.charCodeAt(E+1)===r;)E+=1,x=!x;if(k=F.charCodeAt(E+1),x&&k!==n&&k!==i&&k!==s&&k!==a&&k!==l&&k!==o&&(E+=1,C.test(F.charAt(E)))){for(;C.test(F.charAt(E+1));)E+=1;F.charCodeAt(E+1)===i&&(E+=1)}N=["word",F.slice(j,E+1),j,E],j=E;break;default:k===n&&F.charCodeAt(j+1)===v?(0===(E=F.indexOf("*/",j+2)+1)&&(P||M?E=F.length:U("comment")),N=["comment",F.slice(j,E+1),j,E],j=E):(b.lastIndex=j+1,b.test(F),E=0===b.lastIndex?F.length-1:b.lastIndex-2,N=["word",F.slice(j,E+1),j,E],H.push(N),j=E)}return j++,N}},position:function(){return j}}},wt}function Yt(){if(Ct)return St;Ct=1;var e=at(),t=st(),r=it(),n=ht(),s=ft(),i=Kt(),o={empty:!0,space:!0};function a(e,t,r){for(var n="",s=t;s<r;s++)n+=e[s][1];return n}return St=class{constructor(e){this.input=e,this.root=new n,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(t){var r,n,s,i=new e;i.name=t[1].slice(1),""===i.name&&this.unnamedAtrule(i,t),this.init(i,t[2]);for(var o=!1,a=!1,l=[],u=[];!this.tokenizer.endOfFile();){if("("===(r=(t=this.tokenizer.nextToken())[0])||"["===r?u.push("("===r?")":"]"):"{"===r&&u.length>0?u.push("}"):r===u[u.length-1]&&u.pop(),0===u.length){if(";"===r){i.source.end=this.getPosition(t[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===r){a=!0;break}if("}"===r){if(l.length>0){for(n=l[s=l.length-1];n&&"space"===n[0];)n=l[--s];n&&(i.source.end=this.getPosition(n[3]||n[2]),i.source.end.offset++)}this.end(t);break}l.push(t)}else l.push(t);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(i.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(i,"params",l),o&&(t=l[l.length-1],i.source.end=this.getPosition(t[3]||t[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),a&&(i.nodes=[],this.current=i)}checkMissedSemicolon(e){var t=this.colon(e);if(!1!==t){for(var r,n=0,s=t-1;s>=0&&("space"===(r=e[s])[0]||2!==(n+=1));s--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}}colon(e){var t,r,n,s=0;for(var i of e.entries()){var o=i[0];if("("===(n=(r=i[1])[0])&&(s+=1),")"===n&&(s-=1),0===s&&":"===n){if(t){if("word"===t[0]&&"progid"===t[1])continue;return o}this.doubleColon(r)}t=r}return!1}comment(e){var r=new t;this.init(r,e[2]),r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++;var n=e[1].slice(2,-2);if(n.trim()){var s=n.match(/^(\s*)([^]*\S)(\s*)$/);r.text=s[2],r.raws.left=s[1],r.raws.right=s[3]}else r.text="",r.raws.left=n,r.raws.right=""}createTokenizer(){this.tokenizer=i(this.input)}decl(e,t){var n=new r;this.init(n,e[0][2]);var s=e[e.length-1];";"===s[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(s[3]||s[2]||function(e){for(var t=e.length-1;t>=0;t--){var r=e[t],n=r[3]||r[2];if(n)return n}}(e)),n.source.end.offset++;for(var i=0;"word"!==e[i][0];)i===e.length-1&&this.unknownWord([e[i]]),i++;n.raws.before+=a(e,0,i),n.source.start=this.getPosition(e[i][2]);for(var o=i;i<e.length;){var l=e[i][0];if(":"===l||"space"===l||"comment"===l)break;i++}n.prop=a(e,o,i);for(var u,c=i;i<e.length&&(u=e[i],i++,":"!==u[0]);)"word"===u[0]&&/\w/.test(u[1])&&this.unknownWord([u]);n.raws.between=a(e,c,i),"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));for(var d=i;i<e.length;){var h=e[i][0];if("space"!==h&&"comment"!==h)break;i++}var p=e.slice(d,i);e=e.slice(i),this.precheckMissedSemicolon(e);for(var f=e.length-1;f>=0;f--){if("!important"===(u=e[f])[1].toLowerCase()){n.important=!0;var m=this.stringFrom(e,f);" !important"!==(m=this.spacesFromEnd(e)+m)&&(n.raws.important=m);break}if("important"===u[1].toLowerCase()){for(var v=e.slice(0),g="",y=f;y>0;y--){var w=v[y][0];if(g.trim().startsWith("!")&&"space"!==w)break;g=v.pop()[1]+g}g.trim().startsWith("!")&&(n.important=!0,n.raws.important=g,e=v)}if("space"!==u[0]&&"comment"!==u[0])break}var b=e.some((e=>"space"!==e[0]&&"comment"!==e[0]));b&&(n.raws.between+=p.map((e=>e[1])).join(""),p=[]),this.raw(n,"value",p.concat(e),t),n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){var t=new s;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}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(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="",t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){for(var t=!1,r=null,n=!1,s=null,i=[],o=e[1].startsWith("--"),a=[],l=e;l;){if(r=l[0],a.push(l),"("===r||"["===r)s||(s=l),i.push("("===r?")":"]");else if(o&&n&&"{"===r)s||(s=l),i.push("}");else if(0===i.length){if(";"===r){if(n)return void this.decl(a,o);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(n=!0)}else r===i[i.length-1]&&(i.pop(),0===i.length&&(s=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),i.length>0&&this.unclosedBracket(s),t&&n){if(!o)for(;a.length&&("space"===(l=a[a.length-1][0])||"comment"===l);)this.tokenizer.back(a.pop());this.decl(a,o)}else this.unknownWord(a)}parse(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,n){for(var s,i,a,l,u=r.length,c="",d=!0,h=0;h<u;h+=1)"space"!==(i=(s=r[h])[0])||h!==u-1||n?"comment"===i?(l=r[h-1]?r[h-1][0]:"empty",a=r[h+1]?r[h+1][0]:"empty",o[l]||o[a]||","===c.slice(-1)?d=!1:c+=s[1]):c+=s[1]:d=!1;if(!d){var p=r.reduce(((e,t)=>e+t[1]),"");e.raws[t]={raw:p,value:c}}e[t]=c}rule(e){e.pop();var t=new s;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){for(var t,r="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t}stringFrom(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r}unclosedBlock(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word "+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}},St}function qt(){if(Mt)return It;Mt=1;var e=ot(),t=dt(),r=Yt();function n(e,n){var s=new t(e,n),i=new r(s);try{i.parse()}catch(e){throw"production"!==process.env.NODE_ENV&&"CssSyntaxError"===e.name&&n&&n.from&&(/\.scss$/i.test(n.from)?e.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(n.from)?e.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(n.from)&&(e.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),e}return i.root}return It=n,n.default=n,e.registerParse(n),It}function Zt(){if(Ot)return kt;Ot=1;class e{constructor(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var 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(var n in t)this[n]=t[n]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return kt=e,e.default=e,kt}function Qt(){if(Et)return xt;Et=1;var e=Zt();class t{get content(){return this.css}constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css="",this.map=void 0}toString(){return this.css}warn(t,r){void 0===r&&(r={}),r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);var n=new e(t,r);return this.messages.push(n),n}warnings(){return this.messages.filter((e=>"warning"===e.type))}}return xt=t,t.default=t,xt}function Xt(){if(Nt)return Rt;Nt=1;var e={};return Rt=function(t){e[t]||(e[t]=!0,"undefined"!=typeof console&&console.warn&&console.warn(t))}}function _t(){if(Dt)return At;Dt=1;var e=ot(),n=lt(),s=Vt(),i=qt(),o=Qt(),a=ht(),l=Re(),u=rt(),c=u.isClean,d=u.my,h=Xt(),p={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},f={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},m={Once:!0,postcssPlugin:!0,prepare:!0},v=0;function g(e){return"object"==typeof e&&"function"==typeof e.then}function y(e){var t=!1,r=p[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,v,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,v,r+"Exit"]:[r,r+"Exit"]}function w(e){return{eventIndex:0,events:"document"===e.type?["Document",v,"DocumentExit"]:"root"===e.type?["Root",v,"RootExit"]:y(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function b(e){return e[c]=!1,e.nodes&&e.nodes.forEach((e=>b(e))),e}var S={};class C{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"}constructor(t,n,s){var a;if(this.stringified=!1,this.processed=!1,"object"!=typeof n||null===n||"root"!==n.type&&"document"!==n.type)if(n instanceof C||n instanceof o)a=b(n.root),n.map&&(void 0===s.map&&(s.map={}),s.map.inline||(s.map.inline=!1),s.map.prev=n.map);else{var l=i;s.syntax&&(l=s.syntax.parse),s.parser&&(l=s.parser),l.parse&&(l=l.parse);try{a=l(n,s)}catch(e){this.processed=!0,this.error=e}a&&!a[d]&&e.rebuild(a)}else a=b(n);this.result=new o(t,a,s),this.helpers=r({},S,{postcss:S,result:this.result}),this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?r({},e,e.prepare(this.result)):e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(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){var r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(r.postcssVersion&&"production"!==process.env.NODE_ENV){var n=r.postcssPlugin,s=r.postcssVersion,i=this.result.processor.version,o=s.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 "+n+" uses "+s+". Perhaps this is the source of the error below.")}}else e.plugin=r.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};var e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(var t of this.plugins)if("object"==typeof t)for(var r in t){if(!f[r]&&/^[A-Z]/.test(r))throw new Error("Unknown event "+r+" in "+t.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!m[r])if("object"==typeof t[r])for(var n in t[r])e(t,"*"===n?r:r+"-"+n.toLowerCase(),t[r][n]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}runAsync(){var e=this;return t((function*(){e.plugin=0;for(var t=0;t<e.plugins.length;t++){var r=e.plugins[t],n=e.runOnRoot(r);if(g(n))try{yield n}catch(t){throw e.handleError(t)}}if(e.prepareVisitors(),e.hasListener){for(var s=e.result.root;!s[c];){s[c]=!0;for(var i=[w(s)];i.length>0;){var o=e.visitTick(i);if(g(o))try{yield o}catch(t){var a=i[i.length-1].node;throw e.handleError(t,a)}}}if(e.listeners.OnceExit){var l=function*(){var t=u[0],r=u[1];e.result.lastPlugin=t;try{if("document"===s.type){var n=s.nodes.map((t=>r(t,e.helpers)));yield Promise.all(n)}else yield r(s,e.helpers)}catch(t){throw e.handleError(t)}};for(var u of e.listeners.OnceExit)yield*l()}}return e.processed=!0,e.stringify()}))()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){var t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return g(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(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=!0,this.sync();var e=this.result.opts,t=l;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=this.result.root.source;if(void 0===e.map&&!(r&&r.input&&r.input.map)){var n="";return t(this.result.root,(e=>{n+=e})),this.result.css=n,this.result}var i=new s(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=!0,this.processing)throw this.getAsyncError();for(var e of this.plugins)if(g(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){for(var t=this.result.root;!t[c];)t[c]=!0,this.walkSync(t);if(this.listeners.OnceExit)if("document"===t.type)for(var r of t.nodes)this.visitSync(this.listeners.OnceExit,r);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(e,t){return"production"!==process.env.NODE_ENV&&("from"in this.opts||h("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(var r of e){var n=r[0],s=r[1];this.result.lastPlugin=n;var i=void 0;try{i=s(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(g(i))throw this.getAsyncError()}}visitTick(e){var t=e[e.length-1],r=t.node,n=t.visitors;if("root"===r.type||"document"===r.type||r.parent){if(n.length>0&&t.visitorIndex<n.length){var s=n[t.visitorIndex],i=s[0],o=s[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=i;try{return o(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){for(var a,l=t.iterator;a=r.nodes[r.indexes[l]];)if(r.indexes[l]+=1,!a[c])return a[c]=!0,void e.push(w(a));t.iterator=0,delete r.indexes[l]}for(var u=t.events;t.eventIndex<u.length;){var d=u[t.eventIndex];if(t.eventIndex+=1,d===v)return void(r.nodes&&r.nodes.length&&(r[c]=!0,t.iterator=r.getIterator()));if(this.listeners[d])return void(t.visitors=this.listeners[d])}e.pop()}else e.pop()}walkSync(e){e[c]=!0;var t=y(e);for(var r of t)if(r===v)e.nodes&&e.each((e=>{e[c]||this.walkSync(e)}));else{var n=this.listeners[r];if(n&&this.visitSync(n,e.toProxy()))return}}warnings(){return this.sync().warnings()}}return C.registerPostcss=e=>{S=e},At=C,C.default=C,a.registerLazyResult(C),n.registerLazyResult(C),At}function $t(){if(jt)return Bt;jt=1;var e=at(),t=st(),s=ot(),i=xe(),o=it(),a=lt(),l=function(){if(vt)return mt;vt=1;var e=at(),t=st(),s=it(),i=dt(),o=ct(),a=ht(),l=ft();function u(c,d){if(Array.isArray(c))return c.map((e=>u(e)));var h,p,f=c.inputs,m=n(c,Gt);if(f)for(var v of(d=[],f)){var g=r({},v,{__proto__:i.prototype});g.map&&(g.map=r({},g.map,{__proto__:o.prototype})),d.push(g)}if(m.nodes&&(h=c.nodes.map((e=>u(e,d))),delete m.nodes),m.source){var y=m.source,w=y.inputId,b=n(y,Jt);m.source=b,null!=w&&(m.source.input=d[w])}if("root"===m.type)p=new a(m);else if("decl"===m.type)p=new s(m);else if("rule"===m.type)p=new l(m);else if("comment"===m.type)p=new t(m);else{if("atrule"!==m.type)throw new Error("Unknown node type: "+c.type);p=new e(m)}if(h)for(var S of(p.nodes=h,h))S.parent=p;return p}return mt=u,u.default=u,mt}(),u=dt(),c=_t(),d=pt(),h=nt(),p=qt(),f=function(){if(Pt)return Ft;Pt=1;var e=lt(),t=_t(),r=function(){if(Lt)return Tt;Lt=1;var e=Vt(),t=qt(),r=Qt(),n=Re(),s=Xt();class i{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;var e,r=t;try{e=r(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(t,s,i){s=s.toString(),this.stringified=!1,this._processor=t,this._css=s,this._opts=i,this._map=void 0;var o=n;this.result=new r(this._processor,void 0,this._opts),this.result.css=s;var a=this;Object.defineProperty(this.result,"root",{get:()=>a.root});var l=new e(o,void 0,this._opts,s);if(l.isMap()){var u=l.generate(),c=u[0],d=u[1];c&&(this.result.css=c),d&&(this.result.map=d)}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"production"!==process.env.NODE_ENV&&("from"in this._opts||s("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[]}}return Tt=i,i.default=i,Tt}(),n=ht();class s{constructor(e){void 0===e&&(e=[]),this.version="8.5.16",this.plugins=this.normalize(e)}normalize(e){var t=[];for(var r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else{if("object"!=typeof r||!r.parse&&!r.stringify)throw new Error(r+" is not a PostCSS plugin");if("production"!==process.env.NODE_ENV)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.")}return t}process(e,n){return void 0===n&&(n={}),this.plugins.length||n.parser||n.stringifier||n.syntax?new t(this,e,n):new r(this,e,n)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}return Ft=s,s.default=s,n.registerProcessor(s),e.registerProcessor(s),Ft}(),m=Qt(),v=ht(),g=ft(),y=Re(),w=Zt();function b(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new f(t)}return b.plugin=function(e,t){var r,n=!1;function s(){console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));var r=t(...arguments);return r.postcssPlugin=e,r.postcssVersion=(new f).version,r}return Object.defineProperty(s,"postcss",{get:()=>(r||(r=s()),r)}),s.process=function(e,t,r){return b([s(r)]).process(e,t)},s},b.stringify=y,b.parse=p,b.fromJSON=l,b.list=d,b.comment=e=>new t(e),b.atRule=t=>new e(t),b.decl=e=>new o(e),b.rule=e=>new g(e),b.root=e=>new v(e),b.document=e=>new a(e),b.CssSyntaxError=i,b.Declaration=o,b.Container=s,b.Processor=f,b.Document=a,b.Comment=t,b.Warning=w,b.AtRule=e,b.Result=m,b.Input=u,b.Rule=g,b.Root=v,b.Node=h,c.registerPostcss(b),Bt=b,b.default=b,Bt}!function(){if(Ut)return zt;Ut=1;var e=$t().Input,t=function(){if(Wt)return Ht;Wt=1;var e=st(),t=Yt(),r=Kt();return Ht=class extends t{checkMissedSemicolon(){}comment(t){var r=new e;this.init(r,t[2]);var n=this.input.fromOffset(t[3])||this.input.fromOffset(this.input.css.length-1);r.source.end={column:n.col,line:n.line,offset:t[3]+1};var s=t[1].slice(2);if("*/"===s.slice(-2)&&(s=s.slice(0,-2)),/^\s*$/.test(s))r.text="",r.raws.left=s,r.raws.right="";else{var i=s.match(/^(\s*)([^]*\S)(\s*)$/);r.text=i[2],r.raws.left=i[1],r.raws.right=i[3]}}createTokenizer(){this.tokenizer=r(this.input,{ignoreErrors:!0})}decl(e){e.length>1&&e.some((e=>"word"===e[0]))&&super.decl(e)}doubleColon(){}endFile(){for(this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.current.parent;)this.current=this.current.parent,this.current.raws.after="";this.root.source.end=this.getPosition(this.tokenizer.position())}precheckMissedSemicolon(e){var t=this.colon(e);if(!1!==t){var r,n;for(r=t-1;r>=0&&"word"!==e[r][0];r--);if(!(0===r||r<0)){for(n=r-1;n>=0;n--)if("space"!==e[n][0]){n+=1;break}var s=e.slice(r),i=e.slice(n,r);e.splice(n,e.length-n),this.spaces=i.map((e=>e[1])).join(""),this.decl(s)}}}unclosedBracket(){}unexpectedClose(){this.current.raws.after+="}"}unknownWord(e){this.spaces+=e.map((e=>e[1])).join("")}unnamedAtrule(e){e.name=""}},Ht}();zt=function(r,n){var s=new e(r,n),i=new t(s);return i.parse(),i.root}}();var er=me($t());er.stringify,er.fromJSON,er.plugin,er.parse,er.list,er.document,er.comment,er.atRule,er.rule,er.decl,er.root,er.CssSyntaxError,er.Declaration,er.Container,er.Processor,er.Document,er.Comment,er.Warning,er.AtRule,er.Result,er.Input,er.Rule,er.Root,er.Node;class tr{constructor(){this.parentElement=null,this.parentNode=null,this.ownerDocument=void 0,this.firstChild=null,this.lastChild=null,this.previousSibling=null,this.nextSibling=null,this.ELEMENT_NODE=rr.ELEMENT_NODE,this.TEXT_NODE=rr.TEXT_NODE,this.nodeType=void 0,this.nodeName=void 0,this.RRNodeType=void 0}get childNodes(){for(var e=[],t=this.firstChild;t;)e.push(t),t=t.nextSibling;return e}contains(e){if(!(e instanceof tr))return!1;if(e.ownerDocument!==this.ownerDocument)return!1;if(e===this)return!0;for(;e.parentNode;){if(e.parentNode===this)return!0;e=e.parentNode}return!1}appendChild(e){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")}insertBefore(e,t){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")}removeChild(e){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")}toString(){return"RRNode"}}var rr=function(e){return e[e.PLACEHOLDER=0]="PLACEHOLDER",e[e.ELEMENT_NODE=1]="ELEMENT_NODE",e[e.ATTRIBUTE_NODE=2]="ATTRIBUTE_NODE",e[e.TEXT_NODE=3]="TEXT_NODE",e[e.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",e[e.ENTITY_REFERENCE_NODE=5]="ENTITY_REFERENCE_NODE",e[e.ENTITY_NODE=6]="ENTITY_NODE",e[e.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",e[e.COMMENT_NODE=8]="COMMENT_NODE",e[e.DOCUMENT_NODE=9]="DOCUMENT_NODE",e[e.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",e[e.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE",e}({});function nr(e,t,r){void 0===r&&(r=document);var n={capture:!0,passive:!0};return r.addEventListener(e,t,n),()=>sr(r,e,t,n)}function sr(e,t,r,n){ir((()=>{var s=e.removeEventListener;"function"==typeof s&&(void 0!==n?s.call(e,t,r,n):s.call(e,t,r))}))}function ir(e){try{e()}catch(e){if(!(e instanceof DOMException&&"SecurityError"===e.name))throw e}}var or="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",ar={map:{},getId:()=>(console.error(or),-1),getNode:()=>(console.error(or),null),removeNodeFromMap(){console.error(or)},has:()=>(console.error(or),!1),reset(){console.error(or)}};function lr(e,t,r){void 0===r&&(r={});var n=null,s=0;return function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var l=Date.now();s||!1!==r.leading||(s=l);var u=t-(l-s),c=this;u<=0||u>t?(n&&(clearTimeout(n),n=null),s=l,e.apply(c,o)):n||!1===r.trailing||(n=setTimeout((()=>{s=!1===r.leading?0:Date.now(),n=null,e.apply(c,o)}),u))}}function ur(e,t,r,n,s){void 0===s&&(s=window);var i=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,n?r:{set(e){if(setTimeout((()=>{try{r.set.call(this,e)}catch(e){}}),0),i&&i.set){if(i.get)try{i.get.call(this)}catch(e){return}i.set.call(this,e)}}}),()=>ur(e,t,i||{},!0)}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(ar=new Proxy(ar,{get:(e,t,r)=>("map"===t&&console.error(or),Reflect.get(e,t,r))}));var cr=Date.now;function dr(e){var t,r,n,s,i=e.document;return{left:i.scrollingElement?i.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:i.documentElement.scrollLeft||(null==i?void 0:i.body)&&(null==(t=O.parentElement(i.body))?void 0:t.scrollLeft)||(null==i||null==(r=i.body)?void 0:r.scrollLeft)||0,top:i.scrollingElement?i.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:(null==i?void 0:i.documentElement.scrollTop)||(null==i?void 0:i.body)&&(null==(n=O.parentElement(i.body))?void 0:n.scrollTop)||(null==i||null==(s=i.body)?void 0:s.scrollTop)||0}}function hr(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function pr(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function fr(e){return e?e.nodeType===e.ELEMENT_NODE?e:O.parentElement(e):null}function mr(e,t,r,n){if(!e)return!1;var s=fr(e),i=n;if(!s){var o=O.getRootNode(e);if(!E(o))return!1;s=O.host(o),i=!0}for(;s;){try{if("string"==typeof t){if(s.classList.contains(t))return!0;if(i&&null!==s.closest("."+t))return!0}else if(se(s,t,i))return!0}catch(e){}if(r){if(s.matches(r))return!0;if(i&&null!==s.closest(r))return!0}var a=O.getRootNode(s);if(!E(a))return!1;s=O.host(a),i=!0}return!1}function vr(e,t,r){return!("TITLE"!==e.tagName||!r.headTitleMutations)||t.getId(e)===q}function gr(e,t){if(E(e))return!1;var r=t.getId(e);if(!t.has(r))return!0;var n=O.parentNode(e);return(!n||n.nodeType!==e.DOCUMENT_NODE)&&(!n||gr(n,t))}function yr(e){return Boolean(e.changedTouches)}function wr(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function br(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function Sr(e){return!!e&&(e instanceof tr&&"shadowRoot"in e?Boolean(e.shadowRoot):Boolean(O.shadowRoot(e)))}/[1-9][0-9]{12}/.test(Date.now().toString())||(cr=()=>(new Date).getTime());class Cr{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){var t;return null!=(t=this.styleIDMap.get(e))?t:-1}has(e){return this.styleIDMap.has(e)}add(e,t){return this.has(e)?this.getId(e):(r=void 0===t?this.id++:t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r);var 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 Ir(e){var t,r=null;return"getRootNode"in e&&(null==(t=O.getRootNode(e))?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&O.host(O.getRootNode(e))&&(r=O.host(O.getRootNode(e))),r}function Mr(e){var t=e.ownerDocument;return!!t&&(O.contains(t,e)||function(e){var t=e.ownerDocument;if(!t)return!1;var r=function(e){for(var t,r=e;t=Ir(r);)r=t;return r}(e);return O.contains(t,r)}(e))}function kr(e){return"__ln"in e}class Or{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");for(var t=this.head,r=0;r<e;r++){var n;t=(null==(n=t)?void 0:n.next)||null}return t}addNode(e){var t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&kr(e.previousSibling)){var 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&&kr(e.nextSibling)&&e.nextSibling.__ln.previous){var n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){var 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--)}}var xr,Er=(e,t)=>e+"@"+t;class Rr{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.removesSubTreeCache=new Set,this.mutationCb=void 0,this.blockClass=void 0,this.blockSelector=void 0,this.maskTextClass=void 0,this.maskTextSelector=void 0,this.inlineStylesheet=void 0,this.maskInputOptions=void 0,this.maskTextFn=void 0,this.maskInputFn=void 0,this.keepIframeSrcFn=void 0,this.recordCanvas=void 0,this.canvasMaskingConfigured=void 0,this.inlineImages=void 0,this.slimDOMOptions=void 0,this.dataURLOptions=void 0,this.doc=void 0,this.mirror=void 0,this.iframeManager=void 0,this.stylesheetManager=void 0,this.shadowDomManager=void 0,this.canvasManager=void 0,this.processedNodeManager=void 0,this.unattachedDoc=void 0,this.canvasManagerReleased=!1,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(!this.frozen&&!this.locked){for(var e=[],t=new Set,r=new Or,n=e=>{for(var t=e,r=q;r===q;)r=(t=t&&t.nextSibling)&&this.mirror.getId(t);return r},s=s=>{var i=O.parentNode(s);if(i&&Mr(s)&&"TEXTAREA"!==i.tagName){var o=E(i)?this.mirror.getId(Ir(s)):this.mirror.getId(i),a=n(s);if(-1===o||-1===a)return r.addNode(s);var l=pe(s,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,canvasMaskingConfigured:this.canvasMaskingConfigured,inlineImages:this.inlineImages,onSerialize:e=>{wr(e,this.mirror)&&this.iframeManager.addIframe(e),br(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),Sr(s)&&this.shadowDomManager.addShadowRoot(O.shadowRoot(s),this.doc)},onIframeLoad:(e,t)=>{this.iframeManager.attachIframe(e,t),this.shadowDomManager.observeAttachShadow(e)},onIframeListenerRegistered:(e,t)=>{this.iframeManager.registerLoadListenerDisposer(e,t)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)}});l&&(e.push({parentId:o,nextId:a,node:l}),t.add(l.id))}};this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(var i of this.movedSet)Ar(this.removesSubTreeCache,i,this.mirror)&&!this.movedSet.has(O.parentNode(i))||s(i);for(var o of this.addedSet)Dr(this.droppedSet,o)||Ar(this.removesSubTreeCache,o,this.mirror)?Dr(this.movedSet,o)?s(o):this.droppedSet.add(o):s(o);for(var a=null;r.length;){var l=null;if(a){var u=this.mirror.getId(O.parentNode(a.value)),c=n(a.value);-1!==u&&-1!==c&&(l=a)}if(!l)for(var d=r.tail;d;){var h=d;if(d=d.previous,h){var p=this.mirror.getId(O.parentNode(h.value));if(-1===n(h.value))continue;if(-1!==p){l=h;break}var f=h.value,m=O.parentNode(f);if(m&&m.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var v=O.host(m);if(-1!==this.mirror.getId(v)){l=h;break}}}}if(!l){for(;r.head;)r.removeNode(r.head.value);break}a=l.previous,r.removeNode(l.value),s(l.value)}var g={texts:this.texts.map((e=>{var t=e.node,r=O.parentNode(t);return r&&"TEXTAREA"===r.tagName&&this.genTextAreaValueMutation(r),{id:this.mirror.getId(t),value:e.value}})).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),attributes:this.attributes.map((e=>{var t=e.attributes;if("string"==typeof t.style){var r=JSON.stringify(e.styleDiff),n=JSON.stringify(e._unchangedStyles);r.length<t.style.length&&(r+n).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}})).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),removes:this.removes,adds:e};(g.texts.length||g.attributes.length||g.removes.length||g.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(g))}},this.bufferBelongsToIframe=e=>this.doc===e.contentDocument,this.genTextAreaValueMutation=e=>{var t=this.attributeMap.get(e);t||(t={node:e,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(t),this.attributeMap.set(e,t));var r=Array.from(O.childNodes(e),(e=>O.textContent(e)||"")).join("");t.attributes.value=T({element:e,maskInputOptions:this.maskInputOptions,tagName:e.tagName,type:P(e),value:r,maskInputFn:this.maskInputFn})},this.processMutation=e=>{if(!vr(e.target,this.mirror,this.slimDOMOptions))switch(e.type){case"characterData":var t=O.textContent(e.target);mr(e.target,this.blockClass,this.blockSelector,!1)||t===e.oldValue||this.texts.push({value:ie(e.target,this.maskTextClass,this.maskTextSelector,!0)&&t?this.maskTextFn?this.maskTextFn(t,fr(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break;case"attributes":var r=e.target,n=e.attributeName,s=e.target.getAttribute(n);if("value"===n){var i=P(r);s=T({element:r,maskInputOptions:this.maskInputOptions,tagName:r.tagName,type:i,value:s,maskInputFn:this.maskInputFn})}if(mr(e.target,this.blockClass,this.blockSelector,!1)||s===e.oldValue)return;var o=this.attributeMap.get(e.target);if("IFRAME"===r.tagName&&"src"===n&&!this.keepIframeSrcFn(s)){if(r.contentDocument)return;n="rr_src"}if(o||(o={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(o),this.attributeMap.set(e.target,o)),"type"===n&&"INPUT"===r.tagName&&"password"===(e.oldValue||"").toLowerCase()&&r.setAttribute("data-rr-is-password","true"),!ne(r.tagName,n))if(o.attributes[n]=re(this.doc,L(r.tagName),L(n),s,r,this.dataURLOptions),"style"===n){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}var a=this.unattachedDoc.createElement("span");for(var l of(e.oldValue&&(a.style.cssText=e.oldValue),Array.from(r.style))){var u=r.style.getPropertyValue(l),c=r.style.getPropertyPriority(l);u!==a.style.getPropertyValue(l)||c!==a.style.getPropertyPriority(l)?o.styleDiff[l]=""===c?u:[u,c]:o._unchangedStyles[l]=[u,c]}for(var d of Array.from(a.style))""===r.style.getPropertyValue(d)&&(o.styleDiff[d]=!1)}else"open"===n&&"DIALOG"===r.tagName&&(r.matches("dialog:modal")?o.attributes.rr_open_mode="modal":o.attributes.rr_open_mode="non-modal");break;case"childList":if(mr(e.target,this.blockClass,this.blockSelector,!0))return;if("TEXTAREA"===e.target.tagName)return void this.genTextAreaValueMutation(e.target);e.addedNodes.forEach((t=>this.genAdds(t,e.target))),e.removedNodes.forEach((t=>{var r=this.mirror.getId(t),n=E(e.target)?this.mirror.getId(O.host(e.target)):this.mirror.getId(e.target);mr(e.target,this.blockClass,this.blockSelector,!1)||vr(t,this.mirror,this.slimDOMOptions)||!function(e,t){return-1!==t.getId(e)}(t,this.mirror)||(this.addedSet.has(t)?(Nr(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===r||gr(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[Er(r,n)]?Nr(this.movedSet,t):(this.removes.push({parentId:n,id:r,isShadow:!(!E(e.target)||!R(e.target))||void 0}),function(e,t){for(var r=[e];r.length;){var n=r.pop();t.has(n)||(t.add(n),O.childNodes(n).forEach((e=>r.push(e))))}}(t,this.removesSubTreeCache))),this.mapRemoves.push(t))}))}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)){if(this.addedSet.has(e))return this.addedSet.delete(e),void this.addedSet.add(e);if(!this.movedSet.has(e)){if(this.mirror.hasNode(e)){if(vr(e,this.mirror,this.slimDOMOptions))return;this.movedSet.add(e);var r=null;t&&this.mirror.hasNode(t)&&(r=this.mirror.getId(t)),r&&-1!==r&&(this.movedMap[Er(this.mirror.getId(e),r)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);mr(e,this.blockClass,this.blockSelector,!1)||(O.childNodes(e).forEach((e=>this.genAdds(e))),Sr(e)&&O.childNodes(O.shadowRoot(e)).forEach((t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)})))}}}}init(e){["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","canvasMaskingConfigured","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach((t=>{this[t]=e[t]})),this.canvasManager.acquire()}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.releaseCanvasManager()}releaseCanvasManager(){this.canvasManagerReleased||(this.canvasManagerReleased=!0,this.canvasManager.reset())}bufferDoc(){return this.doc}destroy(){for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift())}}function Nr(e,t){e.delete(t),O.childNodes(t).forEach((t=>Nr(e,t)))}function Ar(e,t,r){return 0!==e.size&&function(e,t,r){var n=O.parentNode(t);return!!n&&e.has(n)}(e,t)}function Dr(e,t){return 0!==e.size&&Tr(e,t)}function Tr(e,t){var r=O.parentNode(t);return!!r&&(!!e.has(r)||Tr(e,r))}function Lr(e){xr=e}function Fr(){xr=void 0}var Pr=e=>xr?function(){try{return e(...arguments)}catch(e){if(xr&&!0===xr(e))return;throw e}}:e,Br=[];function jr(e){try{if("composedPath"in e){var t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function Hr(e,t){var r=o(),n=new Rr;Br.push(n),r.add((()=>{var e=Br.indexOf(n);-1!==e&&Br.splice(e,1)})),r.add((()=>n.destroy())),r.add((()=>n.reset()));try{n.init(e);var s=new(M())(Pr(n.processMutations.bind(n)));r.add((()=>s.disconnect()));var i={attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0};return e.attributeFilter&&e.attributeFilter.length>0&&(i.attributeFilter=e.attributeFilter),s.observe(t,i),{observer:s,buffer:n}}catch(e){throw r.close(),e}}function Wr(e){var t=e.scrollCb,r=e.doc,n=e.mirror,s=e.blockClass,i=e.blockSelector,o=e.sampling,l=!0,u=new Map,c=e=>{if(l){var o=jr(e);if(o&&!mr(o,s,i,!0)){var a,c,d=n.getId(o);if(o===r&&r.defaultView){var h=dr(r.defaultView);a=h.left,c=h.top}else a=o.scrollLeft,c=o.scrollTop;var p=a+","+c;u.get(d)!==p&&(u.set(d,p),t({id:d,x:a,y:c}))}}},d=Pr(lr(Pr((e=>c(e))),o.scroll||100));return a((e=>{e.add((()=>{l=!1})),e.add(nr("scroll",d,r)),"onscrollend"in r&&e.add(nr("scrollend",Pr(c),r))}))}function zr(e,t){for(var r=Br.length-1;r>=0;r--){var n=Br[r];if(n){var s=n.bufferBelongsToIframe(e);!s&&t&&t.has(n.bufferDoc())&&(s=!0),s&&(n.reset(),Br.splice(r,1))}}}var Ur=["INPUT","TEXTAREA","SELECT"],Gr=new WeakMap;function Jr(e){return function e(t,r){if(qr("CSSGroupingRule")&&t.parentRule instanceof CSSGroupingRule||qr("CSSMediaRule")&&t.parentRule instanceof CSSMediaRule||qr("CSSSupportsRule")&&t.parentRule instanceof CSSSupportsRule||qr("CSSConditionRule")&&t.parentRule instanceof CSSConditionRule){var n=Array.from(t.parentRule.cssRules).indexOf(t);return r.unshift(n),e(t.parentRule,r)}if(t.parentStyleSheet){var s=Array.from(t.parentStyleSheet.cssRules).indexOf(t);r.unshift(s)}return r}(e,[])}function Vr(e,t,r){var n,s;return e?(e.ownerNode?n=t.getId(e.ownerNode):s=r.getId(e),{styleId:s,id:n}):{}}function Kr(e,t){var r,n,s,i=e.mirror,o=e.stylesheetManager;s="#document"===t.nodeName?i.getId(t):i.getId(O.host(t));var a="#document"===t.nodeName?null==(r=t.defaultView)?void 0:r.Document:null==(n=t.ownerDocument)||null==(n=n.defaultView)?void 0:n.ShadowRoot,l=null!=a&&a.prototype?Object.getOwnPropertyDescriptor(null==a?void 0:a.prototype,"adoptedStyleSheets"):void 0;return null!==s&&-1!==s&&a&&l?(Object.defineProperty(t,"adoptedStyleSheets",{configurable:l.configurable,enumerable:l.enumerable,get(){var e;return null==(e=l.get)?void 0:e.call(this)},set(e){var t;try{var r;t=null==(r=l.set)?void 0:r.call(this,e)}catch(e){if(e&&"object"==typeof e&&"NotAllowedError"===e.name)return;throw e}if(null!==s&&-1!==s)try{o.adoptStyleSheets(e,s)}catch(e){}return t}}),Pr((()=>{Object.defineProperty(t,"adoptedStyleSheets",{configurable:l.configurable,enumerable:l.enumerable,get:l.get,set:l.set})}))):()=>{}}function Yr(e,t){void 0===t&&(t={});var n=e.doc.defaultView;return n?(function(e,t){var r=e.mutationCb,n=e.mousemoveCb,s=e.mouseInteractionCb,i=e.scrollCb,o=e.viewportResizeCb,a=e.inputCb,l=e.mediaInteractionCb,u=e.styleSheetRuleCb,c=e.styleDeclarationCb,d=e.canvasMutationCb,h=e.fontCb,p=e.selectionCb,f=e.customElementCb;e.mutationCb=function(){t.mutation&&t.mutation(...arguments),r(...arguments)},e.mousemoveCb=function(){t.mousemove&&t.mousemove(...arguments),n(...arguments)},e.mouseInteractionCb=function(){t.mouseInteraction&&t.mouseInteraction(...arguments),s(...arguments)},e.scrollCb=function(){t.scroll&&t.scroll(...arguments),i(...arguments)},e.viewportResizeCb=function(){t.viewportResize&&t.viewportResize(...arguments),o(...arguments)},e.inputCb=function(){t.input&&t.input(...arguments),a(...arguments)},e.mediaInteractionCb=function(){t.mediaInteaction&&t.mediaInteaction(...arguments),l(...arguments)},e.styleSheetRuleCb=function(){t.styleSheetRule&&t.styleSheetRule(...arguments),u(...arguments)},e.styleDeclarationCb=function(){t.styleDeclaration&&t.styleDeclaration(...arguments),c(...arguments)},e.canvasMutationCb=function(){t.canvasMutation&&t.canvasMutation(...arguments),d(...arguments)},e.fontCb=function(){t.font&&t.font(...arguments),h(...arguments)},e.selectionCb=function(){t.selection&&t.selection(...arguments),p(...arguments)},e.customElementCb=function(){t.customElement&&t.customElement(...arguments),f(...arguments)}}(e,t),a((t=>{if(t.add((()=>e.shadowDomManager.resetForDoc(e.doc))),e.recordDOM){var s=Hr(e,e.doc),i=s.observer,o=s.buffer;t.add((()=>{var e=Br.indexOf(o);-1!==e&&Br.splice(e,1)})),t.add((()=>o.destroy())),t.add((()=>o.reset())),t.add((()=>i.disconnect()))}var l,h,f,m,v;for(var g of(t.add(function(e){var t=e.mousemoveCb,r=e.sampling,n=e.doc,s=e.mirror,i=!0;if(!1===r.mousemove)return()=>{};var o,l="number"==typeof r.mousemove?r.mousemove:50,c="number"==typeof r.mousemoveCallback?r.mousemoveCallback:500,d=[],h=lr(Pr((e=>{if(i){var r=Date.now()-o;t(d.map((e=>(e.timeOffset-=r,e))),e),d=[],o=null}})),c),p=Pr(lr(Pr((e=>{if(i){var t=jr(e),r=yr(e)?e.changedTouches[0]:e,n=r.clientX,a=r.clientY;o||(o=cr()),d.push({x:n,y:a,id:s.getId(t),timeOffset:cr()-o}),h("undefined"!=typeof DragEvent&&e instanceof DragEvent?u.Drag:e instanceof MouseEvent?u.MouseMove:u.TouchMove)}})),l,{trailing:!1}));return a((e=>{e.add((()=>{i=!1})),e.add(nr("mousemove",p,n)),e.add(nr("touchmove",p,n)),e.add(nr("drag",p,n))}))}(e)),t.add(function(e){var t=e.mouseInteractionCb,n=e.doc,s=e.mirror,i=e.blockClass,o=e.blockSelector,l=e.sampling,u=!0;if(!1===l.mouseInteraction)return()=>{};var h=!0===l.mouseInteraction||void 0===l.mouseInteraction?{}:l.mouseInteraction,p=null;return a((e=>{e.add((()=>{u=!1})),Object.keys(c).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==h[e])).forEach((a=>{var l=L(a),h=(e=>n=>{if(u){var a=jr(n);if(!mr(a,i,o,!0)){var l=null,h=e;if("pointerType"in n){switch(n.pointerType){case"mouse":l=d.Mouse;break;case"touch":l=d.Touch;break;case"pen":l=d.Pen}l===d.Touch?c[e]===c.MouseDown?h="TouchStart":c[e]===c.MouseUp&&(h="TouchEnd"):d.Pen}else yr(n)&&(l=d.Touch);null!==l?(p=l,(h.startsWith("Touch")&&l===d.Touch||h.startsWith("Mouse")&&l===d.Mouse)&&(l=null)):c[e]===c.Click&&(l=p,p=null);var f=yr(n)?n.changedTouches[0]:n;if(f){var m=s.getId(a),v=f.clientX,g=f.clientY;Pr(t)(r({type:c[h],id:m,x:v,y:g},null!==l&&{pointerType:l}))}}}})(a);if(window.PointerEvent)switch(c[a]){case c.MouseDown:case c.MouseUp:l=l.replace("mouse","pointer");break;case c.TouchStart:case c.TouchEnd:return}e.add(nr(l,h,n))}))}))}(e)),t.add(Wr(e)),t.add((l={win:n},h=e.viewportResizeCb,f=l.win,m=-1,v=-1,nr("resize",Pr(lr(Pr((()=>{var e=hr(),t=pr();m===e&&v===t||(h({width:Number(t),height:Number(e)}),m=e,v=t)})),200)),f))),t.add(function(e){var t=e.inputCb,n=e.doc,s=e.mirror,i=e.blockClass,o=e.blockSelector,l=e.ignoreClass,u=e.ignoreSelector,c=e.maskInputOptions,d=e.maskInputFn,h=e.sampling,p=e.userTriggeredOnInput,f=!0;function m(e){if(f){var t=jr(e),r=e.isTrusted,s=n.defaultView;if(!t||!s||t instanceof s.HTMLElement){var a=t&&t.tagName;if(t&&"OPTION"===a&&(t=O.parentElement(t)),t&&a&&!(Ur.indexOf(a)<0)&&!mr(t,i,o,!0)&&!(t.classList.contains(l)||u&&t.matches(u))){var h=t.value,m=!1,g=P(t)||"";"radio"===g||"checkbox"===g?m=t.checked:(c[a.toLowerCase()]||c[g])&&(h=T({element:t,maskInputOptions:c,tagName:a,type:g,value:h,maskInputFn:d})),v(t,p?{text:h,isChecked:m,userTriggered:r}:{text:h,isChecked:m});var y=t.name;"radio"===g&&y&&m&&n.querySelectorAll('input[type="radio"][name="'+y+'"]').forEach((e=>{if(e!==t){var r=e.value;v(e,p?{text:r,isChecked:!m,userTriggered:!1}:{text:r,isChecked:!m})}}))}}}}function v(e,n){var i=Gr.get(e);if(!i||i.text!==n.text||i.isChecked!==n.isChecked){Gr.set(e,n);var o=s.getId(e);Pr(t)(r({},n,{id:o}))}}return a((e=>{e.add((()=>{f=!1}));var t="last"===h.input?["change"]:["input","change"];for(var r of t)e.add(nr(r,Pr(m),n));var s=n.defaultView;if(s){var i=s.Object.getOwnPropertyDescriptor(s.HTMLInputElement.prototype,"value"),o=[[s.HTMLInputElement.prototype,"value"],[s.HTMLInputElement.prototype,"checked"],[s.HTMLSelectElement.prototype,"value"],[s.HTMLTextAreaElement.prototype,"value"],[s.HTMLSelectElement.prototype,"selectedIndex"],[s.HTMLOptionElement.prototype,"selected"]];if(i&&i.set){var a=function(t){var r=s.Object.getOwnPropertyDescriptor(t[0],t[1]);e.add((()=>{r?s.Object.defineProperty(t[0],t[1],r):Reflect.deleteProperty(t[0],t[1])})),ur(t[0],t[1],{set(){Pr(m)({target:this,isTrusted:!1})}},!1,s)};for(var l of o)a(l)}}}))}(e)),t.add(function(e){var t=e.mediaInteractionCb,r=e.blockClass,n=e.blockSelector,s=e.mirror,i=e.sampling,o=e.doc,l=!0,u=Pr((e=>lr(Pr((i=>{if(l){var o=jr(i);if(o&&!mr(o,r,n,!0)){var a=o,u=a.currentTime,c=a.volume,d=a.muted,h=a.playbackRate,p=a.loop;t({type:e,id:s.getId(o),currentTime:u,volume:c,muted:d,playbackRate:h,loop:p})}}})),i.media||500)));return a((e=>{e.add((()=>{l=!1})),e.add(nr("play",u(p.Play),o)),e.add(nr("pause",u(p.Pause),o)),e.add(nr("seeked",u(p.Seeked),o)),e.add(nr("volumechange",u(p.VolumeChange),o)),e.add(nr("ratechange",u(p.RateChange),o))}))}(e)),e.recordDOM&&(t.add(function(e,t){var r=e.styleSheetRuleCb,n=e.mirror,s=e.stylesheetManager,i=t.win;return i.CSSStyleSheet&&i.CSSStyleSheet.prototype?a((e=>{var t=i.CSSStyleSheet.prototype.insertRule;e.replace(i.CSSStyleSheet.prototype,"insertRule",new Proxy(t,{apply:Pr(((e,t,i)=>{var o=i[0],a=i[1],l=Vr(t,n,s.styleMirror),u=l.id,c=l.styleId;return(u&&-1!==u||c&&-1!==c)&&r({id:u,styleId:c,adds:[{rule:o,index:a}]}),e.apply(t,i)}))})),e.replace(i.CSSStyleSheet.prototype,"addRule",(function(e,t,r){void 0===r&&(r=this.cssRules.length);var n=e+" { "+t+" }";return i.CSSStyleSheet.prototype.insertRule.apply(this,[n,r])}));var o,a,l=i.CSSStyleSheet.prototype.deleteRule;e.replace(i.CSSStyleSheet.prototype,"deleteRule",new Proxy(l,{apply:Pr(((e,t,i)=>{var o=i[0],a=Vr(t,n,s.styleMirror),l=a.id,u=a.styleId;return(l&&-1!==l||u&&-1!==u)&&r({id:l,styleId:u,removes:[{index:o}]}),e.apply(t,i)}))})),e.replace(i.CSSStyleSheet.prototype,"removeRule",(function(e){return i.CSSStyleSheet.prototype.deleteRule.apply(this,[e])})),i.CSSStyleSheet.prototype.replace&&(o=i.CSSStyleSheet.prototype.replace,e.replace(i.CSSStyleSheet.prototype,"replace",new Proxy(o,{apply:Pr(((e,t,i)=>{var o=i[0],a=Vr(t,n,s.styleMirror),l=a.id,u=a.styleId;return(l&&-1!==l||u&&-1!==u)&&r({id:l,styleId:u,replace:o}),e.apply(t,i)}))}))),i.CSSStyleSheet.prototype.replaceSync&&(a=i.CSSStyleSheet.prototype.replaceSync,e.replace(i.CSSStyleSheet.prototype,"replaceSync",new Proxy(a,{apply:Pr(((e,t,i)=>{var o=i[0],a=Vr(t,n,s.styleMirror),l=a.id,u=a.styleId;return(l&&-1!==l||u&&-1!==u)&&r({id:l,styleId:u,replaceSync:o}),e.apply(t,i)}))})));var u={};Zr("CSSGroupingRule")?u.CSSGroupingRule=i.CSSGroupingRule:(Zr("CSSMediaRule")&&(u.CSSMediaRule=i.CSSMediaRule),Zr("CSSConditionRule")&&(u.CSSConditionRule=i.CSSConditionRule),Zr("CSSSupportsRule")&&(u.CSSSupportsRule=i.CSSSupportsRule));var c={};Object.entries(u).forEach((t=>{var i=t[0],o=t[1];c[i]={insertRule:o.prototype.insertRule,deleteRule:o.prototype.deleteRule},e.replace(o.prototype,"insertRule",new Proxy(c[i].insertRule,{apply:Pr(((e,t,i)=>{var o=i[0],a=i[1],l=Vr(t.parentStyleSheet,n,s.styleMirror),u=l.id,c=l.styleId;return(u&&-1!==u||c&&-1!==c)&&r({id:u,styleId:c,adds:[{rule:o,index:[...Jr(t),a||0]}]}),e.apply(t,i)}))})),e.replace(o.prototype,"deleteRule",new Proxy(c[i].deleteRule,{apply:Pr(((e,t,i)=>{var o=i[0],a=Vr(t.parentStyleSheet,n,s.styleMirror),l=a.id,u=a.styleId;return(l&&-1!==l||u&&-1!==u)&&r({id:l,styleId:u,removes:[{index:[...Jr(t),o]}]}),e.apply(t,i)}))}))}))})):()=>{}}(e,{win:n})),t.add(Kr(e,e.doc)),t.add(function(e,t){var r=e.styleDeclarationCb,n=e.mirror,s=e.ignoreCSSAttributes,i=e.stylesheetManager,o=t.win;return a((e=>{var t=o.CSSStyleDeclaration.prototype.setProperty;e.replace(o.CSSStyleDeclaration.prototype,"setProperty",new Proxy(t,{apply:Pr(((e,o,a)=>{var l,u=a[0],c=a[1],d=a[2];if(s.has(u))return t.apply(o,[u,c,d]);var h=Vr(null==(l=o.parentRule)?void 0:l.parentStyleSheet,n,i.styleMirror),p=h.id,f=h.styleId;return(p&&-1!==p||f&&-1!==f)&&r({id:p,styleId:f,set:{property:u,value:c,priority:d},index:Jr(o.parentRule)}),e.apply(o,a)}))}));var a=o.CSSStyleDeclaration.prototype.removeProperty;e.replace(o.CSSStyleDeclaration.prototype,"removeProperty",new Proxy(a,{apply:Pr(((e,t,o)=>{var l,u=o[0];if(s.has(u))return a.apply(t,[u]);var c=Vr(null==(l=t.parentRule)?void 0:l.parentStyleSheet,n,i.styleMirror),d=c.id,h=c.styleId;return(d&&-1!==d||h&&-1!==h)&&r({id:d,styleId:h,remove:{property:u},index:Jr(t.parentRule)}),e.apply(t,o)}))}))}))}(e,{win:n})),e.collectFonts&&t.add(function(e){var t=e.fontCb,r=e.doc,n=!0,s=r.defaultView;return s?a((e=>{e.add((()=>{n=!1}));var i=new WeakMap,o=s.FontFace;e.replace(s,"FontFace",(function(e,t,r){var n=new o(e,t,r);return i.set(n,{family:e,buffer:"string"!=typeof t,descriptors:r,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n}));var a=k(r.fonts,"add",(function(e){return function(r){return setTimeout(Pr((()=>{if(n){var e=i.get(r);e&&(t(e),i.delete(r))}})),0),e.apply(this,[r])}}));e.add(a)})):()=>{}}(e))),t.add(function(e){var t=e.doc,r=e.mirror,n=e.blockClass,s=e.blockSelector,i=e.selectionCb,o=!0,a=Pr((()=>{var e=t.getSelection();if(!(!e||o&&null!=e&&e.isCollapsed)){o=e.isCollapsed||!1;for(var a=[],l=e.rangeCount||0,u=0;u<l;u++){var c=e.getRangeAt(u),d=c.startContainer,h=c.startOffset,p=c.endContainer,f=c.endOffset;mr(d,n,s,!0)||mr(p,n,s,!0)||a.push({start:r.getId(d),startOffset:h,end:r.getId(p),endOffset:f})}i({ranges:a})}}));return a(),nr("selectionchange",a)}(e)),t.add(function(e){var t=e.doc,r=e.customElementCb,n=t.defaultView;return n&&n.customElements?k(n.customElements,"define",(function(e){return function(t,n,s){try{r({define:{name:t}})}catch(e){console.warn("Custom element callback failed for "+t)}return e.apply(this,[t,n,s])}})):()=>{}}(e)),e.plugins))t.add(g.observer(g.callback,n,g.options))}))):()=>{}}function qr(e){return void 0!==window[e]}function Zr(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class Qr{constructor(e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap,this.generateIdFn=e}getId(e,t,r,n){var s=r||this.getIdToRemoteIdMap(e),i=n||this.getRemoteIdToIdMap(e),o=s.get(t);return o||(o=this.generateIdFn(),s.set(t,o),i.set(o,t)),o}getIds(e,t){var r=this.getIdToRemoteIdMap(e),n=this.getRemoteIdToIdMap(e);return t.map((t=>this.getId(e,t,r,n)))}getRemoteId(e,t,r){var n=r||this.getRemoteIdToIdMap(e);return"number"!=typeof t?t:n.get(t)||-1}getRemoteIds(e,t){var r=this.getRemoteIdToIdMap(e);return t.map((t=>this.getRemoteId(e,t,r)))}reset(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){var t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){var t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}class Xr{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Qr(Z),this.crossOriginIframeStyleMirror=void 0,this.crossOriginIframeRootIdMap=new WeakMap,this.mirror=void 0,this.mutationCb=void 0,this.wrappedEmit=void 0,this.loadListener=void 0,this.pageHideListener=void 0,this.stylesheetManager=void 0,this.recordCrossOriginIframes=void 0,this.messageHandler=void 0,this.nestedIframeListeners=new Map,this.attachedWindows=new WeakMap,this.attachedDocuments=new WeakMap,this.attachedIframes=new Map,this.loadListenerDisposers=new WeakMap,this.iframeElementsById=new Map,this.pageHideHandlers=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Qr(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.messageHandler=this.handleMessage.bind(this),this.recordCrossOriginIframes&&window.addEventListener("message",this.messageHandler)}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}registerLoadListenerDisposer(e,t){var r=this.loadListenerDisposers.get(e);r||(r=new Set,this.loadListenerDisposers.set(e,r)),r.add(t);var n=this.mirror.getId(e);-1!==n&&this.iframeElementsById.set(n,e)}getIframeElementById(e){var t,r,n;return null!=(t=null!=(r=null==(n=this.attachedIframes.get(e))?void 0:n.element)?r:this.iframeElementsById.get(e))?t:null}forgetIframeId(e){this.attachedIframes.delete(e),this.iframeElementsById.delete(e)}disposeLoadListeners(e){var t=this.loadListenerDisposers.get(e);t&&(t.forEach((e=>ir(e))),this.loadListenerDisposers.delete(e))}removePageHideListener(e){var t=this.pageHideHandlers.get(e);t&&(t.forEach((e=>{sr(e.win,"pagehide",e.handler)})),this.pageHideHandlers.delete(e))}addLoadListener(e){this.loadListener=e}addPageHideListener(e){this.pageHideListener=e}removeLoadListener(){this.loadListener=void 0}trackIframeContent(e,t){var r=this.mirror.getId(e);return this.attachedIframes.set(r,{element:e,content:t}),r}attachIframe(e,t){var r,n=this.trackIframeContent(e,t);if(e.contentDocument){var s=this.attachedDocuments.get(e);s||(s=new Set,this.attachedDocuments.set(e,s)),s.add(e.contentDocument)}this.mutationCb({adds:[{parentId:n,nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0});var i=e.contentWindow;if(this.recordCrossOriginIframes&&i&&!this.nestedIframeListeners.has(i)){var o=this.handleMessage.bind(this);ir((()=>{i.addEventListener("message",o),this.nestedIframeListeners.set(i,o);var t=this.attachedWindows.get(e);t||(t=new Set,this.attachedWindows.set(e,t)),t.add(i)}))}ir((()=>{var t=e.contentWindow;if(t){var r=this.pageHideHandlers.get(e);if(r)for(var n of r)if(n.win===t)return;var s=()=>{var t;null==(t=this.pageHideListener)||t.call(this,e),e.contentDocument&&this.mirror.removeNodeFromMap(e.contentDocument),e.contentWindow&&this.crossOriginIframeMap.delete(e.contentWindow)};t.addEventListener("pagehide",s),r||(r=new Set,this.pageHideHandlers.set(e,r)),r.add({win:t,handler:s})}})),null==(r=this.loadListener)||r.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){var t=e;if("rrweb"===t.data.type&&t.origin===t.data.origin&&e.source){var r=this.crossOriginIframeMap.get(e.source);if(r){var n=this.transformCrossOriginEvent(r,t.data.event);n&&this.wrappedEmit(n,t.data.isCheckout)}}}transformCrossOriginEvent(e,t){switch(t.type){case l.FullSnapshot:this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);var r=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,r),this.patchRootIdOnNode(t.data.node,r),this.trackIframeContent(e,t.data.node),{timestamp:t.timestamp,type:l.IncrementalSnapshot,data:{source:u.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case l.Meta:case l.Load:case l.DomContentLoaded:return!1;case l.Plugin:return t;case l.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case l.IncrementalSnapshot:switch(t.data.source){case u.Mutation:return t.data.adds.forEach((t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);var r=this.crossOriginIframeRootIdMap.get(e);r&&this.patchRootIdOnNode(t.node,r)})),t.data.removes.forEach((t=>{this.replaceIds(t,e,["parentId","id"])})),t.data.attributes.forEach((t=>{this.replaceIds(t,e,["id"])})),t.data.texts.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case u.Drag:case u.TouchMove:case u.MouseMove:return t.data.positions.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case u.ViewportResize:return!1;case u.MediaInteraction:case u.MouseInteraction:case u.Scroll:case u.CanvasMutation:case u.Input:return this.replaceIds(t.data,e,["id"]),t;case u.StyleSheetRule:case u.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case u.Font:return t;case u.Selection:return t.data.ranges.forEach((t=>{this.replaceIds(t,e,["start","end"])})),t;case u.AdoptedStyleSheet:var n;return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),null==(n=t.data.styles)||n.forEach((t=>{this.replaceStyleIds(t,e,["styleId"])})),t}}return!1}replace(e,t,r,n){for(var s of n)(Array.isArray(t[s])||"number"==typeof t[s])&&(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((e=>{this.replaceIdOnNode(e,t)}))}patchRootIdOnNode(e,t){e.type===f.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach((e=>{this.patchRootIdOnNode(e,t)}))}removeIframeById(e){var t=this.attachedIframes.get(e),r=(null==t?void 0:t.element)||this.iframeElementsById.get(e)||this.mirror.getNode(e);if(this.iframeElementsById.delete(e),r){var n=r.contentWindow,s=this.attachedWindows.get(r);s&&(s.forEach((e=>{var t=this.nestedIframeListeners.get(e);t&&(sr(e,"message",t),this.nestedIframeListeners.delete(e)),this.crossOriginIframeMap.delete(e)})),this.attachedWindows.delete(r)),n&&this.nestedIframeListeners.has(n)&&(sr(n,"message",this.nestedIframeListeners.get(n)),this.nestedIframeListeners.delete(n)),n&&this.crossOriginIframeMap.delete(n),this.iframes.delete(r),this.disposeLoadListeners(r),this.removePageHideListener(r);var i=this.attachedDocuments.get(r);i&&(i.forEach((e=>{ir((()=>this.mirror.removeNodeFromMap(e)))})),ir((()=>zr(r,i))),this.attachedDocuments.delete(r))}t&&this.attachedIframes.delete(e)}cleanupDetachedIframes(){if(0!==this.attachedIframes.size){var e=[];this.attachedIframes.forEach(((t,r)=>{this.mirror.has(r)||e.push(r)})),e.forEach((e=>this.removeIframeById(e)))}}reattachIframes(){this.attachedIframes.forEach(((e,t)=>{var r=e.content;this.mirror.has(t)?this.mutationCb({adds:[{parentId:t,nextId:null,node:r}],removes:[],texts:[],attributes:[],isAttachIframe:!0}):this.attachedIframes.delete(t)}))}destroy(){this.recordCrossOriginIframes&&sr(window,"message",this.messageHandler),this.nestedIframeListeners.forEach(((e,t)=>{sr(t,"message",e)})),this.nestedIframeListeners.clear();var e=new Set;this.iframeElementsById.forEach((t=>e.add(t))),this.attachedIframes.forEach((t=>{var r=t.element;return e.add(r)})),e.forEach((e=>{this.disposeLoadListeners(e),this.removePageHideListener(e)})),this.crossOriginIframeMirror.reset(),this.crossOriginIframeStyleMirror.reset(),this.attachedIframes.clear(),this.crossOriginIframeMap=new WeakMap,this.iframes=new WeakMap,this.crossOriginIframeRootIdMap=new WeakMap,this.loadListenerDisposers=new WeakMap,this.pageHideHandlers=new WeakMap,this.attachedDocuments=new WeakMap,this.attachedWindows=new WeakMap,this.iframeElementsById=new Map}}class _r{constructor(e){this.shadowDoms=new WeakSet,this.mutationCb=void 0,this.scrollCb=void 0,this.bypassOptions=void 0,this.mirror=void 0,this.generation={},this.documentGenerations=new WeakMap,this.cleanupFailed=!1,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){var n,s;if(R(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var i=null!=(n=null==(s=O.host(e))?void 0:s.ownerDocument)?n:t,a=Hr(r({},this.bypassOptions,{doc:i,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e),l=a.observer,u=a.buffer;this.restoreHandlers.push({doc:i,handler:()=>{var e=o();e.add((()=>{var e=Br.indexOf(u);-1!==e&&Br.splice(e,1)})),e.add((()=>u.destroy())),e.add((()=>u.releaseCanvasManager())),e.add((()=>l.disconnect())),e.close()}}),this.restoreHandlers.push({doc:i,handler:Wr(r({},this.bypassOptions,{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))});var c=this.generation,d=this.documentGenerations.get(i);d||(d={},this.documentGenerations.set(i,d));var h=setTimeout((()=>{c===this.generation&&d===this.documentGenerations.get(i)&&(e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(O.host(e))),this.restoreHandlers.push({doc:i,handler:Kr({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e)}))}),0);this.restoreHandlers.push({doc:i,handler:()=>clearTimeout(h)})}}observeAttachShadow(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,t){var r=this;this.restoreHandlers.push({doc:t,handler:k(e.prototype,"attachShadow",(function(e){return function(n){var s=e.call(this,n),i=O.shadowRoot(this);return i&&Mr(this)&&r.addShadowRoot(i,t),s}}))})}disposeHandlers(e){var t=o();for(var r of e){var n=r.handler;t.add(n)}try{t.close()}catch(e){this.cleanupFailed=!0}if(this.cleanupFailed)throw new s}reset(){this.generation={},this.documentGenerations=new WeakMap;var e=this.restoreHandlers;this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.disposeHandlers(e)}resetForDoc(e){this.documentGenerations.set(e,{});var t=this.restoreHandlers.filter((t=>t.doc===e));this.restoreHandlers=this.restoreHandlers.filter((t=>t.doc!==e)),this.disposeHandlers(t)}}var $r="skip-frame";function en(e){if("object"!=typeof e||null===e)return!1;var t=e,r=t.x,n=t.y,s=t.width,i=t.height;return Number.isFinite(r)&&Number.isFinite(n)&&Number.isFinite(s)&&Number.isFinite(i)&&s>=0&&i>=0}for(var tn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",rn="undefined"==typeof Uint8Array?[]:new Uint8Array(256),nn=0;nn<64;nn++)rn[tn.charCodeAt(nn)]=nn;var sn=new Map,on=(e,t,r)=>{if(e&&(un(e,t)||"object"==typeof e)){var n=function(e,t){var r=sn.get(e);return r||(r=new Map,sn.set(e,r)),r.has(t)||r.set(t,[]),r.get(t)}(r,e.constructor.name),s=n.indexOf(e);return-1===s&&(s=n.length,n.push(e)),s}};function an(e,t,r,n){if(e instanceof Array)return e.map((e=>an(e,t,r,n)));if(null===e)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer){var s=e.constructor.name,i=function(e){var t,r=new Uint8Array(e),n=r.length,s="";for(t=0;t<n;t+=3)s+=tn[r[t]>>2],s+=tn[(3&r[t])<<4|r[t+1]>>4],s+=tn[(15&r[t+1])<<2|r[t+2]>>6],s+=tn[63&r[t+2]];return n%3==2?s=s.substring(0,s.length-1)+"=":n%3==1&&(s=s.substring(0,s.length-2)+"=="),s}(e);return{rr_type:s,base64:i}}return e instanceof DataView?{rr_type:e.constructor.name,args:[an(e.buffer,t,r,n),e.byteOffset,e.byteLength]}:e instanceof HTMLImageElement?{rr_type:e.constructor.name,src:e.src}:e instanceof HTMLCanvasElement?{rr_type:"HTMLImageElement",src:e.toDataURL(n.type,n.quality)}:e instanceof ImageData?{rr_type:e.constructor.name,args:[an(e.data,t,r,n),e.width,e.height]}:un(e,t)||"object"==typeof e?{rr_type:e.constructor.name,index:on(e,t,r)}:e}var ln=(e,t,r,n)=>e.map((e=>an(e,t,r,n))),un=(e,t)=>{var r=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((e=>"function"==typeof t[e]));return Boolean(r.find((r=>e instanceof t[r])))},cn=["webgl","webgl2"];function dn(e){return"nodeType"in e}function hn(e,t,n,s){var i=[];try{if(s){var o=function(e,t,n){var s=e.GPUCanvasContext;if(null!=s&&s.prototype&&"function"==typeof s.prototype.configure)return k(s.prototype,"configure",(function(s){return function(i){var o=function(e){var t=e.canvas;return t&&"object"==typeof t?t:null}(this);if(!o||dn(o)&&mr(o,t,n,!0))return s.call(this,i);dn(o)&&!("__context"in o)&&(o.__context="webgpu");var a=function(e){var t=e.GPUTextureUsage;return t?t.COPY_SRC|t.RENDER_ATTACHMENT:null}(e);return null!==a&&i?s.call(this,r({},i,{usage:"number"==typeof i.usage?i.usage|a:a})):s.call(this,i)}}))}(e,t,n);o&&i.push(o)}var a=k(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(r){for(var i=function(e){return"experimental-webgl"===e?"webgl":e}(r),o=arguments.length,a=new Array(o>1?o-1:0),l=1;l<o;l++)a[l-1]=arguments[l];if(!mr(this,t,n,!0)&&("__context"in this||(this.__context=i),s&&cn.includes(i)))if(a[0]&&"object"==typeof a[0]){var u=a[0];u.preserveDrawingBuffer||(u.preserveDrawingBuffer=!0)}else a.splice(0,1,{preserveDrawingBuffer:!0});return e.apply(this,[r,...a])}}));i.push(a)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{i.forEach((e=>e()))}}function pn(e,t,r,n,s,i,o){var a=[],l=Object.getOwnPropertyNames(e),u=function(l){if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(l))return 0;try{if("function"!=typeof e[l])return 0;var u=k(e,l,(function(e){return function(){for(var a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c];var d=e.apply(this,u);if(on(d,i,this),"tagName"in this.canvas&&!mr(this.canvas,n,s,!0)){var h=ln(u,i,this,o),p={type:t,property:l,args:h};r(this.canvas,p)}return d}}));a.push(u)}catch(n){var c=ur(e,l,{set(e){r(this.canvas,{type:t,property:l,args:[e],setter:!0})}});a.push(c)}};for(var c of l)u(c);return a}class fn{constructor(){throw new Error("Canvas recording is unavailable")}}var mn,vn,gn,yn=["type"];class wn{onFullSnapshot(){var e;null==(e=this.resetFrameDedup)||e.call(this)}acquire(){this.refCount+=1}reset(){this.refCount>0&&(this.refCount-=1),this.refCount>0||this.teardown()}teardown(){this.torndown||(this.torndown=!0,this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers(),null!==this.rafIdTimestamp&&(cancelAnimationFrame(this.rafIdTimestamp),this.rafIdTimestamp=null),null!==this.rafIdFlush&&(cancelAnimationFrame(this.rafIdFlush),this.rafIdFlush=null))}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.mirror=void 0,this.mutationCb=void 0,this.resetObservers=void 0,this.frozen=!1,this.locked=!1,this.rafIdTimestamp=null,this.rafIdFlush=null,this.refCount=0,this.torndown=!1,this.resetFrameDedup=null,this.processMutation=(e,t)=>{!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)};var t=e.sampling,r=void 0===t?"all":t,n=e.win,s=e.blockClass,i=e.blockSelector,o=e.recordCanvas,a=e.dataURLOptions,l=e.resolutionScale,u=e.canvasMasking;this.mutationCb=e.mutationCb,this.mirror=e.mirror,o&&"all"===r&&this.initCanvasMutationObserver(n,s,i,a),o&&"number"==typeof r&&this.initCanvasFPSObserver(r,n,s,i,{dataURLOptions:a,resolutionScale:l,canvasMasking:u})}initCanvasFPSObserver(e,r,n,s,i){var o=this;if("OffscreenCanvas"in r){var a,l="number"==typeof i.resolutionScale&&Number.isFinite(i.resolutionScale)?Math.min(1,Math.max(.1,i.resolutionScale)):1,u=hn(r,n,s,!0),c=new Map;try{a=new fn}catch(e){return}var d=!1;a.onerror=()=>{d=!0,cancelAnimationFrame(p),null==a.terminate||a.terminate(),this.resetFrameDedup=null},this.resetFrameDedup=()=>{a.postMessage({resetFrameDedup:!0})},a.onmessage=e=>{var t=e.data.id;if(c.set(t,!1),"base64"in e.data){var r=e.data,n=r.base64,s=r.type,i=r.displayWidth,o=r.displayHeight;this.mutationCb({id:t,type:h["2D"],commands:[{property:"clearRect",args:[0,0,i,o]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:n}],type:s}]},0,0,i,o]}],displayWidth:i,displayHeight:o})}};var p,f=1e3/e,m=0,v=e=>{var u,h;d||(m&&e-m<f||(m=e,(u=[],h=e=>{try{e.querySelectorAll("canvas").forEach((e=>{mr(e,n,s,!0)||u.push(e)})),e.querySelectorAll("*").forEach((e=>{e.shadowRoot&&h(e.shadowRoot)}))}catch(e){}},h(r.document),u).forEach(function(){var e=t((function*(e){var t=o.mirror.getId(e);if(!c.get(t)&&0!==e.width&&0!==e.height){c.set(t,!0);try{if(["webgl","webgl2"].includes(e.__context)){var r,n=e.getContext(e.__context);if(null!=n&&null!=n.isContextLost&&n.isContextLost())return void c.set(t,!1);!1===(null==n||null==(r=n.getContextAttributes())?void 0:r.preserveDrawingBuffer)&&n.clear(n.COLOR_BUFFER_BIT)}var s=e.clientWidth||e.width,u=e.clientHeight||e.height,d=Math.max(1,Math.round(s*l)),h=Math.max(1,Math.round(u*l)),p=function(e,t,r,n,s,i){if(e&&"function"==typeof e.regionsFn){var o;try{o=e.regionsFn(t)}catch(e){return $r}if(void 0!==o){if(!Array.isArray(o)||!o.every(en))return $r;var a=r/s,l=n/i;return o.filter((e=>e.width>0&&e.height>0)).map((e=>{var t=Math.floor(e.x*a),r=Math.floor(e.y*l);return{x:t,y:r,width:Math.ceil((e.x+e.width)*a)-t,height:Math.ceil((e.y+e.height)*l)-r}}))}}}(i.canvasMasking,e,d,h,s,u);if(p===$r)return void c.set(t,!1);var f=yield createImageBitmap(e,l<1?{resizeWidth:d,resizeHeight:h,resizeQuality:"medium"}:{resizeWidth:d,resizeHeight:h});a.postMessage({id:t,bitmap:f,width:d,height:h,displayWidth:s,displayHeight:u,dataURLOptions:i.dataURLOptions,maskRegions:p},[f])}catch(e){c.set(t,!1)}}}));return function(t){return e.apply(this,arguments)}}())),p=requestAnimationFrame(v))};p=requestAnimationFrame(v),this.resetObservers=()=>{u(),cancelAnimationFrame(p),null==a.terminate||a.terminate(),this.resetFrameDedup=null}}}initCanvasMutationObserver(e,t,r,n){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var s=hn(e,t,r,!1),i=function(e,t,r,n,s){var i=[],o=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype),a=function(o){try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[o])return 1;var a=k(t.CanvasRenderingContext2D.prototype,o,(function(i){return function(){for(var a=arguments.length,l=new Array(a),u=0;u<a;u++)l[u]=arguments[u];return mr(this.canvas,r,n,!0)||setTimeout((()=>{var r=ln(l,t,this,s);e(this.canvas,{type:h["2D"],property:o,args:r})}),0),i.apply(this,l)}}));i.push(a)}catch(r){var l=ur(t.CanvasRenderingContext2D.prototype,o,{set(t){e(this.canvas,{type:h["2D"],property:o,args:[t],setter:!0})}});i.push(l)}};for(var l of o)a(l);return()=>{i.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,r,n),o=function(e,t,r,n,s){var i=[];return void 0!==t.WebGLRenderingContext&&i.push(...pn(t.WebGLRenderingContext.prototype,h.WebGL,e,r,n,t,s)),void 0!==t.WebGL2RenderingContext&&i.push(...pn(t.WebGL2RenderingContext.prototype,h.WebGL2,e,r,n,t,s)),()=>{i.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,r,n);this.resetObservers=()=>{s(),i(),o()}}startPendingCanvasMutationFlusher(){this.rafIdFlush=requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}startRAFTimestamping(){var e=t=>{this.rafStamps.latestId=t,this.rafIdTimestamp=requestAnimationFrame(e)};this.rafIdTimestamp=requestAnimationFrame(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach(((e,t)=>{var r=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,r)})),this.rafIdFlush=requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}flushPendingCanvasMutationFor(e,t){if(!this.frozen&&!this.locked){var r=this.pendingCanvasMutations.get(e);if(r&&-1!==t){var s=r.map((e=>(e.type,n(e,yn)))),i=r[0].type;this.mutationCb({id:t,type:i,commands:s}),this.pendingCanvasMutations.delete(e)}}}}class bn{constructor(e){this.trackedLinkElements=new WeakSet,this.mutationCb=void 0,this.adoptedStyleSheetCb=void 0,this.styleMirror=new Cr,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){var r=this;if(0!==e.length){var n={id:t,styleIds:[]},s=[],i=function(e){var t;r.styleMirror.has(e)?t=r.styleMirror.getId(e):(t=r.styleMirror.add(e),s.push({styleId:t,rules:Array.from(e.rules||CSSRule,((t,r)=>({rule:A(t,e.href),index:r})))})),n.styleIds.push(t)};for(var o of e)i(o);s.length>0&&(n.styles=s),this.adoptedStyleSheetCb(n)}}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet,le()}trackStylesheetInLinkElement(e){}}class Sn{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){var r=this.nodeMap.get(e);return r&&Array.from(r).some((e=>e!==t))}add(e,t){this.active||(this.active=!0,requestAnimationFrame((()=>{this.nodeMap=new WeakMap,this.active=!1}))),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}var Cn=!1;try{if(2!==Array.from([1],(e=>2*e))[0]){var In,Mn=document.createElement("iframe");document.body.appendChild(Mn),Array.from=(null==(In=Mn.contentWindow)?void 0:In.Array.from)||Array.from,document.body.removeChild(Mn)}}catch(e){console.debug("Unable to override Array.from",e)}var kn=new D,On=new Set([u.Mutation,u.MediaInteraction,u.StyleSheetRule,u.CanvasMutation,u.Font,u.Log,u.StyleDeclaration,u.AdoptedStyleSheet]);function xn(e){void 0===e&&(e={});var t=e,n=t.emit,s=t.checkoutEveryNms,a=t.checkoutEveryNth,c=t.blockClass,d=void 0===c?"rr-block":c,h=t.blockSelector,p=void 0===h?null:h,f=t.ignoreClass,m=void 0===f?"rr-ignore":f,v=t.ignoreSelector,g=void 0===v?null:v,y=t.maskTextClass,w=void 0===y?"rr-mask":y,b=t.maskTextSelector,S=void 0===b?null:b,C=t.inlineStylesheet,I=void 0===C||C,M=t.maskAllInputs,k=t.maskInputOptions,x=t.slimDOMOptions,E=t.maskInputFn,R=t.maskTextFn,N=t.hooks,A=t.packFn,T=t.sampling,L=void 0===T?{}:T,F=t.dataURLOptions,P=void 0===F?{}:F,B=t.canvasResolutionScale,j=t.canvasMasking,H=t.mousemoveWait,W=t.recordDOM,z=void 0===W||W,U=t.recordCanvas,G=void 0!==U&&U,J=t.recordCrossOriginIframes,V=void 0!==J&&J,K=t.recordAfter,Y=void 0===K?"DOMContentLoaded"===e.recordAfter?e.recordAfter:"load":K,q=t.userTriggeredOnInput,Z=void 0!==q&&q,Q=t.collectFonts,X=void 0!==Q&&Q,_=t.inlineImages,$=void 0!==_&&_,ee=t.plugins,te=t.keepIframeSrcFn,re=void 0===te?()=>!1:te,ne=t.ignoreCSSAttributes,se=void 0===ne?new Set([]):ne,ie=t.attributeFilter,oe=t.errorHandler,ae=r({type:"image/webp",quality:.4,maxBase64ImageLength:1048576},P),ue=!V||window.parent===window,ce=!1;if(!ue)try{window.parent.document&&(ce=!1)}catch(e){ce=!0}if(ue&&!n)throw new Error("emit function is required");if(!ue&&!ce)return()=>{};void 0!==H&&void 0===L.mousemove&&(L.mousemove=H);var de,he=o(),me=!1,ve=[],ge=()=>{me=!0,Cn=!1,he.close()},ye=e=>{me?he.add(e):ve.push(e)},we=e=>{i(e)&&he.poison(),ge(),oe?oe(e):console.warn(e)};try{Lr(oe),he.add(Fr),he.add((()=>kn.reset())),he.add(le),kn.reset();var be,Se=!0===M?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:void 0!==k?k:{password:!0},Ce=fe(void 0!==x&&x);void 0===de&&(de=window),"NodeList"in de&&!de.NodeList.prototype.forEach&&(de.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in de&&!de.DOMTokenList.prototype.forEach&&(de.DOMTokenList.prototype.forEach=Array.prototype.forEach);var Ie,Me,ke=0,Oe=new Map,xe=e=>{for(var t of ee||[])t.eventProcessor&&(e=t.eventProcessor(e));return A&&!ce&&(e=A(e)),e},Ee=(e,t)=>{var r;if(!me){var i=e;if(i.timestamp=cr(),null==(r=Br[0])||!r.isFrozen()||i.type===l.FullSnapshot||i.type===l.IncrementalSnapshot&&On.has(i.data.source)||Br.forEach((e=>e.unfreeze())),ue)null==n||n(xe(i),t);else if(ce){var o={type:"rrweb",event:xe(i),origin:window.location.origin,isCheckout:t};window.parent.postMessage(o,"*")}if(i.type===l.FullSnapshot)be=i,ke=0;else if(i.type===l.IncrementalSnapshot){if(i.data.source===u.Mutation&&i.data.isAttachIframe)return;ke++;var c=a&&ke>=a,d=s&&i.timestamp-be.timestamp>s;(c||d)&&je(!0)}}};mn=Ee;var Re=e=>{if(e.removes&&e.removes.length>0){var t=e.adds.length>0?new Set(e.adds.map((e=>e.node.id))):null,n=new Set;if(e.adds.length>0)for(var s of e.adds){var i=kn.getNode(s.node.id);i&&"IFRAME"===i.nodeName&&n.add(i)}e.removes.forEach((e=>{var r=e.id;if(!t||!t.has(r)){var s=Te.getIframeElementById(r);s&&n.has(s)?Te.forgetIframeId(r):(null==Ie||Ie(r),Te.removeIframeById(r))}})),null==Me||Me(),Te.cleanupDetachedIframes()}Ee({type:l.IncrementalSnapshot,data:r({source:u.Mutation},e)})},Ne=e=>Ee({type:l.IncrementalSnapshot,data:r({source:u.Scroll},e)}),Ae=e=>Ee({type:l.IncrementalSnapshot,data:r({source:u.CanvasMutation},e)}),De=new bn({mutationCb:Re,adoptedStyleSheetCb:e=>Ee({type:l.IncrementalSnapshot,data:r({source:u.AdoptedStyleSheet},e)})});he.add((()=>De.reset()));var Te=new Xr({mirror:kn,mutationCb:Re,stylesheetManager:De,recordCrossOriginIframes:V,wrappedEmit:Ee});for(var Le of(he.add((()=>Te.destroy())),ee||[]))Le.getMirror&&Le.getMirror({nodeMirror:kn,crossOriginIframeMirror:Te.crossOriginIframeMirror,crossOriginIframeStyleMirror:Te.crossOriginIframeStyleMirror});var Fe=new Sn;he.add((()=>Fe.destroy()));var Pe=null==j?void 0:j.configured;gn=new wn({recordCanvas:G,mutationCb:Ae,win:window,blockClass:d,blockSelector:p,mirror:kn,sampling:L.canvas,dataURLOptions:ae,resolutionScale:B,canvasMasking:j}),he.add((()=>gn.reset()));var Be=new _r({mutationCb:Re,scrollCb:Ne,bypassOptions:{blockClass:d,blockSelector:p,maskTextClass:w,maskTextSelector:S,inlineStylesheet:I,maskInputOptions:Se,dataURLOptions:ae,maskTextFn:R,maskInputFn:E,recordCanvas:G,canvasMaskingConfigured:Pe,inlineImages:$,sampling:L,slimDOMOptions:Ce,iframeManager:Te,stylesheetManager:De,canvasManager:gn,keepIframeSrcFn:re,processedNodeManager:Fe,attributeFilter:ie},mirror:kn});he.add((()=>Be.reset()));var je=function(e){if(void 0===e&&(e=!1),!me&&z){Ee({type:l.Meta,data:{href:window.location.href,width:pr(),height:hr()}},e),De.reset(),Be.init(),Br.forEach((e=>e.lock()));var t=function(e,t){var r=t||{},n=r.mirror,s=void 0===n?new D:n,i=r.blockClass,o=r.blockSelector,a=r.maskTextClass,l=r.maskTextSelector,u=r.inlineStylesheet,c=r.inlineImages,d=void 0!==c&&c,h=r.recordCanvas,p=void 0!==h&&h,f=r.canvasMaskingConfigured,m=r.maskAllInputs,v=void 0!==m&&m,g=r.slimDOM,y=r.dataURLOptions,w=r.preserveWhiteSpace,b=r.onSerialize,S=r.onIframeLoad,C=r.iframeLoadTimeout,I=r.onIframeListenerRegistered,M=r.onStylesheetLoad,k=r.stylesheetLoadTimeout,O=r.keepIframeSrcFn,x=void 0===O?()=>!1:O,E=r.maxDepth;return pe(e,{doc:e,mirror:s,blockClass:void 0===i?"rr-block":i,blockSelector:void 0===o?null:o,maskTextClass:void 0===a?"rr-mask":a,maskTextSelector:void 0===l?null:l,skipChild:!1,inlineStylesheet:void 0===u||u,maskInputOptions:!0===v?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:!1===v?{password:!0}:v,maskTextFn:r.maskTextFn,maskInputFn:r.maskInputFn,slimDOMOptions:fe(void 0!==g&&g),dataURLOptions:y,inlineImages:d,recordCanvas:p,canvasMaskingConfigured:f,preserveWhiteSpace:w,onSerialize:b,onIframeLoad:S,iframeLoadTimeout:C,onIframeListenerRegistered:I,onStylesheetLoad:M,stylesheetLoadTimeout:k,keepIframeSrcFn:x,newlyAddedElement:!1,maxDepth:E})}(document,{mirror:kn,blockClass:d,blockSelector:p,maskTextClass:w,maskTextSelector:S,inlineStylesheet:I,maskAllInputs:Se,maskTextFn:R,maskInputFn:E,slimDOM:Ce,dataURLOptions:ae,recordCanvas:G,canvasMaskingConfigured:Pe,inlineImages:$,onSerialize:e=>{wr(e,kn)&&Te.addIframe(e),br(e,kn)&&De.trackLinkElement(e),Sr(e)&&Be.addShadowRoot(O.shadowRoot(e),document)},onIframeLoad:(e,t)=>{Te.attachIframe(e,t),Be.observeAttachShadow(e)},onIframeListenerRegistered:(e,t)=>{Te.registerLoadListenerDisposer(e,t)},onStylesheetLoad:(e,t)=>{De.attachLinkElement(e,t)},keepIframeSrcFn:re});if(!t)return console.warn("Failed to snapshot the document");Ee({type:l.FullSnapshot,data:{node:t,initialOffset:dr(window)}},e),Br.forEach((e=>e.unlock())),gn.onFullSnapshot(),V&&Te.reattachIframes(),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&De.adoptStyleSheets(document.adoptedStyleSheets,kn.getId(document))}};vn=je,he.add((()=>Oe.clear())),he.add((()=>{var e=o();for(var t of ve)e.add(t);ve.length=0,e.close()})),Ie=e=>{var t=Oe.get(e);if(t){var r=o();t.forEach((e=>{r.add(e);var t=ve.indexOf(e);-1!==t&&ve.splice(t,1)})),Oe.delete(e),r.close()}},Me=()=>{for(var e of Oe){var t=e[0],r=kn.getNode(t);if(r)try{r.contentDocument&&r.contentDocument.defaultView||null==Ie||Ie(t)}catch(e){null==Ie||Ie(t)}else null==Ie||Ie(t)}};var He=e=>{var t;return Yr({mutationCb:Re,mousemoveCb:(e,t)=>Ee({type:l.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>Ee({type:l.IncrementalSnapshot,data:r({source:u.MouseInteraction},e)}),scrollCb:Ne,viewportResizeCb:e=>Ee({type:l.IncrementalSnapshot,data:r({source:u.ViewportResize},e)}),inputCb:e=>Ee({type:l.IncrementalSnapshot,data:r({source:u.Input},e)}),mediaInteractionCb:e=>Ee({type:l.IncrementalSnapshot,data:r({source:u.MediaInteraction},e)}),styleSheetRuleCb:e=>Ee({type:l.IncrementalSnapshot,data:r({source:u.StyleSheetRule},e)}),styleDeclarationCb:e=>Ee({type:l.IncrementalSnapshot,data:r({source:u.StyleDeclaration},e)}),canvasMutationCb:Ae,fontCb:e=>Ee({type:l.IncrementalSnapshot,data:r({source:u.Font},e)}),selectionCb:e=>{Ee({type:l.IncrementalSnapshot,data:r({source:u.Selection},e)})},customElementCb:e=>{Ee({type:l.IncrementalSnapshot,data:r({source:u.CustomElement},e)})},blockClass:d,ignoreClass:m,ignoreSelector:g,maskTextClass:w,maskTextSelector:S,maskInputOptions:Se,inlineStylesheet:I,sampling:L,recordDOM:z,recordCanvas:G,canvasMaskingConfigured:Pe,inlineImages:$,userTriggeredOnInput:Z,collectFonts:X,doc:e,maskInputFn:E,maskTextFn:R,keepIframeSrcFn:re,blockSelector:p,slimDOMOptions:Ce,dataURLOptions:ae,mirror:kn,iframeManager:Te,stylesheetManager:De,shadowDomManager:Be,processedNodeManager:Fe,canvasManager:gn,ignoreCSSAttributes:se,attributeFilter:ie,plugins:(null==ee||null==(t=ee.filter((e=>e.observer)))?void 0:t.map((e=>({observer:e.observer,options:e.options,callback:t=>Ee({type:l.Plugin,data:{plugin:e.name,payload:t}})}))))||[]},N)};Te.addLoadListener((e=>{if(!me)try{var t=kn.getId(e),r=He(e.contentDocument);if(ye(r),-1!==t){var n=Oe.get(t);n||(n=new Set,Oe.set(t,n)),n.add(r)}}catch(e){we(e)}})),Te.addPageHideListener((e=>{var t=kn.getId(e);null==Ie||Ie(t),zr(e)}));var We=-1,ze=e=>Ee({type:l.Custom,data:{tag:"rrweb/fullscreen",payload:e}}),Ue=()=>{var e,t,r,n,s=document,i=null!=(e=null!=(t=null!=(r=null!=(n=s.fullscreenElement)?n:s.webkitFullscreenElement)?r:s.mozFullScreenElement)?t:s.msFullscreenElement)?e:null,o=i?kn.getId(i):-1;o!==We&&(-1!==We&&ze({id:We,enter:!1}),We=o,-1!==o&&ze({id:o,enter:!0}))},Ge=!1,Je=()=>{me||Ge||(Ge=!0,je(),me||(ye(He(document)),ye(nr("fullscreenchange",Ue)),ye(nr("webkitfullscreenchange",Ue)),ye(nr("mozfullscreenchange",Ue)),ye(nr("MSFullscreenChange",Ue)),Cn=!0))};return["interactive","complete"].includes(document.readyState)?Je():(ye(nr("DOMContentLoaded",(()=>{if(!me)try{Ee({type:l.DomContentLoaded,data:{}}),"DOMContentLoaded"===Y&&Je()}catch(e){we(e)}}))),ye(nr("load",(()=>{if(!me)try{Ee({type:l.Load,data:{}}),"load"===Y&&Je()}catch(e){we(e)}}),window))),ge}catch(e){we(e)}}xn.addCustomEvent=(e,t)=>{if(!Cn)throw new Error("please add custom event after start recording");mn({type:l.Custom,data:{tag:e,payload:t}})},xn.freezePage=()=>{Br.forEach((e=>e.freeze()))},xn.takeFullSnapshot=e=>{if(!Cn)throw new Error("please take full snapshot after start recording");vn(e)},xn.mirror=kn;var En,Rn=(e,t,r)=>{var n=()=>{throw new Error("Invalid internal text data")};(!Number.isSafeInteger(t)||t<1||t>1e6||!Number.isSafeInteger(r)||r<1||r>1e4||e.length>2e6||e.length%4!=0)&&n();for(var s=e.endsWith("==")?2:e.endsWith("=")?1:0,i=new Uint8Array(e.length/4*3-s),o=0,a=0,l=0,u=0;u<e.length-s;u++){var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e.charAt(u));c<0&&n(),l=l<<6|c,(a+=6)>=8&&(a-=8,i[o++]=l>>>a&255)}a&&l&(1<<a)-1&&n();for(var d,h,p=new Uint8Array(t),f=0,m=0,v=e=>{m+e>8*i.length&&n();var t=m>>>3,r=(i[t]|i[t+1]<<8|i[t+2]<<16)>>>(7&m)&(1<<e)-1;return m+=e,r},g=(e,t,r)=>{for(var s=new Uint16Array(16),i=0,o=0;o<e.length;o++){var a=e[o];a>15&&n(),a&&(s[a]++,i=Math.max(i,a))}for(var l=1,u=1;u<=15;u++)(l=2*l-s[u])<0&&n();(i?!l||t&&1===i&&1===s[1]:r)||n();for(var c=new Uint16Array(16),d=1;d<15;d++)c[d+1]=c[d]+s[d];for(var h=new Uint16Array(e.length),p=0;p<e.length;p++){var f=e[p];f&&(h[c[f]++]=p)}return{counts:s,symbols:h,maximum:i}},y=e=>{for(var t=0,r=0,s=0,i=1;i<=e.maximum;i++){t=t<<1|v(1);var o=e.counts[i];if(t>=r&&t-r<o)return e.symbols[s+t-r];s+=o,r=r+o<<1}return n()},w=0,b=0;!w;){++b>1024&&n(),w=v(1);var S=v(2);if(0===S){m=m+7&-8;var C=v(16);(65535!=(C^v(16))||f+C>t||m+8*C>8*i.length)&&n(),p.set(i.subarray(m>>>3,(m>>>3)+C),f),f+=C,m+=8*C}else{var I=void 0,M=void 0;if(1===S){if(!d||!h){for(var k=new Uint8Array(288),O=0;O<k.length;O++)k[O]=O<144?8:O<256?9:O<280?7:8;d=g(k,!1,!1);for(var x=new Uint8Array(32),E=0;E<x.length;E++)x[E]=5;h=g(x,!1,!1)}I=d,M=h}else{if(2!==S)return n();var R=v(5)+257,N=v(5)+1,A=v(4)+4;R>286&&n();for(var D=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],T=new Uint8Array(19),L=0;L<A;L++)T[D[L]]=v(3);for(var F=g(T,!1,!1),P=new Uint8Array(R+N),B=0;B<P.length;){var j=y(F);if(j<16)P[B++]=j;else{16!==j||B||n();var H=16===j?P[B-1]:0,W=16===j?v(2)+3:17===j?v(3)+3:v(7)+11;B+W>P.length&&n();for(var z=B+W;B<z;B++)P[B]=H}}P[256]||n(),I=g(P.subarray(0,R),!0,!1),M=g(P.subarray(R),!0,!0)}for(;;){var U=y(I);if(256===U)break;if(U<256)f===t&&n(),p[f++]=U;else{U>285&&n();var G=U-257,J=(G>>>2)-1,V=G<8?G+3:28===G?258:3+(4+(3&G)<<J)+v(J),K=y(M);K>29&&n();var Y=(K>>>1)-1,q=K<4?K+1:1+(2+(1&K)<<Y)+v(Y);(q>f||f+V>t)&&n();for(var Z=0;Z<V;Z++)p[f]=p[f-q],f++}}}}f===t&&Math.ceil(m/8)===i.length||n();for(var Q="",X=0;X<f;X+=4096)Q+=String.fromCharCode.apply(null,p.subarray(X,Math.min(X+4096,f)));var _=JSON.parse(Q);return Array.isArray(_)&&_.length===r&&!_.some((e=>"string"!=typeof e))||n(),Object.freeze(_)},Nn=e=>(En||(En=Rn("rX3bktw2suCvIDrOw25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+ZMdOm9U8m5EJy715cPlhask4c3Yi0bZJNfE1KkYWsjBDVKJuOwffkskWHwzSliJCy9AQzQXLXqfjs01clBaUT+2YKSq6Su/LggX5g0qEnGJdy6vfcSrzsHuYb34/PnzXxcM4e3Y84Lmr4JHt60lbH117llDBym+UgKfMr6fCrtFSUm0OdWlVyI50pchxvFm9BZLM1kov8gXDnKQ37RjMBPHvOCdQBnP5wumA/5ixDc4Z5skepdyjiMCc3yWRL6LWDjk5mQELkZtGyeE8cBiACFXDQ+nWYToCv/y3UoUhTEhC2PNrcEGuLcsPBxxqJKxEBcsPhD9q1S+s15lfn6aXDuXRf+YHJ86Y+zeRYmf/ISbEsVtJuOQ7d1s5MfRmQbDKJkipynNi0K+Rdw03/so/8BGNPJ2WCsaGtOMRXEMWWWue5r9B9cYRWgUo3ILNHimItxD94qRlBtsVyxerI3B6F+feQ/phmtkyq1UflDr5AQGearaiMOB1eXXtu6Tif63rPbD11VNODwGj6UD3ja1Ug8JvbVG92V0qK7fBykOpUO06f8Cn96UkVxMdWP5938B",6362,353),Dn=An[0];An[1];var Tn=An[2],Ln=An[3];An[4],An[5],An[6];var Fn=An[7],Pn=An[8];An[9],An[10],An[11],An[12],An[13],An[14],An[15],An[16],An[17],An[18],An[19],An[20],An[21];var Bn=An[22],jn=An[23];An[24],An[25],An[26],An[27],An[28],An[29],An[30],An[31],An[32],An[33];var Hn=An[34];An[35],An[36];var Wn=An[37],zn=An[38];An[39],An[40],An[41],An[42],An[43],An[44];var Un=An[45];An[46],An[47];var Gn=An[48];An[49],An[50],An[51];var Jn=An[52],Vn=An[53];An[54],An[55],An[56],An[57],An[58],An[59];var Kn=An[60];An[61],An[62],An[63],An[64];var Yn=An[65];An[66];var qn=An[67];An[68],An[69],An[70],An[71],An[72],An[73],An[74],An[75],An[76],An[77],An[78],An[79],An[80];var Zn=An[81];An[82];var Qn=An[83];An[84];var Xn=An[85],_n=An[86];An[87],An[88],An[89],An[90];var $n=An[91];An[92],An[93],An[94];var es=An[95];An[96],An[97],An[98],An[99],An[100],An[101],An[102],An[103],An[104],An[105],An[106],An[107],An[108],An[109],An[110];var ts=An[111];An[112];var rs=An[113];An[114],An[115],An[116],An[117];var ns=An[118];An[119],An[120],An[121],An[122],An[123],An[124],An[125],An[126],An[127],An[128],An[129],An[130],An[131];var ss=An[132],is=An[133],os=An[134],as=An[135],ls=An[136];An[137],An[138];var us=An[139];An[140],An[141],An[142],An[143],An[144],An[145],An[146];var cs=An[147];An[148],An[149],An[150];var ds=An[151];An[152],An[153],An[154],An[155],An[156],An[157],An[158],An[159],An[160],An[161],An[162],An[163],An[164],An[165],An[166],An[167],An[168],An[169];var hs=An[170],ps=An[171];An[172],An[173],An[174],An[175],An[176],An[177],An[178],An[179];var fs=An[180];An[181],An[182];var ms=An[183];An[184],An[185],An[186],An[187],An[188],An[189],An[190],An[191],An[192],An[193],An[194];var vs=An[195],gs=An[196];An[197],An[198],An[199],An[200],An[201],An[202];var ys=An[203];An[204],An[205],An[206],An[207],An[208],An[209],An[210],An[211];var ws=An[212];An[213],An[214];var bs=An[215],Ss=An[216],Cs=An[217];An[218],An[219];var Is=An[220],Ms=An[221];An[222],An[223],An[224];var ks=An[225];An[226],An[227];var Os=An[228];An[229];var xs=An[230];An[231];var Es=An[232],Rs=An[233];An[234],An[235];var Ns=An[236];An[237];var As=An[238];An[239];var Ds=An[240];An[241],An[242],An[243];var Ts=An[244];An[245],An[246],An[247],An[248],An[249],An[250],An[251];var Ls=An[252],Fs=An[253];An[254],An[255],An[256],An[257],An[258],An[259],An[260],An[261];var Ps=An[262];An[263],An[264],An[265],An[266],An[267],An[268];var Bs=An[269];An[270],An[271];var js=An[272];An[273],An[274];var Hs=An[275];An[276],An[277],An[278],An[279],An[280],An[281],An[282],An[283];var Ws=An[284];An[285],An[286],An[287],An[288];var zs=An[289];An[290],An[291],An[292],An[293],An[294],An[295],An[296],An[297],An[298],An[299],An[300],An[301],An[302],An[303],An[304];var Us=An[305];An[306],An[307];var Gs=An[308];An[309],An[310],An[311],An[312],An[313],An[314],An[315],An[316];var Js=An[317];An[318],An[319],An[320],An[321],An[322];var Vs=An[323],Ks=An[324];An[325],An[326],An[327],An[328],An[329],An[330],An[331],An[332],An[333];var Ys=An[334];An[335],An[336],An[337],An[338],An[339],An[340],An[341],An[342],An[343],An[344],An[345],An[346],An[347];var qs=An[348];An[349],An[350];var Zs=An[351];An[352];var Qs=Array.isArray,Xs=e=>Qs(e),_s=e=>"object"==typeof e&&null!=e&&!Xs(e),$s=e=>"string"==typeof e,ei=e=>!0===e||!1===e,ti=e=>"function"==typeof e,ri=e=>{for(var t=0,r=0;r<e[Es];r+=1){var n=e[Xn](r);if(n>=55296&&n<=56319){var s=e[Xn](r+1);if(r+1>=e[Es]||s<56320||s>57343)return null;r+=1}else if(n>=56320&&n<=57343)return null;t+=1}return t},ni=e=>"number"==typeof e&&Number[Vs](e),si=e=>ni(e)&&Number[Fn](e)&&e>=0,ii=e=>Object.is(e,null),oi=(e,t)=>Object.prototype[is].call(e,t),ai=(e,t)=>Object.prototype[is].call(e,t),li=(e,t)=>{var r=new Set(t);return Object.keys(e).every((e=>r.has(e)))},ui=e=>Object.freeze(e),ci=Rn("lVZNk9xEDP0rqj3H1IaCXDhtskAlB0hlFjhQHDTdst1MW2rU8nzw66luj+2Z2U2A44xtfbz39KTf79rRRiVoI3bg0PUE2fU0IIQMI+cxJVEjf/fqTg5M2nTEpGhBuKFjj2OeHiaVPXHDYo2TYQg2/U3HRM7IP8mwzSZMPy6f3726c8Jt6ICOKegJnIzRA4vBliCR5nCOPYScA3eAo/WiwU4woO5I717dBd5jDH4qf3leQmMqfdWCzv//XYMp/TUGpdy4UZXYGiXaYxznmuaX629ggSjckcKA5nrK4EfFbaSrZBN4MRBbgc1FyTVXNlHsaFMB/bV0VFMMeAzDODyOExAbcsI+l248sZX+nLDR0UBpH84ftWSun0jBPYZYiwgM1ocMxPugwgOxXYD+bupwQ7nEeF8qiuIwguuROwJxFQP/YBWXFPEEaE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GhlRjlsJIQK7uXR9BXXziWrks00iFwpfTataltqdbQDJh3gbvmQLgjbaxHbpLE4JaLYT1hP3dlz56+vlm7NaAjudEuTgRIxL7cGEpR0Ff3z2MRBvkbV5rJKF6I1yb/zAhnta+H7B//AA==",3110,85);ci[0],ci[1],ci[2],ci[3],ci[4],ci[5],ci[6],ci[7],ci[8],ci[9],ci[10],ci[11],ci[12],ci[13],ci[14],ci[15],ci[16],ci[17],ci[18];var di=ci[19];ci[20],ci[21],ci[22];var hi=ci[23];ci[24],ci[25],ci[26],ci[27],ci[28],ci[29],ci[30],ci[31],ci[32],ci[33],ci[34],ci[35],ci[36],ci[37],ci[38],ci[39],ci[40],ci[41],ci[42],ci[43],ci[44],ci[45],ci[46],ci[47],ci[48],ci[49],ci[50],ci[51],ci[52],ci[53],ci[54],ci[55],ci[56],ci[57],ci[58],ci[59],ci[60],ci[61],ci[62],ci[63],ci[64],ci[65],ci[66],ci[67],ci[68],ci[69],ci[70],ci[71],ci[72],ci[73],ci[74],ci[75],ci[76],ci[77],ci[78],ci[79],ci[80],ci[81],ci[82],ci[83],ci[84];var pi="https://ingest.elu.dev";ui({[qs]:ui([pi]),[Ts]:ui([pi]),[js]:ui([pi]),assets:ui(["https://assets.elu.dev"])});var fi,mi=ui({[qs]:"/v1/events",[Ts]:"/v1/replay",[js]:"/v1/flags",assets:"/sdk/"}),vi=ui({[qs]:"/v1/events",[Ts]:"/v2/replay",[js]:"/v1/flags",assets:"/sdk/"});ui({1:mi,2:vi}),ui({1:"/sdk/v1/",2:"/sdk/v2/"});var gi=e=>(fi||(fi=Rn("jVZdV9w2EP0rc/za9Sns8vlISEigJSFA0jY9fRhLY1tZWXI08sLy63sk2d7txkDffDR35Pm4dzR/Z6fz+WJxPN9bHJ0cHhwfH57sHWezidOTbJadvTl/++7i/YfLq99+v/746ebz7d39l69//PnXNyyEpLKq1felboxtfzj23erhcf20tz9fHBweHZ+c/vJrNsuu7j59BNM1BTkQaIz1UFD4skYJ1OqJ5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I/H/3+M7DgOUyRIcdMLNKM4+slXdGUZFiNKT/uG3Gn+rwgYSxpIvvETdWeW2/kMCZNJz1vpbPN8mv0t0qkVub7q8KB8bTsfhRz2k5HlO0/GEDO2KJRfQ3rHY9t6ZKNMeM1z2fUL2esuOx0d2RX5+yyM41b3DGZTzKiBncr3qwjYNkTY90gZoTsZ1tPWd45unPVWWP1+XC1H//PQgDeR5683bVjd8riZxf3tn38B",2953,79)),fi[e]),yi=/^(\d{4})-(\d{2})-(\d{2})[Tt](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(?:[Zz]|([+-])(\d{2}):(\d{2}))$/,wi=(e,t)=>{throw new Error(e+" "+t)},bi=function(e,t,n){var s;if(!$s(e))return wi(t,gi(52));var i=ri(e);if(ii(i)||i<1||i>n)return wi(t,"must contain between 1 and "+n+" Unicode scalars");var o=yi.exec(e);if(!o)return wi(t,gi(51));var a=Number(o[1]),l=Number(o[2]),u=Number(o[3]),c=Number(o[4]),d=Number(o[5]),h=Number(o[6]),p=(null!=(s=o[7])?s:"").replace(/0+$/,""),f=o[9]?Number(o[9]):0,m=o[10]?Number(o[10]):0;(l<1||l>12||u<1||u>((e,t)=>{var r=new Date(0);return r[os](e,t,0),r.getUTCDate()})(a,l)||c>23||d>59||h>60||f>23||m>59)&&wi(t,gi(49));var v=new Date(0);v[os](a,l-1,u),v.setUTCHours(c,d,Math.min(h,59),0);var g=v.getTime()/1e3-("-"===o[8]?-1:1)*(60*f+m)*60;ni(g)&&Number[Fn](g)||wi(t,gi(33));var y=60===h;if(y){var w=new Date(1e3*(g+1));0===w.getUTCHours()&&0===w.getUTCMinutes()&&0===w.getUTCSeconds()&&1===w.getUTCDate()&&(0===w.getUTCMonth()||6===w.getUTCMonth())||wi(t,gi(54))}var b=(e=>{var t=Math.floor(e/86400);return ui({epochDay:t,[ns]:e-86400*t})})(g);return ui(r({source:e},b,{[_n]:y,[Pn]:p}))};ui(["Asia/Nicosia","Asia/Famagusta","Atlantic/Canary","Atlantic/Madeira","Atlantic/Azores","Atlantic/Reykjavik","Atlantic/Faroe","Africa/Ceuta","America/Cayenne","America/Guadeloupe","America/Martinique","Indian/Reunion","Indian/Mayotte"]);var Si=ui({sampled:!1,[qn]:!1,[hs]:!1,[Zn]:0,[Ds]:null}),Ci=new Set(["password","email","tel","hidden"]),Ii=["src","srcset"],Mi=new Set(["img","picture","source"]),ki=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),Oi=(e,t,n)=>{var s=r({},t),i="string"==typeof s.type?s.type[ls]():"";if(("all"===n.inputRule||Ci.has(i)||"textarea"===e)&&"value"in s&&delete s.value,"block"===n.imageRule&&Mi.has(e))for(var o of Ii)o in s&&delete s[o];return s},xi=(e,t)=>{if(!ki(e))return e;var n=r({},e),s=n.type;if(5===s)n.textContent="";else if(3===s&&"all"===t.textRule)!0!==n.isStyle&&(n.textContent="");else if(2===s){var i="string"==typeof n.tagName?n.tagName[ls]():"";ki(n[fs])&&(n[fs]=Oi(i,n[fs],t))}return Array.isArray(n.childNodes)&&(n.childNodes=n.childNodes.map((e=>xi(e,t)))),n},Ei=(e,t)=>{var n=r({},e);return"all"===t.textRule&&Array.isArray(n.texts)&&(n.texts=n.texts.map((e=>ki(e)?r({},e,{value:""}):e))),Array.isArray(n[fs])&&(n[fs]=n[fs].map((e=>ki(e)&&ki(e[fs])?r({},e,{[fs]:Oi("",e[fs],t)}):e))),Array.isArray(n.adds)&&(n.adds=n.adds.map((e=>ki(e)?r({},e,{node:xi(e.node,t)}):e))),n},Ri=(e,t)=>{if(!ki(e))return e;var n=e.data;if(!ki(n))return e;if(2===e.type)return r({},e,{data:r({},n,{node:xi(n.node,t)})});if(3!==e.type)return e;if(0===n.source)return r({},e,{data:Ei(n,t)});if(5===n.source){var s=r({},n);return"all"===t.inputRule&&"string"==typeof s.text&&(s.text=""),r({},e,{data:s})}return e},Ni=/^[a-f0-9]{64}$/,Ai=function(){var e=t((function*(e){var t="undefined"==typeof globalThis?void 0:globalThis.crypto;if(null==t||!t.subtle)return null;try{var r=yield t.subtle.digest("SHA-256",e),n="";for(var s of new Uint8Array(r))n+=s.toString(16).padStart(2,"0");return n}catch(e){return null}}));return function(t){return e.apply(this,arguments)}}(),Di=function(){var e=t((function*(e,t){void 0===t&&(t=Ai);var r=yield t(e);if(!$s(r)||!Ni.test(r[ls]()))throw new Error(gi(5));return r[ls]()}));return function(t,r){return e.apply(this,arguments)}}(),Ti=e=>$s(e)&&/^sha256:[a-f0-9]{64}$/.test(e),Li=e=>(new TextEncoder).encode(e);class Fi extends Error{constructor(e,t){super(t),this.code=void 0,this.name=gi(10),this.code=e}}class Pi extends Error{constructor(e){super(e),this.name=gi(7)}}class Bi extends Error{constructor(e){super(e),this.name=gi(8)}}class ji extends Error{constructor(e){super(e),this.name=gi(11)}}var Hi=ui({maximumReplayDecodedBytes:16777216,[ws]:1e4,maximumJsonNestingDepth:256});function Wi(e,t){throw new Fi(e,t)}var zi=(e,t)=>{ii(ri(e))&&Wi("invalid-unicode",t+" contains an unpaired Unicode surrogate")},Ui=e=>void 0===e||ti(e)||"symbol"==typeof e,Gi=(e,t,r,n,s)=>{if(ii(e))return"null";switch(typeof e){case"string":return zi(e,r),JSON[As](e);case"number":return Number[Vs](e)||Wi(Js,r+" must be a finite number"),JSON[As](e);case"boolean":return e?"true":"false";case"object":break;default:return Wi(Js,r+" has an unsupported "+typeof e+" value")}var i=t+1;if(i>n&&Wi(gi(34),r+" exceeds the maximum JSON nesting depth of "+n),i>s.depth&&(s.depth=i),Xs(e)){for(var o=[],a=0;a<e[Es];a+=1){ai(e,a)||Wi(Js,r+"["+a+"] is a sparse array hole");var l=e[a];o.push(Ui(l)?"null":Gi(l,i,r+"["+a+"]",n,s))}return"["+o.join(",")+"]"}if(!(e=>{var t=Object[Kn](e);return ii(t)||t===Object.prototype})(e))return Wi(Js,r+" must be a plain JSON object or array");var u=e,c=Object.keys(u).sort(),d=[];for(var h of c){var p=u[h];Ui(p)||(zi(h,r+"."+h),d.push(JSON[As](h)+":"+Gi(p,i,r+"."+h,n,s)))}return"{"+d.join(",")+"}"},Ji=function(e,t,r){return void 0===r&&(r=256),Ui(e)&&Wi(Js,t+" must be a JSON value"),Gi(e,0,t,r,{depth:0})},Vi="elu-css-selector-v1",Ki=[Tn,cs,"textRule","inputRule","imageRule",ts,hi,ds,us],Yi=["all","sensitive"],qi=["all","sensitive"],Zi=["block","allow"];function Qi(e){throw new Pi(e)}var Xi=(e,t,r)=>($s(e)&&t.includes(e)||Qi(r+" must be one of "+t.join(", ")),e),_i=(e,t)=>{var r=$s(e)?ri(e):null;return ii(r)||r<1||r>512?Qi(t+" must be a selector of 1 to 512 Unicode scalars"):e},$i=(e,t)=>{Xs(e)||Qi(t+" must be an array of selectors");for(var r=new Set,n=0;n<e[Es];n+=1)ai(e,n)||Qi(t+" must not be sparse"),r.add(_i(e[n],t+"["+n+"]"));return r.size>128&&Qi(t+" may carry at most 128 selectors"),ui([...r].sort())},eo=e=>{for(var t of(_s(e)&&li(e,Ki)||Qi(gi(39)),Ki))oi(e,t)||Qi("masking profile "+t+" is required");return 1!==e[Tn]&&Qi("masking profile schemaVersion must be 1"),e[cs]!==Vi&&Qi("masking profile targetDialect must be "+Vi),!0!==e[ts]&&Qi(gi(43)),ei(e[jn])||Qi(gi(40)),ui({[Tn]:1,[cs]:Vi,textRule:Xi(e.textRule,Yi,gi(44)),inputRule:Xi(e.inputRule,qi,gi(38)),imageRule:Xi(e.imageRule,Zi,gi(37)),[ts]:!0,[jn]:e[jn],[ds]:$i(e[ds],gi(42)),[us]:$i(e[us],gi(41))})},to=Object.freeze(["img","picture","svg","canvas"]),ro=e=>e[Es]>0?e.join(", "):void 0,no=e=>"object"==typeof e&&null!==e&&!Xs(e),so=e=>{if(Xs(e))return e.map(so);if(!no(e))return e;var t={};for(var r of Object.keys(e))t[r]=so(e[r]);return no(t[fs])&&delete t[fs].value,3===t.type&&no(t.data)&&5===t.data.source&&(t.data.text=""),t},io=(e,t)=>Number[Fn](e)&&e>0&&e<=t,oo=(e,t,r,n)=>ui({[rs]:e[rs],[ss]:t,chunkStartedAtMs:t,chunkBytes:r,chunkEvents:1,[Is]:n}),ao=Is,lo=Hs;ui({base:1,[js]:2,[Ts]:3}),ui([{name:"installations",keyPath:bs,[Ps]:1,indexes:[]},{name:lo,keyPath:["siteKey","sequence"],[Ps]:1,indexes:[]},{name:"flagCache",keyPath:[zn,"recordKind"],[Ps]:2,indexes:[]},{name:"replayChunks",keyPath:["siteKey",Bn],[Ps]:3,indexes:[{name:"chunk",keyPath:["siteKey","replayId","chunkId"],unique:!0},{name:ao,keyPath:["siteKey","replayId","sequence"],unique:!0}]},{name:"replayStreams",keyPath:["siteKey","replayId"],[Ps]:3,indexes:[]},{name:"replayResolutions",keyPath:["siteKey","replayId","chunkId"],[Ps]:3,indexes:[{name:ao,keyPath:["siteKey","replayId","sequence"],unique:!0}]}]),ui({wallNow:()=>(new Date)[as](),monotonicNowMs:()=>{var e="undefined"==typeof globalThis?void 0:globalThis.performance;return e?e.now():Number.NaN}});var uo=Uint8Array,co=Uint16Array,ho=Uint32Array,po=new uo([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),fo=new uo([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),mo=new uo([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),vo=function(e,t){for(var r=new co(31),n=0;n<31;++n)r[n]=t+=1<<e[n-1];var s=new ho(r[30]);for(n=1;n<30;++n)for(var i=r[n];i<r[n+1];++i)s[i]=i-r[n]<<5|n;return[r,s]},go=vo(po,2),yo=go[0],wo=go[1];yo[28]=258,wo[258]=28;for(var bo=vo(fo,0)[1],So=new co(32768),Co=0;Co<32768;++Co){var Io=(43690&Co)>>>1|(21845&Co)<<1;Io=(61680&(Io=(52428&Io)>>>2|(13107&Io)<<2))>>>4|(3855&Io)<<4,So[Co]=((65280&Io)>>>8|(255&Io)<<8)>>>1}var Mo=function(e,t,r){for(var n=e.length,s=0,i=new co(t);s<n;++s)++i[e[s]-1];var o,a=new co(t);for(s=0;s<t;++s)a[s]=a[s-1]+i[s-1]<<1;if(r){o=new co(1<<t);var l=15-t;for(s=0;s<n;++s)if(e[s])for(var u=s<<4|e[s],c=t-e[s],d=a[e[s]-1]++<<c,h=d|(1<<c)-1;d<=h;++d)o[So[d]>>>l]=u}else for(o=new co(n),s=0;s<n;++s)o[s]=So[a[e[s]-1]++]>>>15-e[s];return o},ko=new uo(288);for(Co=0;Co<144;++Co)ko[Co]=8;for(Co=144;Co<256;++Co)ko[Co]=9;for(Co=256;Co<280;++Co)ko[Co]=7;for(Co=280;Co<288;++Co)ko[Co]=8;var Oo=new uo(32);for(Co=0;Co<32;++Co)Oo[Co]=5;var xo=Mo(ko,9,0),Eo=Mo(Oo,5,0),Ro=function(e){return(e/8>>0)+(7&e&&1)},No=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8},Ao=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8,e[n+2]|=r>>>16},Do=function(e,t){for(var r=[],n=0;n<e.length;++n)e[n]&&r.push({s:n,f:e[n]});var s=r.length,i=r.slice();if(!s)return[new uo(0),0];if(1==s){var o=new uo(r[0].s+1);return o[r[0].s]=1,[o,1]}r.sort((function(e,t){return e.f-t.f})),r.push({s:-1,f:25001});var a=r[0],l=r[1],u=0,c=1,d=2;for(r[0]={s:-1,f:a.f+l.f,l:a,r:l};c!=s-1;)a=r[r[u].f<r[d].f?u++:d++],l=r[u!=c&&r[u].f<r[d].f?u++:d++],r[c++]={s:-1,f:a.f+l.f,l:a,r:l};var h=i[0].s;for(n=1;n<s;++n)i[n].s>h&&(h=i[n].s);var p=new co(h+1),f=To(r[c-1],p,0);if(f>t){n=0;var m=0,v=f-t,g=1<<v;for(i.sort((function(e,t){return p[t.s]-p[e.s]||e.f-t.f}));n<s;++n){var y=i[n].s;if(!(p[y]>t))break;m+=g-(1<<f-p[y]),p[y]=t}for(m>>>=v;m>0;){var w=i[n].s;p[w]<t?m-=1<<t-p[w]++-1:++n}for(;n>=0&&m;--n){var b=i[n].s;p[b]==t&&(--p[b],++m)}f=t}return[new uo(p),f]},To=function(e,t,r){return-1==e.s?Math.max(To(e.l,t,r+1),To(e.r,t,r+1)):t[e.s]=r},Lo=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new co(++t),n=0,s=e[0],i=1,o=function(e){r[n++]=e},a=1;a<=t;++a)if(e[a]==s&&a!=t)++i;else{if(!s&&i>2){for(;i>138;i-=138)o(32754);i>2&&(o(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(o(s),--i;i>6;i-=6)o(8304);i>2&&(o(i-3<<5|8208),i=0)}for(;i--;)o(s);i=1,s=e[a]}return[r.subarray(0,n),t]},Fo=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},Po=function(e,t,r){var n=r.length,s=Ro(t+2);e[s]=255&n,e[s+1]=n>>>8,e[s+2]=255^e[s],e[s+3]=255^e[s+1];for(var i=0;i<n;++i)e[s+i+4]=r[i];return 8*(s+4+n)},Bo=function(e,t,r,n,s,i,o,a,l,u,c){No(t,c++,r),++s[256];for(var d=Do(s,15),h=d[0],p=d[1],f=Do(i,15),m=f[0],v=f[1],g=Lo(h),y=g[0],w=g[1],b=Lo(m),S=b[0],C=b[1],I=new co(19),M=0;M<y.length;++M)I[31&y[M]]++;for(M=0;M<S.length;++M)I[31&S[M]]++;for(var k=Do(I,7),O=k[0],x=k[1],E=19;E>4&&!O[mo[E-1]];--E);var R,N,A,D,T=u+5<<3,L=Fo(s,ko)+Fo(i,Oo)+o,F=Fo(s,h)+Fo(i,m)+o+14+3*E+Fo(I,O)+(2*I[16]+3*I[17]+7*I[18]);if(T<=L&&T<=F)return Po(t,c,e.subarray(l,l+u));if(No(t,c,1+(F<L)),c+=2,F<L){R=Mo(h,p,0),N=h,A=Mo(m,v,0),D=m;var P=Mo(O,x,0);for(No(t,c,w-257),No(t,c+5,C-1),No(t,c+10,E-4),c+=14,M=0;M<E;++M)No(t,c+3*M,O[mo[M]]);c+=3*E;for(var B=[y,S],j=0;j<2;++j){var H=B[j];for(M=0;M<H.length;++M){var W=31&H[M];No(t,c,P[W]),c+=O[W],W>15&&(No(t,c,H[M]>>>5&127),c+=H[M]>>>12)}}}else R=xo,N=ko,A=Eo,D=Oo;for(M=0;M<a;++M)if(n[M]>255){W=n[M]>>>18&31,Ao(t,c,R[W+257]),c+=N[W+257],W>7&&(No(t,c,n[M]>>>23&31),c+=po[W]);var z=31&n[M];Ao(t,c,A[z]),c+=D[z],z>3&&(Ao(t,c,n[M]>>>5&8191),c+=fo[z])}else Ao(t,c,R[n[M]]),c+=N[n[M]];return Ao(t,c,R[256]),c+N[256]},jo=new ho([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Ho=function(){for(var e=new ho(256),t=0;t<256;++t){for(var r=t,n=9;--n;)r=(1&r&&3988292384)^r>>>1;e[t]=r}return e}(),Wo=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8};function zo(e,t){void 0===t&&(t={});var r=function(){var e=4294967295;return{p:function(t){for(var r=e,n=0;n<t.length;++n)r=Ho[255&r^t[n]]^r>>>8;e=r},d:function(){return 4294967295^e}}}(),n=e.length;r.p(e);var s,i,o,a,l=(s=e,i=t,o=10+((a=t).filename&&a.filename.length+1||0),8,function(e,t,r,n,s,i){var o=e.length,a=new uo(n+o+5*(1+Math.floor(o/7e3))+s),l=a.subarray(n,a.length-s),u=0;if(!t||o<8)for(var c=0;c<=o;c+=65535){var d=c+65535;d<o?u=Po(l,u,e.subarray(c,d)):(l[c]=i,u=Po(l,u,e.subarray(c,o)))}else{for(var h=jo[t-1],p=h>>>13,f=8191&h,m=(1<<r)-1,v=new co(32768),g=new co(m+1),y=Math.ceil(r/3),w=2*y,b=function(t){return(e[t]^e[t+1]<<y^e[t+2]<<w)&m},S=new ho(25e3),C=new co(288),I=new co(32),M=0,k=0,O=(c=0,0),x=0,E=0;c<o;++c){var R=b(c),N=32767&c,A=g[R];if(v[N]=A,g[R]=N,x<=c){var D=o-c;if((M>7e3||O>24576)&&D>423){u=Bo(e,l,0,S,C,I,k,O,E,c-E,u),O=M=k=0,E=c;for(var T=0;T<286;++T)C[T]=0;for(T=0;T<30;++T)I[T]=0}var L=2,F=0,P=f,B=N-A&32767;if(D>2&&R==b(c-B))for(var j=Math.min(p,D)-1,H=Math.min(32767,c),W=Math.min(258,D);B<=H&&--P&&N!=A;){if(e[c+L]==e[c+L-B]){for(var z=0;z<W&&e[c+z]==e[c+z-B];++z);if(z>L){if(L=z,F=B,z>j)break;var U=Math.min(B,z-2),G=0;for(T=0;T<U;++T){var J=c-B+T+32768&32767,V=J-v[J]+32768&32767;V>G&&(G=V,A=J)}}}B+=(N=A)-(A=v[N])+32768&32767}if(F){S[O++]=268435456|wo[L]<<18|bo[F];var K=31&wo[L],Y=31&bo[F];k+=po[K]+fo[Y],++C[257+K],++I[Y],x=c+L,++M}else S[O++]=e[c],++C[e[c]]}}u=Bo(e,l,i,S,C,I,k,O,E,c-E,u)}return function(e,t,r){(null==r||r>e.length)&&(r=e.length);var n=new(e instanceof co?co:e instanceof ho?ho:uo)(r-0);return n.set(e.subarray(0,r)),n}(a,0,n+Ro(u)+s)}(s,null==i.level?6:i.level,null==i.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):12+i.mem,o,8,!0)),u=l.length;return function(e,t){var r=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:9==t.level?2:0,e[9]=3,0!=t.mtime&&Wo(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),r){e[3]=8;for(var n=0;n<=r.length;++n)e[n+10]=r.charCodeAt(n)}}(l,t),Wo(l,u-8,r.d()),Wo(l,u-4,n),l}for(var Uo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Go=new Int16Array(128).fill(-1),Jo=0;Jo<Uo[Es];Jo+=1)Go[Uo[Xn](Jo)]=Jo;var Vo=e=>{for(var t="",r=0;r+2<e[Es];r+=3){var n=e[r]<<16|e[r+1]<<8|e[r+2];t+=Uo[n>>18]+Uo[n>>12&63]+Uo[n>>6&63]+Uo[63&n]}var s=e[Es]-r;if(1===s){var i=e[r]<<16;t+=Uo[i>>18]+Uo[i>>12&63]+"=="}else if(2===s){var o=e[r]<<16|e[r+1]<<8;t+=Uo[o>>18]+Uo[o>>12&63]+Uo[o>>6&63]+"="}return t},Ko=Symbol("elu-replay-masking-seal");class Yo{constructor(e,t,r,n,s,i,o){if(this.profile=void 0,this.profileHash=void 0,this.canonicalPayload=void 0,this.payloadByteLength=void 0,this.logicalRecords=void 0,this.nestingDepth=void 0,e!==Ko)throw new Bi(gi(45));this.profile=t,this[vs]=r,this.canonicalPayload=n,this.payloadByteLength=s,this[ys]=i,this.nestingDepth=o,Object.freeze(this)}static seal(e,t){var r;if(!ti(e))throw new Bi(gi(46));if(!Xs(t[qs]))throw new Bi(gi(47));var n=eo(t.profile);if(!Ti(t[vs]))throw new Bi(gi(48));var s=function(e,t,r){void 0===r&&(r=Hi),Xs(e)||Wi(gi(32),t+" must be an array of replay records"),e[Es]>r[ws]&&Wi(gi(35),t+" carries "+e[Es]+" records; the maximum is "+r[ws]);var n={depth:0},s=Gi(e,0,t,r.maximumJsonNestingDepth,n),i=(e=>{for(var t=0,r=0;r<e[Es];r+=1){var n=e[Xn](r);if(n<=127)t+=1;else if(n<=2047)t+=2;else if(n>=55296&&n<=56319&&r+1<e[Es]){var s=e[Xn](r+1);s>=56320&&s<=57343?(t+=4,r+=1):t+=3}else t+=3}return t})(s);return i>r.maximumReplayDecodedBytes&&Wi(gi(16),t+" serializes to "+i+" bytes; the maximum is "+r.maximumReplayDecodedBytes),ui({[ks]:s,bytes:Li(s),[ys]:e[Es],nestingDepth:n.depth})}(t[qs].map((t=>e(t,n))),gi(36),null!=(r=t[Zs])?r:Hi);return new Yo(Ko,n,t[vs],s[ks],s.bytes[Es],s[ys],s.nestingDepth)}}var qo=e=>e instanceof Yo;(()=>{for(var e=new Int32Array(256),t=0;t<256;t+=1){for(var r=t,n=0;n<8;n+=1)r=1&r?r>>>1^3988292384:r>>>1;e[t]=r}})();var Zo="2.0.0",Qo=5242880,Xo=/^elu-[a-z0-9][a-z0-9.-]{0,63}$/,_o=/^elu-[a-z0-9-]+$/,$o=/^[A-Za-z][A-Za-z0-9._-]+$/,ea=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,ta=[Tn,xs,Os,Gs,Is,Ns,"endedAt",Ss,Dn,"codec",Hn,"contentEncoding","payload",Bs,Rs],ra=[Vn,zs,Ms],na=[Qn,Wn,ps,"appliedBeforeSerialization",ts,hi],sa=[Tn,$n,Fs,Ys,"facade","build"],ia=["name",Ps];function oa(e){throw new ji(e)}var aa=function(e,t,r,n){void 0===n&&(n=1);var s=$s(e)?ri(e):null;return ii(s)||s<n||s>r?oa(t+" must be a string of "+n+" to "+r+" Unicode scalars"):e},la=(e,t)=>(si(e)||oa(t+" must be a safe non-negative integer"),e),ua=(e,t)=>(Ti(e)||oa(t+" must be a lowercase sha256 hash"),e),ca=function(e,t,r,n){for(var s of(void 0===n&&(n=[]),_s(e)&&li(e,t)||oa(r+" must contain only schema-defined fields"),t))n.includes(s)||oi(e,s)||oa(r+" "+s+" is required");return e},da=(e,t)=>{var r=ca(e,ra,t);return ui({[Vn]:aa(r[Vn],t+" anonymousId",256),[zs]:ii(r[zs])?null:aa(r[zs],t+" userId",512),[Ms]:la(r[Ms],t+" revision")})},ha=(e,t)=>{var r=ca(e,na,t);return!0!==r.appliedBeforeSerialization&&oa(t+" appliedBeforeSerialization must be true"),!0!==r[ts]&&oa(t+" secureInputsMasked must be true"),ei(r[jn])||oa(t+" platformFallbackApplied must be a boolean"),ui({[Qn]:aa(r[Qn],t+" policyRevision",128),[Wn]:ua(r[Wn],t+" effectivePolicyHash"),[ps]:ua(r[ps],t+" maskingProfileHash"),appliedBeforeSerialization:!0,[ts]:!0,[jn]:r[jn]})},pa=(e,t,r)=>{var n=ca(e,ia,t),s=aa(n.name,t+" name",256);return r.test(s)||oa(t+" name is invalid"),ui({name:s,[Ps]:aa(n[Ps],t+" version",64)})},fa=function(e,t){void 0===t&&(t="replay versions");var n=ca(e,sa,t,["build"]);2!==n[Tn]&&oa(t+" schemaVersion must be 2"),n[$n]!==Zo&&oa(t+" contractVersion must be "+Zo),"browser"!==n[Fs]&&"android"!==n[Fs]&&"ios"!==n[Fs]&&oa(t+" platform is unsupported");var s=pa(n[Ys],t+" runtime",_o),i=pa(n.facade,t+" facade",$o);return ui(r({[Tn]:2,[$n]:Zo,[Fs]:n[Fs],[Ys]:s,facade:i},oi(n,"build")?{build:aa(n.build,t+" build",128)}:{}))},ma=function(e,t){void 0===t&&(t="replay chunk");var r=ca(e,ta,t);2!==r[Tn]&&oa(t+" schemaVersion must be 2");var n=aa(r[Ns],t+" startedAt",64),s=aa(r.endedAt,t+" endedAt",64);((e,t)=>{if(e.epochDay!==t.epochDay)return e.epochDay<t.epochDay?-1:1;if(e[ns]!==t[ns])return e[ns]<t[ns]?-1:1;if(e[_n]!==t[_n])return e[_n]?1:-1;for(var r=Math.max(e[Pn][Es],t[Pn][Es]),n=0;n<r;n+=1){var s=e[Pn][Xn](n)||48,i=t[Pn][Xn](n)||48;if(s!==i)return s<i?-1:1}return 0})(bi(n,t+" startedAt",64),bi(s,t+" endedAt",64))>0&&oa(t+" endedAt must not precede startedAt");var i=aa(r.codec,t+" codec",68);return Xo.test(i)||oa(t+" codec is invalid"),"none"!==r[Hn]&&"gzip"!==r[Hn]&&oa(t+" compression is unsupported"),"base64"!==r.contentEncoding&&oa(t+" contentEncoding must be base64"),$s(r.payload)&&0!==r.payload[Es]&&ea.test(r.payload)||oa(t+" payload must be non-empty canonical base64"),ui({[Tn]:2,[xs]:aa(r[xs],t+" replayId",256),[Os]:aa(r[Os],t+" sessionId",256),[Gs]:aa(r[Gs],t+" chunkId",256),[Is]:la(r[Is],t+" sequence"),[Ns]:n,endedAt:s,[Ss]:da(r[Ss],t+" identity"),[Dn]:la(r[Dn],t+" contextRevision"),codec:i,[Hn]:r[Hn],contentEncoding:"base64",payload:r.payload,[Bs]:ha(r[Bs],t+" privacy"),[Rs]:fa(r[Rs],t+" versions")})},va=function(){var e=t((function*(e,t){var r=(e=>Li(Ji(ma(e),"replay chunk")))(e),n=yield Di((e=>{var t=Li("elu-sdk-replay-request-v2"),r=new Uint8Array(t[Es]+1+4+e[Es]);r.set(t,0),r[t[Es]]=0;var n=e[Es];return r[t[Es]+1]=n>>>24&255,r[t[Es]+2]=n>>>16&255,r[t[Es]+3]=n>>>8&255,r[t[Es]+4]=255&n,r.set(e,t[Es]+5),r})(r),t);return ui({[Cs]:"request_"+n,canonicalChunk:r})}));return function(t,r){return e.apply(this,arguments)}}(),ga=function(){var e=t((function*(e,t){_s(t)||oa(gi(76));var r,n=aa(t[Un],di,128),s=void 0===(r=t[es])?Qo:!si(r)||r<1?oa(gi(77)):Math.min(r,Qo),i=ma(e),o=yield va(i,t[Ks]),a=ui({[Tn]:2,[Cs]:o[Cs],chunk:i}),l=Li(Ji(a,"replay request"));l[Es]>s&&oa("replay request is "+l[Es]+" bytes; the effective limit is "+s);var u=yield Di(l,t[Ks]);return ui({[Un]:n,[Us]:a,[ms]:l,canonicalRequestSha256:"sha256:"+u,[Jn]:l[Es]})}));return function(t,r){return e.apply(this,arguments)}}(),ya=function(){var e=t((function*(e){var t=(e=>{if(!qo(e))throw new Fi(gi(32),gi(65));var t,r=Li(e.canonicalPayload);try{t=zo(r,{mtime:0})}catch(e){return function(e,t){throw new Fi("invalid-gzip",t)}(0,gi(62))}return Object.freeze({codec:"elu-browser-dom-v1",[Hn]:"gzip",contentEncoding:"base64",payload:Vo(t),compressedByteLength:t[Es],decodedByteLength:r[Es],[ys]:e[ys],proof:e})})(Yo.seal(Ri,{profile:e.profile,[vs]:e[vs],[qs]:e[qs]})),n=(e=>{_s(e)&&_s(e.payload)&&qo(e.payload.proof)||oa(gi(69));var t=e.payload;return ma({[Tn]:2,[xs]:e[xs],[Os]:e[Os],[Gs]:e[Gs],[Is]:e[Is],[Ns]:e[Ns],endedAt:e.endedAt,[Ss]:e[Ss],[Dn]:e[Dn],codec:t.codec,[Hn]:t[Hn],contentEncoding:t.contentEncoding,payload:t.payload,[Bs]:{[Qn]:e[Qn],[Wn]:e[Wn],[ps]:t.proof[vs],appliedBeforeSerialization:!0,[ts]:!0,[jn]:t.proof.profile[jn]},[Rs]:e[Rs]})})({[xs]:e[xs],[Os]:e[Os],[Gs]:e[Gs],[Is]:e[Is],[Ns]:e[Ns],endedAt:e.endedAt,[Ss]:e[Ss],[Dn]:e[Dn],payload:t,[Qn]:e[Qn],[Wn]:e[Wn],[Rs]:e[Rs]});return ga(n,r({[Un]:e[Un]},void 0===e[es]?{}:{[es]:e[es]},void 0===e[Ks]?{}:{[Ks]:e[Ks]}))}));return function(t){return e.apply(this,arguments)}}(),wa=e=>{if(!Number[Fn](e[gs])||e[gs]<1)throw new Error(gi(68));var n=Math.min(e[gs],268435456),s=ui({[rs]:null,[ss]:null,chunkStartedAtMs:null,chunkBytes:0,chunkEvents:0,[Is]:0}),i=null,o=!1,a=e[Ss][xs](),l=null,u=null,c=()=>{if(!l){var t=a;l=Promise.resolve().then((()=>null==e.onReplayClosed?void 0:e.onReplayClosed(t)))}return l},d=0===e.policy[Yn],h=!1,p=[],f=0,m=0,v=0,g=Promise[Ls](),y=function(t,r){void 0===r&&(r=!1);try{null==e.onSealFailure||e.onSealFailure(null!=t?t:new Error(gi(70)),r)}catch(e){}},w=()=>{p=[],f=0},b=()=>{o=!0,i=null,w(),m=0,v=0},S=e=>{b(),y(e,!0)},C=function(){var r=t((function*(){for(;!o&&d&&p[Es]>0;){var t=p.shift();f-=t.prepared[Jn];try{yield e.sink(t.prepared,{discarded:!1,[Is]:t[Is]}),h=!0}catch(e){S(e)}}}));return function(){return r.apply(this,arguments)}}(),I=function(){var s=t((function*(t,s){var l=i;if(i=null,!o&&l&&0!==l[qs][Es]){if(t)return m-=l.estimatedBytes,void(v-=l[qs][Es]);try{var u=yield ya(r({},e.seal,{[es]:e.policy[es],[qs]:l[qs],[xs]:a,[Os]:e[Os],[Gs]:e[Ss][Gs](),[Is]:s,[Ns]:e[Ss].instant(l.startedAtMs),endedAt:e[Ss].instant(l.endedAtMs)}));o||t||(d?(yield e.sink(u,{discarded:!1,[Is]:s}),h=!0):u[Jn]>n-f||p[Es]>=1e4?S(new Error(gi(72))):(p.push({prepared:u,[Is]:s}),f+=u[Jn]))}catch(t){o||(!d||e.policy[Yn]>0&&!h?S(t):y(t))}finally{m=Math.max(0,m-l.estimatedBytes),v=Math.max(0,v-l[qs][Es])}}}));return function(e,t){return s.apply(this,arguments)}}();return{record(u,p,f){if(o)return Promise[Ls]();if(!Number[Vs](p)||p<0||!ii(s[ss])&&p<s[ss]||!Number[Fn](f)||f<1)return S(new Error(gi(31))),g;if(f>n-m||v>=1e4)return S(new Error(gi(71))),g;m+=f,v+=1;var y=((e,t,n)=>{var s,i=t.atMs,o=t.byteLength;if(null===e[rs]||null===e[ss])return ui({action:"buffer",discardSealedChunk:!1,state:ui(r({},oo(e,i,o,0),{[rs]:i}))});var a=i-e[ss],l=i-e[rs];if(a>=1e3*n[Gn]||l>=1e3*n[Ln]){var u,c=e[ss]-(null!=(u=e[rs])?u:e[ss]);return ui({action:"cut-session",discardSealedChunk:c<1e3*n[Yn],state:ui(r({},oo(e,i,o,0),{[rs]:i}))})}return e.chunkEvents>0&&e.chunkBytes+o>n[es]?ui({action:"cut-chunk",discardSealedChunk:!1,state:oo(e,i,o,e[Is]+1)}):ui({action:"buffer",discardSealedChunk:!1,state:ui(r({},e,{[ss]:i,chunkStartedAtMs:null!=(s=e.chunkStartedAtMs)?s:i,chunkBytes:e.chunkBytes+o,chunkEvents:e.chunkEvents+1}))})})(s,{atMs:p,[Jn]:f},e.policy),b=s[Is];return s=y.state,g=g.then(t((function*(){if(!o){if("buffer"!==y.action){if(yield I(y.discardSealedChunk,b),o)return;if("cut-session"===y.action){try{yield c()}catch(e){throw S(e),e}if(o)return;w(),d=0===e.policy[Yn],h=!1,a=e[Ss][xs](),l=null}}((e,t,r)=>{if(i)return i[qs].push(e),i.endedAtMs=t,void(i.estimatedBytes+=r);i={[qs]:[e],startedAtMs:t,endedAtMs:t,estimatedBytes:r}})(u,p,f),!d&&!ii(y.state[rs])&&p-y.state[rs]>=1e3*e.policy[Yn]&&(d=!0,yield C())}}))),g},flush(){if(o)return Promise[Ls]();var e=s[Is];return s.chunkEvents>0&&(s=Object.freeze(r({},s,{chunkStartedAtMs:null,chunkBytes:0,chunkEvents:0,[Is]:s[Is]+1}))),g=g.then((()=>I(!1,e)))},hasBufferedWork:()=>!o&&(v>0||p[Es]>0||!ii(i)),close:()=>(b(),u||(u=g.then(c,function(){var e=t((function*(e){throw yield c(),e}));return function(t){return e.apply(this,arguments)}}())),u)}},ba="__eluOwnedRecorderLeaseV1",Sa=e=>{var t=document;if(ba in t)throw new Error("Recorder is already owned");var n={};Object.defineProperty(t,ba,{value:n,configurable:!0});var s=!1,i=()=>{if(!s){if(t[ba]!==n)throw new Error("Recorder ownership changed");delete t[ba],s=!0}},o=xn(r({},e,{plugins:[]}));if("function"==typeof o)return()=>{o(),i()};i()},Ca=e=>{var n=(e=>{var n=eo(e.profile);if(!io(e.maximumEventBytes,8388608)||!io(e.maximumPendingBytes,16777216)||e.maximumPendingBytes<e.maximumEventBytes||!io(e.maximumPendingEvents,1e3))throw new Error(Nn(566));for(var s of[...n[ds],...n[us]])e.document.querySelector(s);var i=(e=>{if(!0!==e[ts])throw new Pi(Nn(93));var t="all"===e.inputRule,n="all"===e.textRule?"*":ro(e[ds]),s=ro([...e[us],..."block"===e.imageRule?to:[]]);return Object.freeze(r({maskAllInputs:t},t?{}:{maskInputOptions:Object.freeze({password:!0})},void 0===n?{}:{maskTextSelector:n},void 0===s?{}:{blockSelector:s}))})(n),o=[i.blockSelector,'input[type="hidden"]',"iframe","object","embed"].filter((e=>void 0!==e)).join(", ");e.document.querySelector(o);var a=!1,l=!1,u=!1,c=!1,d=!0,h={},p=null,f=null,m=0,v=0,g=null,y=Promise[Ls](),w=t=>{try{null==e.onFailure||e.onFailure(t)}catch(e){}},b=()=>{if(a)return Si;try{var t=e.eligibility();return!Number[Fn](t[Zn])||t[Zn]<0||t[Zn]>86400?Si:Object.freeze({sampled:!0===t.sampled,[hs]:!0===t[hs],[Zn]:t[Zn],[Ds]:t[Ds],[qn]:!0})}catch(e){return Si}},S=()=>{var t=b();return t.sampled&&t[hs]&&t[Zn]>0&&null!==t[Ds]&&e[Ws]()},C=e=>{try{null==e||e()}catch(e){d=!1,a=!0,h={},w("engine-stop")}},I=()=>{var e=p;p=null,C(e)},M=()=>{var e=f;f=null,C(e)},k=()=>(h={},l=!1,u=!1,M(),I(),y),O=e=>{a=!0,k(),w(e)},x=function(e,t){void 0===t&&(t=!1);try{return(l||t&&u)&&!a&&h===e&&S()}catch(e){return!1}};return Object.freeze({profile:n,capability:b,start:()=>{if(a||l||u||c||!d||m>0)return!1;try{if(!S())return!1}catch(e){return!1}var s={};h=s,g=null,l=!0;try{c=!0;var w=e.subscribeToRestrictions((()=>{h===s&&k()}));if(c=!1,!x(s))return C(w),!1;f=w,c=!0;var b=e.engine(r({},i,{maskAllInputs:!0,maskInputOptions:{password:!0,email:!0,tel:!0,textarea:!0},maskInputFn:(e,t)=>{var r,s=null==(r=t.getAttribute("type"))?void 0:r[ls]();if("all"===n.inputRule||["password","email","tel","hidden"].includes(null!=s?s:"")||"TEXTAREA"===t.tagName)return"";for(var i of n[ds])if(t.closest(i))return"";return e},maskTextFn:()=>"",blockSelector:o,recordCanvas:!1,recordCrossOriginIframes:!1,inlineImages:!1,collectFonts:!1,recordDOM:!0,plugins:[],keepIframeSrcFn:()=>!1,recordAfter:Nn(16),errorHandler:()=>(h===s&&O("engine-start"),!0),emit:r=>((r,s)=>{if(l)if(x(r))if(m>=e.maximumPendingEvents||v>=e.maximumPendingBytes)O("capacity");else{var i,o,a;try{if(!no(s)||!Number[Fn](s.timestamp)||s.timestamp<0)throw new Error(Nn(567));if(o=s.timestamp,null!==g&&o<g)throw new Error(Nn(765));var u=so(Ri(s,n)),c=JSON[As](u);if(void 0===c||c[Es]>e.maximumEventBytes)return void O("capacity");if((a=(new TextEncoder).encode(c)[Jn])>e.maximumEventBytes||v+a>e.maximumPendingBytes)return void O("capacity");i=JSON.parse(c)}catch(e){return void O("invalid-event")}if(x(r)){g=o,m+=1,v+=a;var d=y.then(t((function*(){x(r,!0)?yield e.record(i,o,a):h===r&&k()}))).catch((()=>{h===r&&O("sink")})).then((()=>{m-=1,v-=a}));y=d}else k()}else h===r&&k()})(s,r)}));return c=!1,"function"!=typeof b?(d=!1,O("engine-start"),!1):x(s)?(p=b,!0):(C(b),!1)}catch(e){return c&&(d=!1),c=!1,O("engine-start"),!1}},quiesce:()=>{if(a)return k();var e=h;return l=!1,u=!0,I(),d?y.then((()=>{h===e&&(u=!1,M())})):k()},stop:k,cleanupIsProven:()=>d&&!c&&!l&&!u&&null===p&&null===f&&0===m,settled:()=>y,close:()=>(a=!0,k())})})(r({},e,{engine:Sa,document:document}));if(e.installSessionDriver){var s=!1;try{s=e.isCurrent()&&e.installSessionDriver(wa)&&e.isCurrent()}finally{s||n.close()}}return n};export{Ca as createEluOwnedRecorder};
|
|
2
|
+
function e(e,t,r,n,i,a,s){try{var o=e[a](s),l=o.value}catch(e){return void r(e)}o.done?t(l):Promise.resolve(l).then(n,i)}function t(t){return function(){var r=this,n=arguments;return new Promise((function(i,a){var s=t.apply(r,n);function o(t){e(s,i,a,o,l,"next",t)}function l(t){e(s,i,a,o,l,"throw",t)}o(void 0)}))}}function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(null,arguments)}function n(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}class i extends Error{constructor(){super("Recorder cleanup incomplete"),this.name="RecorderCleanupError"}}var a=e=>e instanceof i||!!e&&"object"==typeof e&&"RecorderCleanupError"===e.name;function s(){var e=[],t=!1,r=!1,n=e=>{try{e()}catch(e){r=!0}},a=()=>{if(r)throw new i};return{close:()=>{for(t=!0;e.length;)n(e.pop());a()},poison(){r=!0},add(r){t?(n(r),a()):e.push(r)},replace(e,r,n){if(t)throw new i;var a=Object.getOwnPropertyDescriptor(e,r);this.add((()=>{if(a)Object.defineProperty(e,r,a);else if(!Reflect.deleteProperty(e,r))throw new Error("Recorder patch restoration failed")})),e[r]=n}}}function o(e){var t=s();try{return e(t),t.close}catch(e){throw a(e)&&t.poison(),t.close(),e}}var l=function(e){return e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e}({}),u=function(e){return e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e}({}),c=function(e){return e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e}({}),d=function(e){return e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e}({}),h=function(e){return e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e}({}),p=function(e){return e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e}({}),f=function(e){return e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e}({});function m(e,t){return-1!==e.indexOf(t)}var v={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot"],MutationObserver:[]},g={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:["querySelector","querySelectorAll"],MutationObserver:["constructor"]},y={};function w(e){if(y[e])return y[e];var t=function(e){var t,r=null==globalThis||null==(t=globalThis.Zone)||null==t.__symbol__?void 0:t.__symbol__(e);return r&&globalThis[r]?globalThis[r]:void 0}(e)||globalThis[e],r=t.prototype,n=e in v?v[e]:void 0,i=Boolean(n&&n.every((e=>{var t;return Boolean(null==(t=Object.getOwnPropertyDescriptor(r,e))||null==(t=t.get)?void 0:t.toString().includes("[native code]"))}))),a=e in g?g[e]:void 0,s=Boolean(a&&a.every((e=>{var t;return"function"==typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))})));if(i&&s)return y[e]=t.prototype,t.prototype;var o=document.createElement("iframe");o.style.display="none";var l,u=!1;try{document.body.appendChild(o);var c=o.contentWindow;if(!c)return t.prototype;var d=c[e].prototype;return d?(m(l=navigator.userAgent,"AppleWebKit")&&!m(l,"Chrome")&&(o.classList.add("rr-block","ph-no-capture"),o.setAttribute("__rrwebUntaintedPrototype",e),u=!0),y[e]=d):r}catch(e){return r}finally{!u&&o.parentNode&&document.body.removeChild(o)}}var b={};function S(e,t,r){var n,i=e+"."+String(r);if(b[i])return b[i].call(t);var a=w(e),s=null==(n=Object.getOwnPropertyDescriptor(a,r))?void 0:n.get;return s?(b[i]=s,s.call(t)):t[r]}var k={};function C(e,t,r){var n=e+"."+String(r);if(k[n])return k[n].bind(t);var i=w(e)[r];return"function"!=typeof i?t[r]:(k[n]=i,i.bind(t))}function M(){return w("MutationObserver").constructor}function I(e,t,r){try{if(!(t in e))return()=>{};var n=e[t],i={next:n},a=r((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.next.apply(this,t)}));return"function"==typeof a&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:n},__rrweb_layer__:{enumerable:!1,value:i}})),e[t]=a,()=>{if(e[t]!==a)for(var r=e[t];"function"==typeof r&&r.__rrweb_layer__;){var n=r.__rrweb_layer__;if(n.next===a)return void(n.next=i.next);r=n.next}else e[t]=i.next}}catch(e){return()=>{}}}var O={childNodes:function(e){return S("Node",e,"childNodes")},parentNode:function(e){return S("Node",e,"parentNode")},parentElement:function(e){return S("Node",e,"parentElement")},textContent:function(e){return S("Node",e,"textContent")},contains:function(e,t){return C("Node",e,"contains")(t)},getRootNode:function(e){return C("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?S("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?S("Element",e,"shadowRoot"):null},querySelector:function(e,t){return C("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return C("Element",e,"querySelectorAll")(t)},mutationObserver:M,patch:I};function x(e){return e.nodeType===e.ELEMENT_NODE}function E(e){var t=e&&"host"in e&&"mode"in e&&O.host(e)||null;return Boolean(t&&"shadowRoot"in t&&O.shadowRoot(t)===e)}function R(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function N(e){try{var t=e.rules||e.cssRules;if(!t)return null;var r=e.href;!r&&e.ownerNode&&(r=e.ownerNode.baseURI);var n=Array.from(t,(e=>A(e,r))).join("");return(i=n).includes(" background-clip: text;")&&!i.includes(" -webkit-background-clip: text;")&&(i=i.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),i}catch(e){return null}var i}function A(e,t){if(function(e){return"styleSheet"in e}(e)){var r;try{r=N(e.styleSheet)||function(e){var t=e.cssText;if(t.split('"').length<3)return t;var r=["@import","url("+JSON.stringify(e.href)+")"];return""===e.layerName?r.push("layer"):e.layerName&&r.push("layer("+e.layerName+")"),e.supportsText&&r.push("supports("+e.supportsText+")"),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}(e)}catch(t){r=e.cssText}try{var n;if(r&&null!=(n=e.styleSheet)&&n.href)return U(r,e.styleSheet.href)}catch(e){}return r}var i,a=e.cssText;return function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":")&&(i=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,a=a.replace(i,"$1\\$2")),t?U(a,t):a}class T{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){var t;if(!e)return-1;var r=null==(t=this.getMeta(e))?void 0:t.id;return null!=r?r:-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){var t=this.getId(e);if(this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach((e=>this.removeNodeFromMap(e))),x(e)){var r=O.shadowRoot(e);r&&this.removeNodeFromMap(r),"IFRAME"===e.nodeName&&e.contentDocument&&this.removeNodeFromMap(e.contentDocument)}}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){var r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)}replace(e,t){var r=this.getNode(e);if(r){var n=this.nodeMetaMap.get(r);n&&this.nodeMetaMap.set(t,n)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function D(e){var t=e.element,r=e.maskInputOptions,n=e.tagName,i=e.type,a=e.value,s=e.maskInputFn,o=a||"",l=i&&L(i);return(r[n.toLowerCase()]||l&&r[l])&&(o=s?s(o,t):"*".repeat(o.length)),o}function L(e){return e.toLowerCase()}var F="__rrweb_original__";function P(e){try{var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?L(t):null}catch(e){return null}}var B=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,j=/^(?:[a-z+]+:)?\/\//i,z=/^www\..*/i,H=/^(data:)([^,]*),(.*)/i;function U(e,t){return(e||"").replace(B,((e,r,n,i,a,s)=>{var o,l=n||a||s,u=r||i||"";if(!l)return e;if(j.test(l)||z.test(l))return"url("+u+l+u+")";if(H.test(l))return"url("+u+l+u+")";if("/"===l[0])return"url("+u+(((o=t).indexOf("//")>-1?o.split("/").slice(0,3).join("/"):o.split("/")[0]).split("?")[0]+l)+u+")";var c=t.split("/"),d=l.split("/");for(var h of(c.pop(),d))"."!==h&&(".."===h?c.pop():c.push(h));return"url("+u+c.join("/")+u+")"}))}var W,q,G="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzPgogICAgPHBhdHRlcm4gaWQ9InN0cmlwZXMiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+CiAgICAgIDxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iYmxhY2siLz4KICAgICAgPHBhdGggZD0iTTggMEgxNkwwIDE2VjhMOCAwWiIgZmlsbD0iIzJEMkQyRCIvPgogICAgICA8cGF0aCBkPSJNMTYgOFYxNkg4TDE2IDhaIiBmaWxsPSIjMkQyRDJEIi8+CiAgICA8L3BhdHRlcm4+CiAgPC9kZWZzPgogIDxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjc3RyaXBlcykiLz4KPC9zdmc+Cg==",K=4096,V=1,J=new RegExp("[^a-z0-9-_:]"),Y=-2;function Z(){return V++}var Q=/^[^ \t\n\r\u000c]+/,X=/^[, \t\n\r\u000c]+/,_=new WeakMap;function $(e,t){return t&&""!==t.trim()?ee(e,t):t}function ee(e,t){var r=_.get(e);if(r||(r=e.createElement("a"),_.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function te(e,t){return null!=t&&t.maxBase64ImageLength?function(e,t){return!t||e.length<=t?e:G}(e,t.maxBase64ImageLength):e}function re(e,t,r,n,i,a){if(!n)return n;if("src"===r||"href"===r&&("use"!==t||"#"!==n[0])){if("link"===t&&i){var s,o=null==(s=i.sheet)?void 0:s.href;if(o)return o}var l=$(e,n);if(l.startsWith("data:")){if("img"===t&&i){var u=l;return(null!=a&&a.type||void 0!==(null==a?void 0:a.quality))&&(u=function(e,t,r,n){if(!e.complete||0===e.naturalWidth)return t;if(e.naturalWidth>K||e.naturalHeight>K)return t;try{var i=document.createElement("canvas");i.width=e.naturalWidth,i.height=e.naturalHeight;var a=i.getContext("2d");return a?(a.drawImage(e,0,0),i.toDataURL(r||"image/webp",null!=n?n:.4)):t}catch(e){return t}}(i,l,a.type,a.quality)),te(u,a)}if("image"===t)return te(l,a)}return l}if("xlink:href"===r&&"#"!==n[0]){var c=$(e,n);return"image"===t&&c.startsWith("data:")?te(c,a):c}return"background"!==r||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===r?function(e,t){if(""===t.trim())return t;var r=0;function n(e){var n,i=e.exec(t.substring(r));return i?(n=i[0],r+=n.length,n):""}for(var i=[];n(X),!(r>=t.length);){var a=n(Q);if(","===a.slice(-1))a=$(e,a.substring(0,a.length-1)),i.push(a);else{var s="";a=$(e,a);for(var o=!1;;){var l=t.charAt(r);if(""===l){i.push((a+s).trim());break}if(o)")"===l&&(o=!1);else{if(","===l){r+=1,i.push((a+s).trim());break}"("===l&&(o=!0)}s+=l,r+=1}}}return i.join(", ")}(e,n):"style"===r?U(n,ee(e)):"object"===t&&"data"===r?$(e,n):n:$(e,n)}function ne(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function ie(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!r&&ie(O.parentNode(e),t,r);for(var n=e.classList.length;n--;){var i=e.classList[n];if(t.test(i))return!0}return!!r&&ie(O.parentNode(e),t,r)}function ae(e,t,r,n){var i;if(x(e)){if(i=e,!O.childNodes(i).length&&!O.shadowRoot(i))return!1}else if(!(i=O.parentElement(e))){var a=O.parentNode(e);a&&E(a)&&(i=O.host(a))}try{for(;i;){if("string"==typeof t){if(n?i.closest("."+t):i.classList.contains(t))return!0}else if(ie(i,t,n))return!0;if(r&&(n?i.closest(r):i.matches(r)))return!0;if(!n)return!1;var s=O.getRootNode(i);i=E(s)?O.host(s):null}}catch(e){}return!1}function se(e,t,r){var n=e.removeEventListener;"function"==typeof n&&n.call(e,t,r)}var oe=new Map;function le(){var e=!1;for(var t of[...oe.values()].reverse())try{t.abort()}catch(t){e=!0}if(e){var r=new Error("Recorder stylesheet cleanup incomplete");throw r.name="RecorderCleanupError",r}}function ue(e,t){return Array.from(e.styleSheets).find((e=>e.href===t))}function ce(e){return null==e?"":e.toLowerCase()}var de=50,he=!1;function pe(e,t){var r=t.doc,n=t.mirror,i=t.blockClass,a=t.blockSelector,s=t.maskTextClass,o=t.maskTextSelector,l=t.skipChild,u=void 0!==l&&l,c=t.inlineStylesheet,d=void 0===c||c,h=t.maskInputOptions,p=void 0===h?{}:h,m=t.maskTextFn,v=t.maskInputFn,g=t.slimDOMOptions,y=t.dataURLOptions,w=void 0===y?{}:y,b=t.inlineImages,S=void 0!==b&&b,k=t.recordCanvas,C=void 0!==k&&k,M=t.canvasMaskingConfigured,I=t.onSerialize,A=t.onIframeLoad,T=t.iframeLoadTimeout,B=void 0===T?5e3:T,j=t.onIframeListenerRegistered,z=t.onStylesheetLoad,H=t.stylesheetLoadTimeout,G=void 0===H?5e3:H,K=t.keepIframeSrcFn,V=void 0===K?()=>!1:K,Q=t.newlyAddedElement,X=void 0!==Q&&Q,_=t.depth,$=void 0===_?0:_,te=t.maxDepth,ie=void 0===te?de:te,le=t.needsMask,fe=t.preserveWhiteSpace,me=void 0===fe||fe;if($>=ie)return he||(he=!0,console.warn("[rrweb-snapshot] DOM tree depth exceeded max depth of "+ie+". Children beyond this depth will not be recorded. This may indicate deeply nested DOM structures.")),null;le||(le=ae(e,s,o,void 0===le));var ve,ge=function(e,t){var r=t.doc,n=t.mirror,i=t.blockClass,a=t.blockSelector,s=t.needsMask,o=t.inlineStylesheet,l=t.maskInputOptions,u=void 0===l?{}:l,c=t.maskTextFn,d=t.maskInputFn,h=t.dataURLOptions,p=void 0===h?{}:h,m=t.inlineImages,v=t.recordCanvas,g=t.canvasMaskingConfigured,y=t.keepIframeSrcFn,w=t.newlyAddedElement,b=void 0!==w&&w,S=function(e,t){if(t.hasNode(e)){var r=t.getId(e);return 1===r?void 0:r}}(r,n);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:f.Document,childNodes:[],compatMode:e.compatMode}:{type:f.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:f.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:S};case e.ELEMENT_NODE:return function(e,t){for(var r,n=t.doc,i=t.inlineStylesheet,a=t.maskInputOptions,s=void 0===a?{}:a,o=t.maskInputFn,l=t.dataURLOptions,u=void 0===l?{}:l,c=t.inlineImages,d=t.recordCanvas,h=t.canvasMaskingConfigured,p=t.keepIframeSrcFn,m=t.newlyAddedElement,v=void 0!==m&&m,g=t.rootId,y=function(e,t,r){try{if("string"==typeof t){if(e.classList.contains(t))return!0}else for(var n=e.classList.length;n--;){var i=e.classList[n];if(t.test(i))return!0}if(r)return e.matches(r)}catch(e){}return!1}(e,t.blockClass,t.blockSelector),w=function(e){if(e instanceof HTMLFormElement)return"form";var t=L(e.tagName);return J.test(t)?"div":t}(e),b={},S=e.attributes.length,k=0;k<S;k++){var C=e.attributes[k];ne(w,C.name,C.value)||(b[C.name]=re(n,w,L(C.name),C.value,e,u))}if("link"===w&&i){var M=e.sheet;if(!M){var I=function(e){return e.href}(e);I&&!(M=ue(n,I))&&I.includes(".css")&&(M=ue(n,window.location.origin+"/"+I.replace(window.location.href,"")))}var x=null;M&&(x=N(M)),x&&(delete b.rel,delete b.href,b._cssText=x)}if("style"===w&&e.sheet&&!(e.innerText||O.textContent(e)||"").trim().length){var E=N(e.sheet);E&&(b._cssText=E)}if("input"===w||"textarea"===w||"select"===w){var R=e.value,A=e.checked;"radio"!==b.type&&"checkbox"!==b.type&&"submit"!==b.type&&"button"!==b.type&&R?b.value=D({element:e,type:P(e),tagName:w,value:R,maskInputOptions:s,maskInputFn:o}):A&&(b.checked=A)}if("option"===w&&(e.selected&&!s.select?b.selected=!0:delete b.selected),"dialog"===w&&e.open)try{b.rr_open_mode=e.matches("dialog:modal")?"modal":"non-modal"}catch(e){b.rr_open_mode="modal",b.ph_rr_could_not_detect_modal=!0}if("canvas"===w&&d&&(null==h||!h()))if("2d"===e.__context)(function(e){var t=e.getContext("2d");if(!t)return!0;for(var r=0;r<e.width;r+=50)for(var n=0;n<e.height;n+=50){var i=t.getImageData,a=F in i?i[F]:i;if(new Uint32Array(a.call(t,r,n,Math.min(50,e.width-r),Math.min(50,e.height-n)).data.buffer).some((e=>0!==e)))return!1}return!0})(e)||(b.rr_dataURL=e.toDataURL(u.type,u.quality));else if(!("__context"in e)){var T=e.toDataURL(u.type,u.quality),B=n.createElement("canvas");B.width=e.width,B.height=e.height,T!==B.toDataURL(u.type,u.quality)&&(b.rr_dataURL=T)}if("img"===w&&c){W||(W=n.createElement("canvas"),q=W.getContext("2d"));var j=e,z=j.currentSrc||j.getAttribute("src")||"<unknown-src>",H=j.crossOrigin,U=()=>{se(j,"load",U);try{W.width=j.naturalWidth,W.height=j.naturalHeight,q.drawImage(j,0,0),b.rr_dataURL=W.toDataURL(u.type,u.quality)}catch(e){if("anonymous"!==j.crossOrigin)return j.crossOrigin="anonymous",void(j.complete&&0!==j.naturalWidth?U():j.addEventListener("load",U));console.warn("Cannot inline img src="+z+"! Error: "+e)}"anonymous"===j.crossOrigin&&(H?b.crossOrigin=H:j.removeAttribute("crossorigin"))};j.complete&&0!==j.naturalWidth?U():j.addEventListener("load",U)}if("audio"===w||"video"===w){var G=b;G.rr_mediaState=e.paused?"paused":"played",G.rr_mediaCurrentTime=e.currentTime,G.rr_mediaPlaybackRate=e.playbackRate,G.rr_mediaMuted=e.muted,G.rr_mediaLoop=e.loop,G.rr_mediaVolume=e.volume}if(v||(e.scrollLeft&&(b.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(b.rr_scrollTop=e.scrollTop)),y){var K,V,Y,Z=e.getBoundingClientRect(),Q=Z.width,X=Z.height,_=Z.left,$=Z.top,ee=null==(K=n.defaultView)?void 0:K.getComputedStyle(e);b={class:b.class,rr_width:Q+"px",rr_height:X+"px",rr_left:Math.floor(_+((null==(V=n.defaultView)?void 0:V.scrollX)||0))+"px",rr_top:Math.floor($+((null==(Y=n.defaultView)?void 0:Y.scrollY)||0))+"px"},ee&&(b.rr_position=ee.position||"static",ee.transform&&"none"!==ee.transform&&(b.rr_transform=ee.transform),ee.display&&ee.display.startsWith("inline")&&(b.rr_display=ee.display))}"iframe"!==w||p(b.src)||(e.contentDocument||(b.rr_src=b.src),delete b.src);try{customElements.get(w)&&(r=!0)}catch(e){}return{type:f.Element,tagName:w,attributes:b,childNodes:[],isSVG:(te=e,Boolean("svg"===te.tagName||te.ownerSVGElement)||void 0),needBlock:y,rootId:g,isCustom:r};var te}(e,{doc:r,blockClass:i,blockSelector:a,inlineStylesheet:o,maskInputOptions:u,maskInputFn:d,dataURLOptions:p,inlineImages:m,recordCanvas:v,canvasMaskingConfigured:g,keepIframeSrcFn:y,newlyAddedElement:b,rootId:S});case e.TEXT_NODE:return function(e,t){var r=t.needsMask,n=t.maskTextFn,i=t.rootId,a=O.parentNode(e),s=a&&a.tagName,o=O.textContent(e),l="STYLE"===s||void 0,u="SCRIPT"===s||void 0;if(l&&o){try{var c;if(e.nextSibling||e.previousSibling);else if(null!=(c=a.sheet)&&c.cssRules){var d=N(a.sheet);d&&!/(?:^|[\s;{}])-?[a-zA-Z][\w-]*\s*:\s*;/.test(d)&&(o=d)}}catch(t){console.warn("Cannot get CSS styles from text's parentNode. Error: "+t,e)}o=U(o,ee(t.doc))}return u&&(o="SCRIPT_PLACEHOLDER"),!l&&!u&&o&&r&&(o=n?n(o,O.parentElement(e)):o.replace(/[\S]/g,"*")),{type:f.Text,textContent:o||"",isStyle:l,rootId:i}}(e,{doc:r,needsMask:s,maskTextFn:c,rootId:S});case e.CDATA_SECTION_NODE:return{type:f.CDATA,textContent:"",rootId:S};case e.COMMENT_NODE:return{type:f.Comment,textContent:O.textContent(e)||"",rootId:S};default:return!1}}(e,{doc:r,mirror:n,blockClass:i,blockSelector:a,needsMask:le,inlineStylesheet:d,maskInputOptions:p,maskTextFn:m,maskInputFn:v,dataURLOptions:w,inlineImages:S,recordCanvas:C,canvasMaskingConfigured:M,keepIframeSrcFn:V,newlyAddedElement:X});if(!ge)return console.warn(e,"not serialized"),null;ve=n.hasNode(e)?n.getId(e):function(e,t){if(t.comment&&e.type===f.Comment)return!0;if(e.type===f.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel&&"script"===e.attributes.as||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===function(e,t){var r,n;try{n=new URL(e,window.location.href)}catch(e){return null}var i=n.pathname.match(/\.([0-9a-z]+)(?:$)/i);return null!=(r=null==i?void 0:i[1])?r:null}(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(ce(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===ce(e.attributes.name)||["icon","apple-touch-icon","shortcut icon"].includes(ce(e.attributes.rel)))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&ce(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(ce(e.attributes.property).match(/^(og|twitter|fb):/)||ce(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===ce(e.attributes.name)))return!0;if(t.headMetaRobots&&["robots","googlebot","bingbot"].includes(ce(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&(["author","generator","framework","publisher","progid"].includes(ce(e.attributes.name))||ce(e.attributes.property).match(/^article:/)||ce(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&["google-site-verification","yandex-verification","csrf-token","p:domain_verify","verify-v1","verification","shopify-checkout-api-token"].includes(ce(e.attributes.name)))return!0}}return!1}(ge,g)||!me&&ge.type===f.Text&&!ge.isStyle&&!ge.textContent.replace(/^\s+|\s+$/gm,"").length?Y:Z();var ye=Object.assign(ge,{id:ve});if(n.add(e,ye),ve===Y)return null;I&&I(e);var we=!u;if(ye.type===f.Element){we=we&&!ye.needBlock,delete ye.needBlock;var be=O.shadowRoot(e);be&&R(be)&&(ye.isShadowHost=!0)}if((ye.type===f.Document||ye.type===f.Element)&&we){g.headWhitespace&&ye.type===f.Element&&"head"===ye.tagName&&(me=!1);var Se={doc:r,mirror:n,blockClass:i,blockSelector:a,needsMask:le,maskTextClass:s,maskTextSelector:o,skipChild:u,inlineStylesheet:d,maskInputOptions:p,maskTextFn:m,maskInputFn:v,slimDOMOptions:g,dataURLOptions:w,inlineImages:S,recordCanvas:C,canvasMaskingConfigured:M,preserveWhiteSpace:me,onSerialize:I,onIframeLoad:A,iframeLoadTimeout:B,onIframeListenerRegistered:j,onStylesheetLoad:z,stylesheetLoadTimeout:G,keepIframeSrcFn:V,depth:$+1,maxDepth:ie};if(ye.type===f.Element&&"textarea"===ye.tagName&&void 0!==ye.attributes.value);else for(var ke of Array.from(O.childNodes(e))){var Ce=pe(ke,Se);Ce&&ye.childNodes.push(Ce)}var Me=null;if(x(e)&&(Me=O.shadowRoot(e)))for(var Ie of Array.from(O.childNodes(Me))){var Oe=pe(Ie,Se);Oe&&(R(Me)&&(Oe.isShadow=!0),ye.childNodes.push(Oe))}}var xe=O.parentNode(e);if(xe&&E(xe)&&R(xe)&&(ye.isShadow=!0),ye.type===f.Element&&"iframe"===ye.tagName){var Ee=function(e,t,r){var n,i=()=>{},a=e.contentWindow;if(!a)return i;try{n=a.document.readyState}catch(e){return i}var s=()=>t();if("complete"!==n){var o=!1,l=null,u=()=>{o||(o=!0,null!==l&&(clearTimeout(l),l=null),se(e,"load",c),e.addEventListener("load",s),t())},c=()=>u();return l=setTimeout(u,r),e.addEventListener("load",c),()=>{null!==l&&(clearTimeout(l),l=null),o?se(e,"load",s):(o=!0,se(e,"load",c))}}var d,h="about:blank";try{d=a.location.href}catch(e){return i}if(d!==h||e.src===h||""===e.src){var p=setTimeout(t,0);return e.addEventListener("load",s),()=>{clearTimeout(p),se(e,"load",s)}}return e.addEventListener("load",s),()=>{se(e,"load",s)}}(e,(()=>{var t=e.contentDocument;if(t&&A){var r=pe(t,{doc:t,mirror:n,blockClass:i,blockSelector:a,needsMask:le,maskTextClass:s,maskTextSelector:o,skipChild:!1,inlineStylesheet:d,maskInputOptions:p,maskTextFn:m,maskInputFn:v,slimDOMOptions:g,dataURLOptions:w,inlineImages:S,recordCanvas:C,canvasMaskingConfigured:M,preserveWhiteSpace:me,onSerialize:I,onIframeLoad:A,iframeLoadTimeout:B,onIframeListenerRegistered:j,onStylesheetLoad:z,stylesheetLoadTimeout:G,keepIframeSrcFn:V,depth:$+1,maxDepth:ie});r&&A(e,r)}}),B);null==j||j(e,Ee)}return ye.type===f.Element&&"link"===ye.tagName&&"stylesheet"===ye.attributes.rel&&function(t,l,u){if(!oe.has(t)){var c;try{c=t.sheet}catch(e){return}if(!c){var h,f=!1,y=!1,b=!1,k=!1,O={abort(){if(f=!0,void 0!==h){var e=h;h=void 0;try{clearTimeout(e)}catch(e){b=!0}}if(k){k=!1;try{t.removeEventListener("load",x)}catch(e){b=!0}}if(b||oe.get(t)!==O||oe.delete(t),b){var r=new Error("Recorder stylesheet cleanup incomplete");throw r.name="RecorderCleanupError",r}}},x=()=>{if(!f&&!y){y=!0;try{(()=>{if(z){var t=pe(e,{doc:r,mirror:n,blockClass:i,blockSelector:a,needsMask:le,maskTextClass:s,maskTextSelector:o,skipChild:!1,inlineStylesheet:d,maskInputOptions:p,maskTextFn:m,maskInputFn:v,slimDOMOptions:g,dataURLOptions:w,inlineImages:S,recordCanvas:C,canvasMaskingConfigured:M,preserveWhiteSpace:me,onSerialize:I,onIframeLoad:A,iframeLoadTimeout:B,onStylesheetLoad:z,stylesheetLoadTimeout:G,keepIframeSrcFn:V,depth:$,maxDepth:ie});t&&z(e,t)}})()}finally{O.abort()}}};oe.set(t,O);try{h=setTimeout(x,u),k=!0,t.addEventListener("load",x,{once:!0})}catch(e){throw O.abort(),e}}}}(e,0,G),ye}function fe(e){return!0===e||"all"===e?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===e,headMetaDescKeywords:"all"===e,headTitleMutations:"all"===e}:!1===e?{}:e}function me(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ve(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var r=function e(){var r=!1;try{r=this instanceof e}catch{}return r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var ge,ye={exports:{}};function we(){if(ge)return ye.exports;ge=1;var e=String,t=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e,blackBright:e,redBright:e,greenBright:e,yellowBright:e,blueBright:e,magentaBright:e,cyanBright:e,whiteBright:e,bgBlackBright:e,bgRedBright:e,bgGreenBright:e,bgYellowBright:e,bgBlueBright:e,bgMagentaBright:e,bgCyanBright:e,bgWhiteBright:e}};return ye.exports=t(),ye.exports.createColors=t,ye.exports}var be,Se,ke,Ce,Me,Ie,Oe=ve(Object.freeze({__proto__:null,default:{}}));function xe(){if(Se)return be;Se=1;var e=we(),t=Oe;class r extends Error{constructor(e,t,n,i,a,s){super(e),this.name="CssSyntaxError",this.reason=e,a&&(this.file=a),i&&(this.source=i),s&&(this.plugin=s),void 0!==t&&void 0!==n&&("number"==typeof t?(this.line=t,this.column=n):(this.line=t.line,this.column=t.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,r)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(r){if(!this.source)return"";var n=this.source;null==r&&(r=e.isColorSupported);var i=e=>e,a=e=>e,s=e=>e;if(r){var o=e.createColors(!0),l=o.bold,u=o.gray,c=o.red;a=e=>l(c(e)),i=e=>u(e),t&&(s=e=>t(e))}var d=n.split(/\r?\n/),h=Math.max(this.line-3,0),p=Math.min(this.line+2,d.length),f=String(p).length;return d.slice(h,p).map(((e,t)=>{var r=h+1+t,n=" "+(" "+r).slice(-f)+" | ";if(r===this.line){if(e.length>160){var o=Math.max(0,this.column-20),l=Math.max(this.column+20,this.endColumn+20),u=e.slice(o,l),c=i(n.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,19)).replace(/[^\t]/g," ");return a(">")+i(n)+s(u)+"\n "+c+a("^")}var d=i(n.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+i(n)+s(e)+"\n "+d+a("^")}return" "+i(n)+s(e)})).join("\n")}toString(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}return be=r,r.default=r,be}function Ee(){if(Ce)return ke;Ce=1;var e=/(<)(\/?style\b)/gi,t=/(<)(!--)/g;function r(r){return"string"!=typeof r?r:r.includes("<")?r.replace(e,"\\3c $2").replace(t,"\\3c $2"):r}var n={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class i{constructor(e){this.builder=e}atrule(e,t){var n=e.raws,i="@"+e.name,a=e.params?this.rawValue(e,"params"):"";if(void 0!==n.afterName?i+=n.afterName:a&&(i+=" "),e.nodes)this.block(e,i+a);else{var s=(n.between||"")+(t?";":"");this.builder(r(i+a+s),e)}}beforeAfter(e,t){var r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var n=e.parent,i=0;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){var a=this.raw(e,null,"indent");if(a.length)for(var s=0;s<i;s++)r+=a}return r}block(e,t){var n,i=this.raw(e,"between","beforeOpen");this.builder(r(t+i)+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),n=this.raw(e,"after")):n=this.raw(e,"after","emptyBody"),n&&this.builder(r(n)),this.builder("}",e,"end")}body(e){for(var t=e.nodes,n=t.length-1;n>0&&"comment"===t[n].type;)n-=1;for(var i=this.raw(e,"semicolon"),a="document"===e.type,s=0;s<t.length;s++){var o=t[s],l=this.raw(o,"before");l&&this.builder(a?l:r(l)),this.stringify(o,n!==s||i)}}comment(e){var t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder(r("/*"+t+e.text+n+"*/"),e)}decl(e,t){var n=e.raws,i=this.raw(e,"between","colon"),a=e.prop+i+this.rawValue(e,"value");e.important&&(a+=n.important||" !important"),t&&(a+=";"),this.builder(r(a),e)}document(e){this.body(e)}raw(e,t,r){var i;if(r||(r=t),t&&void 0!==(i=e.raws[t]))return i;var a=e.parent;if("before"===r){if(!a||"root"===a.type&&a.first===e)return"";if(a&&"document"===a.type)return""}if(!a)return n[r];var s=e.root(),o=s.rawCache||(s.rawCache={});if(void 0!==o[r])return o[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var l,u="raw"+((l=r)[0].toUpperCase()+l.slice(1));return this[u]?i=this[u](s,e):s.walk((e=>{if(void 0!==(i=e.raws[t]))return!1})),void 0===i&&(i=n[r]),o[r]=i,i}rawBeforeClose(e){var t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){var r;return e.walkComments((e=>{if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){var r;return e.walkDecls((e=>{if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){var t;return e.walk((e=>{if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1})),t}rawBeforeRule(e){var t;return e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){var t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}rawEmptyBody(e){var t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1})),t}rawIndent(e){return e.raws.indent?e.raws.indent:(e.walk((r=>{var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){var i=r.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}})),t);var t}rawSemicolon(e){var t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1})),t}rawValue(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r}root(e){if(this.body(e),e.raws.after){var t=e.raws.after,n=e.parent&&"document"===e.parent.type;this.builder(n?t:r(t))}}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(r(e.raws.ownSemicolon),e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}return ke=i,i.default=i,ke}function Re(){if(Ie)return Me;Ie=1;var e=Ee();function t(t,r){new e(r).stringify(t)}return Me=t,t.default=t,Me}var Ne,Ae,Te,De,Le,Fe,Pe,Be,je,ze,He,Ue,We,qe,Ge,Ke,Ve,Je,Ye,Ze,Qe,Xe,_e,$e,et,tt={};function rt(){return Ne||(Ne=1,tt.isClean=Symbol("isClean"),tt.my=Symbol("my")),tt}function nt(){if(Te)return Ae;Te=1;var e=xe(),t=Ee(),r=Re(),n=rt(),i=n.isClean,a=n.my;function s(e,t){var r=new e.constructor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"proxyCache"!==n){var i=e[n],a=typeof i;"parent"===n&&"object"===a?t&&(r[n]=t):"source"===n?r[n]=i:Array.isArray(i)?r[n]=i.map((e=>s(e,r))):("object"===a&&null!==i&&(i=s(i)),r[n]=i)}return r}function o(e,t){if(t&&void 0!==t.offset)return t.offset;for(var r=1,n=1,i=0,a=0;a<e.length;a++){if(n===t.line&&r===t.column){i=a;break}"\n"===e[a]?(r=1,n+=1):r+=1}return i}class l{get proxyOf(){return this}constructor(e){for(var t in void 0===e&&(e={}),this.raws={},this[i]=!1,this[a]=!0,e)if("nodes"===t)for(var r of(this.nodes=[],e[t]))"function"==typeof r.clone&&r.parent?this.append(r.clone()):this.append(r);else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+t.input.from+":"+t.start.line+":"+t.start.column+"$&")}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e){for(var t in void 0===e&&(e={}),e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e){void 0===e&&(e={});var t=s(this);for(var r in e)t[r]=e[r];return t}cloneAfter(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t}error(t,r){if(void 0===r&&(r={}),this.source){var n=this.rangeBy(r),i=n.end,a=n.start;return this.source.input.error(t,{column:a.column,line:a.line},{column:i.column,line:i.line},r)}return new e(t)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,r)=>(e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0)}}markClean(){this[i]=!0}markDirty(){if(this[i]){this[i]=!1;for(var e=this;e=e.parent;)e[i]=!1}}next(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}}positionBy(e){void 0===e&&(e={});var t="document"in this.source.input?this.source.input.document:this.source.input.css,r={column:this.source.start.column,line:this.source.start.line,offset:o(t,this.source.start)};if(e.index)r=this.positionInside(e.index);else if(e.word){var n=t.slice(o(t,this.source.start),o(t,this.source.end)).indexOf(e.word);-1!==n&&(r=this.positionInside(n))}return r}positionInside(e){for(var t=this.source.start.column,r=this.source.start.line,n=("document"in this.source.input?this.source.input.document:this.source.input.css),i=o(n,this.source.start),a=i+e,s=i;s<a;s++)"\n"===n[s]?(t=1,r+=1):t+=1;return{column:t,line:r,offset:a}}prev(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}}rangeBy(e){void 0===e&&(e={});var t="document"in this.source.input?this.source.input.document:this.source.input.css,r={column:this.source.start.column,line:this.source.start.line,offset:o(t,this.source.start)},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:"number"==typeof this.source.end.offset?this.source.end.offset:o(t,this.source.end)+1}:{column:r.column+1,line:r.line,offset:r.offset+1};if(e.word){var i=t.slice(o(t,this.source.start),o(t,this.source.end)).indexOf(e.word);-1!==i&&(r=this.positionInside(i),n=this.positionInside(i+e.word.length))}else e.start?r={column:e.start.column,line:e.start.line,offset:o(t,e.start)}:"number"==typeof e.index&&(r=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line,offset:o(t,e.end)}:"number"==typeof e.endIndex?n=this.positionInside(e.endIndex):"number"==typeof e.index&&(n=this.positionInside(e.index+1));return(n.line<r.line||n.line===r.line&&n.column<=r.column)&&(n={column:r.column+1,line:r.line,offset:r.offset+1}),{end:n,start:r}}raw(e,r){return(new t).raw(this,e,r)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(){if(this.parent){for(var e=this,t=!1,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];for(var a of n)a===this?t=!0:t?(this.parent.insertAfter(e,a),e=a):this.parent.insertBefore(e,a);t||this.remove()}return this}root(){for(var e=this;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){var r={},n=null==t;t=t||new Map;var i=0;for(var a in this)if(Object.prototype.hasOwnProperty.call(this,a)&&"parent"!==a&&"proxyCache"!==a){var s=this[a];if(Array.isArray(s))r[a]=s.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof s&&s.toJSON)r[a]=s.toJSON(null,t);else if("source"===a){if(null==s)continue;var o=t.get(s.input);null==o&&(o=i,t.set(s.input,i),i++),r[a]={end:s.end,inputId:o,start:s.start}}else r[a]=s}return n&&(r.inputs=[...t.keys()].map((e=>e.toJSON()))),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e){void 0===e&&(e=r),e.stringify&&(e=e.stringify);var t="";return e(this,(e=>{t+=e})),t}warn(e,t,r){void 0===r&&(r={});var n={node:this};for(var i in r)n[i]=r[i];return e.warn(t,n)}}return Ae=l,l.default=l,Ae}function it(){if(Le)return De;Le=1;var e=nt();class t extends e{constructor(e){super(e),this.type="comment"}}return De=t,t.default=t,De}function at(){if(Pe)return Fe;Pe=1;var e=nt();class t extends e{get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e=r({},e,{value:String(e.value)})),super(e),this.type="decl"}}return Fe=t,t.default=t,Fe}function st(){if(je)return Be;je=1;var e,t,r,n,i=it(),a=at(),s=nt(),o=rt(),l=o.isClean,u=o.my;function c(e){return e.map((e=>(e.nodes&&(e.nodes=c(e.nodes)),delete e.source,e)))}function d(e){if(e[l]=!1,e.proxyOf.nodes)for(var t of e.proxyOf.nodes)d(t)}class h extends 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]}append(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n of t){var i=this.normalize(n,this.last);for(var a of i)this.proxyOf.nodes.push(a)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(var t of this.nodes)t.cleanRaws(e)}each(e){if(this.proxyOf.nodes){for(var t,r,n=this.getIterator();this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return e[t](...n.map((e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e)))}:"every"===t||"some"===t?r=>e[t]((function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return r(e.toProxy(),...n)})):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,r)=>(e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){var r,n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();for(var a of(n=this.index(e),i))this.proxyOf.nodes.splice(n+1,0,a);for(var s in this.indexes)n<(r=this.indexes[s])&&(this.indexes[s]=r+i.length);return this.markDirty(),this}insertBefore(e,t){var r,n=this.index(e),i=0===n&&"prepend",a=this.normalize(t,this.proxyOf.nodes[n],i).reverse();for(var s of(n=this.index(e),a))this.proxyOf.nodes.splice(n,0,s);for(var o in this.indexes)n<=(r=this.indexes[o])&&(this.indexes[o]=r+a.length);return this.markDirty(),this}normalize(r,s){if("string"==typeof r)r=c(t(r).nodes);else if(void 0===r)r=[];else if(Array.isArray(r))for(var o of r=r.slice(0))o.parent&&o.parent.removeChild(o,"ignore");else if("root"===r.type&&"document"!==this.type)for(var p of r=r.nodes.slice(0))p.parent&&p.parent.removeChild(p,"ignore");else if(r.type)r=[r];else if(r.prop){if(void 0===r.value)throw new Error("Value field is missed in node creation");"string"!=typeof r.value&&(r.value=String(r.value)),r=[new a(r)]}else if(r.selector||r.selectors)r=[new n(r)];else if(r.name)r=[new e(r)];else{if(!r.text)throw new Error("Unknown node type in node creation");r=[new i(r)]}var f=r.map((e=>(e[u]||h.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[l]&&d(e),e.raws||(e.raws={}),void 0===e.raws.before&&s&&void 0!==s.raws.before&&(e.raws.before=s.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)));return f}prepend(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n of t=t.reverse()){var i=this.normalize(n,this.first,"prepend").reverse();for(var a of i)this.proxyOf.nodes.unshift(a);for(var s in this.indexes)this.indexes[s]=this.indexes[s]+i.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(var e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls((n=>{t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))})),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,r)=>{var n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("atrule"===r.type&&e.test(r.name))return t(r,n)})):this.walk(((r,n)=>{if("atrule"===r.type&&r.name===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("atrule"===e.type)return t(e,r)})))}walkComments(e){return this.walk(((t,r)=>{if("comment"===t.type)return e(t,r)}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("decl"===r.type&&e.test(r.prop))return t(r,n)})):this.walk(((r,n)=>{if("decl"===r.type&&r.prop===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("decl"===e.type)return t(e,r)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("rule"===r.type&&e.test(r.selector))return t(r,n)})):this.walk(((r,n)=>{if("rule"===r.type&&r.selector===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("rule"===e.type)return t(e,r)})))}}return h.registerParse=e=>{t=e},h.registerRule=e=>{n=e},h.registerAtRule=t=>{e=t},h.registerRoot=e=>{r=e},Be=h,h.default=h,h.rebuild=t=>{"atrule"===t.type?Object.setPrototypeOf(t,e.prototype):"rule"===t.type?Object.setPrototypeOf(t,n.prototype):"decl"===t.type?Object.setPrototypeOf(t,a.prototype):"comment"===t.type?Object.setPrototypeOf(t,i.prototype):"root"===t.type&&Object.setPrototypeOf(t,r.prototype),t[u]=!0,t.nodes&&t.nodes.forEach((e=>{h.rebuild(e)}))},Be}function ot(){if(He)return ze;He=1;var e=st();class t extends e{constructor(e){super(e),this.type="atrule"}append(){return this.proxyOf.nodes||(this.nodes=[]),super.append(...arguments)}prepend(){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...arguments)}}return ze=t,t.default=t,e.registerAtRule(t),ze}function lt(){if(We)return Ue;We=1;var e,t,n=st();class i extends n{constructor(e){super(r({type:"document"},e)),this.nodes||(this.nodes=[])}toResult(r){return void 0===r&&(r={}),new e(new t,this,r).stringify()}}return i.registerLazyResult=t=>{e=t},i.registerProcessor=e=>{t=e},Ue=i,i.default=i,Ue}function ut(){return Ge||(Ge=1,qe={nanoid:function(e){void 0===e&&(e=21);for(var t="",r=0|e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:function(e,t){return void 0===t&&(t=21),function(r){void 0===r&&(r=t);for(var n="",i=0|r;i--;)n+=e[Math.random()*e.length|0];return n}}}),qe}function ct(){if(Ve)return Ke;Ve=1;var e=Oe.existsSync,t=Oe.readFileSync,r=Oe.dirname,n=Oe.join,i=Oe.SourceMapConsumer,a=Oe.SourceMapGenerator;class s{constructor(e,t){if(!1!==t.map){t.unsafeMap&&(this.unsafeMap=!0),this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var n=t.map?t.map.prev:void 0,i=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=r(this.mapFile)),i&&(this.text=i)}}consumer(){return this.consumerCache||(this.consumerCache=new i(this.json||this.text)),this.consumerCache}decodeInline(e){var t=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(t)return decodeURIComponent(e.substr(t[0].length));var r,n=e.match(/^data:application\/json;charset=utf-?8;base64,/)||e.match(/^data:application\/json;base64,/);if(n)return r=e.substr(n[0].length),Buffer?Buffer.from(r,"base64").toString():window.atob(r);var i=e.slice(22);throw i=i.slice(0,i.indexOf(",")),new Error("Unsupported source map encoding "+i)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){var t=e.match(/\/\*\s*# sourceMappingURL=/g);if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}}loadFile(n,i,a){if(a||this.unsafeMap||/\.map$/i.test(n))return this.root=r(n),e(n)?(this.mapFile=n,t(n,"utf-8").toString().trim()):void 0}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof i)return a.fromSourceMap(t).toString();if(t instanceof a)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}var s=t(e);if(s){var o=this.loadFile(s,e,!0);if(!o)throw new Error("Unable to load previous source map: "+s.toString());return o}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var l=this.annotation;e&&(l=n(r(e),l));var u=this.loadFile(l,e,!1);if(u)try{this.json=JSON.parse(u.replace(/^\)]}'[^\n]*\n/,""))}catch(e){return}return u}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Ke=s,s.default=s,Ke}function dt(){if(Ye)return Je;Ye=1;var e=ut().nanoid,t=Oe.isAbsolute,n=Oe.resolve,i=Oe.SourceMapConsumer,a=Oe.SourceMapGenerator,s=Oe.fileURLToPath,o=Oe.pathToFileURL,l=xe(),u=ct(),c=Oe,d=Symbol("lineToIndexCache"),h=Boolean(i&&a),p=Boolean(n&&t);function f(e){if(e[d])return e[d];for(var t=e.css.split("\n"),r=new Array(t.length),n=0,i=0,a=t.length;i<a;i++)r[i]=n,n+=t[i].length+1;return e[d]=r,r}class m{get from(){return this.file||this.id}constructor(r,i){if(void 0===i&&(i={}),null==r||"object"==typeof r&&!r.toString)throw new Error("PostCSS received "+r+" instead of CSS string");if(this.css=r.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,i.document&&(this.document=i.document.toString()),i.from&&(!p||/^\w+:\/\//.test(i.from)||t(i.from)?this.file=i.from:this.file=n(i.from)),p&&h){var a=new u(this.css,i);if(a.text){this.map=a;var s=a.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s))}}this.file||(this.id="<input css "+e(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,n){var i,a,s,u,c;if(void 0===n&&(n={}),t&&"object"==typeof t){var d=t,h=r;if("number"==typeof d.offset){u=d.offset;var p=this.fromOffset(u);t=p.line,r=p.col}else t=d.line,r=d.column,u=this.fromLineAndColumn(t,r);if("number"==typeof h.offset){s=h.offset;var f=this.fromOffset(s);a=f.line,i=f.col}else a=h.line,i=h.column,s=this.fromLineAndColumn(h.line,h.column)}else if(r)u=this.fromLineAndColumn(t,r);else{u=t;var m=this.fromOffset(u);t=m.line,r=m.col}var v=this.origin(t,r,a,i);return(c=v?new l(e,void 0===v.endLine?v.line:{column:v.column,line:v.line},void 0===v.endLine?v.column:{column:v.endColumn,line:v.endLine},v.source,v.file,n.plugin):new l(e,void 0===a?t:{column:r,line:t},void 0===a?r:{column:i,line:a},this.css,this.file,n.plugin)).input={column:r,endColumn:i,endLine:a,endOffset:s,line:t,offset:u,source:this.css},this.file&&(o&&(c.input.url=o(this.file).toString()),c.input.file=this.file),c}fromLineAndColumn(e,t){return f(this)[e-1]+t-1}fromOffset(e){var t=f(this),r=0;if(e>=t[t.length-1])r=t.length-1;else for(var n,i=t.length-2;r<i;)if(e<t[n=r+(i-r>>1)])i=n-1;else{if(!(e>=t[n+1])){r=n;break}r=n+1}return{col:e-t[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:n(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,r,n,i){if(!this.map)return!1;var a,l,u=this.map.consumer(),c=u.originalPositionFor({column:r-1,line:e});if(!c.source)return!1;"number"==typeof n&&(a=u.originalPositionFor({column:i-1,line:n})),l=t(c.source)?o(c.source):new URL(c.source,this.map.consumer().sourceRoot||o(this.map.mapFile));var d={column:c.column+1,endColumn:a&&a.column+1,endLine:a&&a.line,line:c.line,url:l.toString()};if("file:"===l.protocol){if(!s)throw new Error("file: protocol is not available in this PostCSS build");d.file=s(l)}var h=u.sourceContentFor(c.source);return h&&(d.source=h),d}toJSON(){var e={};for(var t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map=r({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}return Je=m,m.default=m,c&&c.registerInput&&c.registerInput(m),Je}function ht(){if(Qe)return Ze;Qe=1;var e,t,r=st();class n extends r{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){var n=super.normalize(e);if(t)if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(var i of n)i.raws.before=t.raws.before;return n}removeChild(e,t){var r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(r){return void 0===r&&(r={}),new e(new t,this,r).stringify()}}return n.registerLazyResult=t=>{e=t},n.registerProcessor=e=>{t=e},Ze=n,n.default=n,r.registerRoot(n),Ze}function pt(){if(_e)return Xe;_e=1;var e={comma:t=>e.split(t,[","],!0),space:t=>e.split(t,[" ","\n","\t"]),split(e,t,r){var n=[],i="",a=!1,s=0,o=!1,l="",u=!1;for(var c of e)u?u=!1:"\\"===c?u=!0:o?c===l&&(o=!1):'"'===c||"'"===c?(o=!0,l=c):"("===c?s+=1:")"===c?s>0&&(s-=1):0===s&&t.includes(c)&&(a=!0),a?(""!==i&&n.push(i.trim()),i="",a=!1):i+=c;return(r||""!==i)&&n.push(i.trim()),n}};return Xe=e,e.default=e,Xe}function ft(){if(et)return $e;et=1;var e=st(),t=pt();class r extends e{get selectors(){return t.comma(this.selector)}set selectors(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}}return $e=r,r.default=r,e.registerRule(r),$e}var mt,vt,gt,yt,wt,bt,St,kt,Ct,Mt,It,Ot,xt,Et,Rt,Nt,At,Tt,Dt,Lt,Ft,Pt,Bt,jt,zt,Ht,Ut,Wt,qt=["inputs"],Gt=["inputId"];function Kt(){if(yt)return gt;yt=1;var e=Oe.dirname,t=Oe.relative,r=Oe.resolve,n=Oe.sep,i=Oe.SourceMapConsumer,a=Oe.SourceMapGenerator,s=Oe.pathToFileURL,o=dt(),l=Boolean(i&&a),u=Boolean(e&&r&&t&&n);return gt=class{constructor(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){var e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(var t of this.previous()){var r=this.toUrl(this.path(t.file)),n=t.root||e(t.file),a=void 0;!1===this.mapOpts.sourcesContent?(a=new i(t.text)).sourcesContent&&(a.sourcesContent=null):a=t.consumer(),this.map.applySourceMap(a,r,this.toUrl(this.path(n)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(t);else if(this.css)for(var r;-1!==(r=this.css.lastIndexOf("/*#"));){var n=this.css.indexOf("*/",r+3);if(-1===n)break;for(;r>0&&"\n"===this.css[r-1];)r--;this.css=this.css.slice(0,r)+this.css.slice(n+2)}}generate(){if(this.clearAnnotation(),u&&l&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,(t=>{e+=t})),[e]}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=a.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new a({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new a({file:this.outputFile(),ignoreInvalidMapping:!0});var e,t,r=1,n=1,i="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((a,o,l)=>{if(this.css+=a,o&&"end"!==l&&(s.generated.line=r,s.generated.column=n-1,o.source&&o.source.start?(s.source=this.sourcePath(o),s.original.line=o.source.start.line,s.original.column=o.source.start.column-1,this.map.addMapping(s)):(s.source=i,s.original.line=1,s.original.column=0,this.map.addMapping(s))),(t=a.match(/\n/g))?(r+=t.length,e=a.lastIndexOf("\n"),n=a.length-e):n+=a.length,o&&"start"!==l){var u=o.parent||{raws:{}};("decl"===o.type||"atrule"===o.type&&!o.nodes)&&o===u.last&&!u.raws.semicolon||(o.source&&o.source.end?(s.source=this.sourcePath(o),s.original.line=o.source.end.line,s.original.column=o.source.end.column-1,s.generated.line=r,s.generated.column=n-2,this.map.addMapping(s)):(s.source=i,s.original.line=1,s.original.column=0,s.generated.line=r,s.generated.column=n-1,this.map.addMapping(s)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(n){if(this.mapOpts.absolute)return n;if(60===n.charCodeAt(0))return n;if(/^\w+:\/\//.test(n))return n;var i=this.memoizedPaths.get(n);if(i)return i;var a=this.opts.to?e(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(a=e(r(a,this.mapOpts.annotation)));var s=t(a,n);return this.memoizedPaths.set(n,s),s}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){var t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{var e=new o(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){var e={};if(this.root)this.root.walk((t=>{if(t.source){var r=t.source.input.from;if(r&&!e[r]){e[r]=!0;var n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,t.source.input.css)}}}));else if(this.css){var 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){var t=this.memoizedFileURLs.get(e);if(t)return t;if(s){var r=s(e).toString();return this.memoizedFileURLs.set(e,r),r}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){var t=this.memoizedURLs.get(e);if(t)return t;"\\"===n&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}},gt}function Vt(){if(bt)return wt;bt=1;var e="'".charCodeAt(0),t='"'.charCodeAt(0),r="\\".charCodeAt(0),n="/".charCodeAt(0),i="\n".charCodeAt(0),a=" ".charCodeAt(0),s="\f".charCodeAt(0),o="\t".charCodeAt(0),l="\r".charCodeAt(0),u="[".charCodeAt(0),c="]".charCodeAt(0),d="(".charCodeAt(0),h=")".charCodeAt(0),p="{".charCodeAt(0),f="}".charCodeAt(0),m=";".charCodeAt(0),v="*".charCodeAt(0),g=":".charCodeAt(0),y="@".charCodeAt(0),w=/[\t\n\f\r "#'()/;[\\\]{}]/g,b=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,S=/.[\r\n"'(/\\]/,k=/[\da-f]/i;return wt=function(C,M){void 0===M&&(M={});var I,O,x,E,R,N,A,T,D,L,F=C.css.valueOf(),P=M.ignoreErrors,B=F.length,j=0,z=[],H=[],U=-1;function W(e){throw C.error("Unclosed "+e,j)}return{back:function(e){H.push(e)},endOfFile:function(){return 0===H.length&&j>=B},nextToken:function(C){if(H.length)return H.pop();if(!(j>=B)){var M=!!C&&C.ignoreUnclosed;switch(I=F.charCodeAt(j)){case i:case a:case o:case l:case s:E=j;do{E+=1,I=F.charCodeAt(E)}while(I===a||I===i||I===o||I===l||I===s);N=["space",F.slice(j,E)],j=E-1;break;case u:case c:case p:case f:case g:case m:case h:var q=String.fromCharCode(I);N=[q,q,j];break;case d:if(L=z.length?z.pop()[1]:"",D=F.charCodeAt(j+1),"url"===L&&D!==e&&D!==t&&D!==a&&D!==i&&D!==o&&D!==s&&D!==l){E=j;do{if(A=!1,-1===(E=F.indexOf(")",E+1))){if(P||M){E=j;break}W("bracket")}for(T=E;F.charCodeAt(T-1)===r;)T-=1,A=!A}while(A);N=["brackets",F.slice(j,E+1),j,E],j=E}else j<=U?N=["(","(",j]:(E=F.indexOf(")",j+1),O=F.slice(j,E+1),-1===E||S.test(O)?(U=-1===E?B:E,N=["(","(",j]):(N=["brackets",O,j,E],j=E));break;case e:case t:R=I===e?"'":'"',E=j;do{if(A=!1,-1===(E=F.indexOf(R,E+1))){if(P||M){E=j+1;break}W("string")}for(T=E;F.charCodeAt(T-1)===r;)T-=1,A=!A}while(A);N=["string",F.slice(j,E+1),j,E],j=E;break;case y:w.lastIndex=j+1,w.test(F),E=0===w.lastIndex?F.length-1:w.lastIndex-2,N=["at-word",F.slice(j,E+1),j,E],j=E;break;case r:for(E=j,x=!0;F.charCodeAt(E+1)===r;)E+=1,x=!x;if(I=F.charCodeAt(E+1),x&&I!==n&&I!==a&&I!==i&&I!==o&&I!==l&&I!==s&&(E+=1,k.test(F.charAt(E)))){for(;k.test(F.charAt(E+1));)E+=1;F.charCodeAt(E+1)===a&&(E+=1)}N=["word",F.slice(j,E+1),j,E],j=E;break;default:I===n&&F.charCodeAt(j+1)===v?(0===(E=F.indexOf("*/",j+2)+1)&&(P||M?E=F.length:W("comment")),N=["comment",F.slice(j,E+1),j,E],j=E):(b.lastIndex=j+1,b.test(F),E=0===b.lastIndex?F.length-1:b.lastIndex-2,N=["word",F.slice(j,E+1),j,E],z.push(N),j=E)}return j++,N}},position:function(){return j}}},wt}function Jt(){if(kt)return St;kt=1;var e=ot(),t=it(),r=at(),n=ht(),i=ft(),a=Vt(),s={empty:!0,space:!0};function o(e,t,r){for(var n="",i=t;i<r;i++)n+=e[i][1];return n}return St=class{constructor(e){this.input=e,this.root=new n,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(t){var r,n,i,a=new e;a.name=t[1].slice(1),""===a.name&&this.unnamedAtrule(a,t),this.init(a,t[2]);for(var s=!1,o=!1,l=[],u=[];!this.tokenizer.endOfFile();){if("("===(r=(t=this.tokenizer.nextToken())[0])||"["===r?u.push("("===r?")":"]"):"{"===r&&u.length>0?u.push("}"):r===u[u.length-1]&&u.pop(),0===u.length){if(";"===r){a.source.end=this.getPosition(t[2]),a.source.end.offset++,this.semicolon=!0;break}if("{"===r){o=!0;break}if("}"===r){if(l.length>0){for(n=l[i=l.length-1];n&&"space"===n[0];)n=l[--i];n&&(a.source.end=this.getPosition(n[3]||n[2]),a.source.end.offset++)}this.end(t);break}l.push(t)}else l.push(t);if(this.tokenizer.endOfFile()){s=!0;break}}a.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(a.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(a,"params",l),s&&(t=l[l.length-1],a.source.end=this.getPosition(t[3]||t[2]),a.source.end.offset++,this.spaces=a.raws.between,a.raws.between="")):(a.raws.afterName="",a.params=""),o&&(a.nodes=[],this.current=a)}checkMissedSemicolon(e){var t=this.colon(e);if(!1!==t){for(var r,n=0,i=t-1;i>=0&&("space"===(r=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}}colon(e){var t,r,n,i=0;for(var a of e.entries()){var s=a[0];if("("===(n=(r=a[1])[0])&&(i+=1),")"===n&&(i-=1),0===i&&":"===n){if(t){if("word"===t[0]&&"progid"===t[1])continue;return s}this.doubleColon(r)}t=r}return!1}comment(e){var r=new t;this.init(r,e[2]),r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++;var n=e[1].slice(2,-2);if(n.trim()){var i=n.match(/^(\s*)([^]*\S)(\s*)$/);r.text=i[2],r.raws.left=i[1],r.raws.right=i[3]}else r.text="",r.raws.left=n,r.raws.right=""}createTokenizer(){this.tokenizer=a(this.input)}decl(e,t){var n=new r;this.init(n,e[0][2]);var i=e[e.length-1];";"===i[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||function(e){for(var t=e.length-1;t>=0;t--){var r=e[t],n=r[3]||r[2];if(n)return n}}(e)),n.source.end.offset++;for(var a=0;"word"!==e[a][0];)a===e.length-1&&this.unknownWord([e[a]]),a++;n.raws.before+=o(e,0,a),n.source.start=this.getPosition(e[a][2]);for(var s=a;a<e.length;){var l=e[a][0];if(":"===l||"space"===l||"comment"===l)break;a++}n.prop=o(e,s,a);for(var u,c=a;a<e.length&&(u=e[a],a++,":"!==u[0]);)"word"===u[0]&&/\w/.test(u[1])&&this.unknownWord([u]);n.raws.between=o(e,c,a),"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));for(var d=a;a<e.length;){var h=e[a][0];if("space"!==h&&"comment"!==h)break;a++}var p=e.slice(d,a);e=e.slice(a),this.precheckMissedSemicolon(e);for(var f=e.length-1;f>=0;f--){if("!important"===(u=e[f])[1].toLowerCase()){n.important=!0;var m=this.stringFrom(e,f);" !important"!==(m=this.spacesFromEnd(e)+m)&&(n.raws.important=m);break}if("important"===u[1].toLowerCase()){for(var v=e.slice(0),g="",y=f;y>0;y--){var w=v[y][0];if(g.trim().startsWith("!")&&"space"!==w)break;g=v.pop()[1]+g}g.trim().startsWith("!")&&(n.important=!0,n.raws.important=g,e=v)}if("space"!==u[0]&&"comment"!==u[0])break}var b=e.some((e=>"space"!==e[0]&&"comment"!==e[0]));b&&(n.raws.between+=p.map((e=>e[1])).join(""),p=[]),this.raw(n,"value",p.concat(e),t),n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){var t=new i;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}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(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="",t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){for(var t=!1,r=null,n=!1,i=null,a=[],s=e[1].startsWith("--"),o=[],l=e;l;){if(r=l[0],o.push(l),"("===r||"["===r)i||(i=l),a.push("("===r?")":"]");else if(s&&n&&"{"===r)i||(i=l),a.push("}");else if(0===a.length){if(";"===r){if(n)return void this.decl(o,s);break}if("{"===r)return void this.rule(o);if("}"===r){this.tokenizer.back(o.pop()),t=!0;break}":"===r&&(n=!0)}else r===a[a.length-1]&&(a.pop(),0===a.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),a.length>0&&this.unclosedBracket(i),t&&n){if(!s)for(;o.length&&("space"===(l=o[o.length-1][0])||"comment"===l);)this.tokenizer.back(o.pop());this.decl(o,s)}else this.unknownWord(o)}parse(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,n){for(var i,a,o,l,u=r.length,c="",d=!0,h=0;h<u;h+=1)"space"!==(a=(i=r[h])[0])||h!==u-1||n?"comment"===a?(l=r[h-1]?r[h-1][0]:"empty",o=r[h+1]?r[h+1][0]:"empty",s[l]||s[o]||","===c.slice(-1)?d=!1:c+=i[1]):c+=i[1]:d=!1;if(!d){var p=r.reduce(((e,t)=>e+t[1]),"");e.raws[t]={raw:p,value:c}}e[t]=c}rule(e){e.pop();var t=new i;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){for(var t,r="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t}stringFrom(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r}unclosedBlock(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word "+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}},St}function Yt(){if(Mt)return Ct;Mt=1;var e=st(),t=dt(),r=Jt();function n(e,n){var i=new t(e,n),a=new r(i);try{a.parse()}catch(e){throw"production"!==process.env.NODE_ENV&&"CssSyntaxError"===e.name&&n&&n.from&&(/\.scss$/i.test(n.from)?e.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(n.from)?e.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(n.from)&&(e.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),e}return a.root}return Ct=n,n.default=n,e.registerParse(n),Ct}function Zt(){if(Ot)return It;Ot=1;class e{constructor(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var 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(var n in t)this[n]=t[n]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return It=e,e.default=e,It}function Qt(){if(Et)return xt;Et=1;var e=Zt();class t{get content(){return this.css}constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css="",this.map=void 0}toString(){return this.css}warn(t,r){void 0===r&&(r={}),r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);var n=new e(t,r);return this.messages.push(n),n}warnings(){return this.messages.filter((e=>"warning"===e.type))}}return xt=t,t.default=t,xt}function Xt(){if(Nt)return Rt;Nt=1;var e={};return Rt=function(t){e[t]||(e[t]=!0,"undefined"!=typeof console&&console.warn&&console.warn(t))}}function _t(){if(Tt)return At;Tt=1;var e=st(),n=lt(),i=Kt(),a=Yt(),s=Qt(),o=ht(),l=Re(),u=rt(),c=u.isClean,d=u.my,h=Xt(),p={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},f={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},m={Once:!0,postcssPlugin:!0,prepare:!0},v=0;function g(e){return"object"==typeof e&&"function"==typeof e.then}function y(e){var t=!1,r=p[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,v,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,v,r+"Exit"]:[r,r+"Exit"]}function w(e){return{eventIndex:0,events:"document"===e.type?["Document",v,"DocumentExit"]:"root"===e.type?["Root",v,"RootExit"]:y(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function b(e){return e[c]=!1,e.nodes&&e.nodes.forEach((e=>b(e))),e}var S={};class k{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"}constructor(t,n,i){var o;if(this.stringified=!1,this.processed=!1,"object"!=typeof n||null===n||"root"!==n.type&&"document"!==n.type)if(n instanceof k||n instanceof s)o=b(n.root),n.map&&(void 0===i.map&&(i.map={}),i.map.inline||(i.map.inline=!1),i.map.prev=n.map);else{var l=a;i.syntax&&(l=i.syntax.parse),i.parser&&(l=i.parser),l.parse&&(l=l.parse);try{o=l(n,i)}catch(e){this.processed=!0,this.error=e}o&&!o[d]&&e.rebuild(o)}else o=b(n);this.result=new s(t,o,i),this.helpers=r({},S,{postcss:S,result:this.result}),this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?r({},e,e.prepare(this.result)):e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(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){var r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(r.postcssVersion&&"production"!==process.env.NODE_ENV){var n=r.postcssPlugin,i=r.postcssVersion,a=this.result.processor.version,s=i.split("."),o=a.split(".");(s[0]!==o[0]||parseInt(s[1])>parseInt(o[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+a+", but "+n+" uses "+i+". Perhaps this is the source of the error below.")}}else e.plugin=r.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};var e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(var t of this.plugins)if("object"==typeof t)for(var r in t){if(!f[r]&&/^[A-Z]/.test(r))throw new Error("Unknown event "+r+" in "+t.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!m[r])if("object"==typeof t[r])for(var n in t[r])e(t,"*"===n?r:r+"-"+n.toLowerCase(),t[r][n]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}runAsync(){var e=this;return t((function*(){e.plugin=0;for(var t=0;t<e.plugins.length;t++){var r=e.plugins[t],n=e.runOnRoot(r);if(g(n))try{yield n}catch(t){throw e.handleError(t)}}if(e.prepareVisitors(),e.hasListener){for(var i=e.result.root;!i[c];){i[c]=!0;for(var a=[w(i)];a.length>0;){var s=e.visitTick(a);if(g(s))try{yield s}catch(t){var o=a[a.length-1].node;throw e.handleError(t,o)}}}if(e.listeners.OnceExit){var l=function*(){var t=u[0],r=u[1];e.result.lastPlugin=t;try{if("document"===i.type){var n=i.nodes.map((t=>r(t,e.helpers)));yield Promise.all(n)}else yield r(i,e.helpers)}catch(t){throw e.handleError(t)}};for(var u of e.listeners.OnceExit)yield*l()}}return e.processed=!0,e.stringify()}))()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){var t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return g(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(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=!0,this.sync();var e=this.result.opts,t=l;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=this.result.root.source;if(void 0===e.map&&!(r&&r.input&&r.input.map)){var n="";return t(this.result.root,(e=>{n+=e})),this.result.css=n,this.result}var a=new i(t,this.result.root,this.result.opts).generate();return this.result.css=a[0],this.result.map=a[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var e of this.plugins)if(g(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){for(var t=this.result.root;!t[c];)t[c]=!0,this.walkSync(t);if(this.listeners.OnceExit)if("document"===t.type)for(var r of t.nodes)this.visitSync(this.listeners.OnceExit,r);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(e,t){return"production"!==process.env.NODE_ENV&&("from"in this.opts||h("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(var r of e){var n=r[0],i=r[1];this.result.lastPlugin=n;var a=void 0;try{a=i(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(g(a))throw this.getAsyncError()}}visitTick(e){var t=e[e.length-1],r=t.node,n=t.visitors;if("root"===r.type||"document"===r.type||r.parent){if(n.length>0&&t.visitorIndex<n.length){var i=n[t.visitorIndex],a=i[0],s=i[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=a;try{return s(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){for(var o,l=t.iterator;o=r.nodes[r.indexes[l]];)if(r.indexes[l]+=1,!o[c])return o[c]=!0,void e.push(w(o));t.iterator=0,delete r.indexes[l]}for(var u=t.events;t.eventIndex<u.length;){var d=u[t.eventIndex];if(t.eventIndex+=1,d===v)return void(r.nodes&&r.nodes.length&&(r[c]=!0,t.iterator=r.getIterator()));if(this.listeners[d])return void(t.visitors=this.listeners[d])}e.pop()}else e.pop()}walkSync(e){e[c]=!0;var t=y(e);for(var r of t)if(r===v)e.nodes&&e.each((e=>{e[c]||this.walkSync(e)}));else{var n=this.listeners[r];if(n&&this.visitSync(n,e.toProxy()))return}}warnings(){return this.sync().warnings()}}return k.registerPostcss=e=>{S=e},At=k,k.default=k,o.registerLazyResult(k),n.registerLazyResult(k),At}function $t(){if(jt)return Bt;jt=1;var e=ot(),t=it(),i=st(),a=xe(),s=at(),o=lt(),l=function(){if(vt)return mt;vt=1;var e=ot(),t=it(),i=at(),a=dt(),s=ct(),o=ht(),l=ft();function u(c,d){if(Array.isArray(c))return c.map((e=>u(e)));var h,p,f=c.inputs,m=n(c,qt);if(f)for(var v of(d=[],f)){var g=r({},v,{__proto__:a.prototype});g.map&&(g.map=r({},g.map,{__proto__:s.prototype})),d.push(g)}if(m.nodes&&(h=c.nodes.map((e=>u(e,d))),delete m.nodes),m.source){var y=m.source,w=y.inputId,b=n(y,Gt);m.source=b,null!=w&&(m.source.input=d[w])}if("root"===m.type)p=new o(m);else if("decl"===m.type)p=new i(m);else if("rule"===m.type)p=new l(m);else if("comment"===m.type)p=new t(m);else{if("atrule"!==m.type)throw new Error("Unknown node type: "+c.type);p=new e(m)}if(h)for(var S of(p.nodes=h,h))S.parent=p;return p}return mt=u,u.default=u,mt}(),u=dt(),c=_t(),d=pt(),h=nt(),p=Yt(),f=function(){if(Pt)return Ft;Pt=1;var e=lt(),t=_t(),r=function(){if(Lt)return Dt;Lt=1;var e=Kt(),t=Yt(),r=Qt(),n=Re(),i=Xt();class a{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;var e,r=t;try{e=r(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(t,i,a){i=i.toString(),this.stringified=!1,this._processor=t,this._css=i,this._opts=a,this._map=void 0;var s=n;this.result=new r(this._processor,void 0,this._opts),this.result.css=i;var o=this;Object.defineProperty(this.result,"root",{get:()=>o.root});var l=new e(s,void 0,this._opts,i);if(l.isMap()){var u=l.generate(),c=u[0],d=u[1];c&&(this.result.css=c),d&&(this.result.map=d)}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"production"!==process.env.NODE_ENV&&("from"in this._opts||i("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[]}}return Dt=a,a.default=a,Dt}(),n=ht();class i{constructor(e){void 0===e&&(e=[]),this.version="8.5.16",this.plugins=this.normalize(e)}normalize(e){var t=[];for(var r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else{if("object"!=typeof r||!r.parse&&!r.stringify)throw new Error(r+" is not a PostCSS plugin");if("production"!==process.env.NODE_ENV)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.")}return t}process(e,n){return void 0===n&&(n={}),this.plugins.length||n.parser||n.stringifier||n.syntax?new t(this,e,n):new r(this,e,n)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}return Ft=i,i.default=i,n.registerProcessor(i),e.registerProcessor(i),Ft}(),m=Qt(),v=ht(),g=ft(),y=Re(),w=Zt();function b(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new f(t)}return b.plugin=function(e,t){var r,n=!1;function i(){console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));var r=t(...arguments);return r.postcssPlugin=e,r.postcssVersion=(new f).version,r}return Object.defineProperty(i,"postcss",{get:()=>(r||(r=i()),r)}),i.process=function(e,t,r){return b([i(r)]).process(e,t)},i},b.stringify=y,b.parse=p,b.fromJSON=l,b.list=d,b.comment=e=>new t(e),b.atRule=t=>new e(t),b.decl=e=>new s(e),b.rule=e=>new g(e),b.root=e=>new v(e),b.document=e=>new o(e),b.CssSyntaxError=a,b.Declaration=s,b.Container=i,b.Processor=f,b.Document=o,b.Comment=t,b.Warning=w,b.AtRule=e,b.Result=m,b.Input=u,b.Rule=g,b.Root=v,b.Node=h,c.registerPostcss(b),Bt=b,b.default=b,Bt}!function(){if(Wt)return Ut;Wt=1;var e=$t().Input,t=function(){if(Ht)return zt;Ht=1;var e=it(),t=Jt(),r=Vt();return zt=class extends t{checkMissedSemicolon(){}comment(t){var r=new e;this.init(r,t[2]);var n=this.input.fromOffset(t[3])||this.input.fromOffset(this.input.css.length-1);r.source.end={column:n.col,line:n.line,offset:t[3]+1};var i=t[1].slice(2);if("*/"===i.slice(-2)&&(i=i.slice(0,-2)),/^\s*$/.test(i))r.text="",r.raws.left=i,r.raws.right="";else{var a=i.match(/^(\s*)([^]*\S)(\s*)$/);r.text=a[2],r.raws.left=a[1],r.raws.right=a[3]}}createTokenizer(){this.tokenizer=r(this.input,{ignoreErrors:!0})}decl(e){e.length>1&&e.some((e=>"word"===e[0]))&&super.decl(e)}doubleColon(){}endFile(){for(this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.current.parent;)this.current=this.current.parent,this.current.raws.after="";this.root.source.end=this.getPosition(this.tokenizer.position())}precheckMissedSemicolon(e){var t=this.colon(e);if(!1!==t){var r,n;for(r=t-1;r>=0&&"word"!==e[r][0];r--);if(!(0===r||r<0)){for(n=r-1;n>=0;n--)if("space"!==e[n][0]){n+=1;break}var i=e.slice(r),a=e.slice(n,r);e.splice(n,e.length-n),this.spaces=a.map((e=>e[1])).join(""),this.decl(i)}}}unclosedBracket(){}unexpectedClose(){this.current.raws.after+="}"}unknownWord(e){this.spaces+=e.map((e=>e[1])).join("")}unnamedAtrule(e){e.name=""}},zt}();Ut=function(r,n){var i=new e(r,n),a=new t(i);return a.parse(),a.root}}();var er=me($t());er.stringify,er.fromJSON,er.plugin,er.parse,er.list,er.document,er.comment,er.atRule,er.rule,er.decl,er.root,er.CssSyntaxError,er.Declaration,er.Container,er.Processor,er.Document,er.Comment,er.Warning,er.AtRule,er.Result,er.Input,er.Rule,er.Root,er.Node;class tr{constructor(){this.parentElement=null,this.parentNode=null,this.ownerDocument=void 0,this.firstChild=null,this.lastChild=null,this.previousSibling=null,this.nextSibling=null,this.ELEMENT_NODE=rr.ELEMENT_NODE,this.TEXT_NODE=rr.TEXT_NODE,this.nodeType=void 0,this.nodeName=void 0,this.RRNodeType=void 0}get childNodes(){for(var e=[],t=this.firstChild;t;)e.push(t),t=t.nextSibling;return e}contains(e){if(!(e instanceof tr))return!1;if(e.ownerDocument!==this.ownerDocument)return!1;if(e===this)return!0;for(;e.parentNode;){if(e.parentNode===this)return!0;e=e.parentNode}return!1}appendChild(e){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")}insertBefore(e,t){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")}removeChild(e){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")}toString(){return"RRNode"}}var rr=function(e){return e[e.PLACEHOLDER=0]="PLACEHOLDER",e[e.ELEMENT_NODE=1]="ELEMENT_NODE",e[e.ATTRIBUTE_NODE=2]="ATTRIBUTE_NODE",e[e.TEXT_NODE=3]="TEXT_NODE",e[e.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",e[e.ENTITY_REFERENCE_NODE=5]="ENTITY_REFERENCE_NODE",e[e.ENTITY_NODE=6]="ENTITY_NODE",e[e.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",e[e.COMMENT_NODE=8]="COMMENT_NODE",e[e.DOCUMENT_NODE=9]="DOCUMENT_NODE",e[e.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",e[e.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE",e}({});function nr(e,t,r){void 0===r&&(r=document);var n={capture:!0,passive:!0};return r.addEventListener(e,t,n),()=>ir(r,e,t,n)}function ir(e,t,r,n){ar((()=>{var i=e.removeEventListener;"function"==typeof i&&(void 0!==n?i.call(e,t,r,n):i.call(e,t,r))}))}function ar(e){try{e()}catch(e){if(!(e instanceof DOMException&&"SecurityError"===e.name))throw e}}var sr="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",or={map:{},getId:()=>(console.error(sr),-1),getNode:()=>(console.error(sr),null),removeNodeFromMap(){console.error(sr)},has:()=>(console.error(sr),!1),reset(){console.error(sr)}};function lr(e,t,r){void 0===r&&(r={});var n=null,i=0;return function(){for(var a=arguments.length,s=new Array(a),o=0;o<a;o++)s[o]=arguments[o];var l=Date.now();i||!1!==r.leading||(i=l);var u=t-(l-i),c=this;u<=0||u>t?(n&&(clearTimeout(n),n=null),i=l,e.apply(c,s)):n||!1===r.trailing||(n=setTimeout((()=>{i=!1===r.leading?0:Date.now(),n=null,e.apply(c,s)}),u))}}function ur(e,t,r,n,i){void 0===i&&(i=window);var a=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,n?r:{set(e){if(setTimeout((()=>{try{r.set.call(this,e)}catch(e){}}),0),a&&a.set){if(a.get)try{a.get.call(this)}catch(e){return}a.set.call(this,e)}}}),()=>ur(e,t,a||{},!0)}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(or=new Proxy(or,{get:(e,t,r)=>("map"===t&&console.error(sr),Reflect.get(e,t,r))}));var cr=Date.now;function dr(e){var t,r,n,i,a=e.document;return{left:a.scrollingElement?a.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:a.documentElement.scrollLeft||(null==a?void 0:a.body)&&(null==(t=O.parentElement(a.body))?void 0:t.scrollLeft)||(null==a||null==(r=a.body)?void 0:r.scrollLeft)||0,top:a.scrollingElement?a.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:(null==a?void 0:a.documentElement.scrollTop)||(null==a?void 0:a.body)&&(null==(n=O.parentElement(a.body))?void 0:n.scrollTop)||(null==a||null==(i=a.body)?void 0:i.scrollTop)||0}}function hr(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function pr(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function fr(e){return e?e.nodeType===e.ELEMENT_NODE?e:O.parentElement(e):null}function mr(e,t,r,n){if(!e)return!1;var i=fr(e),a=n;if(!i){var s=O.getRootNode(e);if(!E(s))return!1;i=O.host(s),a=!0}for(;i;){try{if("string"==typeof t){if(i.classList.contains(t))return!0;if(a&&null!==i.closest("."+t))return!0}else if(ie(i,t,a))return!0}catch(e){}if(r){if(i.matches(r))return!0;if(a&&null!==i.closest(r))return!0}var o=O.getRootNode(i);if(!E(o))return!1;i=O.host(o),a=!0}return!1}function vr(e,t,r){return!("TITLE"!==e.tagName||!r.headTitleMutations)||t.getId(e)===Y}function gr(e,t){if(E(e))return!1;var r=t.getId(e);if(!t.has(r))return!0;var n=O.parentNode(e);return(!n||n.nodeType!==e.DOCUMENT_NODE)&&(!n||gr(n,t))}function yr(e){return Boolean(e.changedTouches)}function wr(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function br(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function Sr(e){return!!e&&(e instanceof tr&&"shadowRoot"in e?Boolean(e.shadowRoot):Boolean(O.shadowRoot(e)))}/[1-9][0-9]{12}/.test(Date.now().toString())||(cr=()=>(new Date).getTime());class kr{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){var t;return null!=(t=this.styleIDMap.get(e))?t:-1}has(e){return this.styleIDMap.has(e)}add(e,t){return this.has(e)?this.getId(e):(r=void 0===t?this.id++:t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r);var 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 Cr(e){var t,r=null;return"getRootNode"in e&&(null==(t=O.getRootNode(e))?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&O.host(O.getRootNode(e))&&(r=O.host(O.getRootNode(e))),r}function Mr(e){var t=e.ownerDocument;return!!t&&(O.contains(t,e)||function(e){var t=e.ownerDocument;if(!t)return!1;var r=function(e){for(var t,r=e;t=Cr(r);)r=t;return r}(e);return O.contains(t,r)}(e))}function Ir(e){return"__ln"in e}class Or{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");for(var t=this.head,r=0;r<e;r++){var n;t=(null==(n=t)?void 0:n.next)||null}return t}addNode(e){var t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&Ir(e.previousSibling)){var 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&&Ir(e.nextSibling)&&e.nextSibling.__ln.previous){var n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){var 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--)}}var xr,Er=(e,t)=>e+"@"+t;class Rr{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.removesSubTreeCache=new Set,this.mutationCb=void 0,this.blockClass=void 0,this.blockSelector=void 0,this.maskTextClass=void 0,this.maskTextSelector=void 0,this.inlineStylesheet=void 0,this.maskInputOptions=void 0,this.maskTextFn=void 0,this.maskInputFn=void 0,this.keepIframeSrcFn=void 0,this.recordCanvas=void 0,this.canvasMaskingConfigured=void 0,this.inlineImages=void 0,this.slimDOMOptions=void 0,this.dataURLOptions=void 0,this.doc=void 0,this.mirror=void 0,this.iframeManager=void 0,this.stylesheetManager=void 0,this.shadowDomManager=void 0,this.canvasManager=void 0,this.processedNodeManager=void 0,this.unattachedDoc=void 0,this.canvasManagerReleased=!1,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(!this.frozen&&!this.locked){for(var e=[],t=new Set,r=new Or,n=e=>{for(var t=e,r=Y;r===Y;)r=(t=t&&t.nextSibling)&&this.mirror.getId(t);return r},i=i=>{var a=O.parentNode(i);if(a&&Mr(i)&&"TEXTAREA"!==a.tagName){var s=E(a)?this.mirror.getId(Cr(i)):this.mirror.getId(a),o=n(i);if(-1===s||-1===o)return r.addNode(i);var l=pe(i,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,canvasMaskingConfigured:this.canvasMaskingConfigured,inlineImages:this.inlineImages,onSerialize:e=>{wr(e,this.mirror)&&this.iframeManager.addIframe(e),br(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),Sr(i)&&this.shadowDomManager.addShadowRoot(O.shadowRoot(i),this.doc)},onIframeLoad:(e,t)=>{this.iframeManager.attachIframe(e,t),this.shadowDomManager.observeAttachShadow(e)},onIframeListenerRegistered:(e,t)=>{this.iframeManager.registerLoadListenerDisposer(e,t)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)}});l&&(e.push({parentId:s,nextId:o,node:l}),t.add(l.id))}};this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(var a of this.movedSet)Ar(this.removesSubTreeCache,a,this.mirror)&&!this.movedSet.has(O.parentNode(a))||i(a);for(var s of this.addedSet)Tr(this.droppedSet,s)||Ar(this.removesSubTreeCache,s,this.mirror)?Tr(this.movedSet,s)?i(s):this.droppedSet.add(s):i(s);for(var o=null;r.length;){var l=null;if(o){var u=this.mirror.getId(O.parentNode(o.value)),c=n(o.value);-1!==u&&-1!==c&&(l=o)}if(!l)for(var d=r.tail;d;){var h=d;if(d=d.previous,h){var p=this.mirror.getId(O.parentNode(h.value));if(-1===n(h.value))continue;if(-1!==p){l=h;break}var f=h.value,m=O.parentNode(f);if(m&&m.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var v=O.host(m);if(-1!==this.mirror.getId(v)){l=h;break}}}}if(!l){for(;r.head;)r.removeNode(r.head.value);break}o=l.previous,r.removeNode(l.value),i(l.value)}var g={texts:this.texts.map((e=>{var t=e.node,r=O.parentNode(t);return r&&"TEXTAREA"===r.tagName&&this.genTextAreaValueMutation(r),{id:this.mirror.getId(t),value:e.value}})).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),attributes:this.attributes.map((e=>{var t=e.attributes;if("string"==typeof t.style){var r=JSON.stringify(e.styleDiff),n=JSON.stringify(e._unchangedStyles);r.length<t.style.length&&(r+n).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}})).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),removes:this.removes,adds:e};(g.texts.length||g.attributes.length||g.removes.length||g.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(g))}},this.bufferBelongsToIframe=e=>this.doc===e.contentDocument,this.genTextAreaValueMutation=e=>{var t=this.attributeMap.get(e);t||(t={node:e,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(t),this.attributeMap.set(e,t));var r=Array.from(O.childNodes(e),(e=>O.textContent(e)||"")).join("");t.attributes.value=D({element:e,maskInputOptions:this.maskInputOptions,tagName:e.tagName,type:P(e),value:r,maskInputFn:this.maskInputFn})},this.processMutation=e=>{if(!vr(e.target,this.mirror,this.slimDOMOptions))switch(e.type){case"characterData":var t=O.textContent(e.target);mr(e.target,this.blockClass,this.blockSelector,!1)||t===e.oldValue||this.texts.push({value:ae(e.target,this.maskTextClass,this.maskTextSelector,!0)&&t?this.maskTextFn?this.maskTextFn(t,fr(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break;case"attributes":var r=e.target,n=e.attributeName,i=e.target.getAttribute(n);if("value"===n){var a=P(r);i=D({element:r,maskInputOptions:this.maskInputOptions,tagName:r.tagName,type:a,value:i,maskInputFn:this.maskInputFn})}if(mr(e.target,this.blockClass,this.blockSelector,!1)||i===e.oldValue)return;var s=this.attributeMap.get(e.target);if("IFRAME"===r.tagName&&"src"===n&&!this.keepIframeSrcFn(i)){if(r.contentDocument)return;n="rr_src"}if(s||(s={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(s),this.attributeMap.set(e.target,s)),"type"===n&&"INPUT"===r.tagName&&"password"===(e.oldValue||"").toLowerCase()&&r.setAttribute("data-rr-is-password","true"),!ne(r.tagName,n))if(s.attributes[n]=re(this.doc,L(r.tagName),L(n),i,r,this.dataURLOptions),"style"===n){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}var o=this.unattachedDoc.createElement("span");for(var l of(e.oldValue&&(o.style.cssText=e.oldValue),Array.from(r.style))){var u=r.style.getPropertyValue(l),c=r.style.getPropertyPriority(l);u!==o.style.getPropertyValue(l)||c!==o.style.getPropertyPriority(l)?s.styleDiff[l]=""===c?u:[u,c]:s._unchangedStyles[l]=[u,c]}for(var d of Array.from(o.style))""===r.style.getPropertyValue(d)&&(s.styleDiff[d]=!1)}else"open"===n&&"DIALOG"===r.tagName&&(r.matches("dialog:modal")?s.attributes.rr_open_mode="modal":s.attributes.rr_open_mode="non-modal");break;case"childList":if(mr(e.target,this.blockClass,this.blockSelector,!0))return;if("TEXTAREA"===e.target.tagName)return void this.genTextAreaValueMutation(e.target);e.addedNodes.forEach((t=>this.genAdds(t,e.target))),e.removedNodes.forEach((t=>{var r=this.mirror.getId(t),n=E(e.target)?this.mirror.getId(O.host(e.target)):this.mirror.getId(e.target);mr(e.target,this.blockClass,this.blockSelector,!1)||vr(t,this.mirror,this.slimDOMOptions)||!function(e,t){return-1!==t.getId(e)}(t,this.mirror)||(this.addedSet.has(t)?(Nr(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===r||gr(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[Er(r,n)]?Nr(this.movedSet,t):(this.removes.push({parentId:n,id:r,isShadow:!(!E(e.target)||!R(e.target))||void 0}),function(e,t){for(var r=[e];r.length;){var n=r.pop();t.has(n)||(t.add(n),O.childNodes(n).forEach((e=>r.push(e))))}}(t,this.removesSubTreeCache))),this.mapRemoves.push(t))}))}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)){if(this.addedSet.has(e))return this.addedSet.delete(e),void this.addedSet.add(e);if(!this.movedSet.has(e)){if(this.mirror.hasNode(e)){if(vr(e,this.mirror,this.slimDOMOptions))return;this.movedSet.add(e);var r=null;t&&this.mirror.hasNode(t)&&(r=this.mirror.getId(t)),r&&-1!==r&&(this.movedMap[Er(this.mirror.getId(e),r)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);mr(e,this.blockClass,this.blockSelector,!1)||(O.childNodes(e).forEach((e=>this.genAdds(e))),Sr(e)&&O.childNodes(O.shadowRoot(e)).forEach((t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)})))}}}}init(e){["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","canvasMaskingConfigured","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach((t=>{this[t]=e[t]})),this.canvasManager.acquire()}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.releaseCanvasManager()}releaseCanvasManager(){this.canvasManagerReleased||(this.canvasManagerReleased=!0,this.canvasManager.reset())}bufferDoc(){return this.doc}destroy(){for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift())}}function Nr(e,t){e.delete(t),O.childNodes(t).forEach((t=>Nr(e,t)))}function Ar(e,t,r){return 0!==e.size&&function(e,t,r){var n=O.parentNode(t);return!!n&&e.has(n)}(e,t)}function Tr(e,t){return 0!==e.size&&Dr(e,t)}function Dr(e,t){var r=O.parentNode(t);return!!r&&(!!e.has(r)||Dr(e,r))}function Lr(e){xr=e}function Fr(){xr=void 0}var Pr=e=>xr?function(){try{return e(...arguments)}catch(e){if(xr&&!0===xr(e))return;throw e}}:e,Br=[];function jr(e){try{if("composedPath"in e){var t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function zr(e,t){var r=s(),n=new Rr;Br.push(n),r.add((()=>{var e=Br.indexOf(n);-1!==e&&Br.splice(e,1)})),r.add((()=>n.destroy())),r.add((()=>n.reset()));try{n.init(e);var i=new(M())(Pr(n.processMutations.bind(n)));r.add((()=>i.disconnect()));var a={attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0};return e.attributeFilter&&e.attributeFilter.length>0&&(a.attributeFilter=e.attributeFilter),i.observe(t,a),{observer:i,buffer:n}}catch(e){throw r.close(),e}}function Hr(e){var t=e.scrollCb,r=e.doc,n=e.mirror,i=e.blockClass,a=e.blockSelector,s=e.sampling,l=!0,u=new Map,c=e=>{if(l){var s=jr(e);if(s&&!mr(s,i,a,!0)){var o,c,d=n.getId(s);if(s===r&&r.defaultView){var h=dr(r.defaultView);o=h.left,c=h.top}else o=s.scrollLeft,c=s.scrollTop;var p=o+","+c;u.get(d)!==p&&(u.set(d,p),t({id:d,x:o,y:c}))}}},d=Pr(lr(Pr((e=>c(e))),s.scroll||100));return o((e=>{e.add((()=>{l=!1})),e.add(nr("scroll",d,r)),"onscrollend"in r&&e.add(nr("scrollend",Pr(c),r))}))}function Ur(e,t){for(var r=Br.length-1;r>=0;r--){var n=Br[r];if(n){var i=n.bufferBelongsToIframe(e);!i&&t&&t.has(n.bufferDoc())&&(i=!0),i&&(n.reset(),Br.splice(r,1))}}}var Wr=["INPUT","TEXTAREA","SELECT"],qr=new WeakMap;function Gr(e){return function e(t,r){if(Yr("CSSGroupingRule")&&t.parentRule instanceof CSSGroupingRule||Yr("CSSMediaRule")&&t.parentRule instanceof CSSMediaRule||Yr("CSSSupportsRule")&&t.parentRule instanceof CSSSupportsRule||Yr("CSSConditionRule")&&t.parentRule instanceof CSSConditionRule){var n=Array.from(t.parentRule.cssRules).indexOf(t);return r.unshift(n),e(t.parentRule,r)}if(t.parentStyleSheet){var i=Array.from(t.parentStyleSheet.cssRules).indexOf(t);r.unshift(i)}return r}(e,[])}function Kr(e,t,r){var n,i;return e?(e.ownerNode?n=t.getId(e.ownerNode):i=r.getId(e),{styleId:i,id:n}):{}}function Vr(e,t){var r,n,i,a=e.mirror,s=e.stylesheetManager;i="#document"===t.nodeName?a.getId(t):a.getId(O.host(t));var o="#document"===t.nodeName?null==(r=t.defaultView)?void 0:r.Document:null==(n=t.ownerDocument)||null==(n=n.defaultView)?void 0:n.ShadowRoot,l=null!=o&&o.prototype?Object.getOwnPropertyDescriptor(null==o?void 0:o.prototype,"adoptedStyleSheets"):void 0;return null!==i&&-1!==i&&o&&l?(Object.defineProperty(t,"adoptedStyleSheets",{configurable:l.configurable,enumerable:l.enumerable,get(){var e;return null==(e=l.get)?void 0:e.call(this)},set(e){var t;try{var r;t=null==(r=l.set)?void 0:r.call(this,e)}catch(e){if(e&&"object"==typeof e&&"NotAllowedError"===e.name)return;throw e}if(null!==i&&-1!==i)try{s.adoptStyleSheets(e,i)}catch(e){}return t}}),Pr((()=>{Object.defineProperty(t,"adoptedStyleSheets",{configurable:l.configurable,enumerable:l.enumerable,get:l.get,set:l.set})}))):()=>{}}function Jr(e,t){void 0===t&&(t={});var n=e.doc.defaultView;return n?(function(e,t){var r=e.mutationCb,n=e.mousemoveCb,i=e.mouseInteractionCb,a=e.scrollCb,s=e.viewportResizeCb,o=e.inputCb,l=e.mediaInteractionCb,u=e.styleSheetRuleCb,c=e.styleDeclarationCb,d=e.canvasMutationCb,h=e.fontCb,p=e.selectionCb,f=e.customElementCb;e.mutationCb=function(){t.mutation&&t.mutation(...arguments),r(...arguments)},e.mousemoveCb=function(){t.mousemove&&t.mousemove(...arguments),n(...arguments)},e.mouseInteractionCb=function(){t.mouseInteraction&&t.mouseInteraction(...arguments),i(...arguments)},e.scrollCb=function(){t.scroll&&t.scroll(...arguments),a(...arguments)},e.viewportResizeCb=function(){t.viewportResize&&t.viewportResize(...arguments),s(...arguments)},e.inputCb=function(){t.input&&t.input(...arguments),o(...arguments)},e.mediaInteractionCb=function(){t.mediaInteaction&&t.mediaInteaction(...arguments),l(...arguments)},e.styleSheetRuleCb=function(){t.styleSheetRule&&t.styleSheetRule(...arguments),u(...arguments)},e.styleDeclarationCb=function(){t.styleDeclaration&&t.styleDeclaration(...arguments),c(...arguments)},e.canvasMutationCb=function(){t.canvasMutation&&t.canvasMutation(...arguments),d(...arguments)},e.fontCb=function(){t.font&&t.font(...arguments),h(...arguments)},e.selectionCb=function(){t.selection&&t.selection(...arguments),p(...arguments)},e.customElementCb=function(){t.customElement&&t.customElement(...arguments),f(...arguments)}}(e,t),o((t=>{if(t.add((()=>e.shadowDomManager.resetForDoc(e.doc))),e.recordDOM){var i=zr(e,e.doc),a=i.observer,s=i.buffer;t.add((()=>{var e=Br.indexOf(s);-1!==e&&Br.splice(e,1)})),t.add((()=>s.destroy())),t.add((()=>s.reset())),t.add((()=>a.disconnect()))}var l,h,f,m,v;for(var g of(t.add(function(e){var t=e.mousemoveCb,r=e.sampling,n=e.doc,i=e.mirror,a=!0;if(!1===r.mousemove)return()=>{};var s,l="number"==typeof r.mousemove?r.mousemove:50,c="number"==typeof r.mousemoveCallback?r.mousemoveCallback:500,d=[],h=lr(Pr((e=>{if(a){var r=Date.now()-s;t(d.map((e=>(e.timeOffset-=r,e))),e),d=[],s=null}})),c),p=Pr(lr(Pr((e=>{if(a){var t=jr(e),r=yr(e)?e.changedTouches[0]:e,n=r.clientX,o=r.clientY;s||(s=cr()),d.push({x:n,y:o,id:i.getId(t),timeOffset:cr()-s}),h("undefined"!=typeof DragEvent&&e instanceof DragEvent?u.Drag:e instanceof MouseEvent?u.MouseMove:u.TouchMove)}})),l,{trailing:!1}));return o((e=>{e.add((()=>{a=!1})),e.add(nr("mousemove",p,n)),e.add(nr("touchmove",p,n)),e.add(nr("drag",p,n))}))}(e)),t.add(function(e){var t=e.mouseInteractionCb,n=e.doc,i=e.mirror,a=e.blockClass,s=e.blockSelector,l=e.sampling,u=!0;if(!1===l.mouseInteraction)return()=>{};var h=!0===l.mouseInteraction||void 0===l.mouseInteraction?{}:l.mouseInteraction,p=null;return o((e=>{e.add((()=>{u=!1})),Object.keys(c).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==h[e])).forEach((o=>{var l=L(o),h=(e=>n=>{if(u){var o=jr(n);if(!mr(o,a,s,!0)){var l=null,h=e;if("pointerType"in n){switch(n.pointerType){case"mouse":l=d.Mouse;break;case"touch":l=d.Touch;break;case"pen":l=d.Pen}l===d.Touch?c[e]===c.MouseDown?h="TouchStart":c[e]===c.MouseUp&&(h="TouchEnd"):d.Pen}else yr(n)&&(l=d.Touch);null!==l?(p=l,(h.startsWith("Touch")&&l===d.Touch||h.startsWith("Mouse")&&l===d.Mouse)&&(l=null)):c[e]===c.Click&&(l=p,p=null);var f=yr(n)?n.changedTouches[0]:n;if(f){var m=i.getId(o),v=f.clientX,g=f.clientY;Pr(t)(r({type:c[h],id:m,x:v,y:g},null!==l&&{pointerType:l}))}}}})(o);if(window.PointerEvent)switch(c[o]){case c.MouseDown:case c.MouseUp:l=l.replace("mouse","pointer");break;case c.TouchStart:case c.TouchEnd:return}e.add(nr(l,h,n))}))}))}(e)),t.add(Hr(e)),t.add((l={win:n},h=e.viewportResizeCb,f=l.win,m=-1,v=-1,nr("resize",Pr(lr(Pr((()=>{var e=hr(),t=pr();m===e&&v===t||(h({width:Number(t),height:Number(e)}),m=e,v=t)})),200)),f))),t.add(function(e){var t=e.inputCb,n=e.doc,i=e.mirror,a=e.blockClass,s=e.blockSelector,l=e.ignoreClass,u=e.ignoreSelector,c=e.maskInputOptions,d=e.maskInputFn,h=e.sampling,p=e.userTriggeredOnInput,f=!0;function m(e){if(f){var t=jr(e),r=e.isTrusted,i=n.defaultView;if(!t||!i||t instanceof i.HTMLElement){var o=t&&t.tagName;if(t&&"OPTION"===o&&(t=O.parentElement(t)),t&&o&&!(Wr.indexOf(o)<0)&&!mr(t,a,s,!0)&&!(t.classList.contains(l)||u&&t.matches(u))){var h=t.value,m=!1,g=P(t)||"";"radio"===g||"checkbox"===g?m=t.checked:(c[o.toLowerCase()]||c[g])&&(h=D({element:t,maskInputOptions:c,tagName:o,type:g,value:h,maskInputFn:d})),v(t,p?{text:h,isChecked:m,userTriggered:r}:{text:h,isChecked:m});var y=t.name;"radio"===g&&y&&m&&n.querySelectorAll('input[type="radio"][name="'+y+'"]').forEach((e=>{if(e!==t){var r=e.value;v(e,p?{text:r,isChecked:!m,userTriggered:!1}:{text:r,isChecked:!m})}}))}}}}function v(e,n){var a=qr.get(e);if(!a||a.text!==n.text||a.isChecked!==n.isChecked){qr.set(e,n);var s=i.getId(e);Pr(t)(r({},n,{id:s}))}}return o((e=>{e.add((()=>{f=!1}));var t="last"===h.input?["change"]:["input","change"];for(var r of t)e.add(nr(r,Pr(m),n));var i=n.defaultView;if(i){var a=i.Object.getOwnPropertyDescriptor(i.HTMLInputElement.prototype,"value"),s=[[i.HTMLInputElement.prototype,"value"],[i.HTMLInputElement.prototype,"checked"],[i.HTMLSelectElement.prototype,"value"],[i.HTMLTextAreaElement.prototype,"value"],[i.HTMLSelectElement.prototype,"selectedIndex"],[i.HTMLOptionElement.prototype,"selected"]];if(a&&a.set){var o=function(t){var r=i.Object.getOwnPropertyDescriptor(t[0],t[1]);e.add((()=>{r?i.Object.defineProperty(t[0],t[1],r):Reflect.deleteProperty(t[0],t[1])})),ur(t[0],t[1],{set(){Pr(m)({target:this,isTrusted:!1})}},!1,i)};for(var l of s)o(l)}}}))}(e)),t.add(function(e){var t=e.mediaInteractionCb,r=e.blockClass,n=e.blockSelector,i=e.mirror,a=e.sampling,s=e.doc,l=!0,u=Pr((e=>lr(Pr((a=>{if(l){var s=jr(a);if(s&&!mr(s,r,n,!0)){var o=s,u=o.currentTime,c=o.volume,d=o.muted,h=o.playbackRate,p=o.loop;t({type:e,id:i.getId(s),currentTime:u,volume:c,muted:d,playbackRate:h,loop:p})}}})),a.media||500)));return o((e=>{e.add((()=>{l=!1})),e.add(nr("play",u(p.Play),s)),e.add(nr("pause",u(p.Pause),s)),e.add(nr("seeked",u(p.Seeked),s)),e.add(nr("volumechange",u(p.VolumeChange),s)),e.add(nr("ratechange",u(p.RateChange),s))}))}(e)),e.recordDOM&&(t.add(function(e,t){var r=e.styleSheetRuleCb,n=e.mirror,i=e.stylesheetManager,a=t.win;return a.CSSStyleSheet&&a.CSSStyleSheet.prototype?o((e=>{var t=a.CSSStyleSheet.prototype.insertRule;e.replace(a.CSSStyleSheet.prototype,"insertRule",new Proxy(t,{apply:Pr(((e,t,a)=>{var s=a[0],o=a[1],l=Kr(t,n,i.styleMirror),u=l.id,c=l.styleId;return(u&&-1!==u||c&&-1!==c)&&r({id:u,styleId:c,adds:[{rule:s,index:o}]}),e.apply(t,a)}))})),e.replace(a.CSSStyleSheet.prototype,"addRule",(function(e,t,r){void 0===r&&(r=this.cssRules.length);var n=e+" { "+t+" }";return a.CSSStyleSheet.prototype.insertRule.apply(this,[n,r])}));var s,o,l=a.CSSStyleSheet.prototype.deleteRule;e.replace(a.CSSStyleSheet.prototype,"deleteRule",new Proxy(l,{apply:Pr(((e,t,a)=>{var s=a[0],o=Kr(t,n,i.styleMirror),l=o.id,u=o.styleId;return(l&&-1!==l||u&&-1!==u)&&r({id:l,styleId:u,removes:[{index:s}]}),e.apply(t,a)}))})),e.replace(a.CSSStyleSheet.prototype,"removeRule",(function(e){return a.CSSStyleSheet.prototype.deleteRule.apply(this,[e])})),a.CSSStyleSheet.prototype.replace&&(s=a.CSSStyleSheet.prototype.replace,e.replace(a.CSSStyleSheet.prototype,"replace",new Proxy(s,{apply:Pr(((e,t,a)=>{var s=a[0],o=Kr(t,n,i.styleMirror),l=o.id,u=o.styleId;return(l&&-1!==l||u&&-1!==u)&&r({id:l,styleId:u,replace:s}),e.apply(t,a)}))}))),a.CSSStyleSheet.prototype.replaceSync&&(o=a.CSSStyleSheet.prototype.replaceSync,e.replace(a.CSSStyleSheet.prototype,"replaceSync",new Proxy(o,{apply:Pr(((e,t,a)=>{var s=a[0],o=Kr(t,n,i.styleMirror),l=o.id,u=o.styleId;return(l&&-1!==l||u&&-1!==u)&&r({id:l,styleId:u,replaceSync:s}),e.apply(t,a)}))})));var u={};Zr("CSSGroupingRule")?u.CSSGroupingRule=a.CSSGroupingRule:(Zr("CSSMediaRule")&&(u.CSSMediaRule=a.CSSMediaRule),Zr("CSSConditionRule")&&(u.CSSConditionRule=a.CSSConditionRule),Zr("CSSSupportsRule")&&(u.CSSSupportsRule=a.CSSSupportsRule));var c={};Object.entries(u).forEach((t=>{var a=t[0],s=t[1];c[a]={insertRule:s.prototype.insertRule,deleteRule:s.prototype.deleteRule},e.replace(s.prototype,"insertRule",new Proxy(c[a].insertRule,{apply:Pr(((e,t,a)=>{var s=a[0],o=a[1],l=Kr(t.parentStyleSheet,n,i.styleMirror),u=l.id,c=l.styleId;return(u&&-1!==u||c&&-1!==c)&&r({id:u,styleId:c,adds:[{rule:s,index:[...Gr(t),o||0]}]}),e.apply(t,a)}))})),e.replace(s.prototype,"deleteRule",new Proxy(c[a].deleteRule,{apply:Pr(((e,t,a)=>{var s=a[0],o=Kr(t.parentStyleSheet,n,i.styleMirror),l=o.id,u=o.styleId;return(l&&-1!==l||u&&-1!==u)&&r({id:l,styleId:u,removes:[{index:[...Gr(t),s]}]}),e.apply(t,a)}))}))}))})):()=>{}}(e,{win:n})),t.add(Vr(e,e.doc)),t.add(function(e,t){var r=e.styleDeclarationCb,n=e.mirror,i=e.ignoreCSSAttributes,a=e.stylesheetManager,s=t.win;return o((e=>{var t=s.CSSStyleDeclaration.prototype.setProperty;e.replace(s.CSSStyleDeclaration.prototype,"setProperty",new Proxy(t,{apply:Pr(((e,s,o)=>{var l,u=o[0],c=o[1],d=o[2];if(i.has(u))return t.apply(s,[u,c,d]);var h=Kr(null==(l=s.parentRule)?void 0:l.parentStyleSheet,n,a.styleMirror),p=h.id,f=h.styleId;return(p&&-1!==p||f&&-1!==f)&&r({id:p,styleId:f,set:{property:u,value:c,priority:d},index:Gr(s.parentRule)}),e.apply(s,o)}))}));var o=s.CSSStyleDeclaration.prototype.removeProperty;e.replace(s.CSSStyleDeclaration.prototype,"removeProperty",new Proxy(o,{apply:Pr(((e,t,s)=>{var l,u=s[0];if(i.has(u))return o.apply(t,[u]);var c=Kr(null==(l=t.parentRule)?void 0:l.parentStyleSheet,n,a.styleMirror),d=c.id,h=c.styleId;return(d&&-1!==d||h&&-1!==h)&&r({id:d,styleId:h,remove:{property:u},index:Gr(t.parentRule)}),e.apply(t,s)}))}))}))}(e,{win:n})),e.collectFonts&&t.add(function(e){var t=e.fontCb,r=e.doc,n=!0,i=r.defaultView;return i?o((e=>{e.add((()=>{n=!1}));var a=new WeakMap,s=i.FontFace;e.replace(i,"FontFace",(function(e,t,r){var n=new s(e,t,r);return a.set(n,{family:e,buffer:"string"!=typeof t,descriptors:r,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n}));var o=I(r.fonts,"add",(function(e){return function(r){return setTimeout(Pr((()=>{if(n){var e=a.get(r);e&&(t(e),a.delete(r))}})),0),e.apply(this,[r])}}));e.add(o)})):()=>{}}(e))),t.add(function(e){var t=e.doc,r=e.mirror,n=e.blockClass,i=e.blockSelector,a=e.selectionCb,s=!0,o=Pr((()=>{var e=t.getSelection();if(!(!e||s&&null!=e&&e.isCollapsed)){s=e.isCollapsed||!1;for(var o=[],l=e.rangeCount||0,u=0;u<l;u++){var c=e.getRangeAt(u),d=c.startContainer,h=c.startOffset,p=c.endContainer,f=c.endOffset;mr(d,n,i,!0)||mr(p,n,i,!0)||o.push({start:r.getId(d),startOffset:h,end:r.getId(p),endOffset:f})}a({ranges:o})}}));return o(),nr("selectionchange",o)}(e)),t.add(function(e){var t=e.doc,r=e.customElementCb,n=t.defaultView;return n&&n.customElements?I(n.customElements,"define",(function(e){return function(t,n,i){try{r({define:{name:t}})}catch(e){console.warn("Custom element callback failed for "+t)}return e.apply(this,[t,n,i])}})):()=>{}}(e)),e.plugins))t.add(g.observer(g.callback,n,g.options))}))):()=>{}}function Yr(e){return void 0!==window[e]}function Zr(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class Qr{constructor(e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap,this.generateIdFn=e}getId(e,t,r,n){var i=r||this.getIdToRemoteIdMap(e),a=n||this.getRemoteIdToIdMap(e),s=i.get(t);return s||(s=this.generateIdFn(),i.set(t,s),a.set(s,t)),s}getIds(e,t){var r=this.getIdToRemoteIdMap(e),n=this.getRemoteIdToIdMap(e);return t.map((t=>this.getId(e,t,r,n)))}getRemoteId(e,t,r){var n=r||this.getRemoteIdToIdMap(e);return"number"!=typeof t?t:n.get(t)||-1}getRemoteIds(e,t){var r=this.getRemoteIdToIdMap(e);return t.map((t=>this.getRemoteId(e,t,r)))}reset(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){var t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){var t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}class Xr{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Qr(Z),this.crossOriginIframeStyleMirror=void 0,this.crossOriginIframeRootIdMap=new WeakMap,this.mirror=void 0,this.mutationCb=void 0,this.wrappedEmit=void 0,this.loadListener=void 0,this.pageHideListener=void 0,this.stylesheetManager=void 0,this.recordCrossOriginIframes=void 0,this.messageHandler=void 0,this.nestedIframeListeners=new Map,this.attachedWindows=new WeakMap,this.attachedDocuments=new WeakMap,this.attachedIframes=new Map,this.loadListenerDisposers=new WeakMap,this.iframeElementsById=new Map,this.pageHideHandlers=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Qr(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.messageHandler=this.handleMessage.bind(this),this.recordCrossOriginIframes&&window.addEventListener("message",this.messageHandler)}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}registerLoadListenerDisposer(e,t){var r=this.loadListenerDisposers.get(e);r||(r=new Set,this.loadListenerDisposers.set(e,r)),r.add(t);var n=this.mirror.getId(e);-1!==n&&this.iframeElementsById.set(n,e)}getIframeElementById(e){var t,r,n;return null!=(t=null!=(r=null==(n=this.attachedIframes.get(e))?void 0:n.element)?r:this.iframeElementsById.get(e))?t:null}forgetIframeId(e){this.attachedIframes.delete(e),this.iframeElementsById.delete(e)}disposeLoadListeners(e){var t=this.loadListenerDisposers.get(e);t&&(t.forEach((e=>ar(e))),this.loadListenerDisposers.delete(e))}removePageHideListener(e){var t=this.pageHideHandlers.get(e);t&&(t.forEach((e=>{ir(e.win,"pagehide",e.handler)})),this.pageHideHandlers.delete(e))}addLoadListener(e){this.loadListener=e}addPageHideListener(e){this.pageHideListener=e}removeLoadListener(){this.loadListener=void 0}trackIframeContent(e,t){var r=this.mirror.getId(e);return this.attachedIframes.set(r,{element:e,content:t}),r}attachIframe(e,t){var r,n=this.trackIframeContent(e,t);if(e.contentDocument){var i=this.attachedDocuments.get(e);i||(i=new Set,this.attachedDocuments.set(e,i)),i.add(e.contentDocument)}this.mutationCb({adds:[{parentId:n,nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0});var a=e.contentWindow;if(this.recordCrossOriginIframes&&a&&!this.nestedIframeListeners.has(a)){var s=this.handleMessage.bind(this);ar((()=>{a.addEventListener("message",s),this.nestedIframeListeners.set(a,s);var t=this.attachedWindows.get(e);t||(t=new Set,this.attachedWindows.set(e,t)),t.add(a)}))}ar((()=>{var t=e.contentWindow;if(t){var r=this.pageHideHandlers.get(e);if(r)for(var n of r)if(n.win===t)return;var i=()=>{var t;null==(t=this.pageHideListener)||t.call(this,e),e.contentDocument&&this.mirror.removeNodeFromMap(e.contentDocument),e.contentWindow&&this.crossOriginIframeMap.delete(e.contentWindow)};t.addEventListener("pagehide",i),r||(r=new Set,this.pageHideHandlers.set(e,r)),r.add({win:t,handler:i})}})),null==(r=this.loadListener)||r.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){var t=e;if("rrweb"===t.data.type&&t.origin===t.data.origin&&e.source){var r=this.crossOriginIframeMap.get(e.source);if(r){var n=this.transformCrossOriginEvent(r,t.data.event);n&&this.wrappedEmit(n,t.data.isCheckout)}}}transformCrossOriginEvent(e,t){switch(t.type){case l.FullSnapshot:this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);var r=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,r),this.patchRootIdOnNode(t.data.node,r),this.trackIframeContent(e,t.data.node),{timestamp:t.timestamp,type:l.IncrementalSnapshot,data:{source:u.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case l.Meta:case l.Load:case l.DomContentLoaded:return!1;case l.Plugin:return t;case l.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case l.IncrementalSnapshot:switch(t.data.source){case u.Mutation:return t.data.adds.forEach((t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);var r=this.crossOriginIframeRootIdMap.get(e);r&&this.patchRootIdOnNode(t.node,r)})),t.data.removes.forEach((t=>{this.replaceIds(t,e,["parentId","id"])})),t.data.attributes.forEach((t=>{this.replaceIds(t,e,["id"])})),t.data.texts.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case u.Drag:case u.TouchMove:case u.MouseMove:return t.data.positions.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case u.ViewportResize:return!1;case u.MediaInteraction:case u.MouseInteraction:case u.Scroll:case u.CanvasMutation:case u.Input:return this.replaceIds(t.data,e,["id"]),t;case u.StyleSheetRule:case u.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case u.Font:return t;case u.Selection:return t.data.ranges.forEach((t=>{this.replaceIds(t,e,["start","end"])})),t;case u.AdoptedStyleSheet:var n;return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),null==(n=t.data.styles)||n.forEach((t=>{this.replaceStyleIds(t,e,["styleId"])})),t}}return!1}replace(e,t,r,n){for(var i of n)(Array.isArray(t[i])||"number"==typeof t[i])&&(Array.isArray(t[i])?t[i]=e.getIds(r,t[i]):t[i]=e.getId(r,t[i]));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((e=>{this.replaceIdOnNode(e,t)}))}patchRootIdOnNode(e,t){e.type===f.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach((e=>{this.patchRootIdOnNode(e,t)}))}removeIframeById(e){var t=this.attachedIframes.get(e),r=(null==t?void 0:t.element)||this.iframeElementsById.get(e)||this.mirror.getNode(e);if(this.iframeElementsById.delete(e),r){var n=r.contentWindow,i=this.attachedWindows.get(r);i&&(i.forEach((e=>{var t=this.nestedIframeListeners.get(e);t&&(ir(e,"message",t),this.nestedIframeListeners.delete(e)),this.crossOriginIframeMap.delete(e)})),this.attachedWindows.delete(r)),n&&this.nestedIframeListeners.has(n)&&(ir(n,"message",this.nestedIframeListeners.get(n)),this.nestedIframeListeners.delete(n)),n&&this.crossOriginIframeMap.delete(n),this.iframes.delete(r),this.disposeLoadListeners(r),this.removePageHideListener(r);var a=this.attachedDocuments.get(r);a&&(a.forEach((e=>{ar((()=>this.mirror.removeNodeFromMap(e)))})),ar((()=>Ur(r,a))),this.attachedDocuments.delete(r))}t&&this.attachedIframes.delete(e)}cleanupDetachedIframes(){if(0!==this.attachedIframes.size){var e=[];this.attachedIframes.forEach(((t,r)=>{this.mirror.has(r)||e.push(r)})),e.forEach((e=>this.removeIframeById(e)))}}reattachIframes(){this.attachedIframes.forEach(((e,t)=>{var r=e.content;this.mirror.has(t)?this.mutationCb({adds:[{parentId:t,nextId:null,node:r}],removes:[],texts:[],attributes:[],isAttachIframe:!0}):this.attachedIframes.delete(t)}))}destroy(){this.recordCrossOriginIframes&&ir(window,"message",this.messageHandler),this.nestedIframeListeners.forEach(((e,t)=>{ir(t,"message",e)})),this.nestedIframeListeners.clear();var e=new Set;this.iframeElementsById.forEach((t=>e.add(t))),this.attachedIframes.forEach((t=>{var r=t.element;return e.add(r)})),e.forEach((e=>{this.disposeLoadListeners(e),this.removePageHideListener(e)})),this.crossOriginIframeMirror.reset(),this.crossOriginIframeStyleMirror.reset(),this.attachedIframes.clear(),this.crossOriginIframeMap=new WeakMap,this.iframes=new WeakMap,this.crossOriginIframeRootIdMap=new WeakMap,this.loadListenerDisposers=new WeakMap,this.pageHideHandlers=new WeakMap,this.attachedDocuments=new WeakMap,this.attachedWindows=new WeakMap,this.iframeElementsById=new Map}}class _r{constructor(e){this.shadowDoms=new WeakSet,this.mutationCb=void 0,this.scrollCb=void 0,this.bypassOptions=void 0,this.mirror=void 0,this.generation={},this.documentGenerations=new WeakMap,this.cleanupFailed=!1,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){var n,i;if(R(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var a=null!=(n=null==(i=O.host(e))?void 0:i.ownerDocument)?n:t,o=zr(r({},this.bypassOptions,{doc:a,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e),l=o.observer,u=o.buffer;this.restoreHandlers.push({doc:a,handler:()=>{var e=s();e.add((()=>{var e=Br.indexOf(u);-1!==e&&Br.splice(e,1)})),e.add((()=>u.destroy())),e.add((()=>u.releaseCanvasManager())),e.add((()=>l.disconnect())),e.close()}}),this.restoreHandlers.push({doc:a,handler:Hr(r({},this.bypassOptions,{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))});var c=this.generation,d=this.documentGenerations.get(a);d||(d={},this.documentGenerations.set(a,d));var h=setTimeout((()=>{c===this.generation&&d===this.documentGenerations.get(a)&&(e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(O.host(e))),this.restoreHandlers.push({doc:a,handler:Vr({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e)}))}),0);this.restoreHandlers.push({doc:a,handler:()=>clearTimeout(h)})}}observeAttachShadow(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,t){var r=this;this.restoreHandlers.push({doc:t,handler:I(e.prototype,"attachShadow",(function(e){return function(n){var i=e.call(this,n),a=O.shadowRoot(this);return a&&Mr(this)&&r.addShadowRoot(a,t),i}}))})}disposeHandlers(e){var t=s();for(var r of e){var n=r.handler;t.add(n)}try{t.close()}catch(e){this.cleanupFailed=!0}if(this.cleanupFailed)throw new i}reset(){this.generation={},this.documentGenerations=new WeakMap;var e=this.restoreHandlers;this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.disposeHandlers(e)}resetForDoc(e){this.documentGenerations.set(e,{});var t=this.restoreHandlers.filter((t=>t.doc===e));this.restoreHandlers=this.restoreHandlers.filter((t=>t.doc!==e)),this.disposeHandlers(t)}}var $r="skip-frame";function en(e){if("object"!=typeof e||null===e)return!1;var t=e,r=t.x,n=t.y,i=t.width,a=t.height;return Number.isFinite(r)&&Number.isFinite(n)&&Number.isFinite(i)&&Number.isFinite(a)&&i>=0&&a>=0}for(var tn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",rn="undefined"==typeof Uint8Array?[]:new Uint8Array(256),nn=0;nn<64;nn++)rn[tn.charCodeAt(nn)]=nn;var an=new Map,sn=(e,t,r)=>{if(e&&(un(e,t)||"object"==typeof e)){var n=function(e,t){var r=an.get(e);return r||(r=new Map,an.set(e,r)),r.has(t)||r.set(t,[]),r.get(t)}(r,e.constructor.name),i=n.indexOf(e);return-1===i&&(i=n.length,n.push(e)),i}};function on(e,t,r,n){if(e instanceof Array)return e.map((e=>on(e,t,r,n)));if(null===e)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer){var i=e.constructor.name,a=function(e){var t,r=new Uint8Array(e),n=r.length,i="";for(t=0;t<n;t+=3)i+=tn[r[t]>>2],i+=tn[(3&r[t])<<4|r[t+1]>>4],i+=tn[(15&r[t+1])<<2|r[t+2]>>6],i+=tn[63&r[t+2]];return n%3==2?i=i.substring(0,i.length-1)+"=":n%3==1&&(i=i.substring(0,i.length-2)+"=="),i}(e);return{rr_type:i,base64:a}}return e instanceof DataView?{rr_type:e.constructor.name,args:[on(e.buffer,t,r,n),e.byteOffset,e.byteLength]}:e instanceof HTMLImageElement?{rr_type:e.constructor.name,src:e.src}:e instanceof HTMLCanvasElement?{rr_type:"HTMLImageElement",src:e.toDataURL(n.type,n.quality)}:e instanceof ImageData?{rr_type:e.constructor.name,args:[on(e.data,t,r,n),e.width,e.height]}:un(e,t)||"object"==typeof e?{rr_type:e.constructor.name,index:sn(e,t,r)}:e}var ln=(e,t,r,n)=>e.map((e=>on(e,t,r,n))),un=(e,t)=>{var r=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((e=>"function"==typeof t[e]));return Boolean(r.find((r=>e instanceof t[r])))},cn=["webgl","webgl2"];function dn(e){return"nodeType"in e}function hn(e,t,n,i){var a=[];try{if(i){var s=function(e,t,n){var i=e.GPUCanvasContext;if(null!=i&&i.prototype&&"function"==typeof i.prototype.configure)return I(i.prototype,"configure",(function(i){return function(a){var s=function(e){var t=e.canvas;return t&&"object"==typeof t?t:null}(this);if(!s||dn(s)&&mr(s,t,n,!0))return i.call(this,a);dn(s)&&!("__context"in s)&&(s.__context="webgpu");var o=function(e){var t=e.GPUTextureUsage;return t?t.COPY_SRC|t.RENDER_ATTACHMENT:null}(e);return null!==o&&a?i.call(this,r({},a,{usage:"number"==typeof a.usage?a.usage|o:o})):i.call(this,a)}}))}(e,t,n);s&&a.push(s)}var o=I(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(r){for(var a=function(e){return"experimental-webgl"===e?"webgl":e}(r),s=arguments.length,o=new Array(s>1?s-1:0),l=1;l<s;l++)o[l-1]=arguments[l];if(!mr(this,t,n,!0)&&("__context"in this||(this.__context=a),i&&cn.includes(a)))if(o[0]&&"object"==typeof o[0]){var u=o[0];u.preserveDrawingBuffer||(u.preserveDrawingBuffer=!0)}else o.splice(0,1,{preserveDrawingBuffer:!0});return e.apply(this,[r,...o])}}));a.push(o)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{a.forEach((e=>e()))}}function pn(e,t,r,n,i,a,s){var o=[],l=Object.getOwnPropertyNames(e),u=function(l){if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(l))return 0;try{if("function"!=typeof e[l])return 0;var u=I(e,l,(function(e){return function(){for(var o=arguments.length,u=new Array(o),c=0;c<o;c++)u[c]=arguments[c];var d=e.apply(this,u);if(sn(d,a,this),"tagName"in this.canvas&&!mr(this.canvas,n,i,!0)){var h=ln(u,a,this,s),p={type:t,property:l,args:h};r(this.canvas,p)}return d}}));o.push(u)}catch(n){var c=ur(e,l,{set(e){r(this.canvas,{type:t,property:l,args:[e],setter:!0})}});o.push(c)}};for(var c of l)u(c);return o}function fn(){const e=URL.createObjectURL(new Blob(['!function(){"use strict";function e(e,t,a,n,r,i,o){try{var s=e[i](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,r)}for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a="undefined"==typeof Uint8Array?[]:new Uint8Array(256),n=0;n<64;n++)a[t.charCodeAt(n)]=n;var r=function(e){var a,n=new Uint8Array(e),r=n.length,i="";for(a=0;a<r;a+=3)i+=t[n[a]>>2],i+=t[(3&n[a])<<4|n[a+1]>>4],i+=t[(15&n[a+1])<<2|n[a+2]>>6],i+=t[63&n[a+2]];return r%3==2?i=i.substring(0,i.length-1)+"=":r%3==1&&(i=i.substring(0,i.length-2)+"=="),i},i=new Map,o=new Map,s=new Map;function l(e){for(var t=new Uint32Array(e.buffer,e.byteOffset,e.byteLength>>>2),a=2166136261,n=2654435769,r=0;r<t.length;r++)a^=t[r],a=Math.imul(a,16777619),n^=t[r],n=Math.imul(n,2246822507);return(a>>>0).toString(16)+":"+(n>>>0).toString(16)}var f=self,d=null,u=null;f.onmessage=function(){var t,a=(t=function*(e){if("resetFrameDedup"in e.data)i.clear();else if("forgetFrame"in e.data)i.delete(e.data.forgetFrame);else{if(!("OffscreenCanvas"in globalThis))return e.data.bitmap.close(),f.postMessage({id:e.data.id});var t=e.data,a=t.id,n=t.bitmap,g=t.width,c=t.height,h=t.displayWidth,v=t.displayHeight,y=t.dataURLOptions,p=t.maskRegions;try{var w;d&&d.width===g&&d.height===c||(d=new OffscreenCanvas(g,c),u=d.getContext("2d",{willReadFrequently:!0}));var m=u;if(m.clearRect(0,0,g,c),m.drawImage(n,0,0),n.close(),p)for(var b of(m.fillStyle="black",p))m.fillRect(b.x,b.y,b.width,b.height);var M=function(e,t,a){return e+"x"+t+":"+l(a)}(g,c,m.getImageData(0,0,g,c).data),A=null!=(w=i.get(a))?w:function(e,t){var a=e*t,n=o.get(a);return void 0===n&&(n=l(new Uint8ClampedArray(4*a)),o.set(a,n)),e+"x"+t+":"+n}(g,c);if(M===A){var U=s.get(a);if(!(void 0!==p&&void 0!==U&&Date.now()-U>=3e4))return f.postMessage({id:a})}var x=yield d.convertToBlob(y),C=yield x.arrayBuffer();f.postMessage({id:a,type:x.type,base64:r(C),displayWidth:h,displayHeight:v}),i.set(a,M),s.set(a,Date.now())}catch(e){f.postMessage({id:a})}}},function(){var a=this,n=arguments;return new Promise((function(r,i){var o=t.apply(a,n);function s(t){e(o,r,i,s,l,"next",t)}function l(t){e(o,r,i,s,l,"throw",t)}s(void 0)}))});return function(e){return a.apply(this,arguments)}}()}();\n'],{type:"text/javascript"}));try{return new Worker(e)}finally{URL.revokeObjectURL(e)}}var mn,vn,gn,yn=["type"];class wn{onFullSnapshot(){var e;null==(e=this.resetFrameDedup)||e.call(this)}acquire(){this.refCount+=1}reset(){this.refCount>0&&(this.refCount-=1),this.refCount>0||this.teardown()}teardown(){this.torndown||(this.torndown=!0,this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers(),null!==this.rafIdTimestamp&&(cancelAnimationFrame(this.rafIdTimestamp),this.rafIdTimestamp=null),null!==this.rafIdFlush&&(cancelAnimationFrame(this.rafIdFlush),this.rafIdFlush=null))}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.mirror=void 0,this.mutationCb=void 0,this.resetObservers=void 0,this.frozen=!1,this.locked=!1,this.rafIdTimestamp=null,this.rafIdFlush=null,this.refCount=0,this.torndown=!1,this.resetFrameDedup=null,this.processMutation=(e,t)=>{!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)};var t=e.sampling,r=void 0===t?"all":t,n=e.win,i=e.blockClass,a=e.blockSelector,s=e.recordCanvas,o=e.dataURLOptions,l=e.resolutionScale,u=e.canvasMasking;this.mutationCb=e.mutationCb,this.mirror=e.mirror,s&&"all"===r&&this.initCanvasMutationObserver(n,i,a,o),s&&"number"==typeof r&&this.initCanvasFPSObserver(r,n,i,a,{dataURLOptions:o,resolutionScale:l,canvasMasking:u})}initCanvasFPSObserver(e,r,n,i,a){var s=this;if("OffscreenCanvas"in r){var o,l="number"==typeof a.resolutionScale&&Number.isFinite(a.resolutionScale)?Math.min(1,Math.max(.1,a.resolutionScale)):1,u=hn(r,n,i,!0),c=new Map;try{o=new fn}catch(e){return}var d=!1;o.onerror=()=>{d=!0,cancelAnimationFrame(f),null==o.terminate||o.terminate(),this.resetFrameDedup=null},this.resetFrameDedup=()=>{o.postMessage({resetFrameDedup:!0})};var p=new Map;o.onmessage=e=>{var t=e.data.id;if(c.set(t,!1),"base64"in e.data){var r=e.data,n=r.base64,i=r.type,a=r.displayWidth,s=r.displayHeight,u=this.mutationCb({id:t,type:h["2D"],commands:[{property:"clearRect",args:[0,0,a,s]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:n}],type:i}]},0,0,a,s]}],displayWidth:a,displayHeight:s});if("resend"===u)o.postMessage({forgetFrame:t});else if("shrink"===u){var d,f=null!=(d=p.get(t))?d:l;p.set(t,f<=.1?0:Math.max(.1,f/2))}}};var f,m=1e3/e,v=0,g=e=>{var u,h;d||(v&&e-v<m||(v=e,(u=[],h=e=>{try{e.querySelectorAll("canvas").forEach((e=>{mr(e,n,i,!0)||u.push(e)})),e.querySelectorAll("*").forEach((e=>{e.shadowRoot&&h(e.shadowRoot)}))}catch(e){}},h(r.document),u).forEach(function(){var e=t((function*(e){var t,r=s.mirror.getId(e);if(!c.get(r)){var n=null!=(t=p.get(r))?t:l;if(0!==n&&0!==e.width&&0!==e.height){c.set(r,!0);try{if(["webgl","webgl2"].includes(e.__context)){var i,u=e.getContext(e.__context);if(null!=u&&null!=u.isContextLost&&u.isContextLost())return void c.set(r,!1);!1===(null==u||null==(i=u.getContextAttributes())?void 0:i.preserveDrawingBuffer)&&u.clear(u.COLOR_BUFFER_BIT)}var d=e.clientWidth||e.width,h=e.clientHeight||e.height,f=Math.max(1,Math.round(d*n)),m=Math.max(1,Math.round(h*n)),v=function(e,t,r,n,i,a){if(e&&"function"==typeof e.regionsFn){var s;try{s=e.regionsFn(t)}catch(e){return $r}if(void 0!==s){if(!Array.isArray(s)||!s.every(en))return $r;var o=r/i,l=n/a;return s.filter((e=>e.width>0&&e.height>0)).map((e=>{var t=Math.floor(e.x*o),r=Math.floor(e.y*l);return{x:t,y:r,width:Math.ceil((e.x+e.width)*o)-t,height:Math.ceil((e.y+e.height)*l)-r}}))}}}(a.canvasMasking,e,f,m,d,h);if(v===$r)return void c.set(r,!1);var g=yield createImageBitmap(e,n<1?{resizeWidth:f,resizeHeight:m,resizeQuality:"medium"}:{resizeWidth:f,resizeHeight:m});o.postMessage({id:r,bitmap:g,width:f,height:m,displayWidth:d,displayHeight:h,dataURLOptions:a.dataURLOptions,maskRegions:v},[g])}catch(e){c.set(r,!1)}}}}));return function(t){return e.apply(this,arguments)}}())),f=requestAnimationFrame(g))};f=requestAnimationFrame(g),this.resetObservers=()=>{u(),cancelAnimationFrame(f),null==o.terminate||o.terminate(),this.resetFrameDedup=null}}}initCanvasMutationObserver(e,t,r,n){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var i=hn(e,t,r,!1),a=function(e,t,r,n,i){var a=[],s=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype),o=function(s){try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[s])return 1;var o=I(t.CanvasRenderingContext2D.prototype,s,(function(a){return function(){for(var o=arguments.length,l=new Array(o),u=0;u<o;u++)l[u]=arguments[u];return mr(this.canvas,r,n,!0)||setTimeout((()=>{var r=ln(l,t,this,i);e(this.canvas,{type:h["2D"],property:s,args:r})}),0),a.apply(this,l)}}));a.push(o)}catch(r){var l=ur(t.CanvasRenderingContext2D.prototype,s,{set(t){e(this.canvas,{type:h["2D"],property:s,args:[t],setter:!0})}});a.push(l)}};for(var l of s)o(l);return()=>{a.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,r,n),s=function(e,t,r,n,i){var a=[];return void 0!==t.WebGLRenderingContext&&a.push(...pn(t.WebGLRenderingContext.prototype,h.WebGL,e,r,n,t,i)),void 0!==t.WebGL2RenderingContext&&a.push(...pn(t.WebGL2RenderingContext.prototype,h.WebGL2,e,r,n,t,i)),()=>{a.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,r,n);this.resetObservers=()=>{i(),a(),s()}}startPendingCanvasMutationFlusher(){this.rafIdFlush=requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}startRAFTimestamping(){var e=t=>{this.rafStamps.latestId=t,this.rafIdTimestamp=requestAnimationFrame(e)};this.rafIdTimestamp=requestAnimationFrame(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach(((e,t)=>{var r=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,r)})),this.rafIdFlush=requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}flushPendingCanvasMutationFor(e,t){if(!this.frozen&&!this.locked){var r=this.pendingCanvasMutations.get(e);if(r&&-1!==t){var i=r.map((e=>(e.type,n(e,yn)))),a=r[0].type;this.mutationCb({id:t,type:a,commands:i}),this.pendingCanvasMutations.delete(e)}}}}class bn{constructor(e){this.trackedLinkElements=new WeakSet,this.mutationCb=void 0,this.adoptedStyleSheetCb=void 0,this.styleMirror=new kr,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){var r=this;if(0!==e.length){var n={id:t,styleIds:[]},i=[],a=function(e){var t;r.styleMirror.has(e)?t=r.styleMirror.getId(e):(t=r.styleMirror.add(e),i.push({styleId:t,rules:Array.from(e.rules||CSSRule,((t,r)=>({rule:A(t,e.href),index:r})))})),n.styleIds.push(t)};for(var s of e)a(s);i.length>0&&(n.styles=i),this.adoptedStyleSheetCb(n)}}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet,le()}trackStylesheetInLinkElement(e){}}class Sn{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){var r=this.nodeMap.get(e);return r&&Array.from(r).some((e=>e!==t))}add(e,t){this.active||(this.active=!0,requestAnimationFrame((()=>{this.nodeMap=new WeakMap,this.active=!1}))),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}var kn=!1;try{if(2!==Array.from([1],(e=>2*e))[0]){var Cn,Mn=document.createElement("iframe");document.body.appendChild(Mn),Array.from=(null==(Cn=Mn.contentWindow)?void 0:Cn.Array.from)||Array.from,document.body.removeChild(Mn)}}catch(e){console.debug("Unable to override Array.from",e)}var In=new T,On=new Set([u.Mutation,u.MediaInteraction,u.StyleSheetRule,u.CanvasMutation,u.Font,u.Log,u.StyleDeclaration,u.AdoptedStyleSheet]);function xn(e){void 0===e&&(e={});var t=e,n=t.emit,i=t.checkoutEveryNms,o=t.checkoutEveryNth,c=t.blockClass,d=void 0===c?"rr-block":c,h=t.blockSelector,p=void 0===h?null:h,f=t.ignoreClass,m=void 0===f?"rr-ignore":f,v=t.ignoreSelector,g=void 0===v?null:v,y=t.maskTextClass,w=void 0===y?"rr-mask":y,b=t.maskTextSelector,S=void 0===b?null:b,k=t.inlineStylesheet,C=void 0===k||k,M=t.maskAllInputs,I=t.maskInputOptions,x=t.slimDOMOptions,E=t.maskInputFn,R=t.maskTextFn,N=t.hooks,A=t.packFn,D=t.sampling,L=void 0===D?{}:D,F=t.dataURLOptions,P=void 0===F?{}:F,B=t.canvasResolutionScale,j=t.canvasMasking,z=t.mousemoveWait,H=t.recordDOM,U=void 0===H||H,W=t.recordCanvas,q=void 0!==W&&W,G=t.recordCrossOriginIframes,K=void 0!==G&&G,V=t.recordAfter,J=void 0===V?"DOMContentLoaded"===e.recordAfter?e.recordAfter:"load":V,Y=t.userTriggeredOnInput,Z=void 0!==Y&&Y,Q=t.collectFonts,X=void 0!==Q&&Q,_=t.inlineImages,$=void 0!==_&&_,ee=t.plugins,te=t.keepIframeSrcFn,re=void 0===te?()=>!1:te,ne=t.ignoreCSSAttributes,ie=void 0===ne?new Set([]):ne,ae=t.attributeFilter,se=t.errorHandler,oe=r({type:"image/webp",quality:.4,maxBase64ImageLength:1048576},P),ue=!K||window.parent===window,ce=!1;if(!ue)try{window.parent.document&&(ce=!1)}catch(e){ce=!0}if(ue&&!n)throw new Error("emit function is required");if(!ue&&!ce)return()=>{};void 0!==z&&void 0===L.mousemove&&(L.mousemove=z);var de,he=s(),me=!1,ve=[],ge=()=>{me=!0,kn=!1,he.close()},ye=e=>{me?he.add(e):ve.push(e)},we=e=>{a(e)&&he.poison(),ge(),se?se(e):console.warn(e)};try{Lr(se),he.add(Fr),he.add((()=>In.reset())),he.add(le),In.reset();var be,Se=!0===M?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:void 0!==I?I:{password:!0},ke=fe(void 0!==x&&x);void 0===de&&(de=window),"NodeList"in de&&!de.NodeList.prototype.forEach&&(de.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in de&&!de.DOMTokenList.prototype.forEach&&(de.DOMTokenList.prototype.forEach=Array.prototype.forEach);var Ce,Me,Ie=0,Oe=new Map,xe=e=>{for(var t of ee||[])t.eventProcessor&&(e=t.eventProcessor(e));return A&&!ce&&(e=A(e)),e},Ee=void 0,Re=(e,t)=>{var r;if(!me){var a=e;if(a.timestamp=cr(),null==(r=Br[0])||!r.isFrozen()||a.type===l.FullSnapshot||a.type===l.IncrementalSnapshot&&On.has(a.data.source)||Br.forEach((e=>e.unfreeze())),ue)Ee=null==n?void 0:n(xe(a),t);else if(ce){var s={type:"rrweb",event:xe(a),origin:window.location.origin,isCheckout:t};window.parent.postMessage(s,"*")}if(a.type===l.FullSnapshot)be=a,Ie=0;else if(a.type===l.IncrementalSnapshot){if(a.data.source===u.Mutation&&a.data.isAttachIframe)return;Ie++;var c=o&&Ie>=o,d=i&&a.timestamp-be.timestamp>i;(c||d)&&ze(!0)}}};mn=Re;var Ne=e=>{if(e.removes&&e.removes.length>0){var t=e.adds.length>0?new Set(e.adds.map((e=>e.node.id))):null,n=new Set;if(e.adds.length>0)for(var i of e.adds){var a=In.getNode(i.node.id);a&&"IFRAME"===a.nodeName&&n.add(a)}e.removes.forEach((e=>{var r=e.id;if(!t||!t.has(r)){var i=Le.getIframeElementById(r);i&&n.has(i)?Le.forgetIframeId(r):(null==Ce||Ce(r),Le.removeIframeById(r))}})),null==Me||Me(),Le.cleanupDetachedIframes()}Re({type:l.IncrementalSnapshot,data:r({source:u.Mutation},e)})},Ae=e=>Re({type:l.IncrementalSnapshot,data:r({source:u.Scroll},e)}),Te=e=>{Ee=void 0,Re({type:l.IncrementalSnapshot,data:r({source:u.CanvasMutation},e)});var t=Ee;return Ee=void 0,"resend"===t||"shrink"===t?t:void 0},De=new bn({mutationCb:Ne,adoptedStyleSheetCb:e=>Re({type:l.IncrementalSnapshot,data:r({source:u.AdoptedStyleSheet},e)})});he.add((()=>De.reset()));var Le=new Xr({mirror:In,mutationCb:Ne,stylesheetManager:De,recordCrossOriginIframes:K,wrappedEmit:Re});for(var Fe of(he.add((()=>Le.destroy())),ee||[]))Fe.getMirror&&Fe.getMirror({nodeMirror:In,crossOriginIframeMirror:Le.crossOriginIframeMirror,crossOriginIframeStyleMirror:Le.crossOriginIframeStyleMirror});var Pe=new Sn;he.add((()=>Pe.destroy()));var Be=null==j?void 0:j.configured;gn=new wn({recordCanvas:q,mutationCb:Te,win:window,blockClass:d,blockSelector:p,mirror:In,sampling:L.canvas,dataURLOptions:oe,resolutionScale:B,canvasMasking:j}),he.add((()=>gn.reset()));var je=new _r({mutationCb:Ne,scrollCb:Ae,bypassOptions:{blockClass:d,blockSelector:p,maskTextClass:w,maskTextSelector:S,inlineStylesheet:C,maskInputOptions:Se,dataURLOptions:oe,maskTextFn:R,maskInputFn:E,recordCanvas:q,canvasMaskingConfigured:Be,inlineImages:$,sampling:L,slimDOMOptions:ke,iframeManager:Le,stylesheetManager:De,canvasManager:gn,keepIframeSrcFn:re,processedNodeManager:Pe,attributeFilter:ae},mirror:In});he.add((()=>je.reset()));var ze=function(e){if(void 0===e&&(e=!1),!me&&U){Re({type:l.Meta,data:{href:window.location.href,width:pr(),height:hr()}},e),De.reset(),je.init(),Br.forEach((e=>e.lock()));var t=function(e,t){var r=t||{},n=r.mirror,i=void 0===n?new T:n,a=r.blockClass,s=r.blockSelector,o=r.maskTextClass,l=r.maskTextSelector,u=r.inlineStylesheet,c=r.inlineImages,d=void 0!==c&&c,h=r.recordCanvas,p=void 0!==h&&h,f=r.canvasMaskingConfigured,m=r.maskAllInputs,v=void 0!==m&&m,g=r.slimDOM,y=r.dataURLOptions,w=r.preserveWhiteSpace,b=r.onSerialize,S=r.onIframeLoad,k=r.iframeLoadTimeout,C=r.onIframeListenerRegistered,M=r.onStylesheetLoad,I=r.stylesheetLoadTimeout,O=r.keepIframeSrcFn,x=void 0===O?()=>!1:O,E=r.maxDepth;return pe(e,{doc:e,mirror:i,blockClass:void 0===a?"rr-block":a,blockSelector:void 0===s?null:s,maskTextClass:void 0===o?"rr-mask":o,maskTextSelector:void 0===l?null:l,skipChild:!1,inlineStylesheet:void 0===u||u,maskInputOptions:!0===v?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:!1===v?{password:!0}:v,maskTextFn:r.maskTextFn,maskInputFn:r.maskInputFn,slimDOMOptions:fe(void 0!==g&&g),dataURLOptions:y,inlineImages:d,recordCanvas:p,canvasMaskingConfigured:f,preserveWhiteSpace:w,onSerialize:b,onIframeLoad:S,iframeLoadTimeout:k,onIframeListenerRegistered:C,onStylesheetLoad:M,stylesheetLoadTimeout:I,keepIframeSrcFn:x,newlyAddedElement:!1,maxDepth:E})}(document,{mirror:In,blockClass:d,blockSelector:p,maskTextClass:w,maskTextSelector:S,inlineStylesheet:C,maskAllInputs:Se,maskTextFn:R,maskInputFn:E,slimDOM:ke,dataURLOptions:oe,recordCanvas:q,canvasMaskingConfigured:Be,inlineImages:$,onSerialize:e=>{wr(e,In)&&Le.addIframe(e),br(e,In)&&De.trackLinkElement(e),Sr(e)&&je.addShadowRoot(O.shadowRoot(e),document)},onIframeLoad:(e,t)=>{Le.attachIframe(e,t),je.observeAttachShadow(e)},onIframeListenerRegistered:(e,t)=>{Le.registerLoadListenerDisposer(e,t)},onStylesheetLoad:(e,t)=>{De.attachLinkElement(e,t)},keepIframeSrcFn:re});if(!t)return console.warn("Failed to snapshot the document");Re({type:l.FullSnapshot,data:{node:t,initialOffset:dr(window)}},e),Br.forEach((e=>e.unlock())),gn.onFullSnapshot(),K&&Le.reattachIframes(),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&De.adoptStyleSheets(document.adoptedStyleSheets,In.getId(document))}};vn=ze,he.add((()=>Oe.clear())),he.add((()=>{var e=s();for(var t of ve)e.add(t);ve.length=0,e.close()})),Ce=e=>{var t=Oe.get(e);if(t){var r=s();t.forEach((e=>{r.add(e);var t=ve.indexOf(e);-1!==t&&ve.splice(t,1)})),Oe.delete(e),r.close()}},Me=()=>{for(var e of Oe){var t=e[0],r=In.getNode(t);if(r)try{r.contentDocument&&r.contentDocument.defaultView||null==Ce||Ce(t)}catch(e){null==Ce||Ce(t)}else null==Ce||Ce(t)}};var He=e=>{var t;return Jr({mutationCb:Ne,mousemoveCb:(e,t)=>Re({type:l.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>Re({type:l.IncrementalSnapshot,data:r({source:u.MouseInteraction},e)}),scrollCb:Ae,viewportResizeCb:e=>Re({type:l.IncrementalSnapshot,data:r({source:u.ViewportResize},e)}),inputCb:e=>Re({type:l.IncrementalSnapshot,data:r({source:u.Input},e)}),mediaInteractionCb:e=>Re({type:l.IncrementalSnapshot,data:r({source:u.MediaInteraction},e)}),styleSheetRuleCb:e=>Re({type:l.IncrementalSnapshot,data:r({source:u.StyleSheetRule},e)}),styleDeclarationCb:e=>Re({type:l.IncrementalSnapshot,data:r({source:u.StyleDeclaration},e)}),canvasMutationCb:Te,fontCb:e=>Re({type:l.IncrementalSnapshot,data:r({source:u.Font},e)}),selectionCb:e=>{Re({type:l.IncrementalSnapshot,data:r({source:u.Selection},e)})},customElementCb:e=>{Re({type:l.IncrementalSnapshot,data:r({source:u.CustomElement},e)})},blockClass:d,ignoreClass:m,ignoreSelector:g,maskTextClass:w,maskTextSelector:S,maskInputOptions:Se,inlineStylesheet:C,sampling:L,recordDOM:U,recordCanvas:q,canvasMaskingConfigured:Be,inlineImages:$,userTriggeredOnInput:Z,collectFonts:X,doc:e,maskInputFn:E,maskTextFn:R,keepIframeSrcFn:re,blockSelector:p,slimDOMOptions:ke,dataURLOptions:oe,mirror:In,iframeManager:Le,stylesheetManager:De,shadowDomManager:je,processedNodeManager:Pe,canvasManager:gn,ignoreCSSAttributes:ie,attributeFilter:ae,plugins:(null==ee||null==(t=ee.filter((e=>e.observer)))?void 0:t.map((e=>({observer:e.observer,options:e.options,callback:t=>Re({type:l.Plugin,data:{plugin:e.name,payload:t}})}))))||[]},N)};Le.addLoadListener((e=>{if(!me)try{var t=In.getId(e),r=He(e.contentDocument);if(ye(r),-1!==t){var n=Oe.get(t);n||(n=new Set,Oe.set(t,n)),n.add(r)}}catch(e){we(e)}})),Le.addPageHideListener((e=>{var t=In.getId(e);null==Ce||Ce(t),Ur(e)}));var Ue=-1,We=e=>Re({type:l.Custom,data:{tag:"rrweb/fullscreen",payload:e}}),qe=()=>{var e,t,r,n,i=document,a=null!=(e=null!=(t=null!=(r=null!=(n=i.fullscreenElement)?n:i.webkitFullscreenElement)?r:i.mozFullScreenElement)?t:i.msFullscreenElement)?e:null,s=a?In.getId(a):-1;s!==Ue&&(-1!==Ue&&We({id:Ue,enter:!1}),Ue=s,-1!==s&&We({id:s,enter:!0}))},Ge=!1,Ke=()=>{me||Ge||(Ge=!0,ze(),me||(ye(He(document)),ye(nr("fullscreenchange",qe)),ye(nr("webkitfullscreenchange",qe)),ye(nr("mozfullscreenchange",qe)),ye(nr("MSFullscreenChange",qe)),kn=!0))};return["interactive","complete"].includes(document.readyState)?Ke():(ye(nr("DOMContentLoaded",(()=>{if(!me)try{Re({type:l.DomContentLoaded,data:{}}),"DOMContentLoaded"===J&&Ke()}catch(e){we(e)}}))),ye(nr("load",(()=>{if(!me)try{Re({type:l.Load,data:{}}),"load"===J&&Ke()}catch(e){we(e)}}),window))),ge}catch(e){we(e)}}xn.addCustomEvent=(e,t)=>{if(!kn)throw new Error("please add custom event after start recording");mn({type:l.Custom,data:{tag:e,payload:t}})},xn.freezePage=()=>{Br.forEach((e=>e.freeze()))},xn.takeFullSnapshot=e=>{if(!kn)throw new Error("please take full snapshot after start recording");vn(e)},xn.mirror=In;class En{constructor(e){this.fileName=void 0,this.functionName=void 0,this.lineNumber=void 0,this.columnNumber=void 0,this.fileName=e.fileName||"",this.functionName=e.functionName||"",this.lineNumber=e.lineNumber,this.columnNumber=e.columnNumber}toString(){var e=this.lineNumber||"",t=this.columnNumber||"";return this.functionName?this.functionName+" ("+this.fileName+":"+e+":"+t+")":this.fileName+":"+e+":"+t}}var Rn=/(^|@)\S+:\d+/,Nn=/^\s*at .*(\S+:\d+|\(native\))/m,An=/^(eval@)?(\[native code])?$/,Tn={parse:function(e){return e?void 0!==e.stacktrace||void 0!==e["opera#sourceloc"]?this.parseOpera(e):e.stack&&e.stack.match(Nn)?this.parseV8OrIE(e):e.stack?this.parseFFOrSafari(e):[]:[]},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));if(!t)throw new Error("Cannot parse given url: "+e);return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(e){return e.stack.split("\n").filter((function(e){return!!e.match(Nn)}),this).map((function(e){e.indexOf("(eval ")>-1&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var t=e.replace(/^\s+/,"").replace(/\(eval code/g,"("),r=t.match(/ (\((.+):(\d+):(\d+)\)$)/),n=(t=r?t.replace(r[0],""):t).split(/\s+/).slice(1),i=this.extractLocation(r?r[1]:n.pop()),a=n.join(" ")||void 0,s=["eval","<anonymous>"].indexOf(i[0])>-1?void 0:i[0];return new En({functionName:a,fileName:s,lineNumber:i[1],columnNumber:i[2]})}),this)},parseFFOrSafari:function(e){return e.stack.split("\n").filter((function(e){return!e.match(An)}),this).map((function(e){if(e.indexOf(" > eval")>-1&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===e.indexOf("@")&&-1===e.indexOf(":"))return new En({functionName:e});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=e.match(t),n=r&&r[1]?r[1]:void 0,i=this.extractLocation(e.replace(t,""));return new En({functionName:n,fileName:i[0],lineNumber:i[1],columnNumber:i[2]})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)/i,r=e.message.split("\n"),n=[],i=2,a=r.length;i<a;i+=2){var s=t.exec(r[i]);s&&n.push(new En({fileName:s[2],lineNumber:parseFloat(s[1])}))}return n},parseOpera10:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=e.stacktrace.split("\n"),n=[],i=0,a=r.length;i<a;i+=2){var s=t.exec(r[i]);s&&n.push(new En({functionName:s[3]||void 0,fileName:s[2],lineNumber:parseFloat(s[1])}))}return n},parseOpera11:function(e){return e.stack.split("\n").filter((function(e){return!!e.match(Rn)&&!e.match(/^Error created at/)}),this).map((function(e){var t=e.split("@"),r=this.extractLocation(t.pop()),n=(t.shift()||"").replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;return new En({functionName:n,fileName:r[0],lineNumber:r[1],columnNumber:r[2]})}),this)}};function Dn(e){if(!e||!e.outerHTML)return"";for(var t="";e.parentElement;){var r=e.localName;if(!r)break;r=r.toLowerCase();var n=e.parentElement,i=[];if(n.children&&n.children.length>0)for(var a=0;a<n.children.length;a++){var s=n.children[a];s.localName&&s.localName.toLowerCase&&s.localName.toLowerCase()===r&&i.push(s)}i.length>1&&(r+=":eq("+i.indexOf(e)+")"),t=r+(t?">"+t:""),e=n}return t}var Ln=["InputEvent","CompositionEvent","TextEvent","KeyboardEvent"],Fn=["data","key","code","keyCode","charCode","which","char"];function Pn(e){return Array.isArray(e)}function Bn(e){return"object"==typeof e&&null!==e&&!Pn(e)}function jn(e,t){if(0===t)return!0;var r=Object.keys(e);for(var n of r)if(Bn(e[n])&&jn(e[n],t-1))return!0;return!1}function zn(e,t){var r={numOfKeysLimit:50,depthOfLimit:4};Object.assign(r,t);var n=[],i=[];return JSON.stringify(e,(function(e,t){if(n.length>0){var a=n.indexOf(this);~a?n.splice(a+1):n.push(this),~a?i.splice(a,1/0,e):i.push(e),~n.indexOf(t)&&(t=n[0]===t?"[Circular ~]":"[Circular ~."+i.slice(0,n.indexOf(t)).join(".")+"]")}else n.push(t);if(null===t)return t;if(void 0===t)return"undefined";if(Bn(s=t)&&Object.keys(s).length>r.numOfKeysLimit||"function"==typeof s||Bn(s)&&jn(s,r.depthOfLimit))return function(e){var t=e.toString();return r.stringLengthLimit&&t.length>r.stringLengthLimit&&(t=t.slice(0,r.stringLengthLimit)+"..."),t}(t);var s,o,l;if("bigint"==typeof t)return t.toString()+"n";if(t instanceof Event){var u={},c=(o=t,l=globalThis,Ln.some((e=>{var t=l[e];return"function"==typeof t&&o instanceof t})));for(var d in t){var h=t[d];Pn(h)?u[d]=Dn(h.length?h[0]:null):c&&Fn.includes(d)?u[d]="number"==typeof h?0:"":u[d]=h}return u}return t instanceof Node?t instanceof Element&&(Dn(t)||t.localName)||t.nodeName:t instanceof Error?t.stack?t.stack+"\nEnd of stack for Error object":t.name+": "+t.message:t}))}var Hn={level:["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"],lengthThreshold:1e3,logger:"console"};function Un(e,t,r){var n,i=r?Object.assign({},Hn,r):Hn,a=i.logger;if(!a)return()=>{};n="string"==typeof a?t[a]:a;var s=0,o=!1,l=[];if(i.level.includes("error")){var u=t=>{var r=t.message,n=t.error,a=Tn.parse(n).map((e=>e.toString())),s=[zn(r,i.stringifyOptions)];e({level:"error",trace:a,payload:s})};t.addEventListener("error",u),l.push((()=>{t.removeEventListener("error",u)}));var c=t=>{var r,n;t.reason instanceof Error?n=[zn("Uncaught (in promise) "+(r=t.reason).name+": "+r.message,i.stringifyOptions)]:(r=new Error,n=[zn("Uncaught (in promise)",i.stringifyOptions),zn(t.reason,i.stringifyOptions)]);var a=Tn.parse(r).map((e=>e.toString()));e({level:"error",trace:a,payload:n})};t.addEventListener("unhandledrejection",c),l.push((()=>{t.removeEventListener("unhandledrejection",c)}))}for(var d of i.level)l.push(h(n,d));return()=>{l.forEach((e=>e()))};function h(t,r){return t[r]?I(t,r,(t=>function(){for(var n=arguments.length,a=new Array(n),l=0;l<n;l++)a[l]=arguments[l];if(t(...a),!("assert"===r&&a[0]||o)){o=!0;try{var u=Tn.parse(new Error).map((e=>e.toString())).splice(1),c=("assert"===r?a.slice(1):a).map((e=>zn(e,i.stringifyOptions)));++s<i.lengthThreshold?e({level:r,trace:u,payload:c}):s===i.lengthThreshold&&e({level:"warn",trace:[],payload:[zn("The number of log records reached the threshold.")]})}catch(e){t("rrweb logger error:",e,...a)}finally{o=!1}}})):()=>{}}}var Wn,qn=e=>({name:"rrweb/console@1",observer:Un,options:e}),Gn=(e,t,r)=>{var n=()=>{throw new Error("Invalid internal text data")};(!Number.isSafeInteger(t)||t<1||t>1e6||!Number.isSafeInteger(r)||r<1||r>1e4||e.length>2e6||e.length%4!=0)&&n();for(var i=e.endsWith("==")?2:e.endsWith("=")?1:0,a=new Uint8Array(e.length/4*3-i),s=0,o=0,l=0,u=0;u<e.length-i;u++){var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e.charAt(u));c<0&&n(),l=l<<6|c,(o+=6)>=8&&(o-=8,a[s++]=l>>>o&255)}o&&l&(1<<o)-1&&n();for(var d,h,p=new Uint8Array(t),f=0,m=0,v=e=>{m+e>8*a.length&&n();var t=m>>>3,r=(a[t]|a[t+1]<<8|a[t+2]<<16)>>>(7&m)&(1<<e)-1;return m+=e,r},g=(e,t,r)=>{for(var i=new Uint16Array(16),a=0,s=0;s<e.length;s++){var o=e[s];o>15&&n(),o&&(i[o]++,a=Math.max(a,o))}for(var l=1,u=1;u<=15;u++)(l=2*l-i[u])<0&&n();(a?!l||t&&1===a&&1===i[1]:r)||n();for(var c=new Uint16Array(16),d=1;d<15;d++)c[d+1]=c[d]+i[d];for(var h=new Uint16Array(e.length),p=0;p<e.length;p++){var f=e[p];f&&(h[c[f]++]=p)}return{counts:i,symbols:h,maximum:a}},y=e=>{for(var t=0,r=0,i=0,a=1;a<=e.maximum;a++){t=t<<1|v(1);var s=e.counts[a];if(t>=r&&t-r<s)return e.symbols[i+t-r];i+=s,r=r+s<<1}return n()},w=0,b=0;!w;){++b>1024&&n(),w=v(1);var S=v(2);if(0===S){m=m+7&-8;var k=v(16);(65535!=(k^v(16))||f+k>t||m+8*k>8*a.length)&&n(),p.set(a.subarray(m>>>3,(m>>>3)+k),f),f+=k,m+=8*k}else{var C=void 0,M=void 0;if(1===S){if(!d||!h){for(var I=new Uint8Array(288),O=0;O<I.length;O++)I[O]=O<144?8:O<256?9:O<280?7:8;d=g(I,!1,!1);for(var x=new Uint8Array(32),E=0;E<x.length;E++)x[E]=5;h=g(x,!1,!1)}C=d,M=h}else{if(2!==S)return n();var R=v(5)+257,N=v(5)+1,A=v(4)+4;R>286&&n();for(var T=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],D=new Uint8Array(19),L=0;L<A;L++)D[T[L]]=v(3);for(var F=g(D,!1,!1),P=new Uint8Array(R+N),B=0;B<P.length;){var j=y(F);if(j<16)P[B++]=j;else{16!==j||B||n();var z=16===j?P[B-1]:0,H=16===j?v(2)+3:17===j?v(3)+3:v(7)+11;B+H>P.length&&n();for(var U=B+H;B<U;B++)P[B]=z}}P[256]||n(),C=g(P.subarray(0,R),!0,!1),M=g(P.subarray(R),!0,!0)}for(;;){var W=y(C);if(256===W)break;if(W<256)f===t&&n(),p[f++]=W;else{W>285&&n();var q=W-257,G=(q>>>2)-1,K=q<8?q+3:28===q?258:3+(4+(3&q)<<G)+v(G),V=y(M);V>29&&n();var J=(V>>>1)-1,Y=V<4?V+1:1+(2+(1&V)<<J)+v(J);(Y>f||f+K>t)&&n();for(var Z=0;Z<K;Z++)p[f]=p[f-Y],f++}}}}f===t&&Math.ceil(m/8)===a.length||n();for(var Q="",X=0;X<f;X+=4096)Q+=String.fromCharCode.apply(null,p.subarray(X,Math.min(X+4096,f)));var _=JSON.parse(Q);return Array.isArray(_)&&_.length===r&&!_.some((e=>"string"!=typeof e))||n(),Object.freeze(_)},Kn=e=>(Wn||(Wn=Gn("rX3bktw2suCvIDrOw25ss92SJVuaiX3QxT6jM7al6JY9EbuxoUCRqCpOswgaAKu75utPZCbuAFnVE/vgshqZCZK4JPKO/3vFes1GaRhn2qh+3F1dX7HDrA3bCMZHJjf/FK25ur76j63gZlbi23bgu28tHwbRFc1CKamK1omfBslLbCX0JEctAKCNVKL7tlNynr5NSk5CmV7oFdBNBJuE0nJM6V7dvmXuCfRF8Jn92A5zJ9idMOrUvNsaAe/76mWEG4FgcPrxyIe+y7Gwx3pvr7sXmzcv+fbHH77nr1/dvn7zo3i53bx6+4b/IN6+vn395sXr7e33P37ffv/m1W33+oftm83rH95ub18JLt62/Afo4unpghd6e3v744u3b1++fvXjq9u3b19cXV+9G9lPv/zO2kHwcZ7YlveD6P7KlDjwfuzHHZOPo1CaPfbDwLSB341gSgyCa9HBmH78/OsHORoxml8k73CSocd3Ix9Opm+1Xx392JueD/2/RMf6kXG2UfJR4wgAAfcE2vCT6NjEZ+27W4AyI9mkpBGtYeKp1wZeue/EaHpzYnzsGM04E0cxGv0X9v+5u0O/U9z0cmw6Adj070OvNW0NeNYgdrw9fQNKvhPJZnkcWccNZ0c+zKKOrsSfc6+EZuKJt4ZpOatWMK5Mv4W/4Z1aOW773Uwvgh1CV7C1mHgS7Yxf8ecsZtGx+49/Z7AZr66v/vb16xdmFB/1JJVJVo1/R7vJmVRsnGtUG9mdvoonU5CUqH596j2fRLoyM1RtuJl1PFT9aMROKLZV8sBe3N4ys1dy3u3Z67dvr66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n[27],Vn[28],Vn[29],Vn[30],Vn[31],Vn[32],Vn[33];var ei=Vn[34];Vn[35],Vn[36];var ti=Vn[37],ri=Vn[38];Vn[39],Vn[40],Vn[41],Vn[42],Vn[43],Vn[44];var ni=Vn[45];Vn[46],Vn[47];var ii=Vn[48];Vn[49],Vn[50],Vn[51];var ai=Vn[52],si=Vn[53];Vn[54],Vn[55],Vn[56],Vn[57],Vn[58],Vn[59];var oi=Vn[60];Vn[61],Vn[62],Vn[63],Vn[64];var li=Vn[65];Vn[66];var ui=Vn[67];Vn[68],Vn[69],Vn[70],Vn[71],Vn[72],Vn[73],Vn[74],Vn[75],Vn[76],Vn[77],Vn[78],Vn[79],Vn[80];var ci=Vn[81];Vn[82];var di=Vn[83];Vn[84];var hi=Vn[85],pi=Vn[86];Vn[87],Vn[88],Vn[89],Vn[90];var fi=Vn[91];Vn[92],Vn[93],Vn[94];var mi=Vn[95];Vn[96],Vn[97],Vn[98],Vn[99],Vn[100],Vn[101],Vn[102],Vn[103],Vn[104],Vn[105],Vn[106],Vn[107],Vn[108],Vn[109],Vn[110];var vi=Vn[111];Vn[112];var gi=Vn[113];Vn[114],Vn[115],Vn[116],Vn[117];var yi=Vn[118];Vn[119],Vn[120],Vn[121],Vn[122],Vn[123],Vn[124],Vn[125],Vn[126],Vn[127],Vn[128],Vn[129],Vn[130],Vn[131];var wi=Vn[132],bi=Vn[133],Si=Vn[134],ki=Vn[135],Ci=Vn[136];Vn[137],Vn[138];var Mi=Vn[139];Vn[140],Vn[141],Vn[142],Vn[143],Vn[144],Vn[145],Vn[146];var Ii=Vn[147];Vn[148],Vn[149],Vn[150];var Oi=Vn[151];Vn[152],Vn[153],Vn[154],Vn[155],Vn[156],Vn[157],Vn[158],Vn[159],Vn[160],Vn[161],Vn[162],Vn[163],Vn[164],Vn[165],Vn[166],Vn[167],Vn[168],Vn[169];var xi=Vn[170],Ei=Vn[171];Vn[172],Vn[173],Vn[174],Vn[175],Vn[176],Vn[177],Vn[178],Vn[179];var Ri=Vn[180];Vn[181],Vn[182];var Ni=Vn[183];Vn[184],Vn[185],Vn[186],Vn[187],Vn[188],Vn[189],Vn[190],Vn[191],Vn[192],Vn[193],Vn[194];var Ai=Vn[195],Ti=Vn[196];Vn[197],Vn[198],Vn[199],Vn[200],Vn[201],Vn[202];var Di=Vn[203];Vn[204],Vn[205],Vn[206],Vn[207],Vn[208],Vn[209],Vn[210],Vn[211];var Li=Vn[212];Vn[213],Vn[214];var Fi=Vn[215],Pi=Vn[216],Bi=Vn[217];Vn[218],Vn[219];var ji=Vn[220],zi=Vn[221];Vn[222],Vn[223],Vn[224];var Hi=Vn[225];Vn[226],Vn[227];var Ui=Vn[228];Vn[229];var Wi=Vn[230];Vn[231];var qi=Vn[232],Gi=Vn[233];Vn[234],Vn[235];var Ki=Vn[236];Vn[237];var Vi=Vn[238];Vn[239];var Ji=Vn[240];Vn[241],Vn[242],Vn[243];var Yi=Vn[244];Vn[245],Vn[246],Vn[247],Vn[248],Vn[249],Vn[250],Vn[251];var Zi=Vn[252],Qi=Vn[253];Vn[254],Vn[255],Vn[256],Vn[257],Vn[258],Vn[259],Vn[260],Vn[261];var Xi=Vn[262];Vn[263],Vn[264],Vn[265],Vn[266],Vn[267],Vn[268];var _i=Vn[269];Vn[270],Vn[271];var $i=Vn[272];Vn[273],Vn[274];var ea=Vn[275];Vn[276],Vn[277],Vn[278],Vn[279],Vn[280],Vn[281],Vn[282],Vn[283];var ta=Vn[284];Vn[285],Vn[286],Vn[287],Vn[288];var ra=Vn[289];Vn[290],Vn[291],Vn[292],Vn[293],Vn[294],Vn[295],Vn[296],Vn[297],Vn[298],Vn[299],Vn[300],Vn[301],Vn[302],Vn[303],Vn[304];var na=Vn[305];Vn[306],Vn[307];var ia=Vn[308];Vn[309],Vn[310],Vn[311],Vn[312],Vn[313],Vn[314],Vn[315],Vn[316];var aa=Vn[317];Vn[318],Vn[319],Vn[320],Vn[321],Vn[322];var sa=Vn[323],oa=Vn[324];Vn[325],Vn[326],Vn[327],Vn[328],Vn[329],Vn[330],Vn[331],Vn[332],Vn[333];var la=Vn[334];Vn[335],Vn[336],Vn[337],Vn[338],Vn[339],Vn[340],Vn[341],Vn[342],Vn[343],Vn[344],Vn[345],Vn[346],Vn[347];var ua=Vn[348];Vn[349],Vn[350];var ca=Vn[351];Vn[352];var da=Array.isArray,ha=e=>da(e),pa=e=>"object"==typeof e&&null!=e&&!ha(e),fa=e=>"string"==typeof e,ma=e=>!0===e||!1===e,va=e=>"function"==typeof e,ga=e=>{for(var t=0,r=0;r<e[qi];r+=1){var n=e[hi](r);if(n>=55296&&n<=56319){var i=e[hi](r+1);if(r+1>=e[qi]||i<56320||i>57343)return null;r+=1}else if(n>=56320&&n<=57343)return null;t+=1}return t},ya=e=>"number"==typeof e&&Number[sa](e),wa=e=>ya(e)&&Number[Qn](e)&&e>=0,ba=e=>Object.is(e,null),Sa=(e,t)=>Object.prototype[bi].call(e,t),ka=(e,t)=>Object.prototype[bi].call(e,t),Ca=(e,t)=>{var r=new Set(t);return Object.keys(e).every((e=>r.has(e)))},Ma=e=>{for(var t=0,r=0;r<e[qi];r+=1){var n=e[hi](r);if(n<=127)t+=1;else if(n<=2047)t+=2;else if(n>=55296&&n<=56319&&r+1<e[qi]){var i=e[hi](r+1);i>=56320&&i<=57343?(t+=4,r+=1):t+=3}else t+=3}return t},Ia=e=>Object.freeze(e),Oa=Gn("lVZNk9xEDP0rqj3H1IaCXDhtskAlB0hlFjhQHDTdst1MW2rU8nzw66luj+2Z2U2A44xtfbz39KTf79rRRiVoI3bg0PUE2fU0IIQMI+cxJVEjf/fqTg5M2nTEpGhBuKFjj2OeHiaVPXHDYo2TYQg2/U3HRM7IP8mwzSZMPy6f3726c8Jt6ICOKegJnIzRA4vBliCR5nCOPYScA3eAo/WiwU4woO5I717dBd5jDH4qf3leQmMqfdWCzv//XYMp/TUGpdy4UZXYGiXaYxznmuaX629ggSjckcKA5nrK4EfFbaSrZBN4MRBbgc1FyTVXNlHsaFMB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1e75P1pG5yiVE0GGpBNG+caiRqbsMJGvElWpZ4Oiszo/FfsZXhiTn5xqreF8Re6nq+f5NXmdKmEBYpX8qCrdFLK2OyvfZEc12HqYTZyvctvRaWGhlRjlsJIQK7uXR9BXXziWrks00iFwpfTataltqdbQDJh3gbvmQLgjbaxHbpLE4JaLYT1hP3dlz56+vlm7NaAjudEuTgRIxL7cGEpR0Ff3z2MRBvkbV5rJKF6I1yb/zAhnta+H7B//AA==",3110,85);Oa[0],Oa[1],Oa[2],Oa[3],Oa[4],Oa[5],Oa[6],Oa[7],Oa[8],Oa[9],Oa[10],Oa[11],Oa[12],Oa[13],Oa[14],Oa[15],Oa[16],Oa[17],Oa[18];var xa=Oa[19];Oa[20],Oa[21],Oa[22];var Ea=Oa[23];Oa[24],Oa[25],Oa[26],Oa[27],Oa[28],Oa[29],Oa[30],Oa[31],Oa[32],Oa[33],Oa[34],Oa[35],Oa[36],Oa[37],Oa[38],Oa[39],Oa[40],Oa[41],Oa[42],Oa[43],Oa[44],Oa[45],Oa[46],Oa[47],Oa[48],Oa[49],Oa[50],Oa[51],Oa[52],Oa[53],Oa[54],Oa[55],Oa[56],Oa[57],Oa[58],Oa[59],Oa[60],Oa[61],Oa[62],Oa[63],Oa[64],Oa[65],Oa[66],Oa[67],Oa[68],Oa[69],Oa[70],Oa[71],Oa[72],Oa[73],Oa[74],Oa[75],Oa[76],Oa[77],Oa[78],Oa[79],Oa[80],Oa[81],Oa[82],Oa[83],Oa[84];var Ra="https://ingest.elu.dev";Ia({[ua]:Ia([Ra]),[Yi]:Ia([Ra]),[$i]:Ia([Ra]),assets:Ia(["https://assets.elu.dev"])});var Na,Aa=Ia({[ua]:"/v1/events",[Yi]:"/v1/replay",[$i]:"/v1/flags",assets:"/sdk/"}),Ta=Ia({[ua]:"/v1/events",[Yi]:"/v2/replay",[$i]:"/v1/flags",assets:"/sdk/"});Ia({1:Aa,2:Ta}),Ia({1:"/sdk/v1/",2:"/sdk/v2/"});var Da=e=>(Na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OY6OskXC0l8iGHhC4VmVQyZf7c7jqDIF18JZEUq4mbKGwnZHoQrGCbkiOUzvJ0VgzPpR5gUxHB7unSalBetkss8V3Eh6WtOaRJzHelExg2PACpNtC5cFYkz+Rs9CilKFhhfIT0MHavx1jCFtIgc4p4jSJAUtPLrVbmUoTbE2ubadNylCG0SW3jP3P8Bnf3sweQx2HULcATE6FJSPtBVts7pXwH40EP6uVWI/H/3+M7DgOUyRIcdMLNKM4+slXdGUZFiNKT/uG3Gn+rwgYSxpIvvETdWeW2/kMCZNJz1vpbPN8mv0t0qkVub7q8KB8bTsfhRz2k5HlO0/GEDO2KJRfQ3rHY9t6ZKNMeM1z2fUL2esuOx0d2RX5+yyM41b3DGZTzKiBncr3qwjYNkTY90gZoTsZ1tPWd45unPVWWP1+XC1H//PQgDeR5683bVjd8riZxf3tn38B",2953,79)),Na[e]),La=/^(\d{4})-(\d{2})-(\d{2})[Tt](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(?:[Zz]|([+-])(\d{2}):(\d{2}))$/,Fa=(e,t)=>{throw new Error(e+" "+t)},Pa=function(e,t,n){var i;if(!fa(e))return Fa(t,Da(52));var a=ga(e);if(ba(a)||a<1||a>n)return Fa(t,"must contain between 1 and "+n+" Unicode scalars");var s=La.exec(e);if(!s)return Fa(t,Da(51));var o=Number(s[1]),l=Number(s[2]),u=Number(s[3]),c=Number(s[4]),d=Number(s[5]),h=Number(s[6]),p=(null!=(i=s[7])?i:"").replace(/0+$/,""),f=s[9]?Number(s[9]):0,m=s[10]?Number(s[10]):0;(l<1||l>12||u<1||u>((e,t)=>{var r=new Date(0);return r[Si](e,t,0),r.getUTCDate()})(o,l)||c>23||d>59||h>60||f>23||m>59)&&Fa(t,Da(49));var v=new Date(0);v[Si](o,l-1,u),v.setUTCHours(c,d,Math.min(h,59),0);var g=v.getTime()/1e3-("-"===s[8]?-1:1)*(60*f+m)*60;ya(g)&&Number[Qn](g)||Fa(t,Da(33));var y=60===h;if(y){var w=new Date(1e3*(g+1));0===w.getUTCHours()&&0===w.getUTCMinutes()&&0===w.getUTCSeconds()&&1===w.getUTCDate()&&(0===w.getUTCMonth()||6===w.getUTCMonth())||Fa(t,Da(54))}var b=(e=>{var t=Math.floor(e/86400);return Ia({epochDay:t,[yi]:e-86400*t})})(g);return Ia(r({source:e},b,{[pi]:y,[Xn]:p}))},Ba="__eluReplayUrlScopeV1",ja=Object.freeze({paused:Object.freeze({tag:"recording paused",payload:Object.freeze({reason:"url blocker"})}),resumed:Object.freeze({tag:"recording resumed",payload:Object.freeze({reason:"left blocked url"})}),started:Object.freeze({tag:"$recording_started",reason:"url_trigger_matched"})}),za=e=>{var t,n,i,a=e.scope,s=a.urlBlocklist.map((e=>{try{return new RegExp(e.url)}catch(e){return null}})),o=null!=(t=e.href)?t:()=>{var e;return null==(e=globalThis.location)?void 0:e.href},l=null!=(n=e.carry)?n:{read:()=>{try{var e=globalThis.document,t=null==e?void 0:e[Ba];return pa(t)&&fa(t.key)&&ma(t.blocked)?{key:t.key,blocked:t.blocked}:void 0}catch(e){return}},write:e=>{try{var t=globalThis.document;t&&Object.defineProperty(t,Ba,{value:Ia(r({},e)),configurable:!0,writable:!0})}catch(e){}}},u=null!=(i=e.defer)?i:e=>{Promise.resolve().then(e)},c=a.siteKey,d=l.read(),h=(null==d?void 0:d.key)===c&&!0===d.blocked,p=!1,f=!1,m="",v=!1,g=()=>l.write({key:c,blocked:h}),y=e=>{if(!v&&e)try{e()}catch(e){}},w=(t,n)=>y((()=>null==e.addCustomEvent?void 0:e.addCustomEvent(t,r({},n)))),b=()=>{var t;try{t=o()}catch(e){t=null}if(t&&t!==m){m=t;var r=(e=>s.some((t=>null===t||t.test(e))))(t);r&&!h?(h=!0,g(),u((()=>{h&&w(ja.paused.tag,ja.paused.payload)}))):!r&&h&&(h=!1,g(),p=!0,f||(f=!0,u((()=>{f=!1,p&&!h&&y(e.takeFullSnapshot)}))),u((()=>{h||w(ja.resumed.tag,ja.resumed.payload)})))}};return Object.freeze({admit(e){if(v)return"drop";if(b(),h)return(e=>pa(e)&&5===e.type&&pa(e.data)&&e.data.tag===ja.paused.tag)(e)?"record":"drop";if(p){if(4!==(e=>pa(e)?e.type:void 0)(e))return"drop";p=!1}return"record"},state:()=>Ia({blocked:h,awaitingSnapshot:p,closed:v}),close(){v=!0}})};Ia({names:100,nameLength:512,flagLength:400,keyLength:512,groups:20,groupIdLength:128,groupNameLength:400,groupEntries:100,filters:50,filterValues:100,valueLength:1e3,urlLength:2e3,minDurationMs:36e5}),Ia({rules:100,conditions:50,values:100,valueLength:1e3}),Ia(["Asia/Nicosia","Asia/Famagusta","Atlantic/Canary","Atlantic/Madeira","Atlantic/Azores","Atlantic/Reykjavik","Atlantic/Faroe","Africa/Ceuta","America/Cayenne","America/Guadeloupe","America/Martinique","Indian/Reunion","Indian/Mayotte"]);var Ha=Ia({sampled:!1,[ui]:!1,[xi]:!1,[ci]:0,[Ji]:null}),Ua=new Set(["password","email","tel","hidden"]),Wa=["src","srcset"],qa=new Set(["img","picture","source"]),Ga="rr_dataURL",Ka=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),Va=(e,t,n)=>{var i=r({},t),a="string"==typeof i.type?i.type[Ci]():"";if(("all"===n.inputRule||Ua.has(a)||"textarea"===e)&&"value"in i&&delete i.value,"block"===n.imageRule&&qa.has(e))for(var s of Wa)s in i&&delete i[s];return"block"===n.imageRule&&Ga in i&&delete i[Ga],i},Ja=(e,t)=>{if(!Ka(e))return e;var n=r({},e),i=n.type;if(5===i)n.textContent="";else if(3===i&&"all"===t.textRule)!0!==n.isStyle&&(n.textContent="");else if(2===i){var a="string"==typeof n.tagName?n.tagName[Ci]():"";Ka(n[Ri])&&(n[Ri]=Va(a,n[Ri],t))}return Array.isArray(n.childNodes)&&(n.childNodes=n.childNodes.map((e=>Ja(e,t)))),n},Ya=(e,t)=>{var n=r({},e);return"all"===t.textRule&&Array.isArray(n.texts)&&(n.texts=n.texts.map((e=>Ka(e)?r({},e,{value:""}):e))),Array.isArray(n[Ri])&&(n[Ri]=n[Ri].map((e=>Ka(e)&&Ka(e[Ri])?r({},e,{[Ri]:Va("",e[Ri],t)}):e))),Array.isArray(n.adds)&&(n.adds=n.adds.map((e=>Ka(e)?r({},e,{node:Ja(e.node,t)}):e))),n},Za=(e,t)=>{if(!Ka(e))return e;var n=e.data;if(!Ka(n))return e;if(2===e.type)return r({},e,{data:r({},n,{node:Ja(n.node,t)})});if(3!==e.type)return e;if(0===n.source)return r({},e,{data:Ya(n,t)});if(5===n.source){var i=r({},n);return"all"===t.inputRule&&"string"==typeof i.text&&(i.text=""),r({},e,{data:i})}return 9===n.source&&"block"===t.imageRule?r({},e,{data:{source:n.source,id:n.id,type:n.type,commands:[]}}):e},Qa=/^[a-f0-9]{64}$/,Xa=function(){var e=t((function*(e){var t="undefined"==typeof globalThis?void 0:globalThis.crypto;if(null==t||!t.subtle)return null;try{var r=yield t.subtle.digest("SHA-256",e),n="";for(var i of new Uint8Array(r))n+=i.toString(16).padStart(2,"0");return n}catch(e){return null}}));return function(t){return e.apply(this,arguments)}}(),_a=function(){var e=t((function*(e,t){void 0===t&&(t=Xa);var r=yield t(e);if(!fa(r)||!Qa.test(r[Ci]()))throw new Error(Da(5));return r[Ci]()}));return function(t,r){return e.apply(this,arguments)}}(),$a=e=>fa(e)&&/^sha256:[a-f0-9]{64}$/.test(e),es=e=>(new TextEncoder).encode(e);class ts extends Error{constructor(e,t){super(t),this.code=void 0,this.name=Da(10),this.code=e}}class rs extends Error{constructor(e){super(e),this.name=Da(7)}}class ns extends Error{constructor(e){super(e),this.name=Da(8)}}class is extends Error{constructor(e){super(e),this.name=Da(11)}}var as=Ia({maximumReplayDecodedBytes:16777216,[Li]:1e4,maximumJsonNestingDepth:256});function ss(e,t){throw new ts(e,t)}var os=(e,t)=>{ba(ga(e))&&ss("invalid-unicode",t+" contains an unpaired Unicode surrogate")},ls=e=>void 0===e||va(e)||"symbol"==typeof e,us=(e,t,r,n,i)=>{if(ba(e))return"null";switch(typeof e){case"string":return os(e,r),JSON[Vi](e);case"number":return Number[sa](e)||ss(aa,r+" must be a finite number"),JSON[Vi](e);case"boolean":return e?"true":"false";case"object":break;default:return ss(aa,r+" has an unsupported "+typeof e+" value")}var a=t+1;if(a>n&&ss(Da(34),r+" exceeds the maximum JSON nesting depth of "+n),a>i.depth&&(i.depth=a),ha(e)){for(var s=[],o=0;o<e[qi];o+=1){ka(e,o)||ss(aa,r+"["+o+"] is a sparse array hole");var l=e[o];s.push(ls(l)?"null":us(l,a,r+"["+o+"]",n,i))}return"["+s.join(",")+"]"}if(!(e=>{var t=Object[oi](e);return ba(t)||t===Object.prototype})(e))return ss(aa,r+" must be a plain JSON object or array");var u=e,c=Object.keys(u).sort(),d=[];for(var h of c){var p=u[h];ls(p)||(os(h,r+"."+h),d.push(JSON[Vi](h)+":"+us(p,a,r+"."+h,n,i)))}return"{"+d.join(",")+"}"},cs=function(e,t,r){return void 0===r&&(r=256),ls(e)&&ss(aa,t+" must be a JSON value"),us(e,0,t,r,{depth:0})},ds="elu-css-selector-v1",hs=[Yn,Ii,"textRule","inputRule","imageRule",vi,Ea,Oi,Mi],ps=["all","sensitive"],fs=["all","sensitive"],ms=["block","allow"];function vs(e){throw new rs(e)}var gs=(e,t,r)=>(fa(e)&&t.includes(e)||vs(r+" must be one of "+t.join(", ")),e),ys=(e,t)=>{var r=fa(e)?ga(e):null;return ba(r)||r<1||r>512?vs(t+" must be a selector of 1 to 512 Unicode scalars"):e},ws=(e,t)=>{ha(e)||vs(t+" must be an array of selectors");for(var r=new Set,n=0;n<e[qi];n+=1)ka(e,n)||vs(t+" must not be sparse"),r.add(ys(e[n],t+"["+n+"]"));return r.size>128&&vs(t+" may carry at most 128 selectors"),Ia([...r].sort())},bs=e=>{for(var t of(pa(e)&&Ca(e,hs)||vs(Da(39)),hs))Sa(e,t)||vs("masking profile "+t+" is required");return 1!==e[Yn]&&vs("masking profile schemaVersion must be 1"),e[Ii]!==ds&&vs("masking profile targetDialect must be "+ds),!0!==e[vi]&&vs(Da(43)),ma(e[$n])||vs(Da(40)),Ia({[Yn]:1,[Ii]:ds,textRule:gs(e.textRule,ps,Da(44)),inputRule:gs(e.inputRule,fs,Da(38)),imageRule:gs(e.imageRule,ms,Da(37)),[vi]:!0,[$n]:e[$n],[Oi]:ws(e[Oi],Da(42)),[Mi]:ws(e[Mi],Da(41))})},Ss=Object.freeze(["img","picture","svg","canvas"]),ks=e=>e[qi]>0?e.join(", "):void 0,Cs=e=>{if(!0!==e[vi])throw new rs(Kn(93));var t="all"===e.inputRule,n="all"===e.textRule?"*":ks(e[Oi]),i=ks([...e[Mi],..."block"===e.imageRule?Ss:[]]);return Object.freeze(r({maskAllInputs:t},t?{}:{maskInputOptions:Object.freeze({password:!0})},void 0===n?{}:{maskTextSelector:n},void 0===i?{}:{blockSelector:i}))},Ms=Object.freeze([".ph-mask",".elu-mask"]),Is=Object.freeze([".ph-no-capture",".elu-no-capture"]),Os=Object.freeze([".ph-ignore-input",".elu-ignore-input"]),xs=Object.freeze({maskAllInputs:!1,maskAllText:!1,maskedInputKinds:Object.freeze([]),maskTextSelectors:Object.freeze([]),blockSelectors:Object.freeze([]),ignoreSelectors:Object.freeze([])}),Es=e=>Object.freeze([...new Set(e)]),Rs="rrweb/console@1",Ns=Object.freeze(["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"]),As="...[truncated]",Ts=Object.freeze({recordConsole:!1}),Ds=e=>pa(e)&&6===e.type&&pa(e.data),Ls=e=>Ds(e)&&e.data.plugin===Rs&&pa(e.data.payload)&&"string"==typeof e.data.payload.level&&Ns.includes(e.data.payload.level)&&ha(e.data.payload.trace)&&ha(e.data.payload.payload),Fs=(e,t)=>{var r=e.slice(0,t).map((e=>"string"!=typeof e?"":e.length>2e3?e.slice(0,2e3)+As:e));return e.length>t&&r.push(As),r},Ps="rrweb/network@1",Bs=1e6,js="[SessionRecording]",zs="redacted",Hs="[SessionReplay] Failed to read body",Us=["audio","beacon","body","css","early-hint","embed","fetch","frame","iframe","icon","image","img","input","link","navigation","object","ping","script","track","video","xmlhttprequest"],Ws=["first-input","navigation","paint","resource"],qs=[".lr-ingest.io",".ingest.sentry.io",".clarity.ms","google-analytics.com","analytics.google.com","nr-data.net","datadoghq.com","datadoghq.eu","ddog-gov.com","segment.io","rudderstack.com","amplitude.com","mixpanel.com","hotjar.com","hotjar.io","fullstory.com"],Gs=["authorization","x-forwarded-for","cookie","set-cookie","x-api-key","x-real-ip","remote-addr","forwarded","proxy-authorization","x-csrf-token","x-csrftoken","x-xsrf-token"],Ks=["auth","token","secret","session","api-key","apikey","api_key","credential","password","passwd","cookie","csrf","xsrf"],Vs=["password","secret","passwd","api_key","apikey","auth","credentials","mysql_pwd","privatekey","private_key","token"],Js=["image/","video/","audio/","font/","application/octet-stream","application/pdf","application/zip","application/wasm"],Ys=["video/","audio/"],Zs=new RegExp("^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$"),Qs=/(^|[^0-9A-Za-z_])([0-9][0-9 -]*[0-9])(?=$|[^0-9A-Za-z_])/g,Xs=[16,15,14,13],_s=/(^|[^0-9])((?!000|666)[0-9]{3}-?(?!00)[0-9]{2}-?(?!0000)[0-9]{4})(?=$|([^0-9]))/g,$s=/[0-9A-Za-z_]/,eo=()=>{},to=e=>{for(var t=0,r=!1,n=e.length-1;n>=0;n--){var i=e.charCodeAt(n)-48;r&&(i*=2)>9&&(i-=9),t+=i,r=!r}return t%10==0},ro=e=>{for(var t=null,r=0;r<e.length;r++){var n=e.charCodeAt(r),i=n>=55296&&n<=56319,a=n>=56320&&n<=57343;if(i){var s=e.charCodeAt(r+1);if(r+1<e.length&&s>=56320&&s<=57343){null!==t&&(t+=e.slice(r,r+2)),r++;continue}}i||a?(null===t&&(t=e.slice(0,r)),t+="�"):null!==t&&(t+=e[r])}return null!=t?t:e},no=e=>{var t=e.toLowerCase();return Gs.includes(t)||Ks.some((e=>t.includes(e)))},io=e=>{if(pa(e)){var t={};for(var r of Object.keys(e)){var n=e[r];t[ro(r)]=no(r)?zs:ro(String(n))}return t}},ao=(e,t,r)=>{if(null==e)return e;var n=null==t?void 0:t["content-length"],i=n?parseInt(n,10):Ma(e);return i>Bs?js+" "+r+" body too large to record ("+i+" bytes)":e.length>25e4&&JSON.stringify(e).length>15e5?js+" "+r+" body too large to record ("+Ma(e)+" bytes)":e},so=(e,t)=>{if(null==e)return e;var r=e,n=e.trim();for(var i of(((e=>{var t;for(Qs.lastIndex=0;t=Qs.exec(e);)for(var r,n=(null!=(r=t[2])?r:"").replace(/[- ]/g,""),i=0;i<n.length;i++)for(var a of Xs){var s=i+a;if(!(s>n.length)){var o=n.slice(i,s);if(Zs.test(o)&&to(o))return!0}}return!1})(n)||(e=>{var t;for(_s.lastIndex=0;t=_s.exec(e);){var r=t[1],n=t[3];if(!(r&&n&&$s.test(r)&&$s.test(n)))return!0}return!1})(n))&&(r=js+" "+t+" body "+zs),Vs))r.length&&-1!==r.indexOf(i)&&(r=js+" "+t+" body "+zs+" as might contain: "+i);return r},oo=(e,t)=>{var r=((e,t)=>{try{return new URL(e,t).hostname}catch(e){return null}})(e,t);return r&&r.trim().length&&qs.some((e=>r.endsWith(e)))?r:null},lo=(e,t,r)=>{var n;if(!e)return!1;if(r.startsWith("blob:"))return!1;var i=null==(n=((e,t)=>{if(e){var r=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));return void 0===r?void 0:e[r]}})(t))?void 0:n.toLowerCase();return!(i&&Js.some((e=>i.includes(e))))},uo=e=>{var t={};return e.forEach(((e,r)=>{t[r]=e})),t},co=e=>"[SessionReplay] Body too large to record (> "+e+" bytes)",ho=e=>pa(e)&&va(e.getReader)&&va(e.tee),po=function(e,t,r){return void 0===t&&(t=Bs),void 0===r&&(r=500),((e,t)=>{try{var r=e.headers.get("content-length");if(!r)return!1;var n=parseInt(r,10);return Number.isFinite(n)&&n>t}catch(e){return!1}})(e,t)?Promise.resolve(co(t)):new Promise((n=>{var i,a,s=!1,o=()=>{try{var e;null==(e=i)||e.cancel().catch(eo)}catch(e){}},l=e=>{s||(s=!0,clearTimeout(u),o(),n(e))},u=setTimeout((()=>l("[SessionReplay] Timeout while trying to read body")),r);try{a=e.clone()}catch(e){return void l(Hs)}var c=a.body;if(ho(c)&&"undefined"!=typeof TextDecoder){try{i=c.getReader()}catch(e){return void l(Hs)}var d=[],h=0,p=()=>{i.read().then((e=>{var r=e.done,n=e.value;if(s)o();else if(r){var i=new Uint8Array(h),a=0;for(var u of d)i.set(u,a),a+=u.byteLength;l((new TextDecoder).decode(i))}else{if(n){if(h+n.byteLength>t)return void l(co(t));h+=n.byteLength,d.push(n)}p()}}),(e=>l(Hs+": "+e)))};p()}else try{a.text().then((e=>l(e)),(e=>l(Hs+": "+e)))}catch(e){l(Hs)}}))},fo=(e,t,r)=>{if(null==e)return null;var n,i=oo(t,r);if(i)return i+" is in deny list";if(fa(e))return e;if("undefined"!=typeof Document&&e instanceof Document)return e.textContent;if("undefined"!=typeof FormData&&e instanceof FormData)return n=[],e.forEach(((e,t)=>{if(void 0!==t&&"undefined"!==t){var r="undefined"!=typeof File&&e instanceof File?e.name:String(e);n.push(encodeURIComponent(t)+"="+encodeURIComponent(r))}})),n.join("&");if("undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams)return e.toString();if("object"==typeof e)try{return JSON.stringify(e)}catch(e){return"[SessionReplay] Failed to stringify response object"}return"[SessionReplay] Cannot read body of type "+Object.prototype.toString.call(e)},mo=e=>"resource"===e.entryType,vo=e=>void 0===e?void 0:Math.round(e),go=(e,t)=>{var n,i=t.entry,a=i?i.startTime:t.start,s=i?i.responseEnd:t.end,o=Math.floor(Date.now()-e.now()),l=Math.floor(o+(a||0)),u=[r({},i?i.toJSON():{name:t.url},{startTime:vo(a),endTime:vo(s),timeOrigin:o,timestamp:l,method:t.method,initiatorType:null!=(n=t.initiatorType)?n:null==i?void 0:i.initiatorType,status:t.status,requestHeaders:t.captured.requestHeaders,requestBody:t.captured.requestBody,responseHeaders:t.captured.responseHeaders,responseBody:t.captured.responseBody,isInitial:t.isInitial})];if(i&&("navigation"===i.entryType||"resource"===i.entryType))for(var c of i.serverTiming||[])u.push({timeOrigin:o,timestamp:l,startTime:Math.round(i.startTime),name:c.name,duration:c.duration,entryType:"serverTiming"});return u},yo=function(e,t,r,n,i,a,s){if(void 0===s&&(s=0),s>10||!a())return Promise.resolve(null);var o;try{for(var l=e.getEntriesByName(r),u=l.length-1;u>=0;u--){var c=l[u];if(mo(c)&&c.initiatorType===t&&(void 0===n||c.startTime>=n)&&(void 0===i||c.startTime<=i)){o=c;break}}}catch(e){return Promise.resolve(null)}return o?Promise.resolve(o):new Promise((e=>setTimeout(e,50*s))).then((()=>yo(e,t,r,n,i,a,s+1)))},wo="__eluReplayNetworkV1",bo=(e,t,r,n,i)=>{var a=null==e?void 0:e[t];if(!a){var s=r[n];if(!va(s))return eo;var o=s,l={next:o,handler:null,wrapped:function(){for(var e=l.handler,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e?e(this,r,o):o.apply(this,r)}};r[n]=l.wrapped,e&&(e[t]=l),a=l}var u=a;return u.handler=i,()=>{u.handler===i&&(u.handler=null),r[n]===u.wrapped&&(r[n]=u.next,e&&e[t]===u&&delete e[t])}},So=e=>{var t=Object.freeze([...e.excluded]),n=e.headers||e.body,i=!1;return Object.freeze({name:Ps,observer:(a,s)=>{if(i)return eo;i=!0;var o=!1,l=()=>{try{return s.location.href}catch(e){return"about:blank"}},u=e=>{if(!fa(e))return!1;try{var r=new URL(e,l()),n=r.origin+r.pathname;return t.some((e=>n.startsWith(e)))}catch(e){return!1}},c=e=>{if("serverTiming"!==e.entryType&&u(e.name))return null;var t=io(e.requestHeaders),n=io(e.responseHeaders),i=e=>fa(e)?ro(e):null===e?null:void 0,a=so(ao(i(e.requestBody),t,"Request"),"Request"),s=so(ao(i(e.responseBody),n,"Response"),"Response"),o=r({},e);return fa(o.name)&&(o.name=ro(o.name)),o.requestHeaders=t,o.responseHeaders=n,o.requestBody=a,o.responseBody=s,o},d=function(e,t){if(void 0===t&&(t=!1),!o){var r=[],n=!1;for(var i of e){var s="serverTiming"===i.entryType;if(!s||!n){var l=null;try{l=c(i)}catch(e){l=null}s||(n=!l),l&&r.push(l)}}if(r.length&&!o)try{a(t?{requests:r,isInitial:!0}:{requests:r})}catch(e){}}},h=s.performance,p=[];if(h){try{p.push(ko(s,h,e.timing,n,d))}catch(e){}if(n){var f={win:s,performance:h,options:e,live:()=>!o,base:l,isExcluded:u,emit:d},m=(e=>{try{var t=e.document,r=t[wo];if(r)return r;var n={};return Object.defineProperty(t,wo,{value:n,configurable:!0}),n}catch(e){return null}})(s);try{p.push(Io(f,m))}catch(e){}try{p.push(xo(f,m))}catch(e){}}}return()=>{for(var e of(o=!0,p))try{e()}catch(e){}}},options:null})},ko=(e,t,r,n,i)=>{var a,s=e=>(e=>"navigation"===e.entryType)(e)||mo(e)&&Us.includes(e.initiatorType);if(r){var o=t.getEntries().filter(s);i(o.flatMap((e=>go(t,{entry:e,captured:{},isInitial:!0}))),!0)}var l=e.PerformanceObserver;if(!va(l))return eo;var u=new l((e=>{var r=e.getEntries().filter((e=>s(e)&&!(n&&("xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType))));i(r.flatMap((e=>go(t,{entry:e,captured:{}}))))})),c=null!=(a=l.supportedEntryTypes)?a:[];return u.observe({entryTypes:c.filter((e=>Ws.includes(e)))}),()=>u.disconnect()},Co=e=>{if("undefined"==typeof Request)return!1;if(e instanceof Request)return!0;try{return"[object Request]"===Object.prototype.toString.call(e)}catch(e){return!1}},Mo=e=>{try{return fa(e)?e:Co(e)?e.url:String(null!=e?e:"")}catch(e){return""}},Io=(e,t)=>{var r=e.win,n=e.performance,i=e.options;return bo(t,"fetch",r,"fetch",((t,r,a)=>{var s,o=r,l=o[0],u=o[1];if(!e.live()||e.isExcluded(Mo(l)))return a.apply(t,r);try{s=Co(l)?new Request(l.clone(),u):new Request(l,u)}catch(e){return a.apply(t,r)}var c=s.url,d={},h=[];try{var p=uo(s.headers);if(i.headers&&(d.requestHeaders=p),!ho(null==u?void 0:u.body)&&lo(i.body,p,c)){var f=oo(c,e.base());h.push((f?Promise.resolve(f+" is in deny list"):po(s)).then((e=>{d.requestBody=e})))}}catch(e){}var m,v,g,y=n.now(),w=()=>{Promise.all(h).then((()=>yo(n,"fetch",c,y,v,e.live))).then((t=>e.emit(go(n,{entry:t,method:s.method,status:m,captured:d,start:y,end:v,url:c,initiatorType:"fetch"})))).catch(eo)};try{g=a.apply(t,r)}catch(e){throw v=n.now(),w(),e}return Promise.resolve(g).then((t=>{v=n.now();try{m=t.status;var r=uo(t.headers);if(i.headers&&(d.responseHeaders=r),lo(i.body,r,c)){var a=Oo(t,c,e.base());h.push((a?Promise.resolve(a):po(t)).then((e=>{d.responseBody=e})))}}catch(e){}return w(),t}),(e=>{throw v=n.now(),w(),e}))}))},Oo=(e,t,r)=>{var n;if("chunked"===e.headers.get("Transfer-Encoding"))return"Chunked Transfer-Encoding is not supported";var i=null==(n=e.headers.get("Content-Type"))?void 0:n.toLowerCase();if(i&&Ys.some((e=>i.startsWith(e))))return"Content-Type "+i+" is not supported";var a=oo(t,r);return a?a+" is in deny list":null},xo=(e,t)=>{var r=e.win.XMLHttpRequest,n=null==r?void 0:r.prototype;return n?bo(t,"open",n,"open",((t,r,n)=>{var i=t,a=r,s=a[0],o=a[1],l=Mo(o instanceof URL?o.href:o);if(e.live()&&!e.isExcluded(l))try{Eo(e,i,String(s),l)}catch(e){}return n.apply(i,r)})):eo},Eo=(e,t,r,n)=>{var i,a,s=e.performance,o=e.options,l=new URL(n,e.base()).href,u={},c={},d=t.setRequestHeader.bind(t);t.setRequestHeader=(e,t)=>{c[e]=t,d(e,t)},o.headers&&(u.requestHeaders=c);var h=t.send.bind(t);t.send=t=>{if(e.live()&&lo(o.body,c,l))try{u.requestBody=fo(t,l,e.base())}catch(e){}i=s.now(),h(t)};var p=()=>{t.removeEventListener("readystatechange",f),t.removeEventListener("error",p),t.removeEventListener("abort",p),t.removeEventListener("timeout",p)},f=()=>{if(t.readyState===t.DONE&&(p(),e.live())){a=s.now();try{var c={};for(var d of t.getAllResponseHeaders().trim().split(/[\r\n]+/)){var h=d.split(": "),f=h.shift();f&&(c[f]=h.join(": "))}o.headers&&(u.responseHeaders=c),lo(o.body,c,l)&&(u.responseBody=fo(t.response,l,e.base()))}catch(e){}var m=t.status;yo(s,"xmlhttprequest",l,i,a,e.live).then((t=>e.emit(go(s,{entry:t,method:r,status:m,captured:u,start:i,end:a,url:n,initiatorType:"xmlhttprequest"})))).catch(eo)}};t.addEventListener("readystatechange",f),t.addEventListener("error",p),t.addEventListener("abort",p),t.addEventListener("timeout",p)},Ro=e=>"object"==typeof e&&null!==e&&!ha(e),No=e=>{if(ha(e))return e.map(No);if(!Ro(e))return e;var t={};for(var r of Object.keys(e))t[r]=No(e[r]);return Ro(t[Ri])&&delete t[Ri].value,3===t.type&&Ro(t.data)&&5===t.data.source&&(t.data.text=""),t},Ao=(e,t)=>Number[Qn](e)&&e>0&&e<=t,To=1048576,Do=e=>{var n=bs(e.profile);if(!Ao(e.maximumEventBytes,8388608)||!Ao(e.maximumPendingBytes,16777216)||e.maximumPendingBytes<e.maximumEventBytes||!Ao(e.maximumPendingEvents,1e3))throw new Error(Kn(566));var i=e.checkoutEveryNms;if(void 0!==i&&!(Number.isSafeInteger(i)&&i>=1e3&&i<=36e5))throw new Error("invalid recorder checkout interval");var a=Cs(n),s=function(e,t,n){void 0===n&&(n=Cs(e));var i=null!=t?t:xs,a="all"===e.textRule||!0===i.maskAllText?"all":"sensitive",s="all"===e.inputRule||!0===i.maskAllInputs?"all":"sensitive",o=Es([...e.resolvedMaskSelectors,...Ms,...i.maskTextSelectors]),l=ks(Es([...n.blockSelector?[n.blockSelector]:[],...Is,...i.blockSelectors])),u=Es([...Os,...i.ignoreSelectors]).join(", ");return Object.freeze(r({maskAllInputs:"all"===s},"all"===s?{}:{maskInputOptions:Object.freeze({password:!0})},{maskTextSelector:"all"===a?"*":o.join(", ")},l?{blockSelector:l}:{},{ignoreSelector:u,textRule:a,inputRule:s,maskedInputKinds:Es(i.maskedInputKinds),maskSelectors:o}))}(n,e.pageMasking,a);for(var o of[...n[Oi],...n[Mi],...s.maskSelectors,...null!=(l=null==(u=e.pageMasking)?void 0:u.blockSelectors)?l:[],...null!=(c=null==(d=e.pageMasking)?void 0:d.ignoreSelectors)?c:[]]){var l,u,c,d;e.document.querySelector(o)}var h=['input[type="hidden"]',"iframe","object","embed",s.blockSelector].filter((e=>void 0!==e)).join(", ");e.document.querySelector(h),e.document.querySelector(s.ignoreSelector),e.document.querySelector(s.maskTextSelector);var p,f=bs(r({},n,{textRule:s.textRule,inputRule:s.inputRule})),m=Math.min(4194304,Math.floor(e.maximumPendingBytes/4)),v=Math.min(To,e.maximumEventBytes,m),g=m,y=Math.min(3145728,e.maximumEventBytes,g),w=m,b=Math.min(e.maximumEventBytes,w),S=!1,k=!1,C=0,M=0,I=0,O=0,x=(p=e.fullSnapshotIntervalMs,Object.freeze({checkoutEveryNms:ya(p)&&p>0?Math.max(1e4,Math.min(18e5,Math.floor(p))):3e5})),E=!1,R=0,N=0,A=-1,T=0,D=!1,L=!1,F=!1,P=!1,B=!0,j={},z=null,H=null,U=null,W=0,q=0,G=null,K=Promise[Zi](),V=t=>{try{null==e.onFailure||e.onFailure(t)}catch(e){}},J=()=>{if(D)return Ha;try{var t=e.eligibility();return!Number[Qn](t[ci])||t[ci]<0||t[ci]>86400?Ha:Object.freeze({sampled:!0===t.sampled,[xi]:!0===t[xi],[ci]:t[ci],[Ji]:t[Ji],[ui]:!0})}catch(e){return Ha}},Y=()=>{var t=J();return t.sampled&&t[xi]&&t[ci]>0&&null!==t[Ji]&&e[ta]()},Z=e=>{try{null==e||e()}catch(e){B=!1,D=!0,j={},V("engine-stop")}},Q=()=>{var e=H;H=null,null==e||e.close()},X=()=>{var e=z;z=null,Q(),Z(e)},_=()=>{var e=U;U=null,Z(e)},$=()=>(j={},L=!1,F=!1,_(),X(),K),ee=e=>{D=!0,$(),V(e)},te=function(e,t){void 0===t&&(t=!1);try{return(L||t&&F)&&!D&&j===e&&Y()}catch(e){return!1}};return Object.freeze({profile:n,capability:J,start:()=>{if(D||L||F||P||!B||W>0)return!1;try{if(!Y())return!1}catch(e){return!1}var a={},o=((e,t)=>{var r=null;try{r="allow"===e.imageRule&&t?t():null}catch(e){}return!r||!Number.isSafeInteger(r.fps)||r.fps<1||r.fps>12||"number"!=typeof r.quality||!(r.quality>0&&r.quality<=1)?{recordCanvas:!1}:{recordCanvas:!0,sampling:{canvas:r.fps},dataURLOptions:{type:"image/webp",quality:r.quality},canvasMasking:{configured:()=>!0}}})(n,e.canvas),l=(e=>{var t=null;try{t=e?e():null}catch(e){return null}if(!(t&&ma(t.timing)&&ma(t.headers)&&ma(t.body)&&(t.timing||t.headers||t.body)))return null;var r=(e=>{if(!ha(e))return null;var t=[];for(var r of e){if(!fa(r))return null;try{var n=new URL(r);if("https:"!==n.protocol&&"http:"!==n.protocol)return null;t.push(n.origin+n.pathname)}catch(e){return null}}return t})(t.excluded);return r?So({timing:t.timing,headers:t.headers,body:t.body,excluded:r}):null})(e.network),u=(e=>{var t=null;try{t=e?e():null}catch(e){}return pa(t)?Object.freeze({recordConsole:!0,consolePlugin:Object.freeze({level:Ns,lengthThreshold:1e3,stringifyOptions:Object.freeze({numOfKeysLimit:50,depthOfLimit:4}),logger:"console"})}):Ts})(e.console);j=a,G=null,E=o.recordCanvas,S=null!==l,k=u.recordConsole,L=!0;try{var c;P=!0;var d=e.subscribeToRestrictions((()=>{j===a&&$()}));if(P=!1,!te(a))return Z(d),!1;U=d;var p=null!=(c=null==e.urlScope?void 0:e.urlScope())?c:null;H=p?za({scope:p,takeFullSnapshot:e.engine.takeFullSnapshot,addCustomEvent:e.engine.addCustomEvent}):null,P=!0;var V=e.engine(r({maskTextSelector:s.maskTextSelector,maskAllInputs:!0,maskInputOptions:{password:!0,email:!0,tel:!0,textarea:!0},maskInputFn:(e,t)=>{var r,i=null==(r=t.getAttribute("type"))?void 0:r[Ci](),a="TEXTAREA"===t.tagName?"textarea":"SELECT"===t.tagName?"select":null!=i?i:"text";if("all"===s.inputRule||["password","email","tel","hidden"].includes(null!=i?i:"")||"TEXTAREA"===t.tagName||s.maskedInputKinds.includes(a))return"";for(var o of n[Oi])if(t.closest(o))return"";for(var l of s.maskSelectors)if(t.closest(l))return"";return e},maskTextFn:()=>"",blockSelector:h,ignoreSelector:s.ignoreSelector},o,{recordCrossOriginIframes:!1,inlineImages:!1,collectFonts:!1,recordDOM:!0,plugins:l?[l]:[],console:u,keepIframeSrcFn:()=>!1,recordAfter:Kn(16),checkoutEveryNms:void 0===i?x.checkoutEveryNms:Math.min(i,x.checkoutEveryNms),errorHandler:()=>(j===a&&ee("engine-start"),!0),emit:i=>((i,a)=>{if(L)if(te(i)){if(!H||"drop"!==H.admit(a)){var s=(e=>Ro(e)&&3===e.type&&Ro(e.data)&&9===e.data.source)(a),o=!s&&(e=>Ro(e)&&6===e.type&&Ro(e.data)&&e.data.plugin===Ps)(a),l=!s&&!o&&Ds(a);if(!l||k&&Ls(a)){var u=e=>s?e:o||l?void 0:ee("capacity"),c=s&&Number.isSafeInteger(a.data.id)&&a.data.id>0;if((!s||E&&"allow"===n.imageRule&&c)&&(!o||S)){var d,h,p,x=s?R:o?I:l?C:W-R-I-C,D=s?N:o?O:l?M:q-N-O-M,F=s?m:o?g:l?w:e.maximumPendingBytes,P=s?v:o?y:l?b:e.maximumEventBytes,B=s||o?32:l?1e3:e.maximumPendingEvents;if(s&&(e=>{var t=0;for(var r of Array.isArray(e.commands)?e.commands:[]){var n=Ka(r)&&Array.isArray(r.args)?r.args[0]:null,i=Ka(n)&&Array.isArray(n.args)?n.args[0]:null;for(var a of Ka(i)&&Array.isArray(i.data)?i.data:[])Ka(a)&&"string"==typeof a.base64&&(t+=a.base64.length)}return t})(a.data)>P)return"shrink";if(x>=B||D>=F||(s||o)&&!(()=>{try{return!0===(null==e.canvasAdmission?void 0:e.canvasAdmission())}catch(e){return!1}})())return u("resend");try{if(!Ro(a)||!Number[Qn](a.timestamp)||a.timestamp<0)throw new Error(Kn(567));if(h=a.timestamp,null!==G&&h<G)throw new Error(Kn(765));var z=l?(e=>{if(ba(e)||!Ls(e))return null;var t=e.data.payload,n=t.level,i=t.trace,a=t.payload;return r({},e,{data:{plugin:Rs,payload:{level:n,trace:Fs(i,50),payload:Fs(a,10)}}})})(a):a;if(null===z)return;var U=No(Za(z,f)),V=JSON[Vi](U);if(void 0===V||V[qi]>P)return void 0===V?ee("capacity"):u("shrink");if((p=(new TextEncoder).encode(V)[ai])>P)return u("shrink");if(s&&Math.floor(h/1e3)!==A&&(A=Math.floor(h/1e3),T=0),D+p>F||s&&T+p>To)return u("resend");d=JSON.parse(V)}catch(e){return void ee("invalid-event")}if(te(i)){G=h,W+=1,q+=p,s&&(R+=1,N+=p,T+=p),o&&(I+=1,O+=p),l&&(C+=1,M+=p);var J=K.then(t((function*(){te(i,!0)?yield e.record(d,h,p):j===i&&$()}))).catch((()=>{j===i&&ee("sink")})).then((()=>{W-=1,q-=p,s&&(R-=1,N-=p),o&&(I-=1,O-=p),l&&(C-=1,M-=p)}));K=J}else $()}}}}else j===i&&$()})(a,i)}));return P=!1,"function"!=typeof V?(B=!1,ee("engine-start"),!1):te(a)?(z=V,!0):(Q(),Z(V),!1)}catch(e){return P&&(B=!1),P=!1,ee("engine-start"),!1}},quiesce:()=>{if(D)return $();var e=j;return L=!1,F=!0,X(),B?K.then((()=>{j===e&&(F=!1,_())})):$()},stop:$,marker:(t,n)=>{var i=j;Promise.resolve().then((()=>{if(j===i&&L&&te(i))try{null==e.engine.addCustomEvent||e.engine.addCustomEvent(t,r({},n))}catch(e){}}))},cleanupIsProven:()=>B&&!P&&!L&&!F&&null===z&&null===U&&0===W,settled:()=>K,close:()=>(D=!0,$())})},Lo=e=>"object"==typeof e&&!ba(e)&&4===e.type,Fo=(e,t,r,n,i)=>Ia({[gi]:e[gi],[wi]:t,chunkStartedAtMs:t,chunkBytes:r,chunkEvents:1,[ji]:n,awaitingSnapshot:i}),Po=ji,Bo=ea;Ia({base:1,[$i]:2,[Yi]:3}),Ia([{name:"installations",keyPath:Fi,[Xi]:1,indexes:[]},{name:Bo,keyPath:["siteKey","sequence"],[Xi]:1,indexes:[]},{name:"flagCache",keyPath:[ri,"recordKind"],[Xi]:2,indexes:[]},{name:"replayChunks",keyPath:["siteKey",_n],[Xi]:3,indexes:[{name:"chunk",keyPath:["siteKey","replayId","chunkId"],unique:!0},{name:Po,keyPath:["siteKey","replayId","sequence"],unique:!0}]},{name:"replayStreams",keyPath:["siteKey","replayId"],[Xi]:3,indexes:[]},{name:"replayResolutions",keyPath:["siteKey","replayId","chunkId"],[Xi]:3,indexes:[{name:Po,keyPath:["siteKey","replayId","sequence"],unique:!0}]}]),Ia({wallNow:()=>(new Date)[ki](),monotonicNowMs:()=>{var e="undefined"==typeof globalThis?void 0:globalThis.performance;return e?e.now():Number.NaN}});var jo=Uint8Array,zo=Uint16Array,Ho=Uint32Array,Uo=new jo([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Wo=new jo([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),qo=new jo([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Go=function(e,t){for(var r=new zo(31),n=0;n<31;++n)r[n]=t+=1<<e[n-1];var i=new Ho(r[30]);for(n=1;n<30;++n)for(var a=r[n];a<r[n+1];++a)i[a]=a-r[n]<<5|n;return[r,i]},Ko=Go(Uo,2),Vo=Ko[0],Jo=Ko[1];Vo[28]=258,Jo[258]=28;for(var Yo=Go(Wo,0)[1],Zo=new zo(32768),Qo=0;Qo<32768;++Qo){var Xo=(43690&Qo)>>>1|(21845&Qo)<<1;Xo=(61680&(Xo=(52428&Xo)>>>2|(13107&Xo)<<2))>>>4|(3855&Xo)<<4,Zo[Qo]=((65280&Xo)>>>8|(255&Xo)<<8)>>>1}var _o=function(e,t,r){for(var n=e.length,i=0,a=new zo(t);i<n;++i)++a[e[i]-1];var s,o=new zo(t);for(i=0;i<t;++i)o[i]=o[i-1]+a[i-1]<<1;if(r){s=new zo(1<<t);var l=15-t;for(i=0;i<n;++i)if(e[i])for(var u=i<<4|e[i],c=t-e[i],d=o[e[i]-1]++<<c,h=d|(1<<c)-1;d<=h;++d)s[Zo[d]>>>l]=u}else for(s=new zo(n),i=0;i<n;++i)s[i]=Zo[o[e[i]-1]++]>>>15-e[i];return s},$o=new jo(288);for(Qo=0;Qo<144;++Qo)$o[Qo]=8;for(Qo=144;Qo<256;++Qo)$o[Qo]=9;for(Qo=256;Qo<280;++Qo)$o[Qo]=7;for(Qo=280;Qo<288;++Qo)$o[Qo]=8;var el=new jo(32);for(Qo=0;Qo<32;++Qo)el[Qo]=5;var tl=_o($o,9,0),rl=_o(el,5,0),nl=function(e){return(e/8>>0)+(7&e&&1)},il=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8},al=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8,e[n+2]|=r>>>16},sl=function(e,t){for(var r=[],n=0;n<e.length;++n)e[n]&&r.push({s:n,f:e[n]});var i=r.length,a=r.slice();if(!i)return[new jo(0),0];if(1==i){var s=new jo(r[0].s+1);return s[r[0].s]=1,[s,1]}r.sort((function(e,t){return e.f-t.f})),r.push({s:-1,f:25001});var o=r[0],l=r[1],u=0,c=1,d=2;for(r[0]={s:-1,f:o.f+l.f,l:o,r:l};c!=i-1;)o=r[r[u].f<r[d].f?u++:d++],l=r[u!=c&&r[u].f<r[d].f?u++:d++],r[c++]={s:-1,f:o.f+l.f,l:o,r:l};var h=a[0].s;for(n=1;n<i;++n)a[n].s>h&&(h=a[n].s);var p=new zo(h+1),f=ol(r[c-1],p,0);if(f>t){n=0;var m=0,v=f-t,g=1<<v;for(a.sort((function(e,t){return p[t.s]-p[e.s]||e.f-t.f}));n<i;++n){var y=a[n].s;if(!(p[y]>t))break;m+=g-(1<<f-p[y]),p[y]=t}for(m>>>=v;m>0;){var w=a[n].s;p[w]<t?m-=1<<t-p[w]++-1:++n}for(;n>=0&&m;--n){var b=a[n].s;p[b]==t&&(--p[b],++m)}f=t}return[new jo(p),f]},ol=function(e,t,r){return-1==e.s?Math.max(ol(e.l,t,r+1),ol(e.r,t,r+1)):t[e.s]=r},ll=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new zo(++t),n=0,i=e[0],a=1,s=function(e){r[n++]=e},o=1;o<=t;++o)if(e[o]==i&&o!=t)++a;else{if(!i&&a>2){for(;a>138;a-=138)s(32754);a>2&&(s(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(s(i),--a;a>6;a-=6)s(8304);a>2&&(s(a-3<<5|8208),a=0)}for(;a--;)s(i);a=1,i=e[o]}return[r.subarray(0,n),t]},ul=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},cl=function(e,t,r){var n=r.length,i=nl(t+2);e[i]=255&n,e[i+1]=n>>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var a=0;a<n;++a)e[i+a+4]=r[a];return 8*(i+4+n)},dl=function(e,t,r,n,i,a,s,o,l,u,c){il(t,c++,r),++i[256];for(var d=sl(i,15),h=d[0],p=d[1],f=sl(a,15),m=f[0],v=f[1],g=ll(h),y=g[0],w=g[1],b=ll(m),S=b[0],k=b[1],C=new zo(19),M=0;M<y.length;++M)C[31&y[M]]++;for(M=0;M<S.length;++M)C[31&S[M]]++;for(var I=sl(C,7),O=I[0],x=I[1],E=19;E>4&&!O[qo[E-1]];--E);var R,N,A,T,D=u+5<<3,L=ul(i,$o)+ul(a,el)+s,F=ul(i,h)+ul(a,m)+s+14+3*E+ul(C,O)+(2*C[16]+3*C[17]+7*C[18]);if(D<=L&&D<=F)return cl(t,c,e.subarray(l,l+u));if(il(t,c,1+(F<L)),c+=2,F<L){R=_o(h,p,0),N=h,A=_o(m,v,0),T=m;var P=_o(O,x,0);for(il(t,c,w-257),il(t,c+5,k-1),il(t,c+10,E-4),c+=14,M=0;M<E;++M)il(t,c+3*M,O[qo[M]]);c+=3*E;for(var B=[y,S],j=0;j<2;++j){var z=B[j];for(M=0;M<z.length;++M){var H=31&z[M];il(t,c,P[H]),c+=O[H],H>15&&(il(t,c,z[M]>>>5&127),c+=z[M]>>>12)}}}else R=tl,N=$o,A=rl,T=el;for(M=0;M<o;++M)if(n[M]>255){H=n[M]>>>18&31,al(t,c,R[H+257]),c+=N[H+257],H>7&&(il(t,c,n[M]>>>23&31),c+=Uo[H]);var U=31&n[M];al(t,c,A[U]),c+=T[U],U>3&&(al(t,c,n[M]>>>5&8191),c+=Wo[U])}else al(t,c,R[n[M]]),c+=N[n[M]];return al(t,c,R[256]),c+N[256]},hl=new Ho([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),pl=function(){for(var e=new Ho(256),t=0;t<256;++t){for(var r=t,n=9;--n;)r=(1&r&&3988292384)^r>>>1;e[t]=r}return e}(),fl=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8};function ml(e,t){void 0===t&&(t={});var r=function(){var e=4294967295;return{p:function(t){for(var r=e,n=0;n<t.length;++n)r=pl[255&r^t[n]]^r>>>8;e=r},d:function(){return 4294967295^e}}}(),n=e.length;r.p(e);var i,a,s,o,l=(i=e,a=t,s=10+((o=t).filename&&o.filename.length+1||0),8,function(e,t,r,n,i,a){var s=e.length,o=new jo(n+s+5*(1+Math.floor(s/7e3))+i),l=o.subarray(n,o.length-i),u=0;if(!t||s<8)for(var c=0;c<=s;c+=65535){var d=c+65535;d<s?u=cl(l,u,e.subarray(c,d)):(l[c]=a,u=cl(l,u,e.subarray(c,s)))}else{for(var h=hl[t-1],p=h>>>13,f=8191&h,m=(1<<r)-1,v=new zo(32768),g=new zo(m+1),y=Math.ceil(r/3),w=2*y,b=function(t){return(e[t]^e[t+1]<<y^e[t+2]<<w)&m},S=new Ho(25e3),k=new zo(288),C=new zo(32),M=0,I=0,O=(c=0,0),x=0,E=0;c<s;++c){var R=b(c),N=32767&c,A=g[R];if(v[N]=A,g[R]=N,x<=c){var T=s-c;if((M>7e3||O>24576)&&T>423){u=dl(e,l,0,S,k,C,I,O,E,c-E,u),O=M=I=0,E=c;for(var D=0;D<286;++D)k[D]=0;for(D=0;D<30;++D)C[D]=0}var L=2,F=0,P=f,B=N-A&32767;if(T>2&&R==b(c-B))for(var j=Math.min(p,T)-1,z=Math.min(32767,c),H=Math.min(258,T);B<=z&&--P&&N!=A;){if(e[c+L]==e[c+L-B]){for(var U=0;U<H&&e[c+U]==e[c+U-B];++U);if(U>L){if(L=U,F=B,U>j)break;var W=Math.min(B,U-2),q=0;for(D=0;D<W;++D){var G=c-B+D+32768&32767,K=G-v[G]+32768&32767;K>q&&(q=K,A=G)}}}B+=(N=A)-(A=v[N])+32768&32767}if(F){S[O++]=268435456|Jo[L]<<18|Yo[F];var V=31&Jo[L],J=31&Yo[F];I+=Uo[V]+Wo[J],++k[257+V],++C[J],x=c+L,++M}else S[O++]=e[c],++k[e[c]]}}u=dl(e,l,a,S,k,C,I,O,E,c-E,u)}return function(e,t,r){(null==r||r>e.length)&&(r=e.length);var n=new(e instanceof zo?zo:e instanceof Ho?Ho:jo)(r-0);return n.set(e.subarray(0,r)),n}(o,0,n+nl(u)+i)}(i,null==a.level?6:a.level,null==a.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(i.length)))):12+a.mem,s,8,!0)),u=l.length;return function(e,t){var r=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:9==t.level?2:0,e[9]=3,0!=t.mtime&&fl(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),r){e[3]=8;for(var n=0;n<=r.length;++n)e[n+10]=r.charCodeAt(n)}}(l,t),fl(l,u-8,r.d()),fl(l,u-4,n),l}for(var vl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",gl=new Int16Array(128).fill(-1),yl=0;yl<vl[qi];yl+=1)gl[vl[hi](yl)]=yl;var wl=e=>{for(var t="",r=0;r+2<e[qi];r+=3){var n=e[r]<<16|e[r+1]<<8|e[r+2];t+=vl[n>>18]+vl[n>>12&63]+vl[n>>6&63]+vl[63&n]}var i=e[qi]-r;if(1===i){var a=e[r]<<16;t+=vl[a>>18]+vl[a>>12&63]+"=="}else if(2===i){var s=e[r]<<16|e[r+1]<<8;t+=vl[s>>18]+vl[s>>12&63]+vl[s>>6&63]+"="}return t},bl=Symbol("elu-replay-masking-seal");class Sl{constructor(e,t,r,n,i,a,s){if(this.profile=void 0,this.profileHash=void 0,this.canonicalPayload=void 0,this.payloadByteLength=void 0,this.logicalRecords=void 0,this.nestingDepth=void 0,e!==bl)throw new ns(Da(45));this.profile=t,this[Ai]=r,this.canonicalPayload=n,this.payloadByteLength=i,this[Di]=a,this.nestingDepth=s,Object.freeze(this)}static seal(e,t){var r;if(!va(e))throw new ns(Da(46));if(!ha(t[ua]))throw new ns(Da(47));var n=bs(t.profile);if(!$a(t[Ai]))throw new ns(Da(48));var i=function(e,t,r){void 0===r&&(r=as),ha(e)||ss(Da(32),t+" must be an array of replay records"),e[qi]>r[Li]&&ss(Da(35),t+" carries "+e[qi]+" records; the maximum is "+r[Li]);var n={depth:0},i=us(e,0,t,r.maximumJsonNestingDepth,n),a=Ma(i);return a>r.maximumReplayDecodedBytes&&ss(Da(16),t+" serializes to "+a+" bytes; the maximum is "+r.maximumReplayDecodedBytes),Ia({[Hi]:i,bytes:es(i),[Di]:e[qi],nestingDepth:n.depth})}(t[ua].map((t=>e(t,n))),Da(36),null!=(r=t[ca])?r:as);return new Sl(bl,n,t[Ai],i[Hi],i.bytes[qi],i[Di],i.nestingDepth)}}var kl=e=>e instanceof Sl;(()=>{for(var e=new Int32Array(256),t=0;t<256;t+=1){for(var r=t,n=0;n<8;n+=1)r=1&r?r>>>1^3988292384:r>>>1;e[t]=r}})();var Cl="2.0.0",Ml=5242880,Il=/^elu-[a-z0-9][a-z0-9.-]{0,63}$/,Ol=/^elu-[a-z0-9-]+$/,xl=/^[A-Za-z][A-Za-z0-9._-]+$/,El=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,Rl=[Yn,Wi,Ui,ia,ji,Ki,"endedAt",Pi,Jn,"codec",ei,"contentEncoding","payload",_i,Gi],Nl=[si,ra,zi],Al=[di,ti,Ei,"appliedBeforeSerialization",vi,Ea],Tl=[Yn,fi,Qi,la,"facade","build"],Dl=["name",Xi];function Ll(e){throw new is(e)}var Fl=function(e,t,r,n){void 0===n&&(n=1);var i=fa(e)?ga(e):null;return ba(i)||i<n||i>r?Ll(t+" must be a string of "+n+" to "+r+" Unicode scalars"):e},Pl=(e,t)=>(wa(e)||Ll(t+" must be a safe non-negative integer"),e),Bl=(e,t)=>($a(e)||Ll(t+" must be a lowercase sha256 hash"),e),jl=function(e,t,r,n){for(var i of(void 0===n&&(n=[]),pa(e)&&Ca(e,t)||Ll(r+" must contain only schema-defined fields"),t))n.includes(i)||Sa(e,i)||Ll(r+" "+i+" is required");return e},zl=(e,t)=>{var r=jl(e,Nl,t);return Ia({[si]:Fl(r[si],t+" anonymousId",256),[ra]:ba(r[ra])?null:Fl(r[ra],t+" userId",512),[zi]:Pl(r[zi],t+" revision")})},Hl=(e,t)=>{var r=jl(e,Al,t);return!0!==r.appliedBeforeSerialization&&Ll(t+" appliedBeforeSerialization must be true"),!0!==r[vi]&&Ll(t+" secureInputsMasked must be true"),ma(r[$n])||Ll(t+" platformFallbackApplied must be a boolean"),Ia({[di]:Fl(r[di],t+" policyRevision",128),[ti]:Bl(r[ti],t+" effectivePolicyHash"),[Ei]:Bl(r[Ei],t+" maskingProfileHash"),appliedBeforeSerialization:!0,[vi]:!0,[$n]:r[$n]})},Ul=(e,t,r)=>{var n=jl(e,Dl,t),i=Fl(n.name,t+" name",256);return r.test(i)||Ll(t+" name is invalid"),Ia({name:i,[Xi]:Fl(n[Xi],t+" version",64)})},Wl=function(e,t){void 0===t&&(t="replay versions");var n=jl(e,Tl,t,["build"]);2!==n[Yn]&&Ll(t+" schemaVersion must be 2"),n[fi]!==Cl&&Ll(t+" contractVersion must be "+Cl),"browser"!==n[Qi]&&"android"!==n[Qi]&&"ios"!==n[Qi]&&Ll(t+" platform is unsupported");var i=Ul(n[la],t+" runtime",Ol),a=Ul(n.facade,t+" facade",xl);return Ia(r({[Yn]:2,[fi]:Cl,[Qi]:n[Qi],[la]:i,facade:a},Sa(n,"build")?{build:Fl(n.build,t+" build",128)}:{}))},ql=function(e,t){void 0===t&&(t="replay chunk");var r=jl(e,Rl,t);2!==r[Yn]&&Ll(t+" schemaVersion must be 2");var n=Fl(r[Ki],t+" startedAt",64),i=Fl(r.endedAt,t+" endedAt",64);((e,t)=>{if(e.epochDay!==t.epochDay)return e.epochDay<t.epochDay?-1:1;if(e[yi]!==t[yi])return e[yi]<t[yi]?-1:1;if(e[pi]!==t[pi])return e[pi]?1:-1;for(var r=Math.max(e[Xn][qi],t[Xn][qi]),n=0;n<r;n+=1){var i=e[Xn][hi](n)||48,a=t[Xn][hi](n)||48;if(i!==a)return i<a?-1:1}return 0})(Pa(n,t+" startedAt",64),Pa(i,t+" endedAt",64))>0&&Ll(t+" endedAt must not precede startedAt");var a=Fl(r.codec,t+" codec",68);return Il.test(a)||Ll(t+" codec is invalid"),"none"!==r[ei]&&"gzip"!==r[ei]&&Ll(t+" compression is unsupported"),"base64"!==r.contentEncoding&&Ll(t+" contentEncoding must be base64"),fa(r.payload)&&0!==r.payload[qi]&&El.test(r.payload)||Ll(t+" payload must be non-empty canonical base64"),Ia({[Yn]:2,[Wi]:Fl(r[Wi],t+" replayId",256),[Ui]:Fl(r[Ui],t+" sessionId",256),[ia]:Fl(r[ia],t+" chunkId",256),[ji]:Pl(r[ji],t+" sequence"),[Ki]:n,endedAt:i,[Pi]:zl(r[Pi],t+" identity"),[Jn]:Pl(r[Jn],t+" contextRevision"),codec:a,[ei]:r[ei],contentEncoding:"base64",payload:r.payload,[_i]:Hl(r[_i],t+" privacy"),[Gi]:Wl(r[Gi],t+" versions")})},Gl=function(){var e=t((function*(e,t){var r=(e=>es(cs(ql(e),"replay chunk")))(e),n=yield _a((e=>{var t=es("elu-sdk-replay-request-v2"),r=new Uint8Array(t[qi]+1+4+e[qi]);r.set(t,0),r[t[qi]]=0;var n=e[qi];return r[t[qi]+1]=n>>>24&255,r[t[qi]+2]=n>>>16&255,r[t[qi]+3]=n>>>8&255,r[t[qi]+4]=255&n,r.set(e,t[qi]+5),r})(r),t);return Ia({[Bi]:"request_"+n,canonicalChunk:r})}));return function(t,r){return e.apply(this,arguments)}}(),Kl=function(){var e=t((function*(e,t){pa(t)||Ll(Da(76));var r,n=Fl(t[ni],xa,128),i=void 0===(r=t[mi])?Ml:!wa(r)||r<1?Ll(Da(77)):Math.min(r,Ml),a=ql(e),s=yield Gl(a,t[oa]),o=Ia({[Yn]:2,[Bi]:s[Bi],chunk:a}),l=es(cs(o,"replay request"));l[qi]>i&&Ll("replay request is "+l[qi]+" bytes; the effective limit is "+i);var u=yield _a(l,t[oa]);return Ia({[ni]:n,[na]:o,[Ni]:l,canonicalRequestSha256:"sha256:"+u,[ai]:l[qi]})}));return function(t,r){return e.apply(this,arguments)}}(),Vl=function(){var e=t((function*(e){var t=(e=>{if(!kl(e))throw new ts(Da(32),Da(65));var t,r=es(e.canonicalPayload);try{t=ml(r,{mtime:0})}catch(e){return function(e,t){throw new ts("invalid-gzip",t)}(0,Da(62))}return Object.freeze({codec:"elu-browser-dom-v1",[ei]:"gzip",contentEncoding:"base64",payload:wl(t),compressedByteLength:t[qi],decodedByteLength:r[qi],[Di]:e[Di],proof:e})})(Sl.seal(Za,{profile:e.profile,[Ai]:e[Ai],[ua]:e[ua]})),n=(e=>{pa(e)&&pa(e.payload)&&kl(e.payload.proof)||Ll(Da(69));var t=e.payload;return ql({[Yn]:2,[Wi]:e[Wi],[Ui]:e[Ui],[ia]:e[ia],[ji]:e[ji],[Ki]:e[Ki],endedAt:e.endedAt,[Pi]:e[Pi],[Jn]:e[Jn],codec:t.codec,[ei]:t[ei],contentEncoding:t.contentEncoding,payload:t.payload,[_i]:{[di]:e[di],[ti]:e[ti],[Ei]:t.proof[Ai],appliedBeforeSerialization:!0,[vi]:!0,[$n]:t.proof.profile[$n]},[Gi]:e[Gi]})})({[Wi]:e[Wi],[Ui]:e[Ui],[ia]:e[ia],[ji]:e[ji],[Ki]:e[Ki],endedAt:e.endedAt,[Pi]:e[Pi],[Jn]:e[Jn],payload:t,[di]:e[di],[ti]:e[ti],[Gi]:e[Gi]});return Kl(n,r({[ni]:e[ni]},void 0===e[mi]?{}:{[mi]:e[mi]},void 0===e[oa]?{}:{[oa]:e[oa]}))}));return function(t){return e.apply(this,arguments)}}(),Jl=e=>{if(!Number[Qn](e[Ti])||e[Ti]<1)throw new Error(Da(68));var n=Math.min(e[Ti],268435456),i=Ia({[gi]:null,[wi]:null,chunkStartedAtMs:null,chunkBytes:0,chunkEvents:0,[ji]:0,awaitingSnapshot:!1}),a=null,s=!1,o=e[Pi][Wi](),l=null,u=null,c=()=>{if(!l){var t=o;l=Promise.resolve().then((()=>null==e.onReplayClosed?void 0:e.onReplayClosed(t)))}return l},d=0===e.policy[li],h=!1,p=[],f=0,m=0,v=0,g=Promise[Zi](),y=function(t,r){void 0===r&&(r=!1);try{null==e.onSealFailure||e.onSealFailure(null!=t?t:new Error(Da(70)),r)}catch(e){}},w=()=>{p=[],f=0},b=()=>{s=!0,a=null,w(),m=0,v=0},S=e=>{b(),y(e,!0)},k=function(){var r=t((function*(){for(;!s&&d&&p[qi]>0;){var t=p.shift();f-=t.prepared[ai];try{yield e.sink(t.prepared,{discarded:!1,[ji]:t[ji]}),h=!0}catch(e){S(e)}}}));return function(){return r.apply(this,arguments)}}(),C=function(){var i=t((function*(t,i){var l=a;if(a=null,!s&&l&&0!==l[ua][qi]){if(t)return m-=l.estimatedBytes,void(v-=l[ua][qi]);try{var u=yield Vl(r({},e.seal,{[mi]:e.policy[mi],[ua]:l[ua],[Wi]:o,[Ui]:e[Ui],[ia]:e[Pi][ia](),[ji]:i,[Ki]:e[Pi].instant(l.startedAtMs),endedAt:e[Pi].instant(l.endedAtMs)}));s||t||(d?(yield e.sink(u,{discarded:!1,[ji]:i}),h=!0):u[ai]>n-f||p[qi]>=1e4?S(new Error(Da(72))):(p.push({prepared:u,[ji]:i}),f+=u[ai]))}catch(t){s||(!d||e.policy[li]>0&&!h?S(t):y(t))}finally{m=Math.max(0,m-l.estimatedBytes),v=Math.max(0,v-l[ua][qi])}}}));return function(e,t){return i.apply(this,arguments)}}();return{record(u,p,f){if(s)return Promise[Zi]();if(!Number[sa](p)||p<0||!ba(i[wi])&&p<i[wi]||!Number[Qn](f)||f<1)return S(new Error(Da(31))),g;if(f>n-m||v>=1e4)return S(new Error(Da(71))),g;m+=f,v+=1;var y=((e,t,n)=>{var i,a=t.atMs,s=t.byteLength,o=!0===t.opensSnapshot;if(null===e[gi]||null===e[wi])return Ia({action:"buffer",discardSealedChunk:!1,state:Ia(r({},Fo(e,a,s,0,o),{[gi]:a}))});var l=a-e[wi],u=a-e[gi];if(l>=1e3*n[ii]||u>=1e3*n[Zn]){var c,d=e[wi]-(null!=(c=e[gi])?c:e[wi]);return Ia({action:"cut-session",discardSealedChunk:d<1e3*n[li],state:Ia(r({},Fo(e,a,s,0,o),{[gi]:a}))})}var h=e.chunkEvents>0&&e.chunkBytes+s>n[mi];return e.chunkEvents>0&&!e.awaitingSnapshot&&(h||e.chunkEvents>=5e3||o)?Ia({action:"cut-chunk",discardSealedChunk:!1,state:Fo(e,a,s,e[ji]+1,o)}):Ia({action:"buffer",discardSealedChunk:!1,state:Ia(r({},e,{[wi]:a,chunkStartedAtMs:null!=(i=e.chunkStartedAtMs)?i:a,chunkBytes:e.chunkBytes+s,chunkEvents:e.chunkEvents+1,awaitingSnapshot:o}))})})(i,{atMs:p,[ai]:f,opensSnapshot:Lo(u)},e.policy),b=i[ji];return i=y.state,g=g.then(t((function*(){if(!s){if("buffer"!==y.action){if(yield C(y.discardSealedChunk,b),s)return;if("cut-session"===y.action){try{yield c()}catch(e){throw S(e),e}if(s)return;w(),d=0===e.policy[li],h=!1,o=e[Pi][Wi](),l=null}}((e,t,r)=>{if(a)return a[ua].push(e),a.endedAtMs=t,void(a.estimatedBytes+=r);a={[ua]:[e],startedAtMs:t,endedAtMs:t,estimatedBytes:r}})(u,p,f),!d&&!ba(y.state[gi])&&p-y.state[gi]>=1e3*e.policy[li]&&(d=!0,yield k())}}))),g},flush(){if(s)return Promise[Zi]();if(i.awaitingSnapshot)return g;var e=i[ji];return i.chunkEvents>0&&(i=Object.freeze(r({},i,{chunkStartedAtMs:null,chunkBytes:0,chunkEvents:0,[ji]:i[ji]+1}))),g=g.then((()=>C(!1,e)))},hasBufferedWork:()=>!s&&(v>0||p[qi]>0||!ba(a)),bufferedBytes:()=>s?0:m+f,close:()=>(b(),u||(u=g.then(c,function(){var e=t((function*(e){throw yield c(),e}));return function(t){return e.apply(this,arguments)}}())),u)}},Yl=["console"],Zl="__eluOwnedRecorderLeaseV1",Ql=e=>{var t=document;if(Zl in t)throw new Error("Recorder is already owned");var i={};Object.defineProperty(t,Zl,{value:i,configurable:!0});var a=!1,s=()=>{if(!a){if(t[Zl]!==i)throw new Error("Recorder ownership changed");delete t[Zl],a=!0}},o=e.console,l=n(e,Yl),u=[...o.recordConsole?[qn(r({},o.consolePlugin,{level:[...o.consolePlugin.level]}))]:[],...l.plugins],c=xn(r({},l,{plugins:u}));if("function"==typeof c)return()=>{c(),s()};s()};Object.assign(Ql,{takeFullSnapshot:()=>xn.takeFullSnapshot(),addCustomEvent:(e,t)=>xn.addCustomEvent(e,t)});var Xl=e=>{var t=Do(r({},e,{engine:Ql,document:document}));if(e.installSessionDriver){var n=!1;try{n=e.isCurrent()&&e.installSessionDriver(Jl)&&e.isCurrent()}finally{n||t.close()}}return t};export{Xl as createEluOwnedRecorder};
|
|
3
3
|
//# sourceMappingURL=recorder.mjs.map
|