@elu-labs/analytics-browser 1.411.1 → 1.411.3
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 +11 -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/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/package.json +1 -1
package/dist/recorder.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! ELU-modified distribution. Notices and license terms: https://elu.dev/sdk/licenses */
|
|
2
|
-
!function(){var e=function(e){"use strict";function t(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 r(e){return function(){var r=this,n=arguments;return new Promise((function(i,a){var s=e.apply(r,n);function o(e){t(s,i,a,o,l,"next",e)}function l(e){t(s,i,a,o,l,"throw",e)}o(void 0)}))}}function n(){return n=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},n.apply(null,arguments)}function i(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 a extends Error{constructor(){super("Recorder cleanup incomplete"),this.name="RecorderCleanupError"}}var s=e=>e instanceof a||!!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 a};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 a;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 l(e){var t=o();try{return e(t),t.close}catch(e){throw s(e)&&t.poison(),t.close(),e}}var u=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}({}),c=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}({}),d=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}({}),h=function(e){return e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e}({}),p=function(e){return e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e}({}),f=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}({}),m=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 v(e,t){return-1!==e.indexOf(t)}var g={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot"],MutationObserver:[]},y={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:["querySelector","querySelectorAll"],MutationObserver:["constructor"]},w={};function b(e){if(w[e])return w[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 g?g[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 y?y[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 w[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?(v(l=navigator.userAgent,"AppleWebKit")&&!v(l,"Chrome")&&(o.classList.add("rr-block","ph-no-capture"),o.setAttribute("__rrwebUntaintedPrototype",e),u=!0),w[e]=d):r}catch(e){return r}finally{!u&&o.parentNode&&document.body.removeChild(o)}}var S={};function k(e,t,r){var n,i=e+"."+String(r);if(S[i])return S[i].call(t);var a=b(e),s=null==(n=Object.getOwnPropertyDescriptor(a,r))?void 0:n.get;return s?(S[i]=s,s.call(t)):t[r]}var C={};function M(e,t,r){var n=e+"."+String(r);if(C[n])return C[n].bind(t);var i=b(e)[r];return"function"!=typeof i?t[r]:(C[n]=i,i.bind(t))}function I(){return b("MutationObserver").constructor}function O(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 x={childNodes:function(e){return k("Node",e,"childNodes")},parentNode:function(e){return k("Node",e,"parentNode")},parentElement:function(e){return k("Node",e,"parentElement")},textContent:function(e){return k("Node",e,"textContent")},contains:function(e,t){return M("Node",e,"contains")(t)},getRootNode:function(e){return M("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?k("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?k("Element",e,"shadowRoot"):null},querySelector:function(e,t){return M("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return M("Element",e,"querySelectorAll")(t)},mutationObserver:I,patch:O};function E(e){return e.nodeType===e.ELEMENT_NODE}function R(e){var t=e&&"host"in e&&"mode"in e&&x.host(e)||null;return Boolean(t&&"shadowRoot"in t&&x.shadowRoot(t)===e)}function N(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function A(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=>T(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 T(e,t){if(function(e){return"styleSheet"in e}(e)){var r;try{r=A(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 W(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?W(a,t):a}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))),E(e)){var r=x.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 L(e){var t=e.element,r=e.maskInputOptions,n=e.tagName,i=e.type,a=e.value,s=e.maskInputFn,o=a||"",l=i&&F(i);return(r[n.toLowerCase()]||l&&r[l])&&(o=s?s(o,t):"*".repeat(o.length)),o}function F(e){return e.toLowerCase()}var P="__rrweb_original__";function j(e){try{var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?F(t):null}catch(e){return null}}var B=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,z=/^(?:[a-z+]+:)?\/\//i,H=/^www\..*/i,U=/^(data:)([^,]*),(.*)/i;function W(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(z.test(l)||H.test(l))return"url("+u+l+u+")";if(U.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 q,G,K="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzPgogICAgPHBhdHRlcm4gaWQ9InN0cmlwZXMiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+CiAgICAgIDxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iYmxhY2siLz4KICAgICAgPHBhdGggZD0iTTggMEgxNkwwIDE2VjhMOCAwWiIgZmlsbD0iIzJEMkQyRCIvPgogICAgICA8cGF0aCBkPSJNMTYgOFYxNkg4TDE2IDhaIiBmaWxsPSIjMkQyRDJEIi8+CiAgICA8L3BhdHRlcm4+CiAgPC9kZWZzPgogIDxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjc3RyaXBlcykiLz4KPC9zdmc+Cg==",V=4096,J=1,Y=new RegExp("[^a-z0-9-_:]"),Z=-2;function Q(){return J++}var X=/^[^ \t\n\r\u000c]+/,_=/^[, \t\n\r\u000c]+/,$=new WeakMap;function ee(e,t){return t&&""!==t.trim()?te(e,t):t}function te(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 re(e,t){return null!=t&&t.maxBase64ImageLength?function(e,t){return!t||e.length<=t?e:K}(e,t.maxBase64ImageLength):e}function ne(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=ee(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>V||e.naturalHeight>V)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)),re(u,a)}if("image"===t)return re(l,a)}return l}if("xlink:href"===r&&"#"!==n[0]){var c=ee(e,n);return"image"===t&&c.startsWith("data:")?re(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(_),!(r>=t.length);){var a=n(X);if(","===a.slice(-1))a=ee(e,a.substring(0,a.length-1)),i.push(a);else{var s="";a=ee(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?W(n,te(e)):"object"===t&&"data"===r?ee(e,n):n:ee(e,n)}function ie(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function ae(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!r&&ae(x.parentNode(e),t,r);for(var n=e.classList.length;n--;){var i=e.classList[n];if(t.test(i))return!0}return!!r&&ae(x.parentNode(e),t,r)}function se(e,t,r,n){var i;if(E(e)){if(i=e,!x.childNodes(i).length&&!x.shadowRoot(i))return!1}else if(!(i=x.parentElement(e))){var a=x.parentNode(e);a&&R(a)&&(i=x.host(a))}try{for(;i;){if("string"==typeof t){if(n?i.closest("."+t):i.classList.contains(t))return!0}else if(ae(i,t,n))return!0;if(r&&(n?i.closest(r):i.matches(r)))return!0;if(!n)return!1;var s=x.getRootNode(i);i=R(s)?x.host(s):null}}catch(e){}return!1}function oe(e,t,r){var n=e.removeEventListener;"function"==typeof n&&n.call(e,t,r)}var le=new Map;function ue(){var e=!1;for(var t of[...le.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 ce(e,t){return Array.from(e.styleSheets).find((e=>e.href===t))}function de(e){return null==e?"":e.toLowerCase()}var he=50,pe=!1;function fe(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,f=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,O=t.onIframeLoad,T=t.iframeLoadTimeout,D=void 0===T?5e3:T,B=t.onIframeListenerRegistered,z=t.onStylesheetLoad,H=t.stylesheetLoadTimeout,U=void 0===H?5e3:H,K=t.keepIframeSrcFn,V=void 0===K?()=>!1:K,J=t.newlyAddedElement,X=void 0!==J&&J,_=t.depth,$=void 0===_?0:_,ee=t.maxDepth,re=void 0===ee?he:ee,ae=t.needsMask,ue=t.preserveWhiteSpace,me=void 0===ue||ue;if($>=re)return pe||(pe=!0,console.warn("[rrweb-snapshot] DOM tree depth exceeded max depth of "+re+". Children beyond this depth will not be recorded. This may indicate deeply nested DOM structures.")),null;ae||(ae=se(e,s,o,void 0===ae));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,f=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:m.Document,childNodes:[],compatMode:e.compatMode}:{type:m.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:m.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,f=t.newlyAddedElement,v=void 0!==f&&f,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=F(e.tagName);return Y.test(t)?"div":t}(e),b={},S=e.attributes.length,k=0;k<S;k++){var C=e.attributes[k];ie(w,C.name,C.value)||(b[C.name]=ne(n,w,F(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=ce(n,I))&&I.includes(".css")&&(M=ce(n,window.location.origin+"/"+I.replace(window.location.href,"")))}var O=null;M&&(O=A(M)),O&&(delete b.rel,delete b.href,b._cssText=O)}if("style"===w&&e.sheet&&!(e.innerText||x.textContent(e)||"").trim().length){var E=A(e.sheet);E&&(b._cssText=E)}if("input"===w||"textarea"===w||"select"===w){var R=e.value,N=e.checked;"radio"!==b.type&&"checkbox"!==b.type&&"submit"!==b.type&&"button"!==b.type&&R?b.value=L({element:e,type:j(e),tagName:w,value:R,maskInputOptions:s,maskInputFn:o}):N&&(b.checked=N)}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=P in i?i[P]: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),D=n.createElement("canvas");D.width=e.width,D.height=e.height,T!==D.toDataURL(u.type,u.quality)&&(b.rr_dataURL=T)}if("img"===w&&c){q||(q=n.createElement("canvas"),G=q.getContext("2d"));var B=e,z=B.currentSrc||B.getAttribute("src")||"<unknown-src>",H=B.crossOrigin,U=()=>{oe(B,"load",U);try{q.width=B.naturalWidth,q.height=B.naturalHeight,G.drawImage(B,0,0),b.rr_dataURL=q.toDataURL(u.type,u.quality)}catch(e){if("anonymous"!==B.crossOrigin)return B.crossOrigin="anonymous",void(B.complete&&0!==B.naturalWidth?U():B.addEventListener("load",U));console.warn("Cannot inline img src="+z+"! Error: "+e)}"anonymous"===B.crossOrigin&&(H?b.crossOrigin=H:B.removeAttribute("crossorigin"))};B.complete&&0!==B.naturalWidth?U():B.addEventListener("load",U)}if("audio"===w||"video"===w){var W=b;W.rr_mediaState=e.paused?"paused":"played",W.rr_mediaCurrentTime=e.currentTime,W.rr_mediaPlaybackRate=e.playbackRate,W.rr_mediaMuted=e.muted,W.rr_mediaLoop=e.loop,W.rr_mediaVolume=e.volume}if(v||(e.scrollLeft&&(b.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(b.rr_scrollTop=e.scrollTop)),y){var K,V,J,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==(J=n.defaultView)?void 0:J.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:m.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:f,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=x.parentNode(e),s=a&&a.tagName,o=x.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=A(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=W(o,te(t.doc))}return u&&(o="SCRIPT_PLACEHOLDER"),!l&&!u&&o&&r&&(o=n?n(o,x.parentElement(e)):o.replace(/[\S]/g,"*")),{type:m.Text,textContent:o||"",isStyle:l,rootId:i}}(e,{doc:r,needsMask:s,maskTextFn:c,rootId:S});case e.CDATA_SECTION_NODE:return{type:m.CDATA,textContent:"",rootId:S};case e.COMMENT_NODE:return{type:m.Comment,textContent:x.textContent(e)||"",rootId:S};default:return!1}}(e,{doc:r,mirror:n,blockClass:i,blockSelector:a,needsMask:ae,inlineStylesheet:d,maskInputOptions:p,maskTextFn:f,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===m.Comment)return!0;if(e.type===m.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&&(de(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===de(e.attributes.name)||["icon","apple-touch-icon","shortcut icon"].includes(de(e.attributes.rel)))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&de(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(de(e.attributes.property).match(/^(og|twitter|fb):/)||de(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===de(e.attributes.name)))return!0;if(t.headMetaRobots&&["robots","googlebot","bingbot"].includes(de(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(de(e.attributes.name))||de(e.attributes.property).match(/^article:/)||de(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(de(e.attributes.name)))return!0}}return!1}(ge,g)||!me&&ge.type===m.Text&&!ge.isStyle&&!ge.textContent.replace(/^\s+|\s+$/gm,"").length?Z:Q();var ye=Object.assign(ge,{id:ve});if(n.add(e,ye),ve===Z)return null;I&&I(e);var we=!u;if(ye.type===m.Element){we=we&&!ye.needBlock,delete ye.needBlock;var be=x.shadowRoot(e);be&&N(be)&&(ye.isShadowHost=!0)}if((ye.type===m.Document||ye.type===m.Element)&&we){g.headWhitespace&&ye.type===m.Element&&"head"===ye.tagName&&(me=!1);var Se={doc:r,mirror:n,blockClass:i,blockSelector:a,needsMask:ae,maskTextClass:s,maskTextSelector:o,skipChild:u,inlineStylesheet:d,maskInputOptions:p,maskTextFn:f,maskInputFn:v,slimDOMOptions:g,dataURLOptions:w,inlineImages:S,recordCanvas:C,canvasMaskingConfigured:M,preserveWhiteSpace:me,onSerialize:I,onIframeLoad:O,iframeLoadTimeout:D,onIframeListenerRegistered:B,onStylesheetLoad:z,stylesheetLoadTimeout:U,keepIframeSrcFn:V,depth:$+1,maxDepth:re};if(ye.type===m.Element&&"textarea"===ye.tagName&&void 0!==ye.attributes.value);else for(var ke of Array.from(x.childNodes(e))){var Ce=fe(ke,Se);Ce&&ye.childNodes.push(Ce)}var Me=null;if(E(e)&&(Me=x.shadowRoot(e)))for(var Ie of Array.from(x.childNodes(Me))){var Oe=fe(Ie,Se);Oe&&(N(Me)&&(Oe.isShadow=!0),ye.childNodes.push(Oe))}}var xe=x.parentNode(e);if(xe&&R(xe)&&N(xe)&&(ye.isShadow=!0),ye.type===m.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),oe(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?oe(e,"load",s):(o=!0,oe(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),oe(e,"load",s)}}return e.addEventListener("load",s),()=>{oe(e,"load",s)}}(e,(()=>{var t=e.contentDocument;if(t&&O){var r=fe(t,{doc:t,mirror:n,blockClass:i,blockSelector:a,needsMask:ae,maskTextClass:s,maskTextSelector:o,skipChild:!1,inlineStylesheet:d,maskInputOptions:p,maskTextFn:f,maskInputFn:v,slimDOMOptions:g,dataURLOptions:w,inlineImages:S,recordCanvas:C,canvasMaskingConfigured:M,preserveWhiteSpace:me,onSerialize:I,onIframeLoad:O,iframeLoadTimeout:D,onIframeListenerRegistered:B,onStylesheetLoad:z,stylesheetLoadTimeout:U,keepIframeSrcFn:V,depth:$+1,maxDepth:re});r&&O(e,r)}}),D);null==B||B(e,Ee)}return ye.type===m.Element&&"link"===ye.tagName&&"stylesheet"===ye.attributes.rel&&function(t,l,u){if(!le.has(t)){var c;try{c=t.sheet}catch(e){return}if(!c){var h,m=!1,y=!1,b=!1,k=!1,x={abort(){if(m=!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",E)}catch(e){b=!0}}if(b||le.get(t)!==x||le.delete(t),b){var r=new Error("Recorder stylesheet cleanup incomplete");throw r.name="RecorderCleanupError",r}}},E=()=>{if(!m&&!y){y=!0;try{(()=>{if(z){var t=fe(e,{doc:r,mirror:n,blockClass:i,blockSelector:a,needsMask:ae,maskTextClass:s,maskTextSelector:o,skipChild:!1,inlineStylesheet:d,maskInputOptions:p,maskTextFn:f,maskInputFn:v,slimDOMOptions:g,dataURLOptions:w,inlineImages:S,recordCanvas:C,canvasMaskingConfigured:M,preserveWhiteSpace:me,onSerialize:I,onIframeLoad:O,iframeLoadTimeout:D,onStylesheetLoad:z,stylesheetLoadTimeout:U,keepIframeSrcFn:V,depth:$,maxDepth:re});t&&z(e,t)}})()}finally{x.abort()}}};le.set(t,x);try{h=setTimeout(E,u),k=!0,t.addEventListener("load",E,{once:!0})}catch(e){throw x.abort(),e}}}}(e,0,U),ye}function me(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 ve(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ge(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 ye,we={exports:{}};function be(){if(ye)return we.exports;ye=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 we.exports=t(),we.exports.createColors=t,we.exports}var Se,ke,Ce,Me,Ie,Oe,xe=ge(Object.freeze({__proto__:null,default:{}}));function Ee(){if(ke)return Se;ke=1;var e=be(),t=xe;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 Se=r,r.default=r,Se}function Re(){if(Me)return Ce;Me=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 Ce=i,i.default=i,Ce}function Ne(){if(Oe)return Ie;Oe=1;var e=Re();function t(t,r){new e(r).stringify(t)}return Ie=t,t.default=t,Ie}var Ae,Te,De,Le,Fe,Pe,je,Be,ze,He,Ue,We,qe,Ge,Ke,Ve,Je,Ye,Ze,Qe,Xe,_e,$e,et,tt,rt={};function nt(){return Ae||(Ae=1,rt.isClean=Symbol("isClean"),rt.my=Symbol("my")),rt}function it(){if(De)return Te;De=1;var e=Ee(),t=Re(),r=Ne(),n=nt(),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 Te=l,l.default=l,Te}function at(){if(Fe)return Le;Fe=1;var e=it();class t extends e{constructor(e){super(e),this.type="comment"}}return Le=t,t.default=t,Le}function st(){if(je)return Pe;je=1;var e=it();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=n({},e,{value:String(e.value)})),super(e),this.type="decl"}}return Pe=t,t.default=t,Pe}function ot(){if(ze)return Be;ze=1;var e,t,r,n,i=at(),a=st(),s=it(),o=nt(),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 lt(){if(Ue)return He;Ue=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 ut(){if(qe)return We;qe=1;var e,t,r=ot();class i extends r{constructor(e){super(n({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},We=i,i.default=i,We}function ct(){return Ke||(Ke=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="",i=0|r;i--;)n+=e[Math.random()*e.length|0];return n}}}),Ge}function dt(){if(Je)return Ve;Je=1;var e=xe.existsSync,t=xe.readFileSync,r=xe.dirname,n=xe.join,i=xe.SourceMapConsumer,a=xe.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 Ve=s,s.default=s,Ve}function ht(){if(Ze)return Ye;Ze=1;var e=ct().nanoid,t=xe.isAbsolute,r=xe.resolve,i=xe.SourceMapConsumer,a=xe.SourceMapGenerator,s=xe.fileURLToPath,o=xe.pathToFileURL,l=Ee(),u=dt(),c=xe,d=Symbol("lineToIndexCache"),h=Boolean(i&&a),p=Boolean(r&&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(n,i){if(void 0===i&&(i={}),null==n||"object"==typeof n&&!n.toString)throw new Error("PostCSS received "+n+" instead of CSS string");if(this.css=n.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=r(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:r(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=n({},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 pt(){if(Xe)return Qe;Xe=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 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},Qe=n,n.default=n,r.registerRoot(n),Qe}function ft(){if($e)return _e;$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 _e=e,e.default=e,_e}function mt(){if(tt)return et;tt=1;var e=ot(),t=ft();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 et=r,r.default=r,e.registerRule(r),et}var vt,gt,yt,wt,bt,St,kt,Ct,Mt,It,Ot,xt,Et,Rt,Nt,At,Tt,Dt,Lt,Ft,Pt,jt,Bt,zt,Ht,Ut,Wt,qt,Gt=["inputs"],Kt=["inputId"];function Vt(){if(wt)return yt;wt=1;var e=xe.dirname,t=xe.relative,r=xe.resolve,n=xe.sep,i=xe.SourceMapConsumer,a=xe.SourceMapGenerator,s=xe.pathToFileURL,o=ht(),l=Boolean(i&&a),u=Boolean(e&&r&&t&&n);return yt=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}},yt}function Jt(){if(St)return bt;St=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 bt=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,j=F.length,B=0,z=[],H=[],U=-1;function W(e){throw C.error("Unclosed "+e,B)}return{back:function(e){H.push(e)},endOfFile:function(){return 0===H.length&&B>=j},nextToken:function(C){if(H.length)return H.pop();if(!(B>=j)){var M=!!C&&C.ignoreUnclosed;switch(I=F.charCodeAt(B)){case i:case a:case o:case l:case s:E=B;do{E+=1,I=F.charCodeAt(E)}while(I===a||I===i||I===o||I===l||I===s);N=["space",F.slice(B,E)],B=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,B];break;case d:if(L=z.length?z.pop()[1]:"",D=F.charCodeAt(B+1),"url"===L&&D!==e&&D!==t&&D!==a&&D!==i&&D!==o&&D!==s&&D!==l){E=B;do{if(A=!1,-1===(E=F.indexOf(")",E+1))){if(P||M){E=B;break}W("bracket")}for(T=E;F.charCodeAt(T-1)===r;)T-=1,A=!A}while(A);N=["brackets",F.slice(B,E+1),B,E],B=E}else B<=U?N=["(","(",B]:(E=F.indexOf(")",B+1),O=F.slice(B,E+1),-1===E||S.test(O)?(U=-1===E?j:E,N=["(","(",B]):(N=["brackets",O,B,E],B=E));break;case e:case t:R=I===e?"'":'"',E=B;do{if(A=!1,-1===(E=F.indexOf(R,E+1))){if(P||M){E=B+1;break}W("string")}for(T=E;F.charCodeAt(T-1)===r;)T-=1,A=!A}while(A);N=["string",F.slice(B,E+1),B,E],B=E;break;case y:w.lastIndex=B+1,w.test(F),E=0===w.lastIndex?F.length-1:w.lastIndex-2,N=["at-word",F.slice(B,E+1),B,E],B=E;break;case r:for(E=B,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(B,E+1),B,E],B=E;break;default:I===n&&F.charCodeAt(B+1)===v?(0===(E=F.indexOf("*/",B+2)+1)&&(P||M?E=F.length:W("comment")),N=["comment",F.slice(B,E+1),B,E],B=E):(b.lastIndex=B+1,b.test(F),E=0===b.lastIndex?F.length-1:b.lastIndex-2,N=["word",F.slice(B,E+1),B,E],z.push(N),B=E)}return B++,N}},position:function(){return B}}},bt}function Yt(){if(Ct)return kt;Ct=1;var e=lt(),t=at(),r=st(),n=pt(),i=mt(),a=Jt(),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 kt=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})}},kt}function Zt(){if(It)return Mt;It=1;var e=ot(),t=ht(),r=Yt();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 Mt=n,n.default=n,e.registerParse(n),Mt}function Qt(){if(xt)return Ot;xt=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 Ot=e,e.default=e,Ot}function Xt(){if(Rt)return Et;Rt=1;var e=Qt();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 Et=t,t.default=t,Et}function _t(){if(At)return Nt;At=1;var e={};return Nt=function(t){e[t]||(e[t]=!0,"undefined"!=typeof console&&console.warn&&console.warn(t))}}function $t(){if(Dt)return Tt;Dt=1;var e=ot(),t=ut(),i=Vt(),a=Zt(),s=Xt(),o=pt(),l=Ne(),u=nt(),c=u.isClean,d=u.my,h=_t(),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,r,i){var o;if(this.stringified=!1,this.processed=!1,"object"!=typeof r||null===r||"root"!==r.type&&"document"!==r.type)if(r instanceof k||r instanceof s)o=b(r.root),r.map&&(void 0===i.map&&(i.map={}),i.map.inline||(i.map.inline=!1),i.map.prev=r.map);else{var l=a;i.syntax&&(l=i.syntax.parse),i.parser&&(l=i.parser),l.parse&&(l=l.parse);try{o=l(r,i)}catch(e){this.processed=!0,this.error=e}o&&!o[d]&&e.rebuild(o)}else o=b(r);this.result=new s(t,o,i),this.helpers=n({},S,{postcss:S,result:this.result}),this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?n({},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 r((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},Tt=k,k.default=k,o.registerLazyResult(k),t.registerLazyResult(k),Tt}function er(){if(zt)return Bt;zt=1;var e=lt(),t=at(),r=ot(),a=Ee(),s=st(),o=ut(),l=function(){if(gt)return vt;gt=1;var e=lt(),t=at(),r=st(),a=ht(),s=dt(),o=pt(),l=mt();function u(c,d){if(Array.isArray(c))return c.map((e=>u(e)));var h,p,f=c.inputs,m=i(c,Gt);if(f)for(var v of(d=[],f)){var g=n({},v,{__proto__:a.prototype});g.map&&(g.map=n({},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=i(y,Kt);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 r(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 vt=u,u.default=u,vt}(),u=ht(),c=$t(),d=ft(),h=it(),p=Zt(),f=function(){if(jt)return Pt;jt=1;var e=ut(),t=$t(),r=function(){if(Ft)return Lt;Ft=1;var e=Vt(),t=Zt(),r=Xt(),n=Ne(),i=_t();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 Lt=a,a.default=a,Lt}(),n=pt();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 Pt=i,i.default=i,n.registerProcessor(i),e.registerProcessor(i),Pt}(),m=Xt(),v=pt(),g=mt(),y=Ne(),w=Qt();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=r,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(qt)return Wt;qt=1;var e=er().Input,t=function(){if(Ut)return Ht;Ut=1;var e=at(),t=Yt(),r=Jt();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 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=""}},Ht}();Wt=function(r,n){var i=new e(r,n),a=new t(i);return a.parse(),a.root}}();var tr=ve(er());tr.stringify,tr.fromJSON,tr.plugin,tr.parse,tr.list,tr.document,tr.comment,tr.atRule,tr.rule,tr.decl,tr.root,tr.CssSyntaxError,tr.Declaration,tr.Container,tr.Processor,tr.Document,tr.Comment,tr.Warning,tr.AtRule,tr.Result,tr.Input,tr.Rule,tr.Root,tr.Node;class rr{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=nr.ELEMENT_NODE,this.TEXT_NODE=nr.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 rr))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 nr=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 ir(e,t,r){void 0===r&&(r=document);var n={capture:!0,passive:!0};return r.addEventListener(e,t,n),()=>ar(r,e,t,n)}function ar(e,t,r,n){sr((()=>{var i=e.removeEventListener;"function"==typeof i&&(void 0!==n?i.call(e,t,r,n):i.call(e,t,r))}))}function sr(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.",lr={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 ur(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 cr(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)}}}),()=>cr(e,t,a||{},!0)}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(lr=new Proxy(lr,{get:(e,t,r)=>("map"===t&&console.error(or),Reflect.get(e,t,r))}));var dr=Date.now;function hr(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=x.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=x.parentElement(a.body))?void 0:n.scrollTop)||(null==a||null==(i=a.body)?void 0:i.scrollTop)||0}}function pr(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function fr(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function mr(e){return e?e.nodeType===e.ELEMENT_NODE?e:x.parentElement(e):null}function vr(e,t,r,n){if(!e)return!1;var i=mr(e),a=n;if(!i){var s=x.getRootNode(e);if(!R(s))return!1;i=x.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(ae(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=x.getRootNode(i);if(!R(o))return!1;i=x.host(o),a=!0}return!1}function gr(e,t,r){return!("TITLE"!==e.tagName||!r.headTitleMutations)||t.getId(e)===Z}function yr(e,t){if(R(e))return!1;var r=t.getId(e);if(!t.has(r))return!0;var n=x.parentNode(e);return(!n||n.nodeType!==e.DOCUMENT_NODE)&&(!n||yr(n,t))}function wr(e){return Boolean(e.changedTouches)}function br(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function Sr(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function kr(e){return!!e&&(e instanceof rr&&"shadowRoot"in e?Boolean(e.shadowRoot):Boolean(x.shadowRoot(e)))}/[1-9][0-9]{12}/.test(Date.now().toString())||(dr=()=>(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 Mr(e){var t,r=null;return"getRootNode"in e&&(null==(t=x.getRootNode(e))?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&x.host(x.getRootNode(e))&&(r=x.host(x.getRootNode(e))),r}function Ir(e){var t=e.ownerDocument;return!!t&&(x.contains(t,e)||function(e){var t=e.ownerDocument;if(!t)return!1;var r=function(e){for(var t,r=e;t=Mr(r);)r=t;return r}(e);return x.contains(t,r)}(e))}function Or(e){return"__ln"in e}class xr{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&&Or(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&&Or(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 Er,Rr=(e,t)=>e+"@"+t;class Nr{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 xr,n=e=>{for(var t=e,r=Z;r===Z;)r=(t=t&&t.nextSibling)&&this.mirror.getId(t);return r},i=i=>{var a=x.parentNode(i);if(a&&Ir(i)&&"TEXTAREA"!==a.tagName){var s=R(a)?this.mirror.getId(Mr(i)):this.mirror.getId(a),o=n(i);if(-1===s||-1===o)return r.addNode(i);var l=fe(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=>{br(e,this.mirror)&&this.iframeManager.addIframe(e),Sr(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),kr(i)&&this.shadowDomManager.addShadowRoot(x.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)Tr(this.removesSubTreeCache,a,this.mirror)&&!this.movedSet.has(x.parentNode(a))||i(a);for(var s of this.addedSet)Dr(this.droppedSet,s)||Tr(this.removesSubTreeCache,s,this.mirror)?Dr(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(x.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(x.parentNode(h.value));if(-1===n(h.value))continue;if(-1!==p){l=h;break}var f=h.value,m=x.parentNode(f);if(m&&m.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var v=x.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=x.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(x.childNodes(e),(e=>x.textContent(e)||"")).join("");t.attributes.value=L({element:e,maskInputOptions:this.maskInputOptions,tagName:e.tagName,type:j(e),value:r,maskInputFn:this.maskInputFn})},this.processMutation=e=>{if(!gr(e.target,this.mirror,this.slimDOMOptions))switch(e.type){case"characterData":var t=x.textContent(e.target);vr(e.target,this.blockClass,this.blockSelector,!1)||t===e.oldValue||this.texts.push({value:se(e.target,this.maskTextClass,this.maskTextSelector,!0)&&t?this.maskTextFn?this.maskTextFn(t,mr(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=j(r);i=L({element:r,maskInputOptions:this.maskInputOptions,tagName:r.tagName,type:a,value:i,maskInputFn:this.maskInputFn})}if(vr(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"),!ie(r.tagName,n))if(s.attributes[n]=ne(this.doc,F(r.tagName),F(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(vr(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=R(e.target)?this.mirror.getId(x.host(e.target)):this.mirror.getId(e.target);vr(e.target,this.blockClass,this.blockSelector,!1)||gr(t,this.mirror,this.slimDOMOptions)||!function(e,t){return-1!==t.getId(e)}(t,this.mirror)||(this.addedSet.has(t)?(Ar(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===r||yr(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[Rr(r,n)]?Ar(this.movedSet,t):(this.removes.push({parentId:n,id:r,isShadow:!(!R(e.target)||!N(e.target))||void 0}),function(e,t){for(var r=[e];r.length;){var n=r.pop();t.has(n)||(t.add(n),x.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(gr(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[Rr(this.mirror.getId(e),r)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);vr(e,this.blockClass,this.blockSelector,!1)||(x.childNodes(e).forEach((e=>this.genAdds(e))),kr(e)&&x.childNodes(x.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 Ar(e,t){e.delete(t),x.childNodes(t).forEach((t=>Ar(e,t)))}function Tr(e,t,r){return 0!==e.size&&function(e,t,r){var n=x.parentNode(t);return!!n&&e.has(n)}(e,t)}function Dr(e,t){return 0!==e.size&&Lr(e,t)}function Lr(e,t){var r=x.parentNode(t);return!!r&&(!!e.has(r)||Lr(e,r))}function Fr(e){Er=e}function Pr(){Er=void 0}var jr=e=>Er?function(){try{return e(...arguments)}catch(e){if(Er&&!0===Er(e))return;throw e}}:e,Br=[];function zr(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 Nr;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(I())(jr(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 Ur(e){var t=e.scrollCb,r=e.doc,n=e.mirror,i=e.blockClass,a=e.blockSelector,s=e.sampling,o=!0,u=new Map,c=e=>{if(o){var s=zr(e);if(s&&!vr(s,i,a,!0)){var l,c,d=n.getId(s);if(s===r&&r.defaultView){var h=hr(r.defaultView);l=h.left,c=h.top}else l=s.scrollLeft,c=s.scrollTop;var p=l+","+c;u.get(d)!==p&&(u.set(d,p),t({id:d,x:l,y:c}))}}},d=jr(ur(jr((e=>c(e))),s.scroll||100));return l((e=>{e.add((()=>{o=!1})),e.add(ir("scroll",d,r)),"onscrollend"in r&&e.add(ir("scrollend",jr(c),r))}))}function Wr(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 qr=["INPUT","TEXTAREA","SELECT"],Gr=new WeakMap;function Kr(e){return function e(t,r){if(Zr("CSSGroupingRule")&&t.parentRule instanceof CSSGroupingRule||Zr("CSSMediaRule")&&t.parentRule instanceof CSSMediaRule||Zr("CSSSupportsRule")&&t.parentRule instanceof CSSSupportsRule||Zr("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 Vr(e,t,r){var n,i;return e?(e.ownerNode?n=t.getId(e.ownerNode):i=r.getId(e),{styleId:i,id:n}):{}}function Jr(e,t){var r,n,i,a=e.mirror,s=e.stylesheetManager;i="#document"===t.nodeName?a.getId(t):a.getId(x.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}}),jr((()=>{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 r=e.doc.defaultView;return r?(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),l((t=>{if(t.add((()=>e.shadowDomManager.resetForDoc(e.doc))),e.recordDOM){var i=Hr(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 o,u,p,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,o="number"==typeof r.mousemove?r.mousemove:50,u="number"==typeof r.mousemoveCallback?r.mousemoveCallback:500,d=[],h=ur(jr((e=>{if(a){var r=Date.now()-s;t(d.map((e=>(e.timeOffset-=r,e))),e),d=[],s=null}})),u),p=jr(ur(jr((e=>{if(a){var t=zr(e),r=wr(e)?e.changedTouches[0]:e,n=r.clientX,o=r.clientY;s||(s=dr()),d.push({x:n,y:o,id:i.getId(t),timeOffset:dr()-s}),h("undefined"!=typeof DragEvent&&e instanceof DragEvent?c.Drag:e instanceof MouseEvent?c.MouseMove:c.TouchMove)}})),o,{trailing:!1}));return l((e=>{e.add((()=>{a=!1})),e.add(ir("mousemove",p,n)),e.add(ir("touchmove",p,n)),e.add(ir("drag",p,n))}))}(e)),t.add(function(e){var t=e.mouseInteractionCb,r=e.doc,i=e.mirror,a=e.blockClass,s=e.blockSelector,o=e.sampling,u=!0;if(!1===o.mouseInteraction)return()=>{};var c=!0===o.mouseInteraction||void 0===o.mouseInteraction?{}:o.mouseInteraction,p=null;return l((e=>{e.add((()=>{u=!1})),Object.keys(d).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==c[e])).forEach((o=>{var l=F(o),c=(e=>r=>{if(u){var o=zr(r);if(!vr(o,a,s,!0)){var l=null,c=e;if("pointerType"in r){switch(r.pointerType){case"mouse":l=h.Mouse;break;case"touch":l=h.Touch;break;case"pen":l=h.Pen}l===h.Touch?d[e]===d.MouseDown?c="TouchStart":d[e]===d.MouseUp&&(c="TouchEnd"):h.Pen}else wr(r)&&(l=h.Touch);null!==l?(p=l,(c.startsWith("Touch")&&l===h.Touch||c.startsWith("Mouse")&&l===h.Mouse)&&(l=null)):d[e]===d.Click&&(l=p,p=null);var f=wr(r)?r.changedTouches[0]:r;if(f){var m=i.getId(o),v=f.clientX,g=f.clientY;jr(t)(n({type:d[c],id:m,x:v,y:g},null!==l&&{pointerType:l}))}}}})(o);if(window.PointerEvent)switch(d[o]){case d.MouseDown:case d.MouseUp:l=l.replace("mouse","pointer");break;case d.TouchStart:case d.TouchEnd:return}e.add(ir(l,c,r))}))}))}(e)),t.add(Ur(e)),t.add((o={win:r},u=e.viewportResizeCb,p=o.win,m=-1,v=-1,ir("resize",jr(ur(jr((()=>{var e=pr(),t=fr();m===e&&v===t||(u({width:Number(t),height:Number(e)}),m=e,v=t)})),200)),p))),t.add(function(e){var t=e.inputCb,r=e.doc,i=e.mirror,a=e.blockClass,s=e.blockSelector,o=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=zr(e),n=e.isTrusted,i=r.defaultView;if(!t||!i||t instanceof i.HTMLElement){var l=t&&t.tagName;if(t&&"OPTION"===l&&(t=x.parentElement(t)),t&&l&&!(qr.indexOf(l)<0)&&!vr(t,a,s,!0)&&!(t.classList.contains(o)||u&&t.matches(u))){var h=t.value,m=!1,g=j(t)||"";"radio"===g||"checkbox"===g?m=t.checked:(c[l.toLowerCase()]||c[g])&&(h=L({element:t,maskInputOptions:c,tagName:l,type:g,value:h,maskInputFn:d})),v(t,p?{text:h,isChecked:m,userTriggered:n}:{text:h,isChecked:m});var y=t.name;"radio"===g&&y&&m&&r.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,r){var a=Gr.get(e);if(!a||a.text!==r.text||a.isChecked!==r.isChecked){Gr.set(e,r);var s=i.getId(e);jr(t)(n({},r,{id:s}))}}return l((e=>{e.add((()=>{f=!1}));var t="last"===h.input?["change"]:["input","change"];for(var n of t)e.add(ir(n,jr(m),r));var i=r.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])})),cr(t[0],t[1],{set(){jr(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,o=!0,u=jr((e=>ur(jr((a=>{if(o){var s=zr(a);if(s&&!vr(s,r,n,!0)){var l=s,u=l.currentTime,c=l.volume,d=l.muted,h=l.playbackRate,p=l.loop;t({type:e,id:i.getId(s),currentTime:u,volume:c,muted:d,playbackRate:h,loop:p})}}})),a.media||500)));return l((e=>{e.add((()=>{o=!1})),e.add(ir("play",u(f.Play),s)),e.add(ir("pause",u(f.Pause),s)),e.add(ir("seeked",u(f.Seeked),s)),e.add(ir("volumechange",u(f.VolumeChange),s)),e.add(ir("ratechange",u(f.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?l((e=>{var t=a.CSSStyleSheet.prototype.insertRule;e.replace(a.CSSStyleSheet.prototype,"insertRule",new Proxy(t,{apply:jr(((e,t,a)=>{var s=a[0],o=a[1],l=Vr(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:jr(((e,t,a)=>{var s=a[0],o=Vr(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:jr(((e,t,a)=>{var s=a[0],o=Vr(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:jr(((e,t,a)=>{var s=a[0],o=Vr(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={};Qr("CSSGroupingRule")?u.CSSGroupingRule=a.CSSGroupingRule:(Qr("CSSMediaRule")&&(u.CSSMediaRule=a.CSSMediaRule),Qr("CSSConditionRule")&&(u.CSSConditionRule=a.CSSConditionRule),Qr("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:jr(((e,t,a)=>{var s=a[0],o=a[1],l=Vr(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:[...Kr(t),o||0]}]}),e.apply(t,a)}))})),e.replace(s.prototype,"deleteRule",new Proxy(c[a].deleteRule,{apply:jr(((e,t,a)=>{var s=a[0],o=Vr(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:[...Kr(t),s]}]}),e.apply(t,a)}))}))}))})):()=>{}}(e,{win:r})),t.add(Jr(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 l((e=>{var t=s.CSSStyleDeclaration.prototype.setProperty;e.replace(s.CSSStyleDeclaration.prototype,"setProperty",new Proxy(t,{apply:jr(((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=Vr(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:Kr(s.parentRule)}),e.apply(s,o)}))}));var o=s.CSSStyleDeclaration.prototype.removeProperty;e.replace(s.CSSStyleDeclaration.prototype,"removeProperty",new Proxy(o,{apply:jr(((e,t,s)=>{var l,u=s[0];if(i.has(u))return o.apply(t,[u]);var c=Vr(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:Kr(t.parentRule)}),e.apply(t,s)}))}))}))}(e,{win:r})),e.collectFonts&&t.add(function(e){var t=e.fontCb,r=e.doc,n=!0,i=r.defaultView;return i?l((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=O(r.fonts,"add",(function(e){return function(r){return setTimeout(jr((()=>{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=jr((()=>{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;vr(d,n,i,!0)||vr(p,n,i,!0)||o.push({start:r.getId(d),startOffset:h,end:r.getId(p),endOffset:f})}a({ranges:o})}}));return o(),ir("selectionchange",o)}(e)),t.add(function(e){var t=e.doc,r=e.customElementCb,n=t.defaultView;return n&&n.customElements?O(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,r,g.options))}))):()=>{}}function Zr(e){return void 0!==window[e]}function Qr(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class Xr{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 _r{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Xr(Q),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 Xr(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=>sr(e))),this.loadListenerDisposers.delete(e))}removePageHideListener(e){var t=this.pageHideHandlers.get(e);t&&(t.forEach((e=>{ar(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);sr((()=>{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)}))}sr((()=>{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 u.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:u.IncrementalSnapshot,data:{source:c.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case u.Meta:case u.Load:case u.DomContentLoaded:return!1;case u.Plugin:return t;case u.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case u.IncrementalSnapshot:switch(t.data.source){case c.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 c.Drag:case c.TouchMove:case c.MouseMove:return t.data.positions.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case c.ViewportResize:return!1;case c.MediaInteraction:case c.MouseInteraction:case c.Scroll:case c.CanvasMutation:case c.Input:return this.replaceIds(t.data,e,["id"]),t;case c.StyleSheetRule:case c.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case c.Font:return t;case c.Selection:return t.data.ranges.forEach((t=>{this.replaceIds(t,e,["start","end"])})),t;case c.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===m.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&&(ar(e,"message",t),this.nestedIframeListeners.delete(e)),this.crossOriginIframeMap.delete(e)})),this.attachedWindows.delete(r)),n&&this.nestedIframeListeners.has(n)&&(ar(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=>{sr((()=>this.mirror.removeNodeFromMap(e)))})),sr((()=>Wr(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&&ar(window,"message",this.messageHandler),this.nestedIframeListeners.forEach(((e,t)=>{ar(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 r,i;if(N(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var a=null!=(r=null==(i=x.host(e))?void 0:i.ownerDocument)?r:t,s=Hr(n({},this.bypassOptions,{doc:a,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e),l=s.observer,u=s.buffer;this.restoreHandlers.push({doc:a,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:a,handler:Ur(n({},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(x.host(e))),this.restoreHandlers.push({doc:a,handler:Jr({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:O(e.prototype,"attachShadow",(function(e){return function(n){var i=e.call(this,n),a=x.shadowRoot(this);return a&&Ir(this)&&r.addShadowRoot(a,t),i}}))})}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 a}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 en="skip-frame";function tn(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 rn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",nn="undefined"==typeof Uint8Array?[]:new Uint8Array(256),an=0;an<64;an++)nn[rn.charCodeAt(an)]=an;var sn=new Map,on=(e,t,r)=>{if(e&&(cn(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),i=n.indexOf(e);return-1===i&&(i=n.length,n.push(e)),i}};function ln(e,t,r,n){if(e instanceof Array)return e.map((e=>ln(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+=rn[r[t]>>2],i+=rn[(3&r[t])<<4|r[t+1]>>4],i+=rn[(15&r[t+1])<<2|r[t+2]>>6],i+=rn[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:[ln(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:[ln(e.data,t,r,n),e.width,e.height]}:cn(e,t)||"object"==typeof e?{rr_type:e.constructor.name,index:on(e,t,r)}:e}var un=(e,t,r,n)=>e.map((e=>ln(e,t,r,n))),cn=(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])))},dn=["webgl","webgl2"];function hn(e){return"nodeType"in e}function pn(e,t,r,i){var a=[];try{if(i){var s=function(e,t,r){var i=e.GPUCanvasContext;if(null!=i&&i.prototype&&"function"==typeof i.prototype.configure)return O(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||hn(s)&&vr(s,t,r,!0))return i.call(this,a);hn(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,n({},a,{usage:"number"==typeof a.usage?a.usage|o:o})):i.call(this,a)}}))}(e,t,r);s&&a.push(s)}var o=O(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(n){for(var a=function(e){return"experimental-webgl"===e?"webgl":e}(n),s=arguments.length,o=new Array(s>1?s-1:0),l=1;l<s;l++)o[l-1]=arguments[l];if(!vr(this,t,r,!0)&&("__context"in this||(this.__context=a),i&&dn.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,[n,...o])}}));a.push(o)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{a.forEach((e=>e()))}}function fn(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=O(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(on(d,a,this),"tagName"in this.canvas&&!vr(this.canvas,n,i,!0)){var h=un(u,a,this,s),p={type:t,property:l,args:h};r(this.canvas,p)}return d}}));o.push(u)}catch(n){var c=cr(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 mn(){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 vn,gn,yn,wn=["type"];class bn{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,t,n,i,a){var s=this;if("OffscreenCanvas"in t){var o,l="number"==typeof a.resolutionScale&&Number.isFinite(a.resolutionScale)?Math.min(1,Math.max(.1,a.resolutionScale)):1,u=pn(t,n,i,!0),c=new Map;try{o=new mn}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 h=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:p["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=h.get(t))?d:l;h.set(t,f<=.1?0:Math.max(.1,f/2))}}};var f,m=1e3/e,v=0,g=e=>{var u,p;d||(v&&e-v<m||(v=e,(u=[],p=e=>{try{e.querySelectorAll("canvas").forEach((e=>{vr(e,n,i,!0)||u.push(e)})),e.querySelectorAll("*").forEach((e=>{e.shadowRoot&&p(e.shadowRoot)}))}catch(e){}},p(t.document),u).forEach(function(){var e=r((function*(e){var t,r=s.mirror.getId(e);if(!c.get(r)){var n=null!=(t=h.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,p=e.clientHeight||e.height,f=Math.max(1,Math.round(d*n)),m=Math.max(1,Math.round(p*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 en}if(void 0!==s){if(!Array.isArray(s)||!s.every(tn))return en;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,p);if(v===en)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:p,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=pn(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=O(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 vr(this.canvas,r,n,!0)||setTimeout((()=>{var r=un(l,t,this,i);e(this.canvas,{type:p["2D"],property:s,args:r})}),0),a.apply(this,l)}}));a.push(o)}catch(r){var l=cr(t.CanvasRenderingContext2D.prototype,s,{set(t){e(this.canvas,{type:p["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(...fn(t.WebGLRenderingContext.prototype,p.WebGL,e,r,n,t,i)),void 0!==t.WebGL2RenderingContext&&a.push(...fn(t.WebGL2RenderingContext.prototype,p.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 n=r.map((e=>(e.type,i(e,wn)))),a=r[0].type;this.mutationCb({id:t,type:a,commands:n}),this.pendingCanvasMutations.delete(e)}}}}class Sn{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:[]},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:T(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,ue()}trackStylesheetInLinkElement(e){}}class kn{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 Mn,In=document.createElement("iframe");document.body.appendChild(In),Array.from=(null==(Mn=In.contentWindow)?void 0:Mn.Array.from)||Array.from,document.body.removeChild(In)}}catch(e){console.debug("Unable to override Array.from",e)}var On=new D,xn=new Set([c.Mutation,c.MediaInteraction,c.StyleSheetRule,c.CanvasMutation,c.Font,c.Log,c.StyleDeclaration,c.AdoptedStyleSheet]);function En(e){void 0===e&&(e={});var t=e,r=t.emit,i=t.checkoutEveryNms,a=t.checkoutEveryNth,l=t.blockClass,d=void 0===l?"rr-block":l,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,O=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,j=t.canvasResolutionScale,B=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=n({type:"image/webp",quality:.4,maxBase64ImageLength:1048576},P),le=!K||window.parent===window,ce=!1;if(!le)try{window.parent.document&&(ce=!1)}catch(e){ce=!0}if(le&&!r)throw new Error("emit function is required");if(!le&&!ce)return()=>{};void 0!==z&&void 0===L.mousemove&&(L.mousemove=z);var de,he=o(),pe=!1,ve=[],ge=()=>{pe=!0,Cn=!1,he.close()},ye=e=>{pe?he.add(e):ve.push(e)},we=e=>{s(e)&&he.poison(),ge(),se?se(e):console.warn(e)};try{Fr(se),he.add(Pr),he.add((()=>On.reset())),he.add(ue),On.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=me(void 0!==O&&O);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 n;if(!pe){var s=e;if(s.timestamp=dr(),null==(n=Br[0])||!n.isFrozen()||s.type===u.FullSnapshot||s.type===u.IncrementalSnapshot&&xn.has(s.data.source)||Br.forEach((e=>e.unfreeze())),le)Ee=null==r?void 0:r(xe(s),t);else if(ce){var o={type:"rrweb",event:xe(s),origin:window.location.origin,isCheckout:t};window.parent.postMessage(o,"*")}if(s.type===u.FullSnapshot)be=s,Ie=0;else if(s.type===u.IncrementalSnapshot){if(s.data.source===c.Mutation&&s.data.isAttachIframe)return;Ie++;var l=a&&Ie>=a,d=i&&s.timestamp-be.timestamp>i;(l||d)&&ze(!0)}}};vn=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,r=new Set;if(e.adds.length>0)for(var i of e.adds){var a=On.getNode(i.node.id);a&&"IFRAME"===a.nodeName&&r.add(a)}e.removes.forEach((e=>{var n=e.id;if(!t||!t.has(n)){var i=Le.getIframeElementById(n);i&&r.has(i)?Le.forgetIframeId(n):(null==Ce||Ce(n),Le.removeIframeById(n))}})),null==Me||Me(),Le.cleanupDetachedIframes()}Re({type:u.IncrementalSnapshot,data:n({source:c.Mutation},e)})},Ae=e=>Re({type:u.IncrementalSnapshot,data:n({source:c.Scroll},e)}),Te=e=>{Ee=void 0,Re({type:u.IncrementalSnapshot,data:n({source:c.CanvasMutation},e)});var t=Ee;return Ee=void 0,"resend"===t||"shrink"===t?t:void 0},De=new Sn({mutationCb:Ne,adoptedStyleSheetCb:e=>Re({type:u.IncrementalSnapshot,data:n({source:c.AdoptedStyleSheet},e)})});he.add((()=>De.reset()));var Le=new _r({mirror:On,mutationCb:Ne,stylesheetManager:De,recordCrossOriginIframes:K,wrappedEmit:Re});for(var Fe of(he.add((()=>Le.destroy())),ee||[]))Fe.getMirror&&Fe.getMirror({nodeMirror:On,crossOriginIframeMirror:Le.crossOriginIframeMirror,crossOriginIframeStyleMirror:Le.crossOriginIframeStyleMirror});var Pe=new kn;he.add((()=>Pe.destroy()));var je=null==B?void 0:B.configured;yn=new bn({recordCanvas:q,mutationCb:Te,win:window,blockClass:d,blockSelector:p,mirror:On,sampling:L.canvas,dataURLOptions:oe,resolutionScale:j,canvasMasking:B}),he.add((()=>yn.reset()));var Be=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:je,inlineImages:$,sampling:L,slimDOMOptions:ke,iframeManager:Le,stylesheetManager:De,canvasManager:yn,keepIframeSrcFn:re,processedNodeManager:Pe,attributeFilter:ae},mirror:On});he.add((()=>Be.reset()));var ze=function(e){if(void 0===e&&(e=!1),!pe&&U){Re({type:u.Meta,data:{href:window.location.href,width:fr(),height:pr()}},e),De.reset(),Be.init(),Br.forEach((e=>e.lock()));var t=function(e,t){var r=t||{},n=r.mirror,i=void 0===n?new D: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 fe(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:me(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:On,blockClass:d,blockSelector:p,maskTextClass:w,maskTextSelector:S,inlineStylesheet:C,maskAllInputs:Se,maskTextFn:R,maskInputFn:E,slimDOM:ke,dataURLOptions:oe,recordCanvas:q,canvasMaskingConfigured:je,inlineImages:$,onSerialize:e=>{br(e,On)&&Le.addIframe(e),Sr(e,On)&&De.trackLinkElement(e),kr(e)&&Be.addShadowRoot(x.shadowRoot(e),document)},onIframeLoad:(e,t)=>{Le.attachIframe(e,t),Be.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:u.FullSnapshot,data:{node:t,initialOffset:hr(window)}},e),Br.forEach((e=>e.unlock())),yn.onFullSnapshot(),K&&Le.reattachIframes(),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&De.adoptStyleSheets(document.adoptedStyleSheets,On.getId(document))}};gn=ze,he.add((()=>Oe.clear())),he.add((()=>{var e=o();for(var t of ve)e.add(t);ve.length=0,e.close()})),Ce=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=On.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 Yr({mutationCb:Ne,mousemoveCb:(e,t)=>Re({type:u.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>Re({type:u.IncrementalSnapshot,data:n({source:c.MouseInteraction},e)}),scrollCb:Ae,viewportResizeCb:e=>Re({type:u.IncrementalSnapshot,data:n({source:c.ViewportResize},e)}),inputCb:e=>Re({type:u.IncrementalSnapshot,data:n({source:c.Input},e)}),mediaInteractionCb:e=>Re({type:u.IncrementalSnapshot,data:n({source:c.MediaInteraction},e)}),styleSheetRuleCb:e=>Re({type:u.IncrementalSnapshot,data:n({source:c.StyleSheetRule},e)}),styleDeclarationCb:e=>Re({type:u.IncrementalSnapshot,data:n({source:c.StyleDeclaration},e)}),canvasMutationCb:Te,fontCb:e=>Re({type:u.IncrementalSnapshot,data:n({source:c.Font},e)}),selectionCb:e=>{Re({type:u.IncrementalSnapshot,data:n({source:c.Selection},e)})},customElementCb:e=>{Re({type:u.IncrementalSnapshot,data:n({source:c.CustomElement},e)})},blockClass:d,ignoreClass:m,ignoreSelector:g,maskTextClass:w,maskTextSelector:S,maskInputOptions:Se,inlineStylesheet:C,sampling:L,recordDOM:U,recordCanvas:q,canvasMaskingConfigured:je,inlineImages:$,userTriggeredOnInput:Z,collectFonts:X,doc:e,maskInputFn:E,maskTextFn:R,keepIframeSrcFn:re,blockSelector:p,slimDOMOptions:ke,dataURLOptions:oe,mirror:On,iframeManager:Le,stylesheetManager:De,shadowDomManager:Be,processedNodeManager:Pe,canvasManager:yn,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:u.Plugin,data:{plugin:e.name,payload:t}})}))))||[]},N)};Le.addLoadListener((e=>{if(!pe)try{var t=On.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=On.getId(e);null==Ce||Ce(t),Wr(e)}));var Ue=-1,We=e=>Re({type:u.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?On.getId(a):-1;s!==Ue&&(-1!==Ue&&We({id:Ue,enter:!1}),Ue=s,-1!==s&&We({id:s,enter:!0}))},Ge=!1,Ke=()=>{pe||Ge||(Ge=!0,ze(),pe||(ye(He(document)),ye(ir("fullscreenchange",qe)),ye(ir("webkitfullscreenchange",qe)),ye(ir("mozfullscreenchange",qe)),ye(ir("MSFullscreenChange",qe)),Cn=!0))};return["interactive","complete"].includes(document.readyState)?Ke():(ye(ir("DOMContentLoaded",(()=>{if(!pe)try{Re({type:u.DomContentLoaded,data:{}}),"DOMContentLoaded"===J&&Ke()}catch(e){we(e)}}))),ye(ir("load",(()=>{if(!pe)try{Re({type:u.Load,data:{}}),"load"===J&&Ke()}catch(e){we(e)}}),window))),ge}catch(e){we(e)}}En.addCustomEvent=(e,t)=>{if(!Cn)throw new Error("please add custom event after start recording");vn({type:u.Custom,data:{tag:e,payload:t}})},En.freezePage=()=>{Br.forEach((e=>e.freeze()))},En.takeFullSnapshot=e=>{if(!Cn)throw new Error("please take full snapshot after start recording");gn(e)},En.mirror=On;class Rn{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 Nn=/(^|@)\S+:\d+/,An=/^\s*at .*(\S+:\d+|\(native\))/m,Tn=/^(eval@)?(\[native code])?$/,Dn={parse:function(e){return e?void 0!==e.stacktrace||void 0!==e["opera#sourceloc"]?this.parseOpera(e):e.stack&&e.stack.match(An)?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(An)}),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 Rn({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(Tn)}),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 Rn({functionName:e});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=e.match(t),n=r&&r[1]?r[1]:void 0,i=this.extractLocation(e.replace(t,""));return new Rn({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 Rn({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 Rn({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(Nn)&&!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 Rn({functionName:n,fileName:r[0],lineNumber:r[1],columnNumber:r[2]})}),this)}};function Ln(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 Fn=["InputEvent","CompositionEvent","TextEvent","KeyboardEvent"],Pn=["data","key","code","keyCode","charCode","which","char"];function jn(e){return Array.isArray(e)}function Bn(e){return"object"==typeof e&&null!==e&&!jn(e)}function zn(e,t){if(0===t)return!0;var r=Object.keys(e);for(var n of r)if(Bn(e[n])&&zn(e[n],t-1))return!0;return!1}function Hn(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)&&zn(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,Fn.some((e=>{var t=l[e];return"function"==typeof t&&o instanceof t})));for(var d in t){var h=t[d];jn(h)?u[d]=Ln(h.length?h[0]:null):c&&Pn.includes(d)?u[d]="number"==typeof h?0:"":u[d]=h}return u}return t instanceof Node?t instanceof Element&&(Ln(t)||t.localName)||t.nodeName:t instanceof Error?t.stack?t.stack+"\nEnd of stack for Error object":t.name+": "+t.message:t}))}var Un={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 Wn(e,t,r){var n,i=r?Object.assign({},Un,r):Un,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=Dn.parse(n).map((e=>e.toString())),s=[Hn(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=[Hn("Uncaught (in promise) "+(r=t.reason).name+": "+r.message,i.stringifyOptions)]:(r=new Error,n=[Hn("Uncaught (in promise)",i.stringifyOptions),Hn(t.reason,i.stringifyOptions)]);var a=Dn.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]?O(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=Dn.parse(new Error).map((e=>e.toString())).splice(1),c=("assert"===r?a.slice(1):a).map((e=>Hn(e,i.stringifyOptions)));++s<i.lengthThreshold?e({level:r,trace:u,payload:c}):s===i.lengthThreshold&&e({level:"warn",trace:[],payload:[Hn("The number of log records reached the threshold.")]})}catch(e){t("rrweb logger error:",e,...a)}finally{o=!1}}})):()=>{}}}var qn,Gn=e=>({name:"rrweb/console@1",observer:Wn,options:e}),Kn=(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),j=0;j<P.length;){var B=y(F);if(B<16)P[j++]=B;else{16!==B||j||n();var z=16===B?P[j-1]:0,H=16===B?v(2)+3:17===B?v(3)+3:v(7)+11;j+H>P.length&&n();for(var U=j+H;j<U;j++)P[j]=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(_)},Vn=e=>(qn||(qn=Kn("rX3bktw2suCvIDrOw25ss92SJVuaiX3QxT6jM7al6JY9EbuxoUCRqCpOswgaAKu75utPZCbuAFnVE/vgshqZCZK4JPKO/3vFes1GaRh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s01clBaUT+2YKSq6Su/LggX5g0qEnGJdy6vfcSrzsHuYb34/PnzXxcM4e3Y84Lmr4JHt60lbH117llDBym+UgKfMr6fCrtFSUm0OdWlVyI50pchxvFm9BZLM1kov8gXDnKQ37RjMBPHvOCdQBnP5wumA/5ixDc4Z5skepdyjiMCc3yWRL6LWDjk5mQELkZtGyeE8cBiACFXDQ+nWYToCv/y3UoUhTEhC2PNrcEGuLcsPBxxqJKxEBcsPhD9q1S+s15lfn6aXDuXRf+YHJ86Y+zeRYmf/ISbEsVtJuOQ7d1s5MfRmQbDKJkipynNi0K+Rdw03/so/8BGNPJ2WCsaGtOMRXEMWWWue5r9B9cYRWgUo3ILNHimItxD94qRlBtsVyxerI3B6F+feQ/phmtkyq1UflDr5AQGearaiMOB1eXXtu6Tif63rPbD11VNODwGj6UD3ja1Ug8JvbVG92V0qK7fBykOpUO06f8Cn96UkVxMdWP5938B",6362,353),Yn=Jn[0];Jn[1];var Zn=Jn[2],Qn=Jn[3];Jn[4],Jn[5],Jn[6];var Xn=Jn[7],_n=Jn[8];Jn[9],Jn[10],Jn[11],Jn[12],Jn[13],Jn[14],Jn[15],Jn[16],Jn[17],Jn[18],Jn[19],Jn[20],Jn[21];var $n=Jn[22],ei=Jn[23];Jn[24],Jn[25],Jn[26],Jn[27],Jn[28],Jn[29],Jn[30],Jn[31],Jn[32],Jn[33];var ti=Jn[34];Jn[35],Jn[36];var ri=Jn[37],ni=Jn[38];Jn[39],Jn[40],Jn[41],Jn[42],Jn[43],Jn[44];var ii=Jn[45];Jn[46],Jn[47];var ai=Jn[48];Jn[49],Jn[50],Jn[51];var si=Jn[52],oi=Jn[53];Jn[54],Jn[55],Jn[56],Jn[57],Jn[58],Jn[59];var li=Jn[60];Jn[61],Jn[62],Jn[63],Jn[64];var ui=Jn[65];Jn[66];var ci=Jn[67];Jn[68],Jn[69],Jn[70],Jn[71],Jn[72],Jn[73],Jn[74],Jn[75],Jn[76],Jn[77],Jn[78],Jn[79],Jn[80];var di=Jn[81];Jn[82];var hi=Jn[83];Jn[84];var pi=Jn[85],fi=Jn[86];Jn[87],Jn[88],Jn[89],Jn[90];var mi=Jn[91];Jn[92],Jn[93],Jn[94];var vi=Jn[95];Jn[96],Jn[97],Jn[98],Jn[99],Jn[100],Jn[101],Jn[102],Jn[103],Jn[104],Jn[105],Jn[106],Jn[107],Jn[108],Jn[109],Jn[110];var gi=Jn[111];Jn[112];var yi=Jn[113];Jn[114],Jn[115],Jn[116],Jn[117];var wi=Jn[118];Jn[119],Jn[120],Jn[121],Jn[122],Jn[123],Jn[124],Jn[125],Jn[126],Jn[127],Jn[128],Jn[129],Jn[130],Jn[131];var bi=Jn[132],Si=Jn[133],ki=Jn[134],Ci=Jn[135],Mi=Jn[136];Jn[137],Jn[138];var Ii=Jn[139];Jn[140],Jn[141],Jn[142],Jn[143],Jn[144],Jn[145],Jn[146];var Oi=Jn[147];Jn[148],Jn[149],Jn[150];var xi=Jn[151];Jn[152],Jn[153],Jn[154],Jn[155],Jn[156],Jn[157],Jn[158],Jn[159],Jn[160],Jn[161],Jn[162],Jn[163],Jn[164],Jn[165],Jn[166],Jn[167],Jn[168],Jn[169];var Ei=Jn[170],Ri=Jn[171];Jn[172],Jn[173],Jn[174],Jn[175],Jn[176],Jn[177],Jn[178],Jn[179];var Ni=Jn[180];Jn[181],Jn[182];var Ai=Jn[183];Jn[184],Jn[185],Jn[186],Jn[187],Jn[188],Jn[189],Jn[190],Jn[191],Jn[192],Jn[193],Jn[194];var Ti=Jn[195],Di=Jn[196];Jn[197],Jn[198],Jn[199],Jn[200],Jn[201],Jn[202];var Li=Jn[203];Jn[204],Jn[205],Jn[206],Jn[207],Jn[208],Jn[209],Jn[210],Jn[211];var Fi=Jn[212];Jn[213],Jn[214];var Pi=Jn[215],ji=Jn[216],Bi=Jn[217];Jn[218],Jn[219];var zi=Jn[220],Hi=Jn[221];Jn[222],Jn[223],Jn[224];var Ui=Jn[225];Jn[226],Jn[227];var Wi=Jn[228];Jn[229];var qi=Jn[230];Jn[231];var Gi=Jn[232],Ki=Jn[233];Jn[234],Jn[235];var Vi=Jn[236];Jn[237];var Ji=Jn[238];Jn[239];var Yi=Jn[240];Jn[241],Jn[242],Jn[243];var Zi=Jn[244];Jn[245],Jn[246],Jn[247],Jn[248],Jn[249],Jn[250],Jn[251];var Qi=Jn[252],Xi=Jn[253];Jn[254],Jn[255],Jn[256],Jn[257],Jn[258],Jn[259],Jn[260],Jn[261];var _i=Jn[262];Jn[263],Jn[264],Jn[265],Jn[266],Jn[267],Jn[268];var $i=Jn[269];Jn[270],Jn[271];var ea=Jn[272];Jn[273],Jn[274];var ta=Jn[275];Jn[276],Jn[277],Jn[278],Jn[279],Jn[280],Jn[281],Jn[282],Jn[283];var ra=Jn[284];Jn[285],Jn[286],Jn[287],Jn[288];var na=Jn[289];Jn[290],Jn[291],Jn[292],Jn[293],Jn[294],Jn[295],Jn[296],Jn[297],Jn[298],Jn[299],Jn[300],Jn[301],Jn[302],Jn[303],Jn[304];var ia=Jn[305];Jn[306],Jn[307];var aa=Jn[308];Jn[309],Jn[310],Jn[311],Jn[312],Jn[313],Jn[314],Jn[315],Jn[316];var sa=Jn[317];Jn[318],Jn[319],Jn[320],Jn[321],Jn[322];var oa=Jn[323],la=Jn[324];Jn[325],Jn[326],Jn[327],Jn[328],Jn[329],Jn[330],Jn[331],Jn[332],Jn[333];var ua=Jn[334];Jn[335],Jn[336],Jn[337],Jn[338],Jn[339],Jn[340],Jn[341],Jn[342],Jn[343],Jn[344],Jn[345],Jn[346],Jn[347];var ca=Jn[348];Jn[349],Jn[350];var da=Jn[351];Jn[352];var ha=Array.isArray,pa=e=>ha(e),fa=e=>"object"==typeof e&&null!=e&&!pa(e),ma=e=>"string"==typeof e,va=e=>!0===e||!1===e,ga=e=>"function"==typeof e,ya=e=>{for(var t=0,r=0;r<e[Gi];r+=1){var n=e[pi](r);if(n>=55296&&n<=56319){var i=e[pi](r+1);if(r+1>=e[Gi]||i<56320||i>57343)return null;r+=1}else if(n>=56320&&n<=57343)return null;t+=1}return t},wa=e=>"number"==typeof e&&Number[oa](e),ba=e=>wa(e)&&Number[Xn](e)&&e>=0,Sa=e=>Object.is(e,null),ka=(e,t)=>Object.prototype[Si].call(e,t),Ca=(e,t)=>Object.prototype[Si].call(e,t),Ma=(e,t)=>{var r=new Set(t);return Object.keys(e).every((e=>r.has(e)))},Ia=e=>{for(var t=0,r=0;r<e[Gi];r+=1){var n=e[pi](r);if(n<=127)t+=1;else if(n<=2047)t+=2;else if(n>=55296&&n<=56319&&r+1<e[Gi]){var i=e[pi](r+1);i>=56320&&i<=57343?(t+=4,r+=1):t+=3}else t+=3}return t},Oa=e=>Object.freeze(e),xa=Kn("lVZNk9xEDP0rqj3H1IaCXDhtskAlB0hlFjhQHDTdst1MW2rU8nzw66luj+2Z2U2A44xtfbz39KTf79rRRiVoI3bg0PUE2fU0IIQMI+cxJVEjf/fqTg5M2nTEpGhBuKFjj2OeHiaVPXHDYo2TYQg2/U3HRM7IP8mwzSZMPy6f3726c8Jt6ICOKegJnIzRA4vBliCR5nCOPYScA3eAo/WiwU4woO5I717dBd5jDH4qf3leQmMqfdWCzv//XYMp/TUGpdy4UZXYGiXaYxznmuaX629ggSjckcKA5nrK4EfFbaSrZBN4MRBbgc1FyTVXNlHsaFMB/bV0VFMMeAzDODyOExAbcsI+l248sZX+nLDR0UBpH84ftWSun0jBPYZYiwgM1ocMxPugwgOxXYD+bupwQ7nEeF8qiuIwguuROwJxFQP/YBWXFPEEaEZDMpDRnAxUK8HAGZAv5QBtoOhv4do4SfRbMKacVw4+qpg4ibfUL3FnEj9sfv4JeBy2ldqpYR8mSSjZqAwISjkJZ7rNfRU9RbRWdPgBY9yi2z2kFEOl5ELnfTCQSakQLEMbGCMcMEbIOKRYUnjSsCcPE24zP3OcTmVMH1USqQXKl23NmhV9Dluevy/6oBtOz88eZnm952AB41m979nTkfzj2+df1RI/EfrS8Mc6jp8qp0+KnEv+kncYc50vBBZumDq0sCfI2BY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a[21],xa[22];var Ra=xa[23];xa[24],xa[25],xa[26],xa[27],xa[28],xa[29],xa[30],xa[31],xa[32],xa[33],xa[34],xa[35],xa[36],xa[37],xa[38],xa[39],xa[40],xa[41],xa[42],xa[43],xa[44],xa[45],xa[46],xa[47],xa[48],xa[49],xa[50],xa[51],xa[52],xa[53],xa[54],xa[55],xa[56],xa[57],xa[58],xa[59],xa[60],xa[61],xa[62],xa[63],xa[64],xa[65],xa[66],xa[67],xa[68],xa[69],xa[70],xa[71],xa[72],xa[73],xa[74],xa[75],xa[76],xa[77],xa[78],xa[79],xa[80],xa[81],xa[82],xa[83],xa[84];var Na="https://ingest.elu.dev";Oa({[ca]:Oa([Na]),[Zi]:Oa([Na]),[ea]:Oa([Na]),assets:Oa(["https://assets.elu.dev"])});var Aa,Ta=Oa({[ca]:"/v1/events",[Zi]:"/v1/replay",[ea]:"/v1/flags",assets:"/sdk/"}),Da=Oa({[ca]:"/v1/events",[Zi]:"/v2/replay",[ea]:"/v1/flags",assets:"/sdk/"});Oa({1:Ta,2:Da}),Oa({1:"/sdk/v1/",2:"/sdk/v2/"});var La=e=>(Aa||(Aa=Kn("jVZdV9w2EP0rc/za9Sns8vlISEigJSFA0jY9fRhLY1tZWXI08sLy63sk2d7txkDffDR35Pm4dzR/Z6fz+WJxPN9bHJ0cHhwfH57sHWezidOTbJadvTl/++7i/YfLq99+v/746ebz7d39l69//PnXNyyEpLKq1felboxtfzj23erhcf20tz9fHBweHZ+c/vJrNsuu7j59BNM1BTkQaIz1UFD4skYJ1OqJ5A5KMdjOs5IEviYolVGeoFAG3froAKRtUJlslt19OMvnh0cgVUXsoSJDDr2yJtzQGVyh0lhoymbZ1/0775TwV2zNO+esC2fza+SlMtWNs6XSNHVuy83pLbUa12diaeyDJllRQ8bvmm9wrS3KM9koZrX9s2S/pR8d8egmrPGoDAMaUGaFWkmIpdDKk0O9DfEOlVamAokes1kmSVhJEtr0y5C08ky6hOpJtbmwTeuIOZZ3Ahsa8eX+Ij/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a[e]);class Fa extends Error{constructor(e,t){super(t),this.code=void 0,this.name=La(10),this.code=e}}class Pa extends Error{constructor(e){super(e),this.name=La(7)}}class ja extends Error{constructor(e){super(e),this.name=La(8)}}class Ba extends Error{constructor(e){super(e),this.name=La(11)}}var za=Object.freeze(["img","picture","svg","canvas"]),Ha=e=>e[Gi]>0?e.join(", "):void 0,Ua=e=>{if(!0!==e[gi])throw new Pa(Vn(93));var t="all"===e.inputRule,r="all"===e.textRule?"*":Ha(e[xi]),i=Ha([...e[Ii],..."block"===e.imageRule?za:[]]);return Object.freeze(n({maskAllInputs:t},t?{}:{maskInputOptions:Object.freeze({password:!0})},void 0===r?{}:{maskTextSelector:r},void 0===i?{}:{blockSelector:i}))},Wa=Object.freeze([".ph-mask",".elu-mask"]),qa=Object.freeze([".ph-no-capture",".elu-no-capture"]),Ga=Object.freeze([".ph-ignore-input",".elu-ignore-input"]),Ka=Object.freeze({maskAllInputs:!1,maskAllText:!1,maskedInputKinds:Object.freeze([]),maskTextSelectors:Object.freeze([]),blockSelectors:Object.freeze([]),ignoreSelectors:Object.freeze([])}),Va=e=>Object.freeze([...new Set(e)]),Ja=/^(\d{4})-(\d{2})-(\d{2})[Tt](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(?:[Zz]|([+-])(\d{2}):(\d{2}))$/,Ya=(e,t)=>{throw new Error(e+" "+t)},Za=function(e,t,r){var i;if(!ma(e))return Ya(t,La(52));var a=ya(e);if(Sa(a)||a<1||a>r)return Ya(t,"must contain between 1 and "+r+" Unicode scalars");var s=Ja.exec(e);if(!s)return Ya(t,La(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[ki](e,t,0),r.getUTCDate()})(o,l)||c>23||d>59||h>60||f>23||m>59)&&Ya(t,La(49));var v=new Date(0);v[ki](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;wa(g)&&Number[Xn](g)||Ya(t,La(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())||Ya(t,La(54))}var b=(e=>{var t=Math.floor(e/86400);return Oa({epochDay:t,[wi]:e-86400*t})})(g);return Oa(n({source:e},b,{[fi]:y,[_n]:p}))},Qa="__eluReplayUrlScopeV1",Xa=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"})}),_a=e=>{var t,r,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!=(r=e.carry)?r:{read:()=>{try{var e=globalThis.document,t=null==e?void 0:e[Qa];return fa(t)&&ma(t.key)&&va(t.blocked)?{key:t.key,blocked:t.blocked}:void 0}catch(e){return}},write:e=>{try{var t=globalThis.document;t&&Object.defineProperty(t,Qa,{value:Oa(n({},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,r)=>y((()=>null==e.addCustomEvent?void 0:e.addCustomEvent(t,n({},r)))),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(Xa.paused.tag,Xa.paused.payload)}))):!r&&h&&(h=!1,g(),p=!0,f||(f=!0,u((()=>{f=!1,p&&!h&&y(e.takeFullSnapshot)}))),u((()=>{h||w(Xa.resumed.tag,Xa.resumed.payload)})))}};return Object.freeze({admit(e){if(v)return"drop";if(b(),h)return(e=>fa(e)&&5===e.type&&fa(e.data)&&e.data.tag===Xa.paused.tag)(e)?"record":"drop";if(p){if(4!==(e=>fa(e)?e.type:void 0)(e))return"drop";p=!1}return"record"},state:()=>Oa({blocked:h,awaitingSnapshot:p,closed:v}),close(){v=!0}})};Oa({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}),Oa({rules:100,conditions:50,values:100,valueLength:1e3}),Oa(["LCP","CLS","FCP","INP"]),Oa(["object","embed",".rr-block",".rr-mask"]),Oa(["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 $a=Oa({sampled:!1,[ci]:!1,[Ei]:!1,[di]:0,[Yi]:null}),es=new Set(["password","email","tel","hidden"]),ts=["src","srcset"],rs=new Set(["img","picture","source"]),ns="rr_dataURL",is=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),as=(e,t,r)=>{var i=n({},t),a="string"==typeof i.type?i.type[Mi]():"";if(("all"===r.inputRule||es.has(a)||"textarea"===e)&&"value"in i&&delete i.value,"block"===r.imageRule&&rs.has(e))for(var s of ts)s in i&&delete i[s];return"block"===r.imageRule&&ns in i&&delete i[ns],i},ss=(e,t)=>{if(!is(e))return e;var r=n({},e),i=r.type;if(5===i)r.textContent="";else if(3===i&&"all"===t.textRule)!0!==r.isStyle&&(r.textContent="");else if(2===i){var a="string"==typeof r.tagName?r.tagName[Mi]():"";is(r[Ni])&&(r[Ni]=as(a,r[Ni],t))}return Array.isArray(r.childNodes)&&(r.childNodes=r.childNodes.map((e=>ss(e,t)))),r},os=(e,t)=>{var r=n({},e);return"all"===t.textRule&&Array.isArray(r.texts)&&(r.texts=r.texts.map((e=>is(e)?n({},e,{value:""}):e))),Array.isArray(r[Ni])&&(r[Ni]=r[Ni].map((e=>is(e)&&is(e[Ni])?n({},e,{[Ni]:as("",e[Ni],t)}):e))),Array.isArray(r.adds)&&(r.adds=r.adds.map((e=>is(e)?n({},e,{node:ss(e.node,t)}):e))),r},ls=(e,t)=>{if(!is(e))return e;var r=e.data;if(!is(r))return e;if(2===e.type)return n({},e,{data:n({},r,{node:ss(r.node,t)})});if(3!==e.type)return e;if(0===r.source)return n({},e,{data:os(r,t)});if(5===r.source){var i=n({},r);return"all"===t.inputRule&&"string"==typeof i.text&&(i.text=""),n({},e,{data:i})}return 9===r.source&&"block"===t.imageRule?n({},e,{data:{source:r.source,id:r.id,type:r.type,commands:[]}}):e},us=/^[a-f0-9]{64}$/,cs=function(){var e=r((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)}}(),ds=function(){var e=r((function*(e,t){void 0===t&&(t=cs);var r=yield t(e);if(!ma(r)||!us.test(r[Mi]()))throw new Error(La(5));return r[Mi]()}));return function(t,r){return e.apply(this,arguments)}}(),hs=e=>ma(e)&&/^sha256:[a-f0-9]{64}$/.test(e),ps=e=>(new TextEncoder).encode(e),fs=Oa({maximumReplayDecodedBytes:16777216,[Fi]:1e4,maximumJsonNestingDepth:256});function ms(e,t){throw new Fa(e,t)}var vs=(e,t)=>{Sa(ya(e))&&ms("invalid-unicode",t+" contains an unpaired Unicode surrogate")},gs=e=>void 0===e||ga(e)||"symbol"==typeof e,ys=(e,t,r,n,i)=>{if(Sa(e))return"null";switch(typeof e){case"string":return vs(e,r),JSON[Ji](e);case"number":return Number[oa](e)||ms(sa,r+" must be a finite number"),JSON[Ji](e);case"boolean":return e?"true":"false";case"object":break;default:return ms(sa,r+" has an unsupported "+typeof e+" value")}var a=t+1;if(a>n&&ms(La(34),r+" exceeds the maximum JSON nesting depth of "+n),a>i.depth&&(i.depth=a),pa(e)){for(var s=[],o=0;o<e[Gi];o+=1){Ca(e,o)||ms(sa,r+"["+o+"] is a sparse array hole");var l=e[o];s.push(gs(l)?"null":ys(l,a,r+"["+o+"]",n,i))}return"["+s.join(",")+"]"}if(!(e=>{var t=Object[li](e);return Sa(t)||t===Object.prototype})(e))return ms(sa,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];gs(p)||(vs(h,r+"."+h),d.push(JSON[Ji](h)+":"+ys(p,a,r+"."+h,n,i)))}return"{"+d.join(",")+"}"},ws=function(e,t,r){return void 0===r&&(r=256),gs(e)&&ms(sa,t+" must be a JSON value"),ys(e,0,t,r,{depth:0})},bs="elu-css-selector-v1",Ss=[Zn,Oi,"textRule","inputRule","imageRule",gi,Ra,xi,Ii],ks=["all","sensitive"],Cs=["all","sensitive"],Ms=["block","allow"];function Is(e){throw new Pa(e)}var Os=(e,t,r)=>(ma(e)&&t.includes(e)||Is(r+" must be one of "+t.join(", ")),e),xs=(e,t)=>{var r=ma(e)?ya(e):null;return Sa(r)||r<1||r>512?Is(t+" must be a selector of 1 to 512 Unicode scalars"):e},Es=(e,t)=>{pa(e)||Is(t+" must be an array of selectors");for(var r=new Set,n=0;n<e[Gi];n+=1)Ca(e,n)||Is(t+" must not be sparse"),r.add(xs(e[n],t+"["+n+"]"));return r.size>128&&Is(t+" may carry at most 128 selectors"),Oa([...r].sort())},Rs=e=>{for(var t of(fa(e)&&Ma(e,Ss)||Is(La(39)),Ss))ka(e,t)||Is("masking profile "+t+" is required");return 1!==e[Zn]&&Is("masking profile schemaVersion must be 1"),e[Oi]!==bs&&Is("masking profile targetDialect must be "+bs),!0!==e[gi]&&Is(La(43)),va(e[ei])||Is(La(40)),Oa({[Zn]:1,[Oi]:bs,textRule:Os(e.textRule,ks,La(44)),inputRule:Os(e.inputRule,Cs,La(38)),imageRule:Os(e.imageRule,Ms,La(37)),[gi]:!0,[ei]:e[ei],[xi]:Es(e[xi],La(42)),[Ii]:Es(e[Ii],La(41))})},Ns="rrweb/console@1",As=Object.freeze(["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"]),Ts="...[truncated]",Ds=Object.freeze({recordConsole:!1}),Ls=e=>fa(e)&&6===e.type&&fa(e.data),Fs=e=>Ls(e)&&e.data.plugin===Ns&&fa(e.data.payload)&&"string"==typeof e.data.payload.level&&As.includes(e.data.payload.level)&&pa(e.data.payload.trace)&&pa(e.data.payload.payload),Ps=(e,t)=>{var r=e.slice(0,t).map((e=>"string"!=typeof e?"":e.length>2e3?e.slice(0,2e3)+Ts:e));return e.length>t&&r.push(Ts),r},js="rrweb/network@1",Bs=1e6,zs="[SessionRecording]",Hs="redacted",Us="[SessionReplay] Failed to read body",Ws=["audio","beacon","body","css","early-hint","embed","fetch","frame","iframe","icon","image","img","input","link","navigation","object","ping","script","track","video","xmlhttprequest"],qs=["first-input","navigation","paint","resource"],Gs=[".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"],Ks=["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"],Vs=["auth","token","secret","session","api-key","apikey","api_key","credential","password","passwd","cookie","csrf","xsrf"],Js=["password","secret","passwd","api_key","apikey","auth","credentials","mysql_pwd","privatekey","private_key","token"],Ys=["image/","video/","audio/","font/","application/octet-stream","application/pdf","application/zip","application/wasm"],Zs=["video/","audio/"],Qs=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}))$"),Xs=/(^|[^0-9A-Za-z_])([0-9][0-9 -]*[0-9])(?=$|[^0-9A-Za-z_])/g,_s=[16,15,14,13],$s=/(^|[^0-9])((?!000|666)[0-9]{3}-?(?!00)[0-9]{2}-?(?!0000)[0-9]{4})(?=$|([^0-9]))/g,eo=/[0-9A-Za-z_]/,to=()=>{},ro=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},no=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},io=e=>{var t=e.toLowerCase();return Ks.includes(t)||Vs.some((e=>t.includes(e)))},ao=e=>{if(fa(e)){var t={};for(var r of Object.keys(e)){var n=e[r];t[no(r)]=io(r)?Hs:no(String(n))}return t}},so=(e,t,r)=>{if(null==e)return e;var n=null==t?void 0:t["content-length"],i=n?parseInt(n,10):Ia(e);return i>Bs?zs+" "+r+" body too large to record ("+i+" bytes)":e.length>25e4&&JSON.stringify(e).length>15e5?zs+" "+r+" body too large to record ("+Ia(e)+" bytes)":e},oo=(e,t)=>{if(null==e)return e;var r=e,n=e.trim();for(var i of(((e=>{var t;for(Xs.lastIndex=0;t=Xs.exec(e);)for(var r,n=(null!=(r=t[2])?r:"").replace(/[- ]/g,""),i=0;i<n.length;i++)for(var a of _s){var s=i+a;if(!(s>n.length)){var o=n.slice(i,s);if(Qs.test(o)&&ro(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&&eo.test(r)&&eo.test(n)))return!0}return!1})(n))&&(r=zs+" "+t+" body "+Hs),Js))r.length&&-1!==r.indexOf(i)&&(r=zs+" "+t+" body "+Hs+" as might contain: "+i);return r},lo=(e,t)=>{var r=((e,t)=>{try{return new URL(e,t).hostname}catch(e){return null}})(e,t);return r&&r.trim().length&&Gs.some((e=>r.endsWith(e)))?r:null},uo=(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&&Ys.some((e=>i.includes(e))))},co=e=>{var t={};return e.forEach(((e,r)=>{t[r]=e})),t},ho=e=>"[SessionReplay] Body too large to record (> "+e+" bytes)",po=e=>fa(e)&&ga(e.getReader)&&ga(e.tee),fo=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(ho(t)):new Promise((n=>{var i,a,s=!1,o=()=>{try{var e;null==(e=i)||e.cancel().catch(to)}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(Us)}var c=a.body;if(po(c)&&"undefined"!=typeof TextDecoder){try{i=c.getReader()}catch(e){return void l(Us)}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(ho(t));h+=n.byteLength,d.push(n)}p()}}),(e=>l(Us+": "+e)))};p()}else try{a.text().then((e=>l(e)),(e=>l(Us+": "+e)))}catch(e){l(Us)}}))},mo=(e,t,r)=>{if(null==e)return null;var n,i=lo(t,r);if(i)return i+" is in deny list";if(ma(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)},vo=e=>"resource"===e.entryType,go=e=>void 0===e?void 0:Math.round(e),yo=(e,t)=>{var r,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=[n({},i?i.toJSON():{name:t.url},{startTime:go(a),endTime:go(s),timeOrigin:o,timestamp:l,method:t.method,initiatorType:null!=(r=t.initiatorType)?r: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},wo=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(vo(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((()=>wo(e,t,r,n,i,a,s+1)))},bo="__eluReplayNetworkV1",So=(e,t,r,n,i)=>{var a=null==e?void 0:e[t];if(!a){var s=r[n];if(!ga(s))return to;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])}},ko=e=>{var t=Object.freeze([...e.excluded]),r=e.headers||e.body,i=!1;return Object.freeze({name:js,observer:(a,s)=>{if(i)return to;i=!0;var o=!1,l=()=>{try{return s.location.href}catch(e){return"about:blank"}},u=e=>{if(!ma(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=ao(e.requestHeaders),r=ao(e.responseHeaders),i=e=>ma(e)?no(e):null===e?null:void 0,a=oo(so(i(e.requestBody),t,"Request"),"Request"),s=oo(so(i(e.responseBody),r,"Response"),"Response"),o=n({},e);return ma(o.name)&&(o.name=no(o.name)),o.requestHeaders=t,o.responseHeaders=r,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(Co(s,h,e.timing,r,d))}catch(e){}if(r){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[bo];if(r)return r;var n={};return Object.defineProperty(t,bo,{value:n,configurable:!0}),n}catch(e){return null}})(s);try{p.push(Oo(f,m))}catch(e){}try{p.push(Eo(f,m))}catch(e){}}}return()=>{for(var e of(o=!0,p))try{e()}catch(e){}}},options:null})},Co=(e,t,r,n,i)=>{var a,s=e=>(e=>"navigation"===e.entryType)(e)||vo(e)&&Ws.includes(e.initiatorType);if(r){var o=t.getEntries().filter(s);i(o.flatMap((e=>yo(t,{entry:e,captured:{},isInitial:!0}))),!0)}var l=e.PerformanceObserver;if(!ga(l))return to;var u=new l((e=>{var r=e.getEntries().filter((e=>s(e)&&!(n&&("xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType))));i(r.flatMap((e=>yo(t,{entry:e,captured:{}}))))})),c=null!=(a=l.supportedEntryTypes)?a:[];return u.observe({entryTypes:c.filter((e=>qs.includes(e)))}),()=>u.disconnect()},Mo=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}},Io=e=>{try{return ma(e)?e:Mo(e)?e.url:String(null!=e?e:"")}catch(e){return""}},Oo=(e,t)=>{var r=e.win,n=e.performance,i=e.options;return So(t,"fetch",r,"fetch",((t,r,a)=>{var s,o=r,l=o[0],u=o[1];if(!e.live()||e.isExcluded(Io(l)))return a.apply(t,r);try{s=Mo(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=co(s.headers);if(i.headers&&(d.requestHeaders=p),!po(null==u?void 0:u.body)&&uo(i.body,p,c)){var f=lo(c,e.base());h.push((f?Promise.resolve(f+" is in deny list"):fo(s)).then((e=>{d.requestBody=e})))}}catch(e){}var m,v,g,y=n.now(),w=()=>{Promise.all(h).then((()=>wo(n,"fetch",c,y,v,e.live))).then((t=>e.emit(yo(n,{entry:t,method:s.method,status:m,captured:d,start:y,end:v,url:c,initiatorType:"fetch"})))).catch(to)};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=co(t.headers);if(i.headers&&(d.responseHeaders=r),uo(i.body,r,c)){var a=xo(t,c,e.base());h.push((a?Promise.resolve(a):fo(t)).then((e=>{d.responseBody=e})))}}catch(e){}return w(),t}),(e=>{throw v=n.now(),w(),e}))}))},xo=(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&&Zs.some((e=>i.startsWith(e))))return"Content-Type "+i+" is not supported";var a=lo(t,r);return a?a+" is in deny list":null},Eo=(e,t)=>{var r=e.win.XMLHttpRequest,n=null==r?void 0:r.prototype;return n?So(t,"open",n,"open",((t,r,n)=>{var i=t,a=r,s=a[0],o=a[1],l=Io(o instanceof URL?o.href:o);if(e.live()&&!e.isExcluded(l))try{Ro(e,i,String(s),l)}catch(e){}return n.apply(i,r)})):to},Ro=(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()&&uo(o.body,c,l))try{u.requestBody=mo(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),uo(o.body,c,l)&&(u.responseBody=mo(t.response,l,e.base()))}catch(e){}var m=t.status;wo(s,"xmlhttprequest",l,i,a,e.live).then((t=>e.emit(yo(s,{entry:t,method:r,status:m,captured:u,start:i,end:a,url:n,initiatorType:"xmlhttprequest"})))).catch(to)}};t.addEventListener("readystatechange",f),t.addEventListener("error",p),t.addEventListener("abort",p),t.addEventListener("timeout",p)},No=e=>"object"==typeof e&&null!==e&&!pa(e),Ao=e=>{if(pa(e))return e.map(Ao);if(!No(e))return e;var t={};for(var r of Object.keys(e))t[r]=Ao(e[r]);return No(t[Ni])&&delete t[Ni].value,3===t.type&&No(t.data)&&5===t.data.source&&(t.data.text=""),t},To=(e,t)=>Number[Xn](e)&&e>0&&e<=t,Do=1048576,Lo=e=>{var t=Rs(e.profile);if(!To(e.maximumEventBytes,8388608)||!To(e.maximumPendingBytes,16777216)||e.maximumPendingBytes<e.maximumEventBytes||!To(e.maximumPendingEvents,1e3))throw new Error(Vn(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=Ua(t),s=function(e,t,r){void 0===r&&(r=Ua(e));var i=null!=t?t:Ka,a="all"===e.textRule||!0===i.maskAllText?"all":"sensitive",s="all"===e.inputRule||!0===i.maskAllInputs?"all":"sensitive",o=Va([...e.resolvedMaskSelectors,...Wa,...i.maskTextSelectors]),l=Ha(Va([...r.blockSelector?[r.blockSelector]:[],...qa,...i.blockSelectors])),u=Va([...Ga,...i.ignoreSelectors]).join(", ");return Object.freeze(n({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:Va(i.maskedInputKinds),maskSelectors:o}))}(t,e.pageMasking,a);for(var o of[...t[xi],...t[Ii],...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=Rs(n({},t,{textRule:s.textRule,inputRule:s.inputRule})),m=Math.min(4194304,Math.floor(e.maximumPendingBytes/4)),v=Math.min(Do,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:wa(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,j=!0,B={},z=null,H=null,U=null,W=0,q=0,G=null,K=Promise[Qi](),V=t=>{try{null==e.onFailure||e.onFailure(t)}catch(e){}},J=()=>{if(D)return $a;try{var t=e.eligibility();return!Number[Xn](t[di])||t[di]<0||t[di]>86400?$a:Object.freeze({sampled:!0===t.sampled,[Ei]:!0===t[Ei],[di]:t[di],[Yi]:t[Yi],[ci]:!0})}catch(e){return $a}},Y=()=>{var t=J();return t.sampled&&t[Ei]&&t[di]>0&&null!==t[Yi]&&e[ra]()},Z=e=>{try{null==e||e()}catch(e){j=!1,D=!0,B={},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)},$=()=>(B={},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&&B===e&&Y()}catch(e){return!1}};return Object.freeze({profile:t,capability:J,start:()=>{if(D||L||F||P||!j||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}}})(t,e.canvas),l=(e=>{var t=null;try{t=e?e():null}catch(e){return null}if(!(t&&va(t.timing)&&va(t.headers)&&va(t.body)&&(t.timing||t.headers||t.body)))return null;var r=(e=>{if(!pa(e))return null;var t=[];for(var r of e){if(!ma(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?ko({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 fa(t)?Object.freeze({recordConsole:!0,consolePlugin:Object.freeze({level:As,lengthThreshold:1e3,stringifyOptions:Object.freeze({numOfKeysLimit:50,depthOfLimit:4}),logger:"console"})}):Ds})(e.console);B=a,G=null,E=o.recordCanvas,S=null!==l,k=u.recordConsole,L=!0;try{var c;P=!0;var d=e.subscribeToRestrictions((()=>{B===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?_a({scope:p,takeFullSnapshot:e.engine.takeFullSnapshot,addCustomEvent:e.engine.addCustomEvent}):null,P=!0;var V=e.engine(n({maskTextSelector:s.maskTextSelector,maskAllInputs:!0,maskInputOptions:{password:!0,email:!0,tel:!0,textarea:!0},maskInputFn:(e,r)=>{var n,i=null==(n=r.getAttribute("type"))?void 0:n[Mi](),a="TEXTAREA"===r.tagName?"textarea":"SELECT"===r.tagName?"select":null!=i?i:"text";if("all"===s.inputRule||["password","email","tel","hidden"].includes(null!=i?i:"")||"TEXTAREA"===r.tagName||s.maskedInputKinds.includes(a))return"";for(var o of t[xi])if(r.closest(o))return"";for(var l of s.maskSelectors)if(r.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:Vn(16),checkoutEveryNms:void 0===i?x.checkoutEveryNms:Math.min(i,x.checkoutEveryNms),errorHandler:()=>(B===a&&ee("engine-start"),!0),emit:i=>((i,a)=>{if(L)if(te(i)){if(!H||"drop"!==H.admit(a)){var s=(e=>No(e)&&3===e.type&&No(e.data)&&9===e.data.source)(a),o=!s&&(e=>No(e)&&6===e.type&&No(e.data)&&e.data.plugin===js)(a),l=!s&&!o&&Ls(a);if(!l||k&&Fs(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"===t.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,j=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=is(r)&&Array.isArray(r.args)?r.args[0]:null,i=is(n)&&Array.isArray(n.args)?n.args[0]:null;for(var a of is(i)&&Array.isArray(i.data)?i.data:[])is(a)&&"string"==typeof a.base64&&(t+=a.base64.length)}return t})(a.data)>P)return"shrink";if(x>=j||D>=F||(s||o)&&!(()=>{try{return!0===(null==e.canvasAdmission?void 0:e.canvasAdmission())}catch(e){return!1}})())return u("resend");try{if(!No(a)||!Number[Xn](a.timestamp)||a.timestamp<0)throw new Error(Vn(567));if(h=a.timestamp,null!==G&&h<G)throw new Error(Vn(765));var z=l?(e=>{if(Sa(e)||!Fs(e))return null;var t=e.data.payload,r=t.level,i=t.trace,a=t.payload;return n({},e,{data:{plugin:Ns,payload:{level:r,trace:Ps(i,50),payload:Ps(a,10)}}})})(a):a;if(null===z)return;var U=Ao(ls(z,f)),V=JSON[Ji](U);if(void 0===V||V[Gi]>P)return void 0===V?ee("capacity"):u("shrink");if((p=(new TextEncoder).encode(V)[si])>P)return u("shrink");if(s&&Math.floor(h/1e3)!==A&&(A=Math.floor(h/1e3),T=0),D+p>F||s&&T+p>Do)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(r((function*(){te(i,!0)?yield e.record(d,h,p):B===i&&$()}))).catch((()=>{B===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 B===i&&$()})(a,i)}));return P=!1,"function"!=typeof V?(j=!1,ee("engine-start"),!1):te(a)?(z=V,!0):(Q(),Z(V),!1)}catch(e){return P&&(j=!1),P=!1,ee("engine-start"),!1}},quiesce:()=>{if(D)return $();var e=B;return L=!1,F=!0,X(),j?K.then((()=>{B===e&&(F=!1,_())})):$()},stop:$,marker:(t,r)=>{var i=B;Promise.resolve().then((()=>{if(B===i&&L&&te(i))try{null==e.engine.addCustomEvent||e.engine.addCustomEvent(t,n({},r))}catch(e){}}))},cleanupIsProven:()=>j&&!P&&!L&&!F&&null===z&&null===U&&0===W,settled:()=>K,close:()=>(D=!0,$())})},Fo=e=>"object"==typeof e&&!Sa(e)&&4===e.type,Po=(e,t,r,n,i)=>Oa({[yi]:e[yi],[bi]:t,chunkStartedAtMs:t,chunkBytes:r,chunkEvents:1,[zi]:n,awaitingSnapshot:i}),jo=zi,Bo=ta;Oa({base:1,[ea]:2,[Zi]:3}),Oa([{name:"installations",keyPath:Pi,[_i]:1,indexes:[]},{name:Bo,keyPath:["siteKey","sequence"],[_i]:1,indexes:[]},{name:"flagCache",keyPath:[ni,"recordKind"],[_i]:2,indexes:[]},{name:"replayChunks",keyPath:["siteKey",$n],[_i]:3,indexes:[{name:"chunk",keyPath:["siteKey","replayId","chunkId"],unique:!0},{name:jo,keyPath:["siteKey","replayId","sequence"],unique:!0}]},{name:"replayStreams",keyPath:["siteKey","replayId"],[_i]:3,indexes:[]},{name:"replayResolutions",keyPath:["siteKey","replayId","chunkId"],[_i]:3,indexes:[{name:jo,keyPath:["siteKey","replayId","sequence"],unique:!0}]}]),Oa({wallNow:()=>(new Date)[Ci](),monotonicNowMs:()=>{var e="undefined"==typeof globalThis?void 0:globalThis.performance;return e?e.now():Number.NaN}});var zo=Uint8Array,Ho=Uint16Array,Uo=Uint32Array,Wo=new zo([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]),qo=new zo([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]),Go=new zo([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ko=function(e,t){for(var r=new Ho(31),n=0;n<31;++n)r[n]=t+=1<<e[n-1];var i=new Uo(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]},Vo=Ko(Wo,2),Jo=Vo[0],Yo=Vo[1];Jo[28]=258,Yo[258]=28;for(var Zo=Ko(qo,0)[1],Qo=new Ho(32768),Xo=0;Xo<32768;++Xo){var _o=(43690&Xo)>>>1|(21845&Xo)<<1;_o=(61680&(_o=(52428&_o)>>>2|(13107&_o)<<2))>>>4|(3855&_o)<<4,Qo[Xo]=((65280&_o)>>>8|(255&_o)<<8)>>>1}var $o=function(e,t,r){for(var n=e.length,i=0,a=new Ho(t);i<n;++i)++a[e[i]-1];var s,o=new Ho(t);for(i=0;i<t;++i)o[i]=o[i-1]+a[i-1]<<1;if(r){s=new Ho(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[Qo[d]>>>l]=u}else for(s=new Ho(n),i=0;i<n;++i)s[i]=Qo[o[e[i]-1]++]>>>15-e[i];return s},el=new zo(288);for(Xo=0;Xo<144;++Xo)el[Xo]=8;for(Xo=144;Xo<256;++Xo)el[Xo]=9;for(Xo=256;Xo<280;++Xo)el[Xo]=7;for(Xo=280;Xo<288;++Xo)el[Xo]=8;var tl=new zo(32);for(Xo=0;Xo<32;++Xo)tl[Xo]=5;var rl=$o(el,9,0),nl=$o(tl,5,0),il=function(e){return(e/8>>0)+(7&e&&1)},al=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8},sl=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},ol=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 zo(0),0];if(1==i){var s=new zo(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 Ho(h+1),f=ll(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 zo(p),f]},ll=function(e,t,r){return-1==e.s?Math.max(ll(e.l,t,r+1),ll(e.r,t,r+1)):t[e.s]=r},ul=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new Ho(++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]},cl=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},dl=function(e,t,r){var n=r.length,i=il(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)},hl=function(e,t,r,n,i,a,s,o,l,u,c){al(t,c++,r),++i[256];for(var d=ol(i,15),h=d[0],p=d[1],f=ol(a,15),m=f[0],v=f[1],g=ul(h),y=g[0],w=g[1],b=ul(m),S=b[0],k=b[1],C=new Ho(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=ol(C,7),O=I[0],x=I[1],E=19;E>4&&!O[Go[E-1]];--E);var R,N,A,T,D=u+5<<3,L=cl(i,el)+cl(a,tl)+s,F=cl(i,h)+cl(a,m)+s+14+3*E+cl(C,O)+(2*C[16]+3*C[17]+7*C[18]);if(D<=L&&D<=F)return dl(t,c,e.subarray(l,l+u));if(al(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(al(t,c,w-257),al(t,c+5,k-1),al(t,c+10,E-4),c+=14,M=0;M<E;++M)al(t,c+3*M,O[Go[M]]);c+=3*E;for(var j=[y,S],B=0;B<2;++B){var z=j[B];for(M=0;M<z.length;++M){var H=31&z[M];al(t,c,P[H]),c+=O[H],H>15&&(al(t,c,z[M]>>>5&127),c+=z[M]>>>12)}}}else R=rl,N=el,A=nl,T=tl;for(M=0;M<o;++M)if(n[M]>255){H=n[M]>>>18&31,sl(t,c,R[H+257]),c+=N[H+257],H>7&&(al(t,c,n[M]>>>23&31),c+=Wo[H]);var U=31&n[M];sl(t,c,A[U]),c+=T[U],U>3&&(sl(t,c,n[M]>>>5&8191),c+=qo[U])}else sl(t,c,R[n[M]]),c+=N[n[M]];return sl(t,c,R[256]),c+N[256]},pl=new Uo([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),fl=function(){for(var e=new Uo(256),t=0;t<256;++t){for(var r=t,n=9;--n;)r=(1&r&&3988292384)^r>>>1;e[t]=r}return e}(),ml=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8};function vl(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=fl[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 zo(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=dl(l,u,e.subarray(c,d)):(l[c]=a,u=dl(l,u,e.subarray(c,s)))}else{for(var h=pl[t-1],p=h>>>13,f=8191&h,m=(1<<r)-1,v=new Ho(32768),g=new Ho(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 Uo(25e3),k=new Ho(288),C=new Ho(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=hl(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,j=N-A&32767;if(T>2&&R==b(c-j))for(var B=Math.min(p,T)-1,z=Math.min(32767,c),H=Math.min(258,T);j<=z&&--P&&N!=A;){if(e[c+L]==e[c+L-j]){for(var U=0;U<H&&e[c+U]==e[c+U-j];++U);if(U>L){if(L=U,F=j,U>B)break;var W=Math.min(j,U-2),q=0;for(D=0;D<W;++D){var G=c-j+D+32768&32767,K=G-v[G]+32768&32767;K>q&&(q=K,A=G)}}}j+=(N=A)-(A=v[N])+32768&32767}if(F){S[O++]=268435456|Yo[L]<<18|Zo[F];var V=31&Yo[L],J=31&Zo[F];I+=Wo[V]+qo[J],++k[257+V],++C[J],x=c+L,++M}else S[O++]=e[c],++k[e[c]]}}u=hl(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 Ho?Ho:e instanceof Uo?Uo:zo)(r-0);return n.set(e.subarray(0,r)),n}(o,0,n+il(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&&ml(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),ml(l,u-8,r.d()),ml(l,u-4,n),l}for(var gl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",yl=new Int16Array(128).fill(-1),wl=0;wl<gl[Gi];wl+=1)yl[gl[pi](wl)]=wl;var bl=e=>{for(var t="",r=0;r+2<e[Gi];r+=3){var n=e[r]<<16|e[r+1]<<8|e[r+2];t+=gl[n>>18]+gl[n>>12&63]+gl[n>>6&63]+gl[63&n]}var i=e[Gi]-r;if(1===i){var a=e[r]<<16;t+=gl[a>>18]+gl[a>>12&63]+"=="}else if(2===i){var s=e[r]<<16|e[r+1]<<8;t+=gl[s>>18]+gl[s>>12&63]+gl[s>>6&63]+"="}return t},Sl=Symbol("elu-replay-masking-seal");class kl{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!==Sl)throw new ja(La(45));this.profile=t,this[Ti]=r,this.canonicalPayload=n,this.payloadByteLength=i,this[Li]=a,this.nestingDepth=s,Object.freeze(this)}static seal(e,t){var r;if(!ga(e))throw new ja(La(46));if(!pa(t[ca]))throw new ja(La(47));var n=Rs(t.profile);if(!hs(t[Ti]))throw new ja(La(48));var i=function(e,t,r){void 0===r&&(r=fs),pa(e)||ms(La(32),t+" must be an array of replay records"),e[Gi]>r[Fi]&&ms(La(35),t+" carries "+e[Gi]+" records; the maximum is "+r[Fi]);var n={depth:0},i=ys(e,0,t,r.maximumJsonNestingDepth,n),a=Ia(i);return a>r.maximumReplayDecodedBytes&&ms(La(16),t+" serializes to "+a+" bytes; the maximum is "+r.maximumReplayDecodedBytes),Oa({[Ui]:i,bytes:ps(i),[Li]:e[Gi],nestingDepth:n.depth})}(t[ca].map((t=>e(t,n))),La(36),null!=(r=t[da])?r:fs);return new kl(Sl,n,t[Ti],i[Ui],i.bytes[Gi],i[Li],i.nestingDepth)}}var Cl=e=>e instanceof kl;(()=>{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 Ml="2.0.0",Il=5242880,Ol=/^elu-[a-z0-9][a-z0-9.-]{0,63}$/,xl=/^elu-[a-z0-9-]+$/,El=/^[A-Za-z][A-Za-z0-9._-]+$/,Rl=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,Nl=[Zn,qi,Wi,aa,zi,Vi,"endedAt",ji,Yn,"codec",ti,"contentEncoding","payload",$i,Ki],Al=[oi,na,Hi],Tl=[hi,ri,Ri,"appliedBeforeSerialization",gi,Ra],Dl=[Zn,mi,Xi,ua,"facade","build"],Ll=["name",_i];function Fl(e){throw new Ba(e)}var Pl=function(e,t,r,n){void 0===n&&(n=1);var i=ma(e)?ya(e):null;return Sa(i)||i<n||i>r?Fl(t+" must be a string of "+n+" to "+r+" Unicode scalars"):e},jl=(e,t)=>(ba(e)||Fl(t+" must be a safe non-negative integer"),e),Bl=(e,t)=>(hs(e)||Fl(t+" must be a lowercase sha256 hash"),e),zl=function(e,t,r,n){for(var i of(void 0===n&&(n=[]),fa(e)&&Ma(e,t)||Fl(r+" must contain only schema-defined fields"),t))n.includes(i)||ka(e,i)||Fl(r+" "+i+" is required");return e},Hl=(e,t)=>{var r=zl(e,Al,t);return Oa({[oi]:Pl(r[oi],t+" anonymousId",256),[na]:Sa(r[na])?null:Pl(r[na],t+" userId",512),[Hi]:jl(r[Hi],t+" revision")})},Ul=(e,t)=>{var r=zl(e,Tl,t);return!0!==r.appliedBeforeSerialization&&Fl(t+" appliedBeforeSerialization must be true"),!0!==r[gi]&&Fl(t+" secureInputsMasked must be true"),va(r[ei])||Fl(t+" platformFallbackApplied must be a boolean"),Oa({[hi]:Pl(r[hi],t+" policyRevision",128),[ri]:Bl(r[ri],t+" effectivePolicyHash"),[Ri]:Bl(r[Ri],t+" maskingProfileHash"),appliedBeforeSerialization:!0,[gi]:!0,[ei]:r[ei]})},Wl=(e,t,r)=>{var n=zl(e,Ll,t),i=Pl(n.name,t+" name",256);return r.test(i)||Fl(t+" name is invalid"),Oa({name:i,[_i]:Pl(n[_i],t+" version",64)})},ql=function(e,t){void 0===t&&(t="replay versions");var r=zl(e,Dl,t,["build"]);2!==r[Zn]&&Fl(t+" schemaVersion must be 2"),r[mi]!==Ml&&Fl(t+" contractVersion must be "+Ml),"browser"!==r[Xi]&&"android"!==r[Xi]&&"ios"!==r[Xi]&&Fl(t+" platform is unsupported");var i=Wl(r[ua],t+" runtime",xl),a=Wl(r.facade,t+" facade",El);return Oa(n({[Zn]:2,[mi]:Ml,[Xi]:r[Xi],[ua]:i,facade:a},ka(r,"build")?{build:Pl(r.build,t+" build",128)}:{}))},Gl=function(e,t){void 0===t&&(t="replay chunk");var r=zl(e,Nl,t);2!==r[Zn]&&Fl(t+" schemaVersion must be 2");var n=Pl(r[Vi],t+" startedAt",64),i=Pl(r.endedAt,t+" endedAt",64);((e,t)=>{if(e.epochDay!==t.epochDay)return e.epochDay<t.epochDay?-1:1;if(e[wi]!==t[wi])return e[wi]<t[wi]?-1:1;if(e[fi]!==t[fi])return e[fi]?1:-1;for(var r=Math.max(e[_n][Gi],t[_n][Gi]),n=0;n<r;n+=1){var i=e[_n][pi](n)||48,a=t[_n][pi](n)||48;if(i!==a)return i<a?-1:1}return 0})(Za(n,t+" startedAt",64),Za(i,t+" endedAt",64))>0&&Fl(t+" endedAt must not precede startedAt");var a=Pl(r.codec,t+" codec",68);return Ol.test(a)||Fl(t+" codec is invalid"),"none"!==r[ti]&&"gzip"!==r[ti]&&Fl(t+" compression is unsupported"),"base64"!==r.contentEncoding&&Fl(t+" contentEncoding must be base64"),ma(r.payload)&&0!==r.payload[Gi]&&Rl.test(r.payload)||Fl(t+" payload must be non-empty canonical base64"),Oa({[Zn]:2,[qi]:Pl(r[qi],t+" replayId",256),[Wi]:Pl(r[Wi],t+" sessionId",256),[aa]:Pl(r[aa],t+" chunkId",256),[zi]:jl(r[zi],t+" sequence"),[Vi]:n,endedAt:i,[ji]:Hl(r[ji],t+" identity"),[Yn]:jl(r[Yn],t+" contextRevision"),codec:a,[ti]:r[ti],contentEncoding:"base64",payload:r.payload,[$i]:Ul(r[$i],t+" privacy"),[Ki]:ql(r[Ki],t+" versions")})},Kl=function(){var e=r((function*(e,t){var r=(e=>ps(ws(Gl(e),"replay chunk")))(e),n=yield ds((e=>{var t=ps("elu-sdk-replay-request-v2"),r=new Uint8Array(t[Gi]+1+4+e[Gi]);r.set(t,0),r[t[Gi]]=0;var n=e[Gi];return r[t[Gi]+1]=n>>>24&255,r[t[Gi]+2]=n>>>16&255,r[t[Gi]+3]=n>>>8&255,r[t[Gi]+4]=255&n,r.set(e,t[Gi]+5),r})(r),t);return Oa({[Bi]:"request_"+n,canonicalChunk:r})}));return function(t,r){return e.apply(this,arguments)}}(),Vl=function(){var e=r((function*(e,t){fa(t)||Fl(La(76));var r,n=Pl(t[ii],Ea,128),i=void 0===(r=t[vi])?Il:!ba(r)||r<1?Fl(La(77)):Math.min(r,Il),a=Gl(e),s=yield Kl(a,t[la]),o=Oa({[Zn]:2,[Bi]:s[Bi],chunk:a}),l=ps(ws(o,"replay request"));l[Gi]>i&&Fl("replay request is "+l[Gi]+" bytes; the effective limit is "+i);var u=yield ds(l,t[la]);return Oa({[ii]:n,[ia]:o,[Ai]:l,canonicalRequestSha256:"sha256:"+u,[si]:l[Gi]})}));return function(t,r){return e.apply(this,arguments)}}(),Jl=function(){var e=r((function*(e){var t=(e=>{if(!Cl(e))throw new Fa(La(32),La(65));var t,r=ps(e.canonicalPayload);try{t=vl(r,{mtime:0})}catch(e){return function(e,t){throw new Fa("invalid-gzip",t)}(0,La(62))}return Object.freeze({codec:"elu-browser-dom-v1",[ti]:"gzip",contentEncoding:"base64",payload:bl(t),compressedByteLength:t[Gi],decodedByteLength:r[Gi],[Li]:e[Li],proof:e})})(kl.seal(ls,{profile:e.profile,[Ti]:e[Ti],[ca]:e[ca]})),r=(e=>{fa(e)&&fa(e.payload)&&Cl(e.payload.proof)||Fl(La(69));var t=e.payload;return Gl({[Zn]:2,[qi]:e[qi],[Wi]:e[Wi],[aa]:e[aa],[zi]:e[zi],[Vi]:e[Vi],endedAt:e.endedAt,[ji]:e[ji],[Yn]:e[Yn],codec:t.codec,[ti]:t[ti],contentEncoding:t.contentEncoding,payload:t.payload,[$i]:{[hi]:e[hi],[ri]:e[ri],[Ri]:t.proof[Ti],appliedBeforeSerialization:!0,[gi]:!0,[ei]:t.proof.profile[ei]},[Ki]:e[Ki]})})({[qi]:e[qi],[Wi]:e[Wi],[aa]:e[aa],[zi]:e[zi],[Vi]:e[Vi],endedAt:e.endedAt,[ji]:e[ji],[Yn]:e[Yn],payload:t,[hi]:e[hi],[ri]:e[ri],[Ki]:e[Ki]});return Vl(r,n({[ii]:e[ii]},void 0===e[vi]?{}:{[vi]:e[vi]},void 0===e[la]?{}:{[la]:e[la]}))}));return function(t){return e.apply(this,arguments)}}(),Yl=e=>{if(!Number[Xn](e[Di])||e[Di]<1)throw new Error(La(68));var t=Math.min(e[Di],268435456),i=Oa({[yi]:null,[bi]:null,chunkStartedAtMs:null,chunkBytes:0,chunkEvents:0,[zi]:0,awaitingSnapshot:!1}),a=null,s=!1,o=e[ji][qi](),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[ui],h=!1,p=[],f=0,m=0,v=0,g=Promise[Qi](),y=function(t,r){void 0===r&&(r=!1);try{null==e.onSealFailure||e.onSealFailure(null!=t?t:new Error(La(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 t=r((function*(){for(;!s&&d&&p[Gi]>0;){var t=p.shift();f-=t.prepared[si];try{yield e.sink(t.prepared,{discarded:!1,[zi]:t[zi]}),h=!0}catch(e){S(e)}}}));return function(){return t.apply(this,arguments)}}(),C=function(){var i=r((function*(r,i){var l=a;if(a=null,!s&&l&&0!==l[ca][Gi]){if(r)return m-=l.estimatedBytes,void(v-=l[ca][Gi]);try{var u=yield Jl(n({},e.seal,{[vi]:e.policy[vi],[ca]:l[ca],[qi]:o,[Wi]:e[Wi],[aa]:e[ji][aa](),[zi]:i,[Vi]:e[ji].instant(l.startedAtMs),endedAt:e[ji].instant(l.endedAtMs)}));s||r||(d?(yield e.sink(u,{discarded:!1,[zi]:i}),h=!0):u[si]>t-f||p[Gi]>=1e4?S(new Error(La(72))):(p.push({prepared:u,[zi]:i}),f+=u[si]))}catch(t){s||(!d||e.policy[ui]>0&&!h?S(t):y(t))}finally{m=Math.max(0,m-l.estimatedBytes),v=Math.max(0,v-l[ca][Gi])}}}));return function(e,t){return i.apply(this,arguments)}}();return{record(u,p,f){if(s)return Promise[Qi]();if(!Number[oa](p)||p<0||!Sa(i[bi])&&p<i[bi]||!Number[Xn](f)||f<1)return S(new Error(La(31))),g;if(f>t-m||v>=1e4)return S(new Error(La(71))),g;m+=f,v+=1;var y=((e,t,r)=>{var i,a=t.atMs,s=t.byteLength,o=!0===t.opensSnapshot;if(null===e[yi]||null===e[bi])return Oa({action:"buffer",discardSealedChunk:!1,state:Oa(n({},Po(e,a,s,0,o),{[yi]:a}))});var l=a-e[bi],u=a-e[yi];if(l>=1e3*r[ai]||u>=1e3*r[Qn]){var c,d=e[bi]-(null!=(c=e[yi])?c:e[bi]);return Oa({action:"cut-session",discardSealedChunk:d<1e3*r[ui],state:Oa(n({},Po(e,a,s,0,o),{[yi]:a}))})}var h=e.chunkEvents>0&&e.chunkBytes+s>r[vi];return e.chunkEvents>0&&!e.awaitingSnapshot&&(h||e.chunkEvents>=5e3||o)?Oa({action:"cut-chunk",discardSealedChunk:!1,state:Po(e,a,s,e[zi]+1,o)}):Oa({action:"buffer",discardSealedChunk:!1,state:Oa(n({},e,{[bi]:a,chunkStartedAtMs:null!=(i=e.chunkStartedAtMs)?i:a,chunkBytes:e.chunkBytes+s,chunkEvents:e.chunkEvents+1,awaitingSnapshot:o}))})})(i,{atMs:p,[si]:f,opensSnapshot:Fo(u)},e.policy),b=i[zi];return i=y.state,g=g.then(r((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[ui],h=!1,o=e[ji][qi](),l=null}}((e,t,r)=>{if(a)return a[ca].push(e),a.endedAtMs=t,void(a.estimatedBytes+=r);a={[ca]:[e],startedAtMs:t,endedAtMs:t,estimatedBytes:r}})(u,p,f),!d&&!Sa(y.state[yi])&&p-y.state[yi]>=1e3*e.policy[ui]&&(d=!0,yield k())}}))),g},flush(){if(s)return Promise[Qi]();if(i.awaitingSnapshot)return g;var e=i[zi];return i.chunkEvents>0&&(i=Object.freeze(n({},i,{chunkStartedAtMs:null,chunkBytes:0,chunkEvents:0,[zi]:i[zi]+1}))),g=g.then((()=>C(!1,e)))},hasBufferedWork:()=>!s&&(v>0||p[Gi]>0||!Sa(a)),bufferedBytes:()=>s?0:m+f,close:()=>(b(),u||(u=g.then(c,function(){var e=r((function*(e){throw yield c(),e}));return function(t){return e.apply(this,arguments)}}())),u)}},Zl=["console"],Ql="__eluOwnedRecorderLeaseV1",Xl=e=>{var t=document;if(Ql in t)throw new Error("Recorder is already owned");var r={};Object.defineProperty(t,Ql,{value:r,configurable:!0});var a=!1,s=()=>{if(!a){if(t[Ql]!==r)throw new Error("Recorder ownership changed");delete t[Ql],a=!0}},o=e.console,l=i(e,Zl),u=[...o.recordConsole?[Gn(n({},o.consolePlugin,{level:[...o.consolePlugin.level]}))]:[],...l.plugins],c=En(n({},l,{plugins:u}));if("function"==typeof c)return()=>{c(),s()};s()};return Object.assign(Xl,{takeFullSnapshot:()=>En.takeFullSnapshot(),addCustomEvent:(e,t)=>En.addCustomEvent(e,t)}),e.createEluOwnedRecorder=e=>{var t=Lo(n({},e,{engine:Xl,document:document}));if(e.installSessionDriver){var r=!1;try{r=e.isCurrent()&&e.installSessionDriver(Yl)&&e.isCurrent()}finally{r||t.close()}}return t},e}({}),t=document.currentScript;if(!t||"function"!=typeof t.__eluRecorderRegister)throw new Error("Recorder registration unavailable");t.__eluRecorderRegister(e)}();
|
|
2
|
+
!function(){var e=function(e){"use strict";function t(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 r(e){return function(){var r=this,n=arguments;return new Promise((function(i,a){var s=e.apply(r,n);function o(e){t(s,i,a,o,l,"next",e)}function l(e){t(s,i,a,o,l,"throw",e)}o(void 0)}))}}function n(){return n=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},n.apply(null,arguments)}function i(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 a extends Error{constructor(){super("Recorder cleanup incomplete"),this.name="RecorderCleanupError"}}var s=e=>e instanceof a||!!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 a};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 a;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 l(e){var t=o();try{return e(t),t.close}catch(e){throw s(e)&&t.poison(),t.close(),e}}var u=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}({}),c=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}({}),d=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}({}),h=function(e){return e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e}({}),p=function(e){return e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e}({}),f=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}({}),m=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 v(e,t){return-1!==e.indexOf(t)}var g={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot"],MutationObserver:[]},y={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:["querySelector","querySelectorAll"],MutationObserver:["constructor"]},b={};function w(e){if(b[e])return b[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 g?g[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 y?y[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 b[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?(v(l=navigator.userAgent,"AppleWebKit")&&!v(l,"Chrome")&&(o.classList.add("rr-block","ph-no-capture"),o.setAttribute("__rrwebUntaintedPrototype",e),u=!0),b[e]=d):r}catch(e){return r}finally{!u&&o.parentNode&&document.body.removeChild(o)}}var S={};function k(e,t,r){var n,i=e+"."+String(r);if(S[i])return S[i].call(t);var a=w(e),s=null==(n=Object.getOwnPropertyDescriptor(a,r))?void 0:n.get;return s?(S[i]=s,s.call(t)):t[r]}var C={};function M(e,t,r){var n=e+"."+String(r);if(C[n])return C[n].bind(t);var i=w(e)[r];return"function"!=typeof i?t[r]:(C[n]=i,i.bind(t))}function I(){return w("MutationObserver").constructor}function x(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 k("Node",e,"childNodes")},parentNode:function(e){return k("Node",e,"parentNode")},parentElement:function(e){return k("Node",e,"parentElement")},textContent:function(e){return k("Node",e,"textContent")},contains:function(e,t){return M("Node",e,"contains")(t)},getRootNode:function(e){return M("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?k("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?k("Element",e,"shadowRoot"):null},querySelector:function(e,t){return M("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return M("Element",e,"querySelectorAll")(t)},mutationObserver:I,patch:x};function E(e){return e.nodeType===e.ELEMENT_NODE}function R(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 N(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function T(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=T(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 H(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?H(a,t):a}class L{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))),E(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&&P(i);return(r[n.toLowerCase()]||l&&r[l])&&(o=s?s(o,t):"*".repeat(o.length)),o}function P(e){return e.toLowerCase()}var F="__rrweb_original__";function j(e){try{var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?P(t):null}catch(e){return null}}var B=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,U=/^(?:[a-z+]+:)?\/\//i,z=/^www\..*/i,W=/^(data:)([^,]*),(.*)/i;function H(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(U.test(l)||z.test(l))return"url("+u+l+u+")";if(W.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 V,G,J="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzPgogICAgPHBhdHRlcm4gaWQ9InN0cmlwZXMiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+CiAgICAgIDxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iYmxhY2siLz4KICAgICAgPHBhdGggZD0iTTggMEgxNkwwIDE2VjhMOCAwWiIgZmlsbD0iIzJEMkQyRCIvPgogICAgICA8cGF0aCBkPSJNMTYgOFYxNkg4TDE2IDhaIiBmaWxsPSIjMkQyRDJEIi8+CiAgICA8L3BhdHRlcm4+CiAgPC9kZWZzPgogIDxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjc3RyaXBlcykiLz4KPC9zdmc+Cg==",q=4096,Y=1,Q=new RegExp("[^a-z0-9-_:]"),Z=-2;function K(){return Y++}var X=/^[^ \t\n\r\u000c]+/,_=/^[, \t\n\r\u000c]+/,$=new WeakMap;function ee(e,t){return t&&""!==t.trim()?te(e,t):t}function te(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 re(e,t){return null!=t&&t.maxBase64ImageLength?function(e,t){return!t||e.length<=t?e:J}(e,t.maxBase64ImageLength):e}function ne(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=ee(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>q||e.naturalHeight>q)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)),re(u,a)}if("image"===t)return re(l,a)}return l}if("xlink:href"===r&&"#"!==n[0]){var c=ee(e,n);return"image"===t&&c.startsWith("data:")?re(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(_),!(r>=t.length);){var a=n(X);if(","===a.slice(-1))a=ee(e,a.substring(0,a.length-1)),i.push(a);else{var s="";a=ee(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?H(n,te(e)):"object"===t&&"data"===r?ee(e,n):n:ee(e,n)}function ie(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function ae(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!r&&ae(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&&ae(O.parentNode(e),t,r)}function se(e,t,r,n){var i;if(E(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&&R(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(ae(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=R(s)?O.host(s):null}}catch(e){}return!1}function oe(e,t,r){var n=e.removeEventListener;"function"==typeof n&&n.call(e,t,r)}var le=new Map;function ue(){var e=!1;for(var t of[...le.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 ce(e,t){return Array.from(e.styleSheets).find((e=>e.href===t))}function de(e){return null==e?"":e.toLowerCase()}var he=50,pe=!1;function fe(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,f=t.maskTextFn,v=t.maskInputFn,g=t.slimDOMOptions,y=t.dataURLOptions,b=void 0===y?{}:y,w=t.inlineImages,S=void 0!==w&&w,k=t.recordCanvas,C=void 0!==k&&k,M=t.canvasMaskingConfigured,I=t.onSerialize,x=t.onIframeLoad,A=t.iframeLoadTimeout,L=void 0===A?5e3:A,B=t.onIframeListenerRegistered,U=t.onStylesheetLoad,z=t.stylesheetLoadTimeout,W=void 0===z?5e3:z,J=t.keepIframeSrcFn,q=void 0===J?()=>!1:J,Y=t.newlyAddedElement,X=void 0!==Y&&Y,_=t.depth,$=void 0===_?0:_,ee=t.maxDepth,re=void 0===ee?he:ee,ae=t.needsMask,ue=t.preserveWhiteSpace,me=void 0===ue||ue;if($>=re)return pe||(pe=!0,console.warn("[rrweb-snapshot] DOM tree depth exceeded max depth of "+re+". Children beyond this depth will not be recorded. This may indicate deeply nested DOM structures.")),null;ae||(ae=se(e,s,o,void 0===ae));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,f=t.inlineImages,v=t.recordCanvas,g=t.canvasMaskingConfigured,y=t.keepIframeSrcFn,b=t.newlyAddedElement,w=void 0!==b&&b,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:m.Document,childNodes:[],compatMode:e.compatMode}:{type:m.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:m.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,f=t.newlyAddedElement,v=void 0!==f&&f,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),b=function(e){if(e instanceof HTMLFormElement)return"form";var t=P(e.tagName);return Q.test(t)?"div":t}(e),w={},S=e.attributes.length,k=0;k<S;k++){var C=e.attributes[k];ie(b,C.name,C.value)||(w[C.name]=ne(n,b,P(C.name),C.value,e,u))}if("link"===b&&i){var M=e.sheet;if(!M){var I=function(e){return e.href}(e);I&&!(M=ce(n,I))&&I.includes(".css")&&(M=ce(n,window.location.origin+"/"+I.replace(window.location.href,"")))}var x=null;M&&(x=T(M)),x&&(delete w.rel,delete w.href,w._cssText=x)}if("style"===b&&e.sheet&&!(e.innerText||O.textContent(e)||"").trim().length){var E=T(e.sheet);E&&(w._cssText=E)}if("input"===b||"textarea"===b||"select"===b){var R=e.value,N=e.checked;"radio"!==w.type&&"checkbox"!==w.type&&"submit"!==w.type&&"button"!==w.type&&R?w.value=D({element:e,type:j(e),tagName:b,value:R,maskInputOptions:s,maskInputFn:o}):N&&(w.checked=N)}if("option"===b&&(e.selected&&!s.select?w.selected=!0:delete w.selected),"dialog"===b&&e.open)try{w.rr_open_mode=e.matches("dialog:modal")?"modal":"non-modal"}catch(e){w.rr_open_mode="modal",w.ph_rr_could_not_detect_modal=!0}if("canvas"===b&&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)||(w.rr_dataURL=e.toDataURL(u.type,u.quality));else if(!("__context"in e)){var A=e.toDataURL(u.type,u.quality),L=n.createElement("canvas");L.width=e.width,L.height=e.height,A!==L.toDataURL(u.type,u.quality)&&(w.rr_dataURL=A)}if("img"===b&&c){V||(V=n.createElement("canvas"),G=V.getContext("2d"));var B=e,U=B.currentSrc||B.getAttribute("src")||"<unknown-src>",z=B.crossOrigin,W=()=>{oe(B,"load",W);try{V.width=B.naturalWidth,V.height=B.naturalHeight,G.drawImage(B,0,0),w.rr_dataURL=V.toDataURL(u.type,u.quality)}catch(e){if("anonymous"!==B.crossOrigin)return B.crossOrigin="anonymous",void(B.complete&&0!==B.naturalWidth?W():B.addEventListener("load",W));console.warn("Cannot inline img src="+U+"! Error: "+e)}"anonymous"===B.crossOrigin&&(z?w.crossOrigin=z:B.removeAttribute("crossorigin"))};B.complete&&0!==B.naturalWidth?W():B.addEventListener("load",W)}if("audio"===b||"video"===b){var H=w;H.rr_mediaState=e.paused?"paused":"played",H.rr_mediaCurrentTime=e.currentTime,H.rr_mediaPlaybackRate=e.playbackRate,H.rr_mediaMuted=e.muted,H.rr_mediaLoop=e.loop,H.rr_mediaVolume=e.volume}if(v||(e.scrollLeft&&(w.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(w.rr_scrollTop=e.scrollTop)),y){var J,q,Y,Z=e.getBoundingClientRect(),K=Z.width,X=Z.height,_=Z.left,$=Z.top,ee=null==(J=n.defaultView)?void 0:J.getComputedStyle(e);w={class:w.class,rr_width:K+"px",rr_height:X+"px",rr_left:Math.floor(_+((null==(q=n.defaultView)?void 0:q.scrollX)||0))+"px",rr_top:Math.floor($+((null==(Y=n.defaultView)?void 0:Y.scrollY)||0))+"px"},ee&&(w.rr_position=ee.position||"static",ee.transform&&"none"!==ee.transform&&(w.rr_transform=ee.transform),ee.display&&ee.display.startsWith("inline")&&(w.rr_display=ee.display))}"iframe"!==b||p(w.src)||(e.contentDocument||(w.rr_src=w.src),delete w.src);try{customElements.get(b)&&(r=!0)}catch(e){}return{type:m.Element,tagName:b,attributes:w,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:f,recordCanvas:v,canvasMaskingConfigured:g,keepIframeSrcFn:y,newlyAddedElement:w,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=T(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=H(o,te(t.doc))}return u&&(o="SCRIPT_PLACEHOLDER"),!l&&!u&&o&&r&&(o=n?n(o,O.parentElement(e)):o.replace(/[\S]/g,"*")),{type:m.Text,textContent:o||"",isStyle:l,rootId:i}}(e,{doc:r,needsMask:s,maskTextFn:c,rootId:S});case e.CDATA_SECTION_NODE:return{type:m.CDATA,textContent:"",rootId:S};case e.COMMENT_NODE:return{type:m.Comment,textContent:O.textContent(e)||"",rootId:S};default:return!1}}(e,{doc:r,mirror:n,blockClass:i,blockSelector:a,needsMask:ae,inlineStylesheet:d,maskInputOptions:p,maskTextFn:f,maskInputFn:v,dataURLOptions:b,inlineImages:S,recordCanvas:C,canvasMaskingConfigured:M,keepIframeSrcFn:q,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===m.Comment)return!0;if(e.type===m.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&&(de(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===de(e.attributes.name)||["icon","apple-touch-icon","shortcut icon"].includes(de(e.attributes.rel)))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&de(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(de(e.attributes.property).match(/^(og|twitter|fb):/)||de(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===de(e.attributes.name)))return!0;if(t.headMetaRobots&&["robots","googlebot","bingbot"].includes(de(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(de(e.attributes.name))||de(e.attributes.property).match(/^article:/)||de(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(de(e.attributes.name)))return!0}}return!1}(ge,g)||!me&&ge.type===m.Text&&!ge.isStyle&&!ge.textContent.replace(/^\s+|\s+$/gm,"").length?Z:K();var ye=Object.assign(ge,{id:ve});if(n.add(e,ye),ve===Z)return null;I&&I(e);var be=!u;if(ye.type===m.Element){be=be&&!ye.needBlock,delete ye.needBlock;var we=O.shadowRoot(e);we&&N(we)&&(ye.isShadowHost=!0)}if((ye.type===m.Document||ye.type===m.Element)&&be){g.headWhitespace&&ye.type===m.Element&&"head"===ye.tagName&&(me=!1);var Se={doc:r,mirror:n,blockClass:i,blockSelector:a,needsMask:ae,maskTextClass:s,maskTextSelector:o,skipChild:u,inlineStylesheet:d,maskInputOptions:p,maskTextFn:f,maskInputFn:v,slimDOMOptions:g,dataURLOptions:b,inlineImages:S,recordCanvas:C,canvasMaskingConfigured:M,preserveWhiteSpace:me,onSerialize:I,onIframeLoad:x,iframeLoadTimeout:L,onIframeListenerRegistered:B,onStylesheetLoad:U,stylesheetLoadTimeout:W,keepIframeSrcFn:q,depth:$+1,maxDepth:re};if(ye.type===m.Element&&"textarea"===ye.tagName&&void 0!==ye.attributes.value);else for(var ke of Array.from(O.childNodes(e))){var Ce=fe(ke,Se);Ce&&ye.childNodes.push(Ce)}var Me=null;if(E(e)&&(Me=O.shadowRoot(e)))for(var Ie of Array.from(O.childNodes(Me))){var xe=fe(Ie,Se);xe&&(N(Me)&&(xe.isShadow=!0),ye.childNodes.push(xe))}}var Oe=O.parentNode(e);if(Oe&&R(Oe)&&N(Oe)&&(ye.isShadow=!0),ye.type===m.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),oe(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?oe(e,"load",s):(o=!0,oe(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),oe(e,"load",s)}}return e.addEventListener("load",s),()=>{oe(e,"load",s)}}(e,(()=>{var t=e.contentDocument;if(t&&x){var r=fe(t,{doc:t,mirror:n,blockClass:i,blockSelector:a,needsMask:ae,maskTextClass:s,maskTextSelector:o,skipChild:!1,inlineStylesheet:d,maskInputOptions:p,maskTextFn:f,maskInputFn:v,slimDOMOptions:g,dataURLOptions:b,inlineImages:S,recordCanvas:C,canvasMaskingConfigured:M,preserveWhiteSpace:me,onSerialize:I,onIframeLoad:x,iframeLoadTimeout:L,onIframeListenerRegistered:B,onStylesheetLoad:U,stylesheetLoadTimeout:W,keepIframeSrcFn:q,depth:$+1,maxDepth:re});r&&x(e,r)}}),L);null==B||B(e,Ee)}return ye.type===m.Element&&"link"===ye.tagName&&"stylesheet"===ye.attributes.rel&&function(t,l,u){if(!le.has(t)){var c;try{c=t.sheet}catch(e){return}if(!c){var h,m=!1,y=!1,w=!1,k=!1,O={abort(){if(m=!0,void 0!==h){var e=h;h=void 0;try{clearTimeout(e)}catch(e){w=!0}}if(k){k=!1;try{t.removeEventListener("load",E)}catch(e){w=!0}}if(w||le.get(t)!==O||le.delete(t),w){var r=new Error("Recorder stylesheet cleanup incomplete");throw r.name="RecorderCleanupError",r}}},E=()=>{if(!m&&!y){y=!0;try{(()=>{if(U){var t=fe(e,{doc:r,mirror:n,blockClass:i,blockSelector:a,needsMask:ae,maskTextClass:s,maskTextSelector:o,skipChild:!1,inlineStylesheet:d,maskInputOptions:p,maskTextFn:f,maskInputFn:v,slimDOMOptions:g,dataURLOptions:b,inlineImages:S,recordCanvas:C,canvasMaskingConfigured:M,preserveWhiteSpace:me,onSerialize:I,onIframeLoad:x,iframeLoadTimeout:L,onStylesheetLoad:U,stylesheetLoadTimeout:W,keepIframeSrcFn:q,depth:$,maxDepth:re});t&&U(e,t)}})()}finally{O.abort()}}};le.set(t,O);try{h=setTimeout(E,u),k=!0,t.addEventListener("load",E,{once:!0})}catch(e){throw O.abort(),e}}}}(e,0,W),ye}function me(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 ve(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ge(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 ye,be={exports:{}};function we(){if(ye)return be.exports;ye=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 be.exports=t(),be.exports.createColors=t,be.exports}var Se,ke,Ce,Me,Ie,xe,Oe=ge(Object.freeze({__proto__:null,default:{}}));function Ee(){if(ke)return Se;ke=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 Se=r,r.default=r,Se}function Re(){if(Me)return Ce;Me=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 Ce=i,i.default=i,Ce}function Ne(){if(xe)return Ie;xe=1;var e=Re();function t(t,r){new e(r).stringify(t)}return Ie=t,t.default=t,Ie}var Te,Ae,Le,De,Pe,Fe,je,Be,Ue,ze,We,He,Ve,Ge,Je,qe,Ye,Qe,Ze,Ke,Xe,_e,$e,et,tt,rt={};function nt(){return Te||(Te=1,rt.isClean=Symbol("isClean"),rt.my=Symbol("my")),rt}function it(){if(Le)return Ae;Le=1;var e=Ee(),t=Re(),r=Ne(),n=nt(),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 at(){if(Pe)return De;Pe=1;var e=it();class t extends e{constructor(e){super(e),this.type="comment"}}return De=t,t.default=t,De}function st(){if(je)return Fe;je=1;var e=it();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=n({},e,{value:String(e.value)})),super(e),this.type="decl"}}return Fe=t,t.default=t,Fe}function ot(){if(Ue)return Be;Ue=1;var e,t,r,n,i=at(),a=st(),s=it(),o=nt(),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 lt(){if(We)return ze;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 ze=t,t.default=t,e.registerAtRule(t),ze}function ut(){if(Ve)return He;Ve=1;var e,t,r=ot();class i extends r{constructor(e){super(n({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},He=i,i.default=i,He}function ct(){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="",i=0|r;i--;)n+=e[Math.random()*e.length|0];return n}}}),Ge}function dt(){if(Ye)return qe;Ye=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 qe=s,s.default=s,qe}function ht(){if(Ze)return Qe;Ze=1;var e=ct().nanoid,t=Oe.isAbsolute,r=Oe.resolve,i=Oe.SourceMapConsumer,a=Oe.SourceMapGenerator,s=Oe.fileURLToPath,o=Oe.pathToFileURL,l=Ee(),u=dt(),c=Oe,d=Symbol("lineToIndexCache"),h=Boolean(i&&a),p=Boolean(r&&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(n,i){if(void 0===i&&(i={}),null==n||"object"==typeof n&&!n.toString)throw new Error("PostCSS received "+n+" instead of CSS string");if(this.css=n.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=r(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:r(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=n({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}return Qe=m,m.default=m,c&&c.registerInput&&c.registerInput(m),Qe}function pt(){if(Xe)return Ke;Xe=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 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},Ke=n,n.default=n,r.registerRoot(n),Ke}function ft(){if($e)return _e;$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 _e=e,e.default=e,_e}function mt(){if(tt)return et;tt=1;var e=ot(),t=ft();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 et=r,r.default=r,e.registerRule(r),et}var vt,gt,yt,bt,wt,St,kt,Ct,Mt,It,xt,Ot,Et,Rt,Nt,Tt,At,Lt,Dt,Pt,Ft,jt,Bt,Ut,zt,Wt,Ht,Vt,Gt=["inputs"],Jt=["inputId"];function qt(){if(bt)return yt;bt=1;var e=Oe.dirname,t=Oe.relative,r=Oe.resolve,n=Oe.sep,i=Oe.SourceMapConsumer,a=Oe.SourceMapGenerator,s=Oe.pathToFileURL,o=ht(),l=Boolean(i&&a),u=Boolean(e&&r&&t&&n);return yt=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}},yt}function Yt(){if(St)return wt;St=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),b=/[\t\n\f\r "#'()/;[\\\]{}]/g,w=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,S=/.[\r\n"'(/\\]/,k=/[\da-f]/i;return wt=function(C,M){void 0===M&&(M={});var I,x,O,E,R,N,T,A,L,D,P=C.css.valueOf(),F=M.ignoreErrors,j=P.length,B=0,U=[],z=[],W=-1;function H(e){throw C.error("Unclosed "+e,B)}return{back:function(e){z.push(e)},endOfFile:function(){return 0===z.length&&B>=j},nextToken:function(C){if(z.length)return z.pop();if(!(B>=j)){var M=!!C&&C.ignoreUnclosed;switch(I=P.charCodeAt(B)){case i:case a:case o:case l:case s:E=B;do{E+=1,I=P.charCodeAt(E)}while(I===a||I===i||I===o||I===l||I===s);N=["space",P.slice(B,E)],B=E-1;break;case u:case c:case p:case f:case g:case m:case h:var V=String.fromCharCode(I);N=[V,V,B];break;case d:if(D=U.length?U.pop()[1]:"",L=P.charCodeAt(B+1),"url"===D&&L!==e&&L!==t&&L!==a&&L!==i&&L!==o&&L!==s&&L!==l){E=B;do{if(T=!1,-1===(E=P.indexOf(")",E+1))){if(F||M){E=B;break}H("bracket")}for(A=E;P.charCodeAt(A-1)===r;)A-=1,T=!T}while(T);N=["brackets",P.slice(B,E+1),B,E],B=E}else B<=W?N=["(","(",B]:(E=P.indexOf(")",B+1),x=P.slice(B,E+1),-1===E||S.test(x)?(W=-1===E?j:E,N=["(","(",B]):(N=["brackets",x,B,E],B=E));break;case e:case t:R=I===e?"'":'"',E=B;do{if(T=!1,-1===(E=P.indexOf(R,E+1))){if(F||M){E=B+1;break}H("string")}for(A=E;P.charCodeAt(A-1)===r;)A-=1,T=!T}while(T);N=["string",P.slice(B,E+1),B,E],B=E;break;case y:b.lastIndex=B+1,b.test(P),E=0===b.lastIndex?P.length-1:b.lastIndex-2,N=["at-word",P.slice(B,E+1),B,E],B=E;break;case r:for(E=B,O=!0;P.charCodeAt(E+1)===r;)E+=1,O=!O;if(I=P.charCodeAt(E+1),O&&I!==n&&I!==a&&I!==i&&I!==o&&I!==l&&I!==s&&(E+=1,k.test(P.charAt(E)))){for(;k.test(P.charAt(E+1));)E+=1;P.charCodeAt(E+1)===a&&(E+=1)}N=["word",P.slice(B,E+1),B,E],B=E;break;default:I===n&&P.charCodeAt(B+1)===v?(0===(E=P.indexOf("*/",B+2)+1)&&(F||M?E=P.length:H("comment")),N=["comment",P.slice(B,E+1),B,E],B=E):(w.lastIndex=B+1,w.test(P),E=0===w.lastIndex?P.length-1:w.lastIndex-2,N=["word",P.slice(B,E+1),B,E],U.push(N),B=E)}return B++,N}},position:function(){return B}}},wt}function Qt(){if(Ct)return kt;Ct=1;var e=lt(),t=at(),r=st(),n=pt(),i=mt(),a=Yt(),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 kt=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 b=v[y][0];if(g.trim().startsWith("!")&&"space"!==b)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 w=e.some((e=>"space"!==e[0]&&"comment"!==e[0]));w&&(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})}},kt}function Zt(){if(It)return Mt;It=1;var e=ot(),t=ht(),r=Qt();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 Mt=n,n.default=n,e.registerParse(n),Mt}function Kt(){if(Ot)return xt;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 xt=e,e.default=e,xt}function Xt(){if(Rt)return Et;Rt=1;var e=Kt();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 Et=t,t.default=t,Et}function _t(){if(Tt)return Nt;Tt=1;var e={};return Nt=function(t){e[t]||(e[t]=!0,"undefined"!=typeof console&&console.warn&&console.warn(t))}}function $t(){if(Lt)return At;Lt=1;var e=ot(),t=ut(),i=qt(),a=Zt(),s=Xt(),o=pt(),l=Ne(),u=nt(),c=u.isClean,d=u.my,h=_t(),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 b(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 w(e){return e[c]=!1,e.nodes&&e.nodes.forEach((e=>w(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,r,i){var o;if(this.stringified=!1,this.processed=!1,"object"!=typeof r||null===r||"root"!==r.type&&"document"!==r.type)if(r instanceof k||r instanceof s)o=w(r.root),r.map&&(void 0===i.map&&(i.map={}),i.map.inline||(i.map.inline=!1),i.map.prev=r.map);else{var l=a;i.syntax&&(l=i.syntax.parse),i.parser&&(l=i.parser),l.parse&&(l=l.parse);try{o=l(r,i)}catch(e){this.processed=!0,this.error=e}o&&!o[d]&&e.rebuild(o)}else o=w(r);this.result=new s(t,o,i),this.helpers=n({},S,{postcss:S,result:this.result}),this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?n({},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 r((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=[b(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(b(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),t.registerLazyResult(k),At}function er(){if(Ut)return Bt;Ut=1;var e=lt(),t=at(),r=ot(),a=Ee(),s=st(),o=ut(),l=function(){if(gt)return vt;gt=1;var e=lt(),t=at(),r=st(),a=ht(),s=dt(),o=pt(),l=mt();function u(c,d){if(Array.isArray(c))return c.map((e=>u(e)));var h,p,f=c.inputs,m=i(c,Gt);if(f)for(var v of(d=[],f)){var g=n({},v,{__proto__:a.prototype});g.map&&(g.map=n({},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,b=y.inputId,w=i(y,Jt);m.source=w,null!=b&&(m.source.input=d[b])}if("root"===m.type)p=new o(m);else if("decl"===m.type)p=new r(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 vt=u,u.default=u,vt}(),u=ht(),c=$t(),d=ft(),h=it(),p=Zt(),f=function(){if(jt)return Ft;jt=1;var e=ut(),t=$t(),r=function(){if(Pt)return Dt;Pt=1;var e=qt(),t=Zt(),r=Xt(),n=Ne(),i=_t();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=pt();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=Xt(),v=pt(),g=mt(),y=Ne(),b=Kt();function w(){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 w.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 w([i(r)]).process(e,t)},i},w.stringify=y,w.parse=p,w.fromJSON=l,w.list=d,w.comment=e=>new t(e),w.atRule=t=>new e(t),w.decl=e=>new s(e),w.rule=e=>new g(e),w.root=e=>new v(e),w.document=e=>new o(e),w.CssSyntaxError=a,w.Declaration=s,w.Container=r,w.Processor=f,w.Document=o,w.Comment=t,w.Warning=b,w.AtRule=e,w.Result=m,w.Input=u,w.Rule=g,w.Root=v,w.Node=h,c.registerPostcss(w),Bt=w,w.default=w,Bt}!function(){if(Vt)return Ht;Vt=1;var e=er().Input,t=function(){if(Wt)return zt;Wt=1;var e=at(),t=Qt(),r=Yt();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}();Ht=function(r,n){var i=new e(r,n),a=new t(i);return a.parse(),a.root}}();var tr=ve(er());tr.stringify,tr.fromJSON,tr.plugin,tr.parse,tr.list,tr.document,tr.comment,tr.atRule,tr.rule,tr.decl,tr.root,tr.CssSyntaxError,tr.Declaration,tr.Container,tr.Processor,tr.Document,tr.Comment,tr.Warning,tr.AtRule,tr.Result,tr.Input,tr.Rule,tr.Root,tr.Node;class rr{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=nr.ELEMENT_NODE,this.TEXT_NODE=nr.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 rr))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 nr=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 ir(e,t,r){void 0===r&&(r=document);var n={capture:!0,passive:!0};return r.addEventListener(e,t,n),()=>ar(r,e,t,n)}function ar(e,t,r,n){sr((()=>{var i=e.removeEventListener;"function"==typeof i&&(void 0!==n?i.call(e,t,r,n):i.call(e,t,r))}))}function sr(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.",lr={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 ur(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 cr(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)}}}),()=>cr(e,t,a||{},!0)}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(lr=new Proxy(lr,{get:(e,t,r)=>("map"===t&&console.error(or),Reflect.get(e,t,r))}));var dr=Date.now;function hr(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 pr(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function fr(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function mr(e){return e?e.nodeType===e.ELEMENT_NODE?e:O.parentElement(e):null}function vr(e,t,r,n){if(!e)return!1;var i=mr(e),a=n;if(!i){var s=O.getRootNode(e);if(!R(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(ae(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(!R(o))return!1;i=O.host(o),a=!0}return!1}function gr(e,t,r){return!("TITLE"!==e.tagName||!r.headTitleMutations)||t.getId(e)===Z}function yr(e,t){if(R(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||yr(n,t))}function br(e){return Boolean(e.changedTouches)}function wr(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function Sr(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function kr(e){return!!e&&(e instanceof rr&&"shadowRoot"in e?Boolean(e.shadowRoot):Boolean(O.shadowRoot(e)))}/[1-9][0-9]{12}/.test(Date.now().toString())||(dr=()=>(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 Mr(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 Ir(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=Mr(r);)r=t;return r}(e);return O.contains(t,r)}(e))}function xr(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&&xr(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&&xr(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 Er,Rr=(e,t)=>e+"@"+t;class Nr{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=Z;r===Z;)r=(t=t&&t.nextSibling)&&this.mirror.getId(t);return r},i=i=>{var a=O.parentNode(i);if(a&&Ir(i)&&"TEXTAREA"!==a.tagName){var s=R(a)?this.mirror.getId(Mr(i)):this.mirror.getId(a),o=n(i);if(-1===s||-1===o)return r.addNode(i);var l=fe(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),Sr(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),kr(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)Lr(this.droppedSet,s)||Ar(this.removesSubTreeCache,s,this.mirror)?Lr(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:j(e),value:r,maskInputFn:this.maskInputFn})},this.processMutation=e=>{if(!gr(e.target,this.mirror,this.slimDOMOptions))switch(e.type){case"characterData":var t=O.textContent(e.target);vr(e.target,this.blockClass,this.blockSelector,!1)||t===e.oldValue||this.texts.push({value:se(e.target,this.maskTextClass,this.maskTextSelector,!0)&&t?this.maskTextFn?this.maskTextFn(t,mr(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=j(r);i=D({element:r,maskInputOptions:this.maskInputOptions,tagName:r.tagName,type:a,value:i,maskInputFn:this.maskInputFn})}if(vr(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"),!ie(r.tagName,n))if(s.attributes[n]=ne(this.doc,P(r.tagName),P(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(vr(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=R(e.target)?this.mirror.getId(O.host(e.target)):this.mirror.getId(e.target);vr(e.target,this.blockClass,this.blockSelector,!1)||gr(t,this.mirror,this.slimDOMOptions)||!function(e,t){return-1!==t.getId(e)}(t,this.mirror)||(this.addedSet.has(t)?(Tr(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===r||yr(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[Rr(r,n)]?Tr(this.movedSet,t):(this.removes.push({parentId:n,id:r,isShadow:!(!R(e.target)||!N(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(gr(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[Rr(this.mirror.getId(e),r)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);vr(e,this.blockClass,this.blockSelector,!1)||(O.childNodes(e).forEach((e=>this.genAdds(e))),kr(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 Tr(e,t){e.delete(t),O.childNodes(t).forEach((t=>Tr(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 Lr(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 Pr(e){Er=e}function Fr(){Er=void 0}var jr=e=>Er?function(){try{return e(...arguments)}catch(e){if(Er&&!0===Er(e))return;throw e}}:e,Br=[];function Ur(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=o(),n=new Nr;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(I())(jr(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 Wr(e){var t=e.scrollCb,r=e.doc,n=e.mirror,i=e.blockClass,a=e.blockSelector,s=e.sampling,o=!0,u=new Map,c=e=>{if(o){var s=Ur(e);if(s&&!vr(s,i,a,!0)){var l,c,d=n.getId(s);if(s===r&&r.defaultView){var h=hr(r.defaultView);l=h.left,c=h.top}else l=s.scrollLeft,c=s.scrollTop;var p=l+","+c;u.get(d)!==p&&(u.set(d,p),t({id:d,x:l,y:c}))}}},d=jr(ur(jr((e=>c(e))),s.scroll||100));return l((e=>{e.add((()=>{o=!1})),e.add(ir("scroll",d,r)),"onscrollend"in r&&e.add(ir("scrollend",jr(c),r))}))}function Hr(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 Vr=["INPUT","TEXTAREA","SELECT"],Gr=new WeakMap;function Jr(e){return function e(t,r){if(Zr("CSSGroupingRule")&&t.parentRule instanceof CSSGroupingRule||Zr("CSSMediaRule")&&t.parentRule instanceof CSSMediaRule||Zr("CSSSupportsRule")&&t.parentRule instanceof CSSSupportsRule||Zr("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 qr(e,t,r){var n,i;return e?(e.ownerNode?n=t.getId(e.ownerNode):i=r.getId(e),{styleId:i,id:n}):{}}function Yr(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}}),jr((()=>{Object.defineProperty(t,"adoptedStyleSheets",{configurable:l.configurable,enumerable:l.enumerable,get:l.get,set:l.set})}))):()=>{}}function Qr(e,t){void 0===t&&(t={});var r=e.doc.defaultView;return r?(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),l((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 o,u,p,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,o="number"==typeof r.mousemove?r.mousemove:50,u="number"==typeof r.mousemoveCallback?r.mousemoveCallback:500,d=[],h=ur(jr((e=>{if(a){var r=Date.now()-s;t(d.map((e=>(e.timeOffset-=r,e))),e),d=[],s=null}})),u),p=jr(ur(jr((e=>{if(a){var t=Ur(e),r=br(e)?e.changedTouches[0]:e,n=r.clientX,o=r.clientY;s||(s=dr()),d.push({x:n,y:o,id:i.getId(t),timeOffset:dr()-s}),h("undefined"!=typeof DragEvent&&e instanceof DragEvent?c.Drag:e instanceof MouseEvent?c.MouseMove:c.TouchMove)}})),o,{trailing:!1}));return l((e=>{e.add((()=>{a=!1})),e.add(ir("mousemove",p,n)),e.add(ir("touchmove",p,n)),e.add(ir("drag",p,n))}))}(e)),t.add(function(e){var t=e.mouseInteractionCb,r=e.doc,i=e.mirror,a=e.blockClass,s=e.blockSelector,o=e.sampling,u=!0;if(!1===o.mouseInteraction)return()=>{};var c=!0===o.mouseInteraction||void 0===o.mouseInteraction?{}:o.mouseInteraction,p=null;return l((e=>{e.add((()=>{u=!1})),Object.keys(d).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==c[e])).forEach((o=>{var l=P(o),c=(e=>r=>{if(u){var o=Ur(r);if(!vr(o,a,s,!0)){var l=null,c=e;if("pointerType"in r){switch(r.pointerType){case"mouse":l=h.Mouse;break;case"touch":l=h.Touch;break;case"pen":l=h.Pen}l===h.Touch?d[e]===d.MouseDown?c="TouchStart":d[e]===d.MouseUp&&(c="TouchEnd"):h.Pen}else br(r)&&(l=h.Touch);null!==l?(p=l,(c.startsWith("Touch")&&l===h.Touch||c.startsWith("Mouse")&&l===h.Mouse)&&(l=null)):d[e]===d.Click&&(l=p,p=null);var f=br(r)?r.changedTouches[0]:r;if(f){var m=i.getId(o),v=f.clientX,g=f.clientY;jr(t)(n({type:d[c],id:m,x:v,y:g},null!==l&&{pointerType:l}))}}}})(o);if(window.PointerEvent)switch(d[o]){case d.MouseDown:case d.MouseUp:l=l.replace("mouse","pointer");break;case d.TouchStart:case d.TouchEnd:return}e.add(ir(l,c,r))}))}))}(e)),t.add(Wr(e)),t.add((o={win:r},u=e.viewportResizeCb,p=o.win,m=-1,v=-1,ir("resize",jr(ur(jr((()=>{var e=pr(),t=fr();m===e&&v===t||(u({width:Number(t),height:Number(e)}),m=e,v=t)})),200)),p))),t.add(function(e){var t=e.inputCb,r=e.doc,i=e.mirror,a=e.blockClass,s=e.blockSelector,o=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=Ur(e),n=e.isTrusted,i=r.defaultView;if(!t||!i||t instanceof i.HTMLElement){var l=t&&t.tagName;if(t&&"OPTION"===l&&(t=O.parentElement(t)),t&&l&&!(Vr.indexOf(l)<0)&&!vr(t,a,s,!0)&&!(t.classList.contains(o)||u&&t.matches(u))){var h=t.value,m=!1,g=j(t)||"";"radio"===g||"checkbox"===g?m=t.checked:(c[l.toLowerCase()]||c[g])&&(h=D({element:t,maskInputOptions:c,tagName:l,type:g,value:h,maskInputFn:d})),v(t,p?{text:h,isChecked:m,userTriggered:n}:{text:h,isChecked:m});var y=t.name;"radio"===g&&y&&m&&r.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,r){var a=Gr.get(e);if(!a||a.text!==r.text||a.isChecked!==r.isChecked){Gr.set(e,r);var s=i.getId(e);jr(t)(n({},r,{id:s}))}}return l((e=>{e.add((()=>{f=!1}));var t="last"===h.input?["change"]:["input","change"];for(var n of t)e.add(ir(n,jr(m),r));var i=r.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])})),cr(t[0],t[1],{set(){jr(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,o=!0,u=jr((e=>ur(jr((a=>{if(o){var s=Ur(a);if(s&&!vr(s,r,n,!0)){var l=s,u=l.currentTime,c=l.volume,d=l.muted,h=l.playbackRate,p=l.loop;t({type:e,id:i.getId(s),currentTime:u,volume:c,muted:d,playbackRate:h,loop:p})}}})),a.media||500)));return l((e=>{e.add((()=>{o=!1})),e.add(ir("play",u(f.Play),s)),e.add(ir("pause",u(f.Pause),s)),e.add(ir("seeked",u(f.Seeked),s)),e.add(ir("volumechange",u(f.VolumeChange),s)),e.add(ir("ratechange",u(f.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?l((e=>{var t=a.CSSStyleSheet.prototype.insertRule;e.replace(a.CSSStyleSheet.prototype,"insertRule",new Proxy(t,{apply:jr(((e,t,a)=>{var s=a[0],o=a[1],l=qr(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:jr(((e,t,a)=>{var s=a[0],o=qr(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:jr(((e,t,a)=>{var s=a[0],o=qr(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:jr(((e,t,a)=>{var s=a[0],o=qr(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={};Kr("CSSGroupingRule")?u.CSSGroupingRule=a.CSSGroupingRule:(Kr("CSSMediaRule")&&(u.CSSMediaRule=a.CSSMediaRule),Kr("CSSConditionRule")&&(u.CSSConditionRule=a.CSSConditionRule),Kr("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:jr(((e,t,a)=>{var s=a[0],o=a[1],l=qr(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:[...Jr(t),o||0]}]}),e.apply(t,a)}))})),e.replace(s.prototype,"deleteRule",new Proxy(c[a].deleteRule,{apply:jr(((e,t,a)=>{var s=a[0],o=qr(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:[...Jr(t),s]}]}),e.apply(t,a)}))}))}))})):()=>{}}(e,{win:r})),t.add(Yr(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 l((e=>{var t=s.CSSStyleDeclaration.prototype.setProperty;e.replace(s.CSSStyleDeclaration.prototype,"setProperty",new Proxy(t,{apply:jr(((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=qr(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:Jr(s.parentRule)}),e.apply(s,o)}))}));var o=s.CSSStyleDeclaration.prototype.removeProperty;e.replace(s.CSSStyleDeclaration.prototype,"removeProperty",new Proxy(o,{apply:jr(((e,t,s)=>{var l,u=s[0];if(i.has(u))return o.apply(t,[u]);var c=qr(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:Jr(t.parentRule)}),e.apply(t,s)}))}))}))}(e,{win:r})),e.collectFonts&&t.add(function(e){var t=e.fontCb,r=e.doc,n=!0,i=r.defaultView;return i?l((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=x(r.fonts,"add",(function(e){return function(r){return setTimeout(jr((()=>{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=jr((()=>{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;vr(d,n,i,!0)||vr(p,n,i,!0)||o.push({start:r.getId(d),startOffset:h,end:r.getId(p),endOffset:f})}a({ranges:o})}}));return o(),ir("selectionchange",o)}(e)),t.add(function(e){var t=e.doc,r=e.customElementCb,n=t.defaultView;return n&&n.customElements?x(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,r,g.options))}))):()=>{}}function Zr(e){return void 0!==window[e]}function Kr(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class Xr{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 _r{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Xr(K),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 Xr(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=>sr(e))),this.loadListenerDisposers.delete(e))}removePageHideListener(e){var t=this.pageHideHandlers.get(e);t&&(t.forEach((e=>{ar(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);sr((()=>{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)}))}sr((()=>{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 u.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:u.IncrementalSnapshot,data:{source:c.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case u.Meta:case u.Load:case u.DomContentLoaded:return!1;case u.Plugin:return t;case u.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case u.IncrementalSnapshot:switch(t.data.source){case c.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 c.Drag:case c.TouchMove:case c.MouseMove:return t.data.positions.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case c.ViewportResize:return!1;case c.MediaInteraction:case c.MouseInteraction:case c.Scroll:case c.CanvasMutation:case c.Input:return this.replaceIds(t.data,e,["id"]),t;case c.StyleSheetRule:case c.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case c.Font:return t;case c.Selection:return t.data.ranges.forEach((t=>{this.replaceIds(t,e,["start","end"])})),t;case c.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===m.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&&(ar(e,"message",t),this.nestedIframeListeners.delete(e)),this.crossOriginIframeMap.delete(e)})),this.attachedWindows.delete(r)),n&&this.nestedIframeListeners.has(n)&&(ar(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=>{sr((()=>this.mirror.removeNodeFromMap(e)))})),sr((()=>Hr(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&&ar(window,"message",this.messageHandler),this.nestedIframeListeners.forEach(((e,t)=>{ar(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 r,i;if(N(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var a=null!=(r=null==(i=O.host(e))?void 0:i.ownerDocument)?r:t,s=zr(n({},this.bypassOptions,{doc:a,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e),l=s.observer,u=s.buffer;this.restoreHandlers.push({doc:a,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:a,handler:Wr(n({},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:Yr({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:x(e.prototype,"attachShadow",(function(e){return function(n){var i=e.call(this,n),a=O.shadowRoot(this);return a&&Ir(this)&&r.addShadowRoot(a,t),i}}))})}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 a}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 en="skip-frame";function tn(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 rn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",nn="undefined"==typeof Uint8Array?[]:new Uint8Array(256),an=0;an<64;an++)nn[rn.charCodeAt(an)]=an;var sn=new Map,on=(e,t,r)=>{if(e&&(cn(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),i=n.indexOf(e);return-1===i&&(i=n.length,n.push(e)),i}};function ln(e,t,r,n){if(e instanceof Array)return e.map((e=>ln(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+=rn[r[t]>>2],i+=rn[(3&r[t])<<4|r[t+1]>>4],i+=rn[(15&r[t+1])<<2|r[t+2]>>6],i+=rn[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:[ln(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:[ln(e.data,t,r,n),e.width,e.height]}:cn(e,t)||"object"==typeof e?{rr_type:e.constructor.name,index:on(e,t,r)}:e}var un=(e,t,r,n)=>e.map((e=>ln(e,t,r,n))),cn=(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])))},dn=["webgl","webgl2"];function hn(e){return"nodeType"in e}function pn(e,t,r,i){var a=[];try{if(i){var s=function(e,t,r){var i=e.GPUCanvasContext;if(null!=i&&i.prototype&&"function"==typeof i.prototype.configure)return x(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||hn(s)&&vr(s,t,r,!0))return i.call(this,a);hn(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,n({},a,{usage:"number"==typeof a.usage?a.usage|o:o})):i.call(this,a)}}))}(e,t,r);s&&a.push(s)}var o=x(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(n){for(var a=function(e){return"experimental-webgl"===e?"webgl":e}(n),s=arguments.length,o=new Array(s>1?s-1:0),l=1;l<s;l++)o[l-1]=arguments[l];if(!vr(this,t,r,!0)&&("__context"in this||(this.__context=a),i&&dn.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,[n,...o])}}));a.push(o)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{a.forEach((e=>e()))}}function fn(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=x(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(on(d,a,this),"tagName"in this.canvas&&!vr(this.canvas,n,i,!0)){var h=un(u,a,this,s),p={type:t,property:l,args:h};r(this.canvas,p)}return d}}));o.push(u)}catch(n){var c=cr(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 mn(){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 vn,gn,yn,bn=["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,t,n,i,a){var s=this;if("OffscreenCanvas"in t){var o,l="number"==typeof a.resolutionScale&&Number.isFinite(a.resolutionScale)?Math.min(1,Math.max(.1,a.resolutionScale)):1,u=pn(t,n,i,!0),c=new Map;try{o=new mn}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 h=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:p["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=h.get(t))?d:l;h.set(t,f<=.1?0:Math.max(.1,f/2))}}};var f,m=1e3/e,v=0,g=e=>{var u,p;d||(v&&e-v<m||(v=e,(u=[],p=e=>{try{e.querySelectorAll("canvas").forEach((e=>{vr(e,n,i,!0)||u.push(e)})),e.querySelectorAll("*").forEach((e=>{e.shadowRoot&&p(e.shadowRoot)}))}catch(e){}},p(t.document),u).forEach(function(){var e=r((function*(e){var t,r=s.mirror.getId(e);if(!c.get(r)){var n=null!=(t=h.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,p=e.clientHeight||e.height,f=Math.max(1,Math.round(d*n)),m=Math.max(1,Math.round(p*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 en}if(void 0!==s){if(!Array.isArray(s)||!s.every(tn))return en;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,p);if(v===en)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:p,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=pn(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=x(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 vr(this.canvas,r,n,!0)||setTimeout((()=>{var r=un(l,t,this,i);e(this.canvas,{type:p["2D"],property:s,args:r})}),0),a.apply(this,l)}}));a.push(o)}catch(r){var l=cr(t.CanvasRenderingContext2D.prototype,s,{set(t){e(this.canvas,{type:p["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(...fn(t.WebGLRenderingContext.prototype,p.WebGL,e,r,n,t,i)),void 0!==t.WebGL2RenderingContext&&a.push(...fn(t.WebGL2RenderingContext.prototype,p.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 n=r.map((e=>(e.type,i(e,bn)))),a=r[0].type;this.mutationCb({id:t,type:a,commands:n}),this.pendingCanvasMutations.delete(e)}}}}class Sn{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:[]},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,ue()}trackStylesheetInLinkElement(e){}}class kn{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 Mn,In=document.createElement("iframe");document.body.appendChild(In),Array.from=(null==(Mn=In.contentWindow)?void 0:Mn.Array.from)||Array.from,document.body.removeChild(In)}}catch(e){console.debug("Unable to override Array.from",e)}var xn=new L,On=new Set([c.Mutation,c.MediaInteraction,c.StyleSheetRule,c.CanvasMutation,c.Font,c.Log,c.StyleDeclaration,c.AdoptedStyleSheet]);function En(e){void 0===e&&(e={});var t=e,r=t.emit,i=t.checkoutEveryNms,a=t.checkoutEveryNth,l=t.blockClass,d=void 0===l?"rr-block":l,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,b=void 0===y?"rr-mask":y,w=t.maskTextSelector,S=void 0===w?null:w,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,T=t.packFn,A=t.sampling,D=void 0===A?{}:A,P=t.dataURLOptions,F=void 0===P?{}:P,j=t.canvasResolutionScale,B=t.canvasMasking,U=t.mousemoveWait,z=t.recordDOM,W=void 0===z||z,H=t.recordCanvas,V=void 0!==H&&H,G=t.recordCrossOriginIframes,J=void 0!==G&&G,q=t.recordAfter,Y=void 0===q?"DOMContentLoaded"===e.recordAfter?e.recordAfter:"load":q,Q=t.userTriggeredOnInput,Z=void 0!==Q&&Q,K=t.collectFonts,X=void 0!==K&&K,_=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=n({type:"image/webp",quality:.4,maxBase64ImageLength:1048576},F),le=!J||window.parent===window,ce=!1;if(!le)try{window.parent.document&&(ce=!1)}catch(e){ce=!0}if(le&&!r)throw new Error("emit function is required");if(!le&&!ce)return()=>{};void 0!==U&&void 0===D.mousemove&&(D.mousemove=U);var de,he=o(),pe=!1,ve=[],ge=()=>{pe=!0,Cn=!1,he.close()},ye=e=>{pe?he.add(e):ve.push(e)},be=e=>{s(e)&&he.poison(),ge(),se?se(e):console.warn(e)};try{Pr(se),he.add(Fr),he.add((()=>xn.reset())),he.add(ue),xn.reset();var we,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=me(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,xe=new Map,Oe=e=>{for(var t of ee||[])t.eventProcessor&&(e=t.eventProcessor(e));return T&&!ce&&(e=T(e)),e},Ee=void 0,Re=(e,t)=>{var n;if(!pe){var s=e;if(s.timestamp=dr(),null==(n=Br[0])||!n.isFrozen()||s.type===u.FullSnapshot||s.type===u.IncrementalSnapshot&&On.has(s.data.source)||Br.forEach((e=>e.unfreeze())),le)Ee=null==r?void 0:r(Oe(s),t);else if(ce){var o={type:"rrweb",event:Oe(s),origin:window.location.origin,isCheckout:t};window.parent.postMessage(o,"*")}if(s.type===u.FullSnapshot)we=s,Ie=0;else if(s.type===u.IncrementalSnapshot){if(s.data.source===c.Mutation&&s.data.isAttachIframe)return;Ie++;var l=a&&Ie>=a,d=i&&s.timestamp-we.timestamp>i;(l||d)&&Ue(!0)}}};vn=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,r=new Set;if(e.adds.length>0)for(var i of e.adds){var a=xn.getNode(i.node.id);a&&"IFRAME"===a.nodeName&&r.add(a)}e.removes.forEach((e=>{var n=e.id;if(!t||!t.has(n)){var i=De.getIframeElementById(n);i&&r.has(i)?De.forgetIframeId(n):(null==Ce||Ce(n),De.removeIframeById(n))}})),null==Me||Me(),De.cleanupDetachedIframes()}Re({type:u.IncrementalSnapshot,data:n({source:c.Mutation},e)})},Te=e=>Re({type:u.IncrementalSnapshot,data:n({source:c.Scroll},e)}),Ae=e=>{Ee=void 0,Re({type:u.IncrementalSnapshot,data:n({source:c.CanvasMutation},e)});var t=Ee;return Ee=void 0,"resend"===t||"shrink"===t?t:void 0},Le=new Sn({mutationCb:Ne,adoptedStyleSheetCb:e=>Re({type:u.IncrementalSnapshot,data:n({source:c.AdoptedStyleSheet},e)})});he.add((()=>Le.reset()));var De=new _r({mirror:xn,mutationCb:Ne,stylesheetManager:Le,recordCrossOriginIframes:J,wrappedEmit:Re});for(var Pe of(he.add((()=>De.destroy())),ee||[]))Pe.getMirror&&Pe.getMirror({nodeMirror:xn,crossOriginIframeMirror:De.crossOriginIframeMirror,crossOriginIframeStyleMirror:De.crossOriginIframeStyleMirror});var Fe=new kn;he.add((()=>Fe.destroy()));var je=null==B?void 0:B.configured;yn=new wn({recordCanvas:V,mutationCb:Ae,win:window,blockClass:d,blockSelector:p,mirror:xn,sampling:D.canvas,dataURLOptions:oe,resolutionScale:j,canvasMasking:B}),he.add((()=>yn.reset()));var Be=new $r({mutationCb:Ne,scrollCb:Te,bypassOptions:{blockClass:d,blockSelector:p,maskTextClass:b,maskTextSelector:S,inlineStylesheet:C,maskInputOptions:Se,dataURLOptions:oe,maskTextFn:R,maskInputFn:E,recordCanvas:V,canvasMaskingConfigured:je,inlineImages:$,sampling:D,slimDOMOptions:ke,iframeManager:De,stylesheetManager:Le,canvasManager:yn,keepIframeSrcFn:re,processedNodeManager:Fe,attributeFilter:ae},mirror:xn});he.add((()=>Be.reset()));var Ue=function(e){if(void 0===e&&(e=!1),!pe&&W){Re({type:u.Meta,data:{href:window.location.href,width:fr(),height:pr()}},e),Le.reset(),Be.init(),Br.forEach((e=>e.lock()));var t=function(e,t){var r=t||{},n=r.mirror,i=void 0===n?new L: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,b=r.preserveWhiteSpace,w=r.onSerialize,S=r.onIframeLoad,k=r.iframeLoadTimeout,C=r.onIframeListenerRegistered,M=r.onStylesheetLoad,I=r.stylesheetLoadTimeout,x=r.keepIframeSrcFn,O=void 0===x?()=>!1:x,E=r.maxDepth;return fe(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:me(void 0!==g&&g),dataURLOptions:y,inlineImages:d,recordCanvas:p,canvasMaskingConfigured:f,preserveWhiteSpace:b,onSerialize:w,onIframeLoad:S,iframeLoadTimeout:k,onIframeListenerRegistered:C,onStylesheetLoad:M,stylesheetLoadTimeout:I,keepIframeSrcFn:O,newlyAddedElement:!1,maxDepth:E})}(document,{mirror:xn,blockClass:d,blockSelector:p,maskTextClass:b,maskTextSelector:S,inlineStylesheet:C,maskAllInputs:Se,maskTextFn:R,maskInputFn:E,slimDOM:ke,dataURLOptions:oe,recordCanvas:V,canvasMaskingConfigured:je,inlineImages:$,onSerialize:e=>{wr(e,xn)&&De.addIframe(e),Sr(e,xn)&&Le.trackLinkElement(e),kr(e)&&Be.addShadowRoot(O.shadowRoot(e),document)},onIframeLoad:(e,t)=>{De.attachIframe(e,t),Be.observeAttachShadow(e)},onIframeListenerRegistered:(e,t)=>{De.registerLoadListenerDisposer(e,t)},onStylesheetLoad:(e,t)=>{Le.attachLinkElement(e,t)},keepIframeSrcFn:re});if(!t)return console.warn("Failed to snapshot the document");Re({type:u.FullSnapshot,data:{node:t,initialOffset:hr(window)}},e),Br.forEach((e=>e.unlock())),yn.onFullSnapshot(),J&&De.reattachIframes(),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Le.adoptStyleSheets(document.adoptedStyleSheets,xn.getId(document))}};gn=Ue,he.add((()=>xe.clear())),he.add((()=>{var e=o();for(var t of ve)e.add(t);ve.length=0,e.close()})),Ce=e=>{var t=xe.get(e);if(t){var r=o();t.forEach((e=>{r.add(e);var t=ve.indexOf(e);-1!==t&&ve.splice(t,1)})),xe.delete(e),r.close()}},Me=()=>{for(var e of xe){var t=e[0],r=xn.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 ze=e=>{var t;return Qr({mutationCb:Ne,mousemoveCb:(e,t)=>Re({type:u.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>Re({type:u.IncrementalSnapshot,data:n({source:c.MouseInteraction},e)}),scrollCb:Te,viewportResizeCb:e=>Re({type:u.IncrementalSnapshot,data:n({source:c.ViewportResize},e)}),inputCb:e=>Re({type:u.IncrementalSnapshot,data:n({source:c.Input},e)}),mediaInteractionCb:e=>Re({type:u.IncrementalSnapshot,data:n({source:c.MediaInteraction},e)}),styleSheetRuleCb:e=>Re({type:u.IncrementalSnapshot,data:n({source:c.StyleSheetRule},e)}),styleDeclarationCb:e=>Re({type:u.IncrementalSnapshot,data:n({source:c.StyleDeclaration},e)}),canvasMutationCb:Ae,fontCb:e=>Re({type:u.IncrementalSnapshot,data:n({source:c.Font},e)}),selectionCb:e=>{Re({type:u.IncrementalSnapshot,data:n({source:c.Selection},e)})},customElementCb:e=>{Re({type:u.IncrementalSnapshot,data:n({source:c.CustomElement},e)})},blockClass:d,ignoreClass:m,ignoreSelector:g,maskTextClass:b,maskTextSelector:S,maskInputOptions:Se,inlineStylesheet:C,sampling:D,recordDOM:W,recordCanvas:V,canvasMaskingConfigured:je,inlineImages:$,userTriggeredOnInput:Z,collectFonts:X,doc:e,maskInputFn:E,maskTextFn:R,keepIframeSrcFn:re,blockSelector:p,slimDOMOptions:ke,dataURLOptions:oe,mirror:xn,iframeManager:De,stylesheetManager:Le,shadowDomManager:Be,processedNodeManager:Fe,canvasManager:yn,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:u.Plugin,data:{plugin:e.name,payload:t}})}))))||[]},N)};De.addLoadListener((e=>{if(!pe)try{var t=xn.getId(e),r=ze(e.contentDocument);if(ye(r),-1!==t){var n=xe.get(t);n||(n=new Set,xe.set(t,n)),n.add(r)}}catch(e){be(e)}})),De.addPageHideListener((e=>{var t=xn.getId(e);null==Ce||Ce(t),Hr(e)}));var We=-1,He=e=>Re({type:u.Custom,data:{tag:"rrweb/fullscreen",payload:e}}),Ve=()=>{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?xn.getId(a):-1;s!==We&&(-1!==We&&He({id:We,enter:!1}),We=s,-1!==s&&He({id:s,enter:!0}))},Ge=!1,Je=()=>{pe||Ge||(Ge=!0,Ue(),pe||(ye(ze(document)),ye(ir("fullscreenchange",Ve)),ye(ir("webkitfullscreenchange",Ve)),ye(ir("mozfullscreenchange",Ve)),ye(ir("MSFullscreenChange",Ve)),Cn=!0))};return["interactive","complete"].includes(document.readyState)?Je():(ye(ir("DOMContentLoaded",(()=>{if(!pe)try{Re({type:u.DomContentLoaded,data:{}}),"DOMContentLoaded"===Y&&Je()}catch(e){be(e)}}))),ye(ir("load",(()=>{if(!pe)try{Re({type:u.Load,data:{}}),"load"===Y&&Je()}catch(e){be(e)}}),window))),ge}catch(e){be(e)}}En.addCustomEvent=(e,t)=>{if(!Cn)throw new Error("please add custom event after start recording");vn({type:u.Custom,data:{tag:e,payload:t}})},En.freezePage=()=>{Br.forEach((e=>e.freeze()))},En.takeFullSnapshot=e=>{if(!Cn)throw new Error("please take full snapshot after start recording");gn(e)},En.mirror=xn;class Rn{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 Nn=/(^|@)\S+:\d+/,Tn=/^\s*at .*(\S+:\d+|\(native\))/m,An=/^(eval@)?(\[native code])?$/,Ln={parse:function(e){return e?void 0!==e.stacktrace||void 0!==e["opera#sourceloc"]?this.parseOpera(e):e.stack&&e.stack.match(Tn)?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(Tn)}),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 Rn({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 Rn({functionName:e});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=e.match(t),n=r&&r[1]?r[1]:void 0,i=this.extractLocation(e.replace(t,""));return new Rn({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 Rn({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 Rn({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(Nn)&&!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 Rn({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 Pn=["InputEvent","CompositionEvent","TextEvent","KeyboardEvent"],Fn=["data","key","code","keyCode","charCode","which","char"];function jn(e){return Array.isArray(e)}function Bn(e){return"object"==typeof e&&null!==e&&!jn(e)}function Un(e,t){if(0===t)return!0;var r=Object.keys(e);for(var n of r)if(Bn(e[n])&&Un(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)&&Un(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,Pn.some((e=>{var t=l[e];return"function"==typeof t&&o instanceof t})));for(var d in t){var h=t[d];jn(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 Wn={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 Hn(e,t,r){var n,i=r?Object.assign({},Wn,r):Wn,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=Ln.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=Ln.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]?x(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=Ln.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 Vn,Gn=e=>({name:"rrweb/console@1",observer:Hn,options:e}),Jn=(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()},b=0,w=0;!b;){++w>1024&&n(),b=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),x=0;x<I.length;x++)I[x]=x<144?8:x<256?9:x<280?7:8;d=g(I,!1,!1);for(var O=new Uint8Array(32),E=0;E<O.length;E++)O[E]=5;h=g(O,!1,!1)}C=d,M=h}else{if(2!==S)return n();var R=v(5)+257,N=v(5)+1,T=v(4)+4;R>286&&n();for(var A=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],L=new Uint8Array(19),D=0;D<T;D++)L[A[D]]=v(3);for(var P=g(L,!1,!1),F=new Uint8Array(R+N),j=0;j<F.length;){var B=y(P);if(B<16)F[j++]=B;else{16!==B||j||n();var U=16===B?F[j-1]:0,z=16===B?v(2)+3:17===B?v(3)+3:v(7)+11;j+z>F.length&&n();for(var W=j+z;j<W;j++)F[j]=U}}F[256]||n(),C=g(F.subarray(0,R),!0,!1),M=g(F.subarray(R),!0,!0)}for(;;){var H=y(C);if(256===H)break;if(H<256)f===t&&n(),p[f++]=H;else{H>285&&n();var V=H-257,G=(V>>>2)-1,J=V<8?V+3:28===V?258:3+(4+(3&V)<<G)+v(G),q=y(M);q>29&&n();var Y=(q>>>1)-1,Q=q<4?q+1:1+(2+(1&q)<<Y)+v(Y);(Q>f||f+J>t)&&n();for(var Z=0;Z<J;Z++)p[f]=p[f-Q],f++}}}}f===t&&Math.ceil(m/8)===a.length||n();for(var K="",X=0;X<f;X+=4096)K+=String.fromCharCode.apply(null,p.subarray(X,Math.min(X+4096,f)));var _=JSON.parse(K);return Array.isArray(_)&&_.length===r&&!_.some((e=>"string"!=typeof e))||n(),Object.freeze(_)},qn=e=>(Vn||(Vn=Jn("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/R7vJ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n[18],Yn[19],Yn[20],Yn[21];var $n=Yn[22],ei=Yn[23];Yn[24],Yn[25],Yn[26],Yn[27],Yn[28],Yn[29],Yn[30],Yn[31],Yn[32],Yn[33];var ti=Yn[34];Yn[35],Yn[36];var ri=Yn[37],ni=Yn[38];Yn[39],Yn[40],Yn[41],Yn[42],Yn[43],Yn[44];var ii=Yn[45];Yn[46],Yn[47];var ai=Yn[48];Yn[49],Yn[50],Yn[51];var si=Yn[52],oi=Yn[53];Yn[54],Yn[55],Yn[56],Yn[57],Yn[58],Yn[59];var li=Yn[60];Yn[61],Yn[62],Yn[63],Yn[64];var ui=Yn[65];Yn[66];var ci=Yn[67];Yn[68],Yn[69],Yn[70],Yn[71],Yn[72],Yn[73],Yn[74],Yn[75],Yn[76],Yn[77],Yn[78],Yn[79],Yn[80];var di=Yn[81];Yn[82];var hi=Yn[83];Yn[84];var pi=Yn[85],fi=Yn[86];Yn[87],Yn[88],Yn[89],Yn[90];var mi=Yn[91];Yn[92],Yn[93],Yn[94];var vi=Yn[95];Yn[96],Yn[97],Yn[98],Yn[99],Yn[100],Yn[101],Yn[102],Yn[103],Yn[104],Yn[105],Yn[106],Yn[107],Yn[108],Yn[109],Yn[110];var gi=Yn[111];Yn[112];var yi=Yn[113];Yn[114],Yn[115],Yn[116],Yn[117];var bi=Yn[118];Yn[119],Yn[120],Yn[121],Yn[122],Yn[123],Yn[124],Yn[125],Yn[126],Yn[127],Yn[128],Yn[129],Yn[130],Yn[131];var wi=Yn[132],Si=Yn[133],ki=Yn[134],Ci=Yn[135],Mi=Yn[136];Yn[137],Yn[138];var Ii=Yn[139];Yn[140],Yn[141],Yn[142],Yn[143],Yn[144],Yn[145],Yn[146];var xi=Yn[147];Yn[148],Yn[149],Yn[150];var Oi=Yn[151];Yn[152],Yn[153],Yn[154],Yn[155],Yn[156],Yn[157],Yn[158],Yn[159],Yn[160],Yn[161],Yn[162],Yn[163],Yn[164],Yn[165],Yn[166],Yn[167],Yn[168],Yn[169];var Ei=Yn[170],Ri=Yn[171];Yn[172],Yn[173],Yn[174],Yn[175],Yn[176],Yn[177],Yn[178],Yn[179];var Ni=Yn[180];Yn[181],Yn[182];var Ti=Yn[183];Yn[184],Yn[185],Yn[186],Yn[187],Yn[188],Yn[189],Yn[190],Yn[191],Yn[192],Yn[193],Yn[194];var Ai=Yn[195],Li=Yn[196];Yn[197],Yn[198],Yn[199],Yn[200],Yn[201],Yn[202];var Di=Yn[203];Yn[204],Yn[205],Yn[206],Yn[207],Yn[208],Yn[209],Yn[210],Yn[211];var Pi=Yn[212];Yn[213],Yn[214];var Fi=Yn[215],ji=Yn[216],Bi=Yn[217];Yn[218],Yn[219];var Ui=Yn[220],zi=Yn[221];Yn[222],Yn[223],Yn[224];var Wi=Yn[225];Yn[226],Yn[227];var Hi=Yn[228];Yn[229];var Vi=Yn[230];Yn[231];var Gi=Yn[232],Ji=Yn[233];Yn[234],Yn[235];var qi=Yn[236];Yn[237];var Yi=Yn[238];Yn[239];var Qi=Yn[240];Yn[241],Yn[242],Yn[243];var Zi=Yn[244];Yn[245],Yn[246],Yn[247],Yn[248],Yn[249],Yn[250],Yn[251];var Ki=Yn[252],Xi=Yn[253];Yn[254],Yn[255],Yn[256],Yn[257],Yn[258],Yn[259],Yn[260],Yn[261];var _i=Yn[262];Yn[263],Yn[264],Yn[265],Yn[266],Yn[267],Yn[268];var $i=Yn[269];Yn[270],Yn[271];var ea=Yn[272];Yn[273],Yn[274];var ta=Yn[275];Yn[276],Yn[277],Yn[278],Yn[279],Yn[280],Yn[281],Yn[282],Yn[283];var ra=Yn[284];Yn[285],Yn[286],Yn[287],Yn[288];var na=Yn[289];Yn[290],Yn[291],Yn[292],Yn[293],Yn[294],Yn[295],Yn[296],Yn[297],Yn[298],Yn[299],Yn[300],Yn[301],Yn[302],Yn[303],Yn[304];var ia=Yn[305];Yn[306],Yn[307];var aa=Yn[308];Yn[309],Yn[310],Yn[311],Yn[312],Yn[313],Yn[314],Yn[315],Yn[316];var sa=Yn[317];Yn[318],Yn[319],Yn[320],Yn[321],Yn[322];var oa=Yn[323],la=Yn[324];Yn[325],Yn[326],Yn[327],Yn[328],Yn[329],Yn[330],Yn[331],Yn[332],Yn[333];var ua=Yn[334];Yn[335],Yn[336],Yn[337],Yn[338],Yn[339],Yn[340],Yn[341],Yn[342],Yn[343],Yn[344],Yn[345],Yn[346],Yn[347];var ca=Yn[348];Yn[349],Yn[350];var da=Yn[351];Yn[352];var ha=Array.isArray,pa=e=>ha(e),fa=e=>"object"==typeof e&&null!=e&&!pa(e),ma=e=>"string"==typeof e,va=e=>!0===e||!1===e,ga=e=>"function"==typeof e,ya=e=>{for(var t=0,r=0;r<e[Gi];r+=1){var n=e[pi](r);if(n>=55296&&n<=56319){var i=e[pi](r+1);if(r+1>=e[Gi]||i<56320||i>57343)return null;r+=1}else if(n>=56320&&n<=57343)return null;t+=1}return t},ba=e=>"number"==typeof e&&Number[oa](e),wa=e=>ba(e)&&Number[Xn](e)&&e>=0,Sa=e=>Object.is(e,null),ka=(e,t)=>Object.prototype[Si].call(e,t),Ca=(e,t)=>Object.prototype[Si].call(e,t),Ma=(e,t)=>{var r=new Set(t);return Object.keys(e).every((e=>r.has(e)))},Ia=e=>{for(var t=0,r=0;r<e[Gi];r+=1){var n=e[pi](r);if(n<=127)t+=1;else if(n<=2047)t+=2;else if(n>=55296&&n<=56319&&r+1<e[Gi]){var i=e[pi](r+1);i>=56320&&i<=57343?(t+=4,r+=1):t+=3}else t+=3}return t},xa=e=>Object.freeze(e),Oa=Jn("lVZNk9xEDP0rqj3H1IaCXDhtskAlB0hlFjhQHDTdst1MW2rU8nzw66luj+2Z2U2A44xtfbz39KTf79rRRiVoI3bg0PUE2fU0IIQMI+cxJVEjf/fqTg5M2nTEpGhBuKFjj2OeHiaVPXHDYo2TYQg2/U3HRM7IP8mwzSZMPy6f3726c8Jt6ICOKegJnIzRA4vBliCR5nCOPYScA3eAo/WiwU4woO5I717dBd5jDH4qf3leQmMqfdWCzv//XYMp/T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PpHp6eGz+yP3qOThLJLzGgccfXjBWSYbLDcE/WuTVyvrQkBVwZM9rQfWrVNl4uXd0qLw1e75P1pG5yiVE0GGpBNG+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 Ea=Oa[19];Oa[20],Oa[21],Oa[22];var Ra=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 Na="https://ingest.elu.dev";xa({[ca]:xa([Na]),[Zi]:xa([Na]),[ea]:xa([Na]),assets:xa(["https://assets.elu.dev"])});var Ta,Aa=xa({[ca]:"/v1/events",[Zi]:"/v1/replay",[ea]:"/v1/flags",assets:"/sdk/"}),La=xa({[ca]:"/v1/events",[Zi]:"/v2/replay",[ea]:"/v1/flags",assets:"/sdk/"});x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Wp2HiUe5VQxMgZTxVQTSRiwHEHpt2G2leuWnK3kt9gA1UwjShVqi78YqOY6OskXC0l8iGHhC4VmVQyZf7c7jqDIF18JZEUq4mbKGwnZHoQrGCbkiOUzvJ0VgzPpR5gUxHB7unSalBetkss8V3Eh6WtOaRJzHelExg2PACpNtC5cFYkz+Rs9CilKFhhfIT0MHavx1jCFtIgc4p4jSJAUtPLrVbmUoTbE2ubadNylCG0SW3jP3P8Bnf3sweQx2HULcATE6FJSPtBVts7pXwH40EP6uVWI/H/3+M7DgOUyRIcdMLNKM4+slXdGUZFiNKT/uG3Gn+rwgYSxpIvvETdWeW2/kMCZNJz1vpbPN8mv0t0qkVub7q8KB8bTsfhRz2k5HlO0/GEDO2KJRfQ3rHY9t6ZKNMeM1z2fUL2esuOx0d2RX5+yyM41b3DGZTzKiBncr3qwjYNkTY90gZoTsZ1tPWd45unPVWWP1+XC1H//PQgDeR5683bVjd8riZxf3tn38B",2953,79)),Ta[e]);class Pa extends Error{constructor(e,t){super(t),this.code=void 0,this.name=Da(10),this.code=e}}class Fa extends Error{constructor(e){super(e),this.name=Da(7)}}class ja extends Error{constructor(e){super(e),this.name=Da(8)}}class Ba extends Error{constructor(e){super(e),this.name=Da(11)}}var Ua=Object.freeze(["img","picture","svg","canvas"]),za=e=>e[Gi]>0?e.join(", "):void 0,Wa=e=>{if(!0!==e[gi])throw new Fa(qn(93));var t="all"===e.inputRule,r="all"===e.textRule?"*":za(e[Oi]),i=za([...e[Ii],..."block"===e.imageRule?Ua:[]]);return Object.freeze(n({maskAllInputs:t},t?{}:{maskInputOptions:Object.freeze({password:!0})},void 0===r?{}:{maskTextSelector:r},void 0===i?{}:{blockSelector:i}))},Ha=Object.freeze([".ph-mask",".elu-mask"]),Va=Object.freeze([".ph-no-capture",".elu-no-capture"]),Ga=Object.freeze([".ph-ignore-input",".elu-ignore-input"]),Ja=Object.freeze({maskAllInputs:!1,maskAllText:!1,maskedInputKinds:Object.freeze([]),maskTextSelectors:Object.freeze([]),blockSelectors:Object.freeze([]),ignoreSelectors:Object.freeze([])}),qa=e=>Object.freeze([...new Set(e)]),Ya=/^(\d{4})-(\d{2})-(\d{2})[Tt](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(?:[Zz]|([+-])(\d{2}):(\d{2}))$/,Qa=(e,t)=>{throw new Error(e+" "+t)},Za=function(e,t,r){var i;if(!ma(e))return Qa(t,Da(52));var a=ya(e);if(Sa(a)||a<1||a>r)return Qa(t,"must contain between 1 and "+r+" Unicode scalars");var s=Ya.exec(e);if(!s)return Qa(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[ki](e,t,0),r.getUTCDate()})(o,l)||c>23||d>59||h>60||f>23||m>59)&&Qa(t,Da(49));var v=new Date(0);v[ki](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;ba(g)&&Number[Xn](g)||Qa(t,Da(33));var y=60===h;if(y){var b=new Date(1e3*(g+1));0===b.getUTCHours()&&0===b.getUTCMinutes()&&0===b.getUTCSeconds()&&1===b.getUTCDate()&&(0===b.getUTCMonth()||6===b.getUTCMonth())||Qa(t,Da(54))}var w=(e=>{var t=Math.floor(e/86400);return xa({epochDay:t,[bi]:e-86400*t})})(g);return xa(n({source:e},w,{[fi]:y,[_n]:p}))},Ka="__eluReplayUrlScopeV1",Xa=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"})}),_a=e=>{var t,r,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!=(r=e.carry)?r:{read:()=>{try{var e=globalThis.document,t=null==e?void 0:e[Ka];return fa(t)&&ma(t.key)&&va(t.blocked)?{key:t.key,blocked:t.blocked}:void 0}catch(e){return}},write:e=>{try{var t=globalThis.document;t&&Object.defineProperty(t,Ka,{value:xa(n({},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){}},b=(t,r)=>y((()=>null==e.addCustomEvent?void 0:e.addCustomEvent(t,n({},r)))),w=()=>{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&&b(Xa.paused.tag,Xa.paused.payload)}))):!r&&h&&(h=!1,g(),p=!0,f||(f=!0,u((()=>{f=!1,p&&!h&&y(e.takeFullSnapshot)}))),u((()=>{h||b(Xa.resumed.tag,Xa.resumed.payload)})))}};return Object.freeze({admit(e){if(v)return"drop";if(w(),h)return(e=>fa(e)&&5===e.type&&fa(e.data)&&e.data.tag===Xa.paused.tag)(e)?"record":"drop";if(p){if(4!==(e=>fa(e)?e.type:void 0)(e))return"drop";p=!1}return"record"},state:()=>xa({blocked:h,awaitingSnapshot:p,closed:v}),close(){v=!0}})};xa({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}),xa({rules:100,conditions:50,values:100,valueLength:1e3}),xa(["LCP","CLS","FCP","INP"]),xa(["object","embed",".rr-block",".rr-mask"]),xa(["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 $a=xa({sampled:!1,[ci]:!1,[Ei]:!1,[di]:0,[Qi]:null}),es=e=>e.replace(/[\S]/g,"*"),ts=e=>"*".repeat(e.length),rs=new Set(["password","email","tel","hidden"]),ns=["src","srcset"],is=new Set(["img","picture","source"]),as="rr_dataURL",ss=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),os=(e,t,r)=>{var i=n({},t),a="string"==typeof i.type?i.type[Mi]():"";if(("all"===r.inputRule||rs.has(a)||"textarea"===e)&&"value"in i&&("string"==typeof i.value?i.value=ts(i.value):delete i.value),"block"===r.imageRule&&is.has(e))for(var s of ns)s in i&&delete i[s];return"block"===r.imageRule&&as in i&&delete i[as],i},ls=(e,t)=>{if(!ss(e))return e;var r=n({},e),i=r.type;if(5===i)r.textContent="string"==typeof r.textContent?es(r.textContent):"";else if(3===i&&"all"===t.textRule)!0!==r.isStyle&&(r.textContent="string"==typeof r.textContent?es(r.textContent):"");else if(2===i){var a="string"==typeof r.tagName?r.tagName[Mi]():"";ss(r[Ni])&&(r[Ni]=os(a,r[Ni],t))}return Array.isArray(r.childNodes)&&(r.childNodes=r.childNodes.map((e=>ls(e,t)))),r},us=(e,t)=>{var r=n({},e);return"all"===t.textRule&&Array.isArray(r.texts)&&(r.texts=r.texts.map((e=>ss(e)?n({},e,{value:"string"==typeof e.value?es(e.value):""}):e))),Array.isArray(r[Ni])&&(r[Ni]=r[Ni].map((e=>ss(e)&&ss(e[Ni])?n({},e,{[Ni]:os("",e[Ni],t)}):e))),Array.isArray(r.adds)&&(r.adds=r.adds.map((e=>ss(e)?n({},e,{node:ls(e.node,t)}):e))),r},cs=(e,t)=>{if(!ss(e))return e;var r=e.data;if(!ss(r))return e;if(2===e.type)return n({},e,{data:n({},r,{node:ls(r.node,t)})});if(3!==e.type)return e;if(0===r.source)return n({},e,{data:us(r,t)});if(5===r.source){var i=n({},r);return"all"===t.inputRule&&"string"==typeof i.text&&(i.text=ts(i.text)),n({},e,{data:i})}return 9===r.source&&"block"===t.imageRule?n({},e,{data:{source:r.source,id:r.id,type:r.type,commands:[]}}):e},ds=/^[a-f0-9]{64}$/,hs=function(){var e=r((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)}}(),ps=function(){var e=r((function*(e,t){void 0===t&&(t=hs);var r=yield t(e);if(!ma(r)||!ds.test(r[Mi]()))throw new Error(Da(5));return r[Mi]()}));return function(t,r){return e.apply(this,arguments)}}(),fs=e=>ma(e)&&/^sha256:[a-f0-9]{64}$/.test(e),ms=e=>(new TextEncoder).encode(e),vs=xa({maximumReplayDecodedBytes:16777216,[Pi]:1e4,maximumJsonNestingDepth:256});function gs(e,t){throw new Pa(e,t)}var ys=(e,t)=>{Sa(ya(e))&&gs("invalid-unicode",t+" contains an unpaired Unicode surrogate")},bs=e=>void 0===e||ga(e)||"symbol"==typeof e,ws=(e,t,r,n,i)=>{if(Sa(e))return"null";switch(typeof e){case"string":return ys(e,r),JSON[Yi](e);case"number":return Number[oa](e)||gs(sa,r+" must be a finite number"),JSON[Yi](e);case"boolean":return e?"true":"false";case"object":break;default:return gs(sa,r+" has an unsupported "+typeof e+" value")}var a=t+1;if(a>n&&gs(Da(34),r+" exceeds the maximum JSON nesting depth of "+n),a>i.depth&&(i.depth=a),pa(e)){for(var s=[],o=0;o<e[Gi];o+=1){Ca(e,o)||gs(sa,r+"["+o+"] is a sparse array hole");var l=e[o];s.push(bs(l)?"null":ws(l,a,r+"["+o+"]",n,i))}return"["+s.join(",")+"]"}if(!(e=>{var t=Object[li](e);return Sa(t)||t===Object.prototype})(e))return gs(sa,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];bs(p)||(ys(h,r+"."+h),d.push(JSON[Yi](h)+":"+ws(p,a,r+"."+h,n,i)))}return"{"+d.join(",")+"}"},Ss=function(e,t,r){return void 0===r&&(r=256),bs(e)&&gs(sa,t+" must be a JSON value"),ws(e,0,t,r,{depth:0})},ks="elu-css-selector-v1",Cs=[Zn,xi,"textRule","inputRule","imageRule",gi,Ra,Oi,Ii],Ms=["all","sensitive"],Is=["all","sensitive"],xs=["block","allow"];function Os(e){throw new Fa(e)}var Es=(e,t,r)=>(ma(e)&&t.includes(e)||Os(r+" must be one of "+t.join(", ")),e),Rs=(e,t)=>{var r=ma(e)?ya(e):null;return Sa(r)||r<1||r>512?Os(t+" must be a selector of 1 to 512 Unicode scalars"):e},Ns=(e,t)=>{pa(e)||Os(t+" must be an array of selectors");for(var r=new Set,n=0;n<e[Gi];n+=1)Ca(e,n)||Os(t+" must not be sparse"),r.add(Rs(e[n],t+"["+n+"]"));return r.size>128&&Os(t+" may carry at most 128 selectors"),xa([...r].sort())},Ts=e=>{for(var t of(fa(e)&&Ma(e,Cs)||Os(Da(39)),Cs))ka(e,t)||Os("masking profile "+t+" is required");return 1!==e[Zn]&&Os("masking profile schemaVersion must be 1"),e[xi]!==ks&&Os("masking profile targetDialect must be "+ks),!0!==e[gi]&&Os(Da(43)),va(e[ei])||Os(Da(40)),xa({[Zn]:1,[xi]:ks,textRule:Es(e.textRule,Ms,Da(44)),inputRule:Es(e.inputRule,Is,Da(38)),imageRule:Es(e.imageRule,xs,Da(37)),[gi]:!0,[ei]:e[ei],[Oi]:Ns(e[Oi],Da(42)),[Ii]:Ns(e[Ii],Da(41))})},As="rrweb/console@1",Ls=Object.freeze(["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"]),Ds="...[truncated]",Ps=Object.freeze({recordConsole:!1}),Fs=e=>fa(e)&&6===e.type&&fa(e.data),js=e=>Fs(e)&&e.data.plugin===As&&fa(e.data.payload)&&"string"==typeof e.data.payload.level&&Ls.includes(e.data.payload.level)&&pa(e.data.payload.trace)&&pa(e.data.payload.payload),Bs=(e,t)=>{var r=e.slice(0,t).map((e=>"string"!=typeof e?"":e.length>2e3?e.slice(0,2e3)+Ds:e));return e.length>t&&r.push(Ds),r},Us="rrweb/network@1",zs=1e6,Ws="[SessionRecording]",Hs="redacted",Vs="[SessionReplay] Failed to read body",Gs=["audio","beacon","body","css","early-hint","embed","fetch","frame","iframe","icon","image","img","input","link","navigation","object","ping","script","track","video","xmlhttprequest"],Js=["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"],Ys=["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"],Qs=["auth","token","secret","session","api-key","apikey","api_key","credential","password","passwd","cookie","csrf","xsrf"],Zs=["password","secret","passwd","api_key","apikey","auth","credentials","mysql_pwd","privatekey","private_key","token"],Ks=["image/","video/","audio/","font/","application/octet-stream","application/pdf","application/zip","application/wasm"],Xs=["video/","audio/"],_s=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}))$"),$s=/(^|[^0-9A-Za-z_])([0-9][0-9 -]*[0-9])(?=$|[^0-9A-Za-z_])/g,eo=[16,15,14,13],to=/(^|[^0-9])((?!000|666)[0-9]{3}-?(?!00)[0-9]{2}-?(?!0000)[0-9]{4})(?=$|([^0-9]))/g,ro=/[0-9A-Za-z_]/,no=()=>{},io=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},ao=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},so=e=>{var t=e.toLowerCase();return Ys.includes(t)||Qs.some((e=>t.includes(e)))},oo=e=>{if(fa(e)){var t={};for(var r of Object.keys(e)){var n=e[r];t[ao(r)]=so(r)?Hs:ao(String(n))}return t}},lo=(e,t,r)=>{if(null==e)return e;var n=null==t?void 0:t["content-length"],i=n?parseInt(n,10):Ia(e);return i>zs?Ws+" "+r+" body too large to record ("+i+" bytes)":e.length>25e4&&JSON.stringify(e).length>15e5?Ws+" "+r+" body too large to record ("+Ia(e)+" bytes)":e},uo=(e,t)=>{if(null==e)return e;var r=e,n=e.trim();for(var i of(((e=>{var t;for($s.lastIndex=0;t=$s.exec(e);)for(var r,n=(null!=(r=t[2])?r:"").replace(/[- ]/g,""),i=0;i<n.length;i++)for(var a of eo){var s=i+a;if(!(s>n.length)){var o=n.slice(i,s);if(_s.test(o)&&io(o))return!0}}return!1})(n)||(e=>{var t;for(to.lastIndex=0;t=to.exec(e);){var r=t[1],n=t[3];if(!(r&&n&&ro.test(r)&&ro.test(n)))return!0}return!1})(n))&&(r=Ws+" "+t+" body "+Hs),Zs))r.length&&-1!==r.indexOf(i)&&(r=Ws+" "+t+" body "+Hs+" as might contain: "+i);return r},co=(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},ho=(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&&Ks.some((e=>i.includes(e))))},po=e=>{var t={};return e.forEach(((e,r)=>{t[r]=e})),t},fo=e=>"[SessionReplay] Body too large to record (> "+e+" bytes)",mo=e=>fa(e)&&ga(e.getReader)&&ga(e.tee),vo=function(e,t,r){return void 0===t&&(t=zs),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(fo(t)):new Promise((n=>{var i,a,s=!1,o=()=>{try{var e;null==(e=i)||e.cancel().catch(no)}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(Vs)}var c=a.body;if(mo(c)&&"undefined"!=typeof TextDecoder){try{i=c.getReader()}catch(e){return void l(Vs)}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(fo(t));h+=n.byteLength,d.push(n)}p()}}),(e=>l(Vs+": "+e)))};p()}else try{a.text().then((e=>l(e)),(e=>l(Vs+": "+e)))}catch(e){l(Vs)}}))},go=(e,t,r)=>{if(null==e)return null;var n,i=co(t,r);if(i)return i+" is in deny list";if(ma(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)},yo=e=>"resource"===e.entryType,bo=e=>void 0===e?void 0:Math.round(e),wo=(e,t)=>{var r,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=[n({},i?i.toJSON():{name:t.url},{startTime:bo(a),endTime:bo(s),timeOrigin:o,timestamp:l,method:t.method,initiatorType:null!=(r=t.initiatorType)?r: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},So=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(yo(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((()=>So(e,t,r,n,i,a,s+1)))},ko="__eluReplayNetworkV1",Co=(e,t,r,n,i)=>{var a=null==e?void 0:e[t];if(!a){var s=r[n];if(!ga(s))return no;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])}},Mo=e=>{var t=Object.freeze([...e.excluded]),r=e.headers||e.body,i=!1;return Object.freeze({name:Us,observer:(a,s)=>{if(i)return no;i=!0;var o=!1,l=()=>{try{return s.location.href}catch(e){return"about:blank"}},u=e=>{if(!ma(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=oo(e.requestHeaders),r=oo(e.responseHeaders),i=e=>ma(e)?ao(e):null===e?null:void 0,a=uo(lo(i(e.requestBody),t,"Request"),"Request"),s=uo(lo(i(e.responseBody),r,"Response"),"Response"),o=n({},e);return ma(o.name)&&(o.name=ao(o.name)),o.requestHeaders=t,o.responseHeaders=r,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(Io(s,h,e.timing,r,d))}catch(e){}if(r){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[ko];if(r)return r;var n={};return Object.defineProperty(t,ko,{value:n,configurable:!0}),n}catch(e){return null}})(s);try{p.push(Eo(f,m))}catch(e){}try{p.push(No(f,m))}catch(e){}}}return()=>{for(var e of(o=!0,p))try{e()}catch(e){}}},options:null})},Io=(e,t,r,n,i)=>{var a,s=e=>(e=>"navigation"===e.entryType)(e)||yo(e)&&Gs.includes(e.initiatorType);if(r){var o=t.getEntries().filter(s);i(o.flatMap((e=>wo(t,{entry:e,captured:{},isInitial:!0}))),!0)}var l=e.PerformanceObserver;if(!ga(l))return no;var u=new l((e=>{var r=e.getEntries().filter((e=>s(e)&&!(n&&("xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType))));i(r.flatMap((e=>wo(t,{entry:e,captured:{}}))))})),c=null!=(a=l.supportedEntryTypes)?a:[];return u.observe({entryTypes:c.filter((e=>Js.includes(e)))}),()=>u.disconnect()},xo=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}},Oo=e=>{try{return ma(e)?e:xo(e)?e.url:String(null!=e?e:"")}catch(e){return""}},Eo=(e,t)=>{var r=e.win,n=e.performance,i=e.options;return Co(t,"fetch",r,"fetch",((t,r,a)=>{var s,o=r,l=o[0],u=o[1];if(!e.live()||e.isExcluded(Oo(l)))return a.apply(t,r);try{s=xo(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=po(s.headers);if(i.headers&&(d.requestHeaders=p),!mo(null==u?void 0:u.body)&&ho(i.body,p,c)){var f=co(c,e.base());h.push((f?Promise.resolve(f+" is in deny list"):vo(s)).then((e=>{d.requestBody=e})))}}catch(e){}var m,v,g,y=n.now(),b=()=>{Promise.all(h).then((()=>So(n,"fetch",c,y,v,e.live))).then((t=>e.emit(wo(n,{entry:t,method:s.method,status:m,captured:d,start:y,end:v,url:c,initiatorType:"fetch"})))).catch(no)};try{g=a.apply(t,r)}catch(e){throw v=n.now(),b(),e}return Promise.resolve(g).then((t=>{v=n.now();try{m=t.status;var r=po(t.headers);if(i.headers&&(d.responseHeaders=r),ho(i.body,r,c)){var a=Ro(t,c,e.base());h.push((a?Promise.resolve(a):vo(t)).then((e=>{d.responseBody=e})))}}catch(e){}return b(),t}),(e=>{throw v=n.now(),b(),e}))}))},Ro=(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&&Xs.some((e=>i.startsWith(e))))return"Content-Type "+i+" is not supported";var a=co(t,r);return a?a+" is in deny list":null},No=(e,t)=>{var r=e.win.XMLHttpRequest,n=null==r?void 0:r.prototype;return n?Co(t,"open",n,"open",((t,r,n)=>{var i=t,a=r,s=a[0],o=a[1],l=Oo(o instanceof URL?o.href:o);if(e.live()&&!e.isExcluded(l))try{To(e,i,String(s),l)}catch(e){}return n.apply(i,r)})):no},To=(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()&&ho(o.body,c,l))try{u.requestBody=go(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),ho(o.body,c,l)&&(u.responseBody=go(t.response,l,e.base()))}catch(e){}var m=t.status;So(s,"xmlhttprequest",l,i,a,e.live).then((t=>e.emit(wo(s,{entry:t,method:r,status:m,captured:u,start:i,end:a,url:n,initiatorType:"xmlhttprequest"})))).catch(no)}};t.addEventListener("readystatechange",f),t.addEventListener("error",p),t.addEventListener("abort",p),t.addEventListener("timeout",p)},Ao=e=>"object"==typeof e&&null!==e&&!pa(e),Lo=e=>{if(pa(e))return e.map(Lo);if(!Ao(e))return e;var t,r={};for(var n of Object.keys(e))r[n]=Lo(e[n]);return t=r.attributes,(!Ao(t)||"string"!=typeof t.value||(t.value=ts(t.value),0))&&Ao(r[Ni])&&delete r[Ni].value,3===r.type&&Ao(r.data)&&5===r.data.source&&(r.data.text="string"==typeof r.data.text?ts(r.data.text):""),r},Do=(e,t)=>Number[Xn](e)&&e>0&&e<=t,Po=1048576,Fo=e=>{var t=Ts(e.profile);if(!Do(e.maximumEventBytes,8388608)||!Do(e.maximumPendingBytes,16777216)||e.maximumPendingBytes<e.maximumEventBytes||!Do(e.maximumPendingEvents,1e3))throw new Error(qn(565));var i=e.checkoutEveryNms;if(void 0!==i&&!(Number.isSafeInteger(i)&&i>=1e3&&i<=36e5))throw new Error("invalid recorder checkout interval");var a=Wa(t),s=function(e,t,r){void 0===r&&(r=Wa(e));var i=null!=t?t:Ja,a="all"===e.textRule||!0===i.maskAllText?"all":"sensitive",s="all"===e.inputRule||!0===i.maskAllInputs?"all":"sensitive",o=qa([...e.resolvedMaskSelectors,...Ha,...i.maskTextSelectors]),l=za(qa([...r.blockSelector?[r.blockSelector]:[],...Va,...i.blockSelectors])),u=qa([...Ga,...i.ignoreSelectors]).join(", ");return Object.freeze(n({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:qa(i.maskedInputKinds),maskSelectors:o}))}(t,e.pageMasking,a);for(var o of[...t[Oi],...t[Ii],...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=Ts(n({},t,{textRule:s.textRule,inputRule:s.inputRule})),m=Math.min(4194304,Math.floor(e.maximumPendingBytes/4)),v=Math.min(Po,e.maximumEventBytes,m),g=m,y=Math.min(3145728,e.maximumEventBytes,g),b=m,w=Math.min(e.maximumEventBytes,b),S=!1,k=!1,C=0,M=0,I=0,x=0,O=(p=e.fullSnapshotIntervalMs,Object.freeze({checkoutEveryNms:ba(p)&&p>0?Math.max(1e4,Math.min(18e5,Math.floor(p))):3e5})),E=!1,R=0,N=0,T=-1,A=0,L=!1,D=!1,P=!1,F=!1,j=!0,B={},U=null,z=null,W=null,H=0,V=0,G=null,J=Promise[Ki](),q=t=>{try{null==e.onFailure||e.onFailure(t)}catch(e){}},Y=()=>{if(L)return $a;try{var t=e.eligibility();return!Number[Xn](t[di])||t[di]<0||t[di]>86400?$a:Object.freeze({sampled:!0===t.sampled,[Ei]:!0===t[Ei],[di]:t[di],[Qi]:t[Qi],[ci]:!0})}catch(e){return $a}},Q=()=>{var t=Y();return t.sampled&&t[Ei]&&t[di]>0&&null!==t[Qi]&&e[ra]()},Z=e=>{try{null==e||e()}catch(e){j=!1,L=!0,B={},q("engine-stop")}},K=()=>{var e=z;z=null,null==e||e.close()},X=()=>{var e=U;U=null,K(),Z(e)},_=()=>{var e=W;W=null,Z(e)},$=()=>(B={},D=!1,P=!1,_(),X(),J),ee=e=>{L=!0,$(),q(e)},te=function(e,t){void 0===t&&(t=!1);try{return(D||t&&P)&&!L&&B===e&&Q()}catch(e){return!1}};return Object.freeze({profile:t,capability:Y,start:()=>{if(L||D||P||F||!j||H>0)return!1;try{if(!Q())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}}})(t,e.canvas),l=(e=>{var t=null;try{t=e?e():null}catch(e){return null}if(!(t&&va(t.timing)&&va(t.headers)&&va(t.body)&&(t.timing||t.headers||t.body)))return null;var r=(e=>{if(!pa(e))return null;var t=[];for(var r of e){if(!ma(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?Mo({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 fa(t)?Object.freeze({recordConsole:!0,consolePlugin:Object.freeze({level:Ls,lengthThreshold:1e3,stringifyOptions:Object.freeze({numOfKeysLimit:50,depthOfLimit:4}),logger:"console"})}):Ps})(e.console);B=a,G=null,E=o.recordCanvas,S=null!==l,k=u.recordConsole,D=!0;try{var c;F=!0;var d=e.subscribeToRestrictions((()=>{B===a&&$()}));if(F=!1,!te(a))return Z(d),!1;W=d;var p=null!=(c=null==e.urlScope?void 0:e.urlScope())?c:null;z=p?_a({scope:p,takeFullSnapshot:e.engine.takeFullSnapshot,addCustomEvent:e.engine.addCustomEvent}):null,F=!0;var q=e.engine(n({maskTextSelector:s.maskTextSelector,maskAllInputs:!0,maskInputOptions:{password:!0,email:!0,tel:!0,textarea:!0},maskInputFn:(e,r)=>{var n,i=null==(n=r.getAttribute("type"))?void 0:n[Mi](),a="TEXTAREA"===r.tagName?"textarea":"SELECT"===r.tagName?"select":null!=i?i:"text";if("all"===s.inputRule||["password","email","tel","hidden"].includes(null!=i?i:"")||"TEXTAREA"===r.tagName||s.maskedInputKinds.includes(a))return ts(e);for(var o of t[Oi])if(r.closest(o))return ts(e);for(var l of s.maskSelectors)if(r.closest(l))return ts(e);return e},maskTextFn:es,blockSelector:h,ignoreSelector:s.ignoreSelector},o,{recordCrossOriginIframes:!1,inlineImages:!1,collectFonts:!1,recordDOM:!0,plugins:l?[l]:[],console:u,keepIframeSrcFn:()=>!1,recordAfter:qn(16),checkoutEveryNms:void 0===i?O.checkoutEveryNms:Math.min(i,O.checkoutEveryNms),errorHandler:()=>(B===a&&ee("engine-start"),!0),emit:i=>((i,a)=>{if(D)if(te(i)){if(!z||"drop"!==z.admit(a)){var s=(e=>Ao(e)&&3===e.type&&Ao(e.data)&&9===e.data.source)(a),o=!s&&(e=>Ao(e)&&6===e.type&&Ao(e.data)&&e.data.plugin===Us)(a),l=!s&&!o&&Fs(a);if(!l||k&&js(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"===t.imageRule&&c)&&(!o||S)){var d,h,p,O=s?R:o?I:l?C:H-R-I-C,L=s?N:o?x:l?M:V-N-x-M,P=s?m:o?g:l?b:e.maximumPendingBytes,F=s?v:o?y:l?w:e.maximumEventBytes,j=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=ss(r)&&Array.isArray(r.args)?r.args[0]:null,i=ss(n)&&Array.isArray(n.args)?n.args[0]:null;for(var a of ss(i)&&Array.isArray(i.data)?i.data:[])ss(a)&&"string"==typeof a.base64&&(t+=a.base64.length)}return t})(a.data)>F)return"shrink";if(O>=j||L>=P||(s||o)&&!(()=>{try{return!0===(null==e.canvasAdmission?void 0:e.canvasAdmission())}catch(e){return!1}})())return u("resend");try{if(!Ao(a)||!Number[Xn](a.timestamp)||a.timestamp<0)throw new Error(qn(566));if(h=a.timestamp,null!==G&&h<G)throw new Error(qn(764));var U=l?(e=>{if(Sa(e)||!js(e))return null;var t=e.data.payload,r=t.level,i=t.trace,a=t.payload;return n({},e,{data:{plugin:As,payload:{level:r,trace:Bs(i,50),payload:Bs(a,10)}}})})(a):a;if(null===U)return;var W=Lo(cs(U,f)),q=JSON[Yi](W);if(void 0===q||q[Gi]>F)return void 0===q?ee("capacity"):u("shrink");if((p=(new TextEncoder).encode(q)[si])>F)return u("shrink");if(s&&Math.floor(h/1e3)!==T&&(T=Math.floor(h/1e3),A=0),L+p>P||s&&A+p>Po)return u("resend");d=JSON.parse(q)}catch(e){return void ee("invalid-event")}if(te(i)){G=h,H+=1,V+=p,s&&(R+=1,N+=p,A+=p),o&&(I+=1,x+=p),l&&(C+=1,M+=p);var Y=J.then(r((function*(){te(i,!0)?yield e.record(d,h,p):B===i&&$()}))).catch((()=>{B===i&&ee("sink")})).then((()=>{H-=1,V-=p,s&&(R-=1,N-=p),o&&(I-=1,x-=p),l&&(C-=1,M-=p)}));J=Y}else $()}}}}else B===i&&$()})(a,i)}));return F=!1,"function"!=typeof q?(j=!1,ee("engine-start"),!1):te(a)?(U=q,!0):(K(),Z(q),!1)}catch(e){return F&&(j=!1),F=!1,ee("engine-start"),!1}},quiesce:()=>{if(L)return $();var e=B;return D=!1,P=!0,X(),j?J.then((()=>{B===e&&(P=!1,_())})):$()},stop:$,marker:(t,r)=>{var i=B;Promise.resolve().then((()=>{if(B===i&&D&&te(i))try{null==e.engine.addCustomEvent||e.engine.addCustomEvent(t,n({},r))}catch(e){}}))},cleanupIsProven:()=>j&&!F&&!D&&!P&&null===U&&null===W&&0===H,settled:()=>J,close:()=>(L=!0,$())})},jo=e=>"object"==typeof e&&!Sa(e)&&4===e.type,Bo=(e,t,r,n,i)=>xa({[yi]:e[yi],[wi]:t,chunkStartedAtMs:t,chunkBytes:r,chunkEvents:1,[Ui]:n,awaitingSnapshot:i}),Uo=Ui,zo=ta;xa({base:1,[ea]:2,[Zi]:3}),xa([{name:"installations",keyPath:Fi,[_i]:1,indexes:[]},{name:zo,keyPath:["siteKey","sequence"],[_i]:1,indexes:[]},{name:"flagCache",keyPath:[ni,"recordKind"],[_i]:2,indexes:[]},{name:"replayChunks",keyPath:["siteKey",$n],[_i]:3,indexes:[{name:"chunk",keyPath:["siteKey","replayId","chunkId"],unique:!0},{name:Uo,keyPath:["siteKey","replayId","sequence"],unique:!0}]},{name:"replayStreams",keyPath:["siteKey","replayId"],[_i]:3,indexes:[]},{name:"replayResolutions",keyPath:["siteKey","replayId","chunkId"],[_i]:3,indexes:[{name:Uo,keyPath:["siteKey","replayId","sequence"],unique:!0}]}]),xa({wallNow:()=>(new Date)[Ci](),monotonicNowMs:()=>{var e="undefined"==typeof globalThis?void 0:globalThis.performance;return e?e.now():Number.NaN}});var Wo=Uint8Array,Ho=Uint16Array,Vo=Uint32Array,Go=new Wo([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]),Jo=new Wo([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 Wo([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Yo=function(e,t){for(var r=new Ho(31),n=0;n<31;++n)r[n]=t+=1<<e[n-1];var i=new Vo(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]},Qo=Yo(Go,2),Zo=Qo[0],Ko=Qo[1];Zo[28]=258,Ko[258]=28;for(var Xo=Yo(Jo,0)[1],_o=new Ho(32768),$o=0;$o<32768;++$o){var el=(43690&$o)>>>1|(21845&$o)<<1;el=(61680&(el=(52428&el)>>>2|(13107&el)<<2))>>>4|(3855&el)<<4,_o[$o]=((65280&el)>>>8|(255&el)<<8)>>>1}var tl=function(e,t,r){for(var n=e.length,i=0,a=new Ho(t);i<n;++i)++a[e[i]-1];var s,o=new Ho(t);for(i=0;i<t;++i)o[i]=o[i-1]+a[i-1]<<1;if(r){s=new Ho(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[_o[d]>>>l]=u}else for(s=new Ho(n),i=0;i<n;++i)s[i]=_o[o[e[i]-1]++]>>>15-e[i];return s},rl=new Wo(288);for($o=0;$o<144;++$o)rl[$o]=8;for($o=144;$o<256;++$o)rl[$o]=9;for($o=256;$o<280;++$o)rl[$o]=7;for($o=280;$o<288;++$o)rl[$o]=8;var nl=new Wo(32);for($o=0;$o<32;++$o)nl[$o]=5;var il=tl(rl,9,0),al=tl(nl,5,0),sl=function(e){return(e/8>>0)+(7&e&&1)},ol=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8},ll=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},ul=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 Wo(0),0];if(1==i){var s=new Wo(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 Ho(h+1),f=cl(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 b=a[n].s;p[b]<t?m-=1<<t-p[b]++-1:++n}for(;n>=0&&m;--n){var w=a[n].s;p[w]==t&&(--p[w],++m)}f=t}return[new Wo(p),f]},cl=function(e,t,r){return-1==e.s?Math.max(cl(e.l,t,r+1),cl(e.r,t,r+1)):t[e.s]=r},dl=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new Ho(++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]},hl=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},pl=function(e,t,r){var n=r.length,i=sl(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)},fl=function(e,t,r,n,i,a,s,o,l,u,c){ol(t,c++,r),++i[256];for(var d=ul(i,15),h=d[0],p=d[1],f=ul(a,15),m=f[0],v=f[1],g=dl(h),y=g[0],b=g[1],w=dl(m),S=w[0],k=w[1],C=new Ho(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=ul(C,7),x=I[0],O=I[1],E=19;E>4&&!x[qo[E-1]];--E);var R,N,T,A,L=u+5<<3,D=hl(i,rl)+hl(a,nl)+s,P=hl(i,h)+hl(a,m)+s+14+3*E+hl(C,x)+(2*C[16]+3*C[17]+7*C[18]);if(L<=D&&L<=P)return pl(t,c,e.subarray(l,l+u));if(ol(t,c,1+(P<D)),c+=2,P<D){R=tl(h,p,0),N=h,T=tl(m,v,0),A=m;var F=tl(x,O,0);for(ol(t,c,b-257),ol(t,c+5,k-1),ol(t,c+10,E-4),c+=14,M=0;M<E;++M)ol(t,c+3*M,x[qo[M]]);c+=3*E;for(var j=[y,S],B=0;B<2;++B){var U=j[B];for(M=0;M<U.length;++M){var z=31&U[M];ol(t,c,F[z]),c+=x[z],z>15&&(ol(t,c,U[M]>>>5&127),c+=U[M]>>>12)}}}else R=il,N=rl,T=al,A=nl;for(M=0;M<o;++M)if(n[M]>255){z=n[M]>>>18&31,ll(t,c,R[z+257]),c+=N[z+257],z>7&&(ol(t,c,n[M]>>>23&31),c+=Go[z]);var W=31&n[M];ll(t,c,T[W]),c+=A[W],W>3&&(ll(t,c,n[M]>>>5&8191),c+=Jo[W])}else ll(t,c,R[n[M]]),c+=N[n[M]];return ll(t,c,R[256]),c+N[256]},ml=new Vo([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),vl=function(){for(var e=new Vo(256),t=0;t<256;++t){for(var r=t,n=9;--n;)r=(1&r&&3988292384)^r>>>1;e[t]=r}return e}(),gl=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8};function yl(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=vl[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 Wo(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=pl(l,u,e.subarray(c,d)):(l[c]=a,u=pl(l,u,e.subarray(c,s)))}else{for(var h=ml[t-1],p=h>>>13,f=8191&h,m=(1<<r)-1,v=new Ho(32768),g=new Ho(m+1),y=Math.ceil(r/3),b=2*y,w=function(t){return(e[t]^e[t+1]<<y^e[t+2]<<b)&m},S=new Vo(25e3),k=new Ho(288),C=new Ho(32),M=0,I=0,x=(c=0,0),O=0,E=0;c<s;++c){var R=w(c),N=32767&c,T=g[R];if(v[N]=T,g[R]=N,O<=c){var A=s-c;if((M>7e3||x>24576)&&A>423){u=fl(e,l,0,S,k,C,I,x,E,c-E,u),x=M=I=0,E=c;for(var L=0;L<286;++L)k[L]=0;for(L=0;L<30;++L)C[L]=0}var D=2,P=0,F=f,j=N-T&32767;if(A>2&&R==w(c-j))for(var B=Math.min(p,A)-1,U=Math.min(32767,c),z=Math.min(258,A);j<=U&&--F&&N!=T;){if(e[c+D]==e[c+D-j]){for(var W=0;W<z&&e[c+W]==e[c+W-j];++W);if(W>D){if(D=W,P=j,W>B)break;var H=Math.min(j,W-2),V=0;for(L=0;L<H;++L){var G=c-j+L+32768&32767,J=G-v[G]+32768&32767;J>V&&(V=J,T=G)}}}j+=(N=T)-(T=v[N])+32768&32767}if(P){S[x++]=268435456|Ko[D]<<18|Xo[P];var q=31&Ko[D],Y=31&Xo[P];I+=Go[q]+Jo[Y],++k[257+q],++C[Y],O=c+D,++M}else S[x++]=e[c],++k[e[c]]}}u=fl(e,l,a,S,k,C,I,x,E,c-E,u)}return function(e,t,r){(null==r||r>e.length)&&(r=e.length);var n=new(e instanceof Ho?Ho:e instanceof Vo?Vo:Wo)(r-0);return n.set(e.subarray(0,r)),n}(o,0,n+sl(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&&gl(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),gl(l,u-8,r.d()),gl(l,u-4,n),l}for(var bl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",wl=new Int16Array(128).fill(-1),Sl=0;Sl<bl[Gi];Sl+=1)wl[bl[pi](Sl)]=Sl;var kl=e=>{for(var t="",r=0;r+2<e[Gi];r+=3){var n=e[r]<<16|e[r+1]<<8|e[r+2];t+=bl[n>>18]+bl[n>>12&63]+bl[n>>6&63]+bl[63&n]}var i=e[Gi]-r;if(1===i){var a=e[r]<<16;t+=bl[a>>18]+bl[a>>12&63]+"=="}else if(2===i){var s=e[r]<<16|e[r+1]<<8;t+=bl[s>>18]+bl[s>>12&63]+bl[s>>6&63]+"="}return t},Cl=Symbol("elu-replay-masking-seal");class Ml{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!==Cl)throw new ja(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(!ga(e))throw new ja(Da(46));if(!pa(t[ca]))throw new ja(Da(47));var n=Ts(t.profile);if(!fs(t[Ai]))throw new ja(Da(48));var i=function(e,t,r){void 0===r&&(r=vs),pa(e)||gs(Da(32),t+" must be an array of replay records"),e[Gi]>r[Pi]&&gs(Da(35),t+" carries "+e[Gi]+" records; the maximum is "+r[Pi]);var n={depth:0},i=ws(e,0,t,r.maximumJsonNestingDepth,n),a=Ia(i);return a>r.maximumReplayDecodedBytes&&gs(Da(16),t+" serializes to "+a+" bytes; the maximum is "+r.maximumReplayDecodedBytes),xa({[Wi]:i,bytes:ms(i),[Di]:e[Gi],nestingDepth:n.depth})}(t[ca].map((t=>e(t,n))),Da(36),null!=(r=t[da])?r:vs);return new Ml(Cl,n,t[Ai],i[Wi],i.bytes[Gi],i[Di],i.nestingDepth)}}var Il=e=>e instanceof Ml;(()=>{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 xl="2.0.0",Ol=5242880,El=/^elu-[a-z0-9][a-z0-9.-]{0,63}$/,Rl=/^elu-[a-z0-9-]+$/,Nl=/^[A-Za-z][A-Za-z0-9._-]+$/,Tl=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,Al=[Zn,Vi,Hi,aa,Ui,qi,"endedAt",ji,Qn,"codec",ti,"contentEncoding","payload",$i,Ji],Ll=[oi,na,zi],Dl=[hi,ri,Ri,"appliedBeforeSerialization",gi,Ra],Pl=[Zn,mi,Xi,ua,"facade","build"],Fl=["name",_i];function jl(e){throw new Ba(e)}var Bl=function(e,t,r,n){void 0===n&&(n=1);var i=ma(e)?ya(e):null;return Sa(i)||i<n||i>r?jl(t+" must be a string of "+n+" to "+r+" Unicode scalars"):e},Ul=(e,t)=>(wa(e)||jl(t+" must be a safe non-negative integer"),e),zl=(e,t)=>(fs(e)||jl(t+" must be a lowercase sha256 hash"),e),Wl=function(e,t,r,n){for(var i of(void 0===n&&(n=[]),fa(e)&&Ma(e,t)||jl(r+" must contain only schema-defined fields"),t))n.includes(i)||ka(e,i)||jl(r+" "+i+" is required");return e},Hl=(e,t)=>{var r=Wl(e,Ll,t);return xa({[oi]:Bl(r[oi],t+" anonymousId",256),[na]:Sa(r[na])?null:Bl(r[na],t+" userId",512),[zi]:Ul(r[zi],t+" revision")})},Vl=(e,t)=>{var r=Wl(e,Dl,t);return!0!==r.appliedBeforeSerialization&&jl(t+" appliedBeforeSerialization must be true"),!0!==r[gi]&&jl(t+" secureInputsMasked must be true"),va(r[ei])||jl(t+" platformFallbackApplied must be a boolean"),xa({[hi]:Bl(r[hi],t+" policyRevision",128),[ri]:zl(r[ri],t+" effectivePolicyHash"),[Ri]:zl(r[Ri],t+" maskingProfileHash"),appliedBeforeSerialization:!0,[gi]:!0,[ei]:r[ei]})},Gl=(e,t,r)=>{var n=Wl(e,Fl,t),i=Bl(n.name,t+" name",256);return r.test(i)||jl(t+" name is invalid"),xa({name:i,[_i]:Bl(n[_i],t+" version",64)})},Jl=function(e,t){void 0===t&&(t="replay versions");var r=Wl(e,Pl,t,["build"]);2!==r[Zn]&&jl(t+" schemaVersion must be 2"),r[mi]!==xl&&jl(t+" contractVersion must be "+xl),"browser"!==r[Xi]&&"android"!==r[Xi]&&"ios"!==r[Xi]&&jl(t+" platform is unsupported");var i=Gl(r[ua],t+" runtime",Rl),a=Gl(r.facade,t+" facade",Nl);return xa(n({[Zn]:2,[mi]:xl,[Xi]:r[Xi],[ua]:i,facade:a},ka(r,"build")?{build:Bl(r.build,t+" build",128)}:{}))},ql=function(e,t){void 0===t&&(t="replay chunk");var r=Wl(e,Al,t);2!==r[Zn]&&jl(t+" schemaVersion must be 2");var n=Bl(r[qi],t+" startedAt",64),i=Bl(r.endedAt,t+" endedAt",64);((e,t)=>{if(e.epochDay!==t.epochDay)return e.epochDay<t.epochDay?-1:1;if(e[bi]!==t[bi])return e[bi]<t[bi]?-1:1;if(e[fi]!==t[fi])return e[fi]?1:-1;for(var r=Math.max(e[_n][Gi],t[_n][Gi]),n=0;n<r;n+=1){var i=e[_n][pi](n)||48,a=t[_n][pi](n)||48;if(i!==a)return i<a?-1:1}return 0})(Za(n,t+" startedAt",64),Za(i,t+" endedAt",64))>0&&jl(t+" endedAt must not precede startedAt");var a=Bl(r.codec,t+" codec",68);return El.test(a)||jl(t+" codec is invalid"),"none"!==r[ti]&&"gzip"!==r[ti]&&jl(t+" compression is unsupported"),"base64"!==r.contentEncoding&&jl(t+" contentEncoding must be base64"),ma(r.payload)&&0!==r.payload[Gi]&&Tl.test(r.payload)||jl(t+" payload must be non-empty canonical base64"),xa({[Zn]:2,[Vi]:Bl(r[Vi],t+" replayId",256),[Hi]:Bl(r[Hi],t+" sessionId",256),[aa]:Bl(r[aa],t+" chunkId",256),[Ui]:Ul(r[Ui],t+" sequence"),[qi]:n,endedAt:i,[ji]:Hl(r[ji],t+" identity"),[Qn]:Ul(r[Qn],t+" contextRevision"),codec:a,[ti]:r[ti],contentEncoding:"base64",payload:r.payload,[$i]:Vl(r[$i],t+" privacy"),[Ji]:Jl(r[Ji],t+" versions")})},Yl=function(){var e=r((function*(e,t){var r=(e=>ms(Ss(ql(e),"replay chunk")))(e),n=yield ps((e=>{var t=ms("elu-sdk-replay-request-v2"),r=new Uint8Array(t[Gi]+1+4+e[Gi]);r.set(t,0),r[t[Gi]]=0;var n=e[Gi];return r[t[Gi]+1]=n>>>24&255,r[t[Gi]+2]=n>>>16&255,r[t[Gi]+3]=n>>>8&255,r[t[Gi]+4]=255&n,r.set(e,t[Gi]+5),r})(r),t);return xa({[Bi]:"request_"+n,canonicalChunk:r})}));return function(t,r){return e.apply(this,arguments)}}(),Ql=function(){var e=r((function*(e,t){fa(t)||jl(Da(76));var r,n=Bl(t[ii],Ea,128),i=void 0===(r=t[vi])?Ol:!wa(r)||r<1?jl(Da(77)):Math.min(r,Ol),a=ql(e),s=yield Yl(a,t[la]),o=xa({[Zn]:2,[Bi]:s[Bi],chunk:a}),l=ms(Ss(o,"replay request"));l[Gi]>i&&jl("replay request is "+l[Gi]+" bytes; the effective limit is "+i);var u=yield ps(l,t[la]);return xa({[ii]:n,[ia]:o,[Ti]:l,canonicalRequestSha256:"sha256:"+u,[si]:l[Gi]})}));return function(t,r){return e.apply(this,arguments)}}(),Zl=function(){var e=r((function*(e){var t=(e=>{if(!Il(e))throw new Pa(Da(32),Da(65));var t,r=ms(e.canonicalPayload);try{t=yl(r,{mtime:0})}catch(e){return function(e,t){throw new Pa("invalid-gzip",t)}(0,Da(62))}return Object.freeze({codec:"elu-browser-dom-v1",[ti]:"gzip",contentEncoding:"base64",payload:kl(t),compressedByteLength:t[Gi],decodedByteLength:r[Gi],[Di]:e[Di],proof:e})})(Ml.seal(cs,{profile:e.profile,[Ai]:e[Ai],[ca]:e[ca]})),r=(e=>{fa(e)&&fa(e.payload)&&Il(e.payload.proof)||jl(Da(69));var t=e.payload;return ql({[Zn]:2,[Vi]:e[Vi],[Hi]:e[Hi],[aa]:e[aa],[Ui]:e[Ui],[qi]:e[qi],endedAt:e.endedAt,[ji]:e[ji],[Qn]:e[Qn],codec:t.codec,[ti]:t[ti],contentEncoding:t.contentEncoding,payload:t.payload,[$i]:{[hi]:e[hi],[ri]:e[ri],[Ri]:t.proof[Ai],appliedBeforeSerialization:!0,[gi]:!0,[ei]:t.proof.profile[ei]},[Ji]:e[Ji]})})({[Vi]:e[Vi],[Hi]:e[Hi],[aa]:e[aa],[Ui]:e[Ui],[qi]:e[qi],endedAt:e.endedAt,[ji]:e[ji],[Qn]:e[Qn],payload:t,[hi]:e[hi],[ri]:e[ri],[Ji]:e[Ji]});return Ql(r,n({[ii]:e[ii]},void 0===e[vi]?{}:{[vi]:e[vi]},void 0===e[la]?{}:{[la]:e[la]}))}));return function(t){return e.apply(this,arguments)}}(),Kl=e=>{if(!Number[Xn](e[Li])||e[Li]<1)throw new Error(Da(68));var t=Math.min(e[Li],268435456),i=xa({[yi]:null,[wi]:null,chunkStartedAtMs:null,chunkBytes:0,chunkEvents:0,[Ui]:0,awaitingSnapshot:!1}),a=null,s=!1,o=e[ji][Vi](),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[ui],h=!1,p=[],f=0,m=0,v=0,g=Promise[Ki](),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){}},b=()=>{p=[],f=0},w=()=>{s=!0,a=null,b(),m=0,v=0},S=e=>{w(),y(e,!0)},k=function(){var t=r((function*(){for(;!s&&d&&p[Gi]>0;){var t=p.shift();f-=t.prepared[si];try{yield e.sink(t.prepared,{discarded:!1,[Ui]:t[Ui]}),h=!0}catch(e){S(e)}}}));return function(){return t.apply(this,arguments)}}(),C=function(){var i=r((function*(r,i){var l=a;if(a=null,!s&&l&&0!==l[ca][Gi]){if(r)return m-=l.estimatedBytes,void(v-=l[ca][Gi]);try{var u=yield Zl(n({},e.seal,{[vi]:e.policy[vi],[ca]:l[ca],[Vi]:o,[Hi]:e[Hi],[aa]:e[ji][aa](),[Ui]:i,[qi]:e[ji].instant(l.startedAtMs),endedAt:e[ji].instant(l.endedAtMs)}));s||r||(d?(yield e.sink(u,{discarded:!1,[Ui]:i}),h=!0):u[si]>t-f||p[Gi]>=1e4?S(new Error(Da(72))):(p.push({prepared:u,[Ui]:i}),f+=u[si]))}catch(t){s||(!d||e.policy[ui]>0&&!h?S(t):y(t))}finally{m=Math.max(0,m-l.estimatedBytes),v=Math.max(0,v-l[ca][Gi])}}}));return function(e,t){return i.apply(this,arguments)}}();return{record(u,p,f){if(s)return Promise[Ki]();if(!Number[oa](p)||p<0||!Sa(i[wi])&&p<i[wi]||!Number[Xn](f)||f<1)return S(new Error(Da(31))),g;if(f>t-m||v>=1e4)return S(new Error(Da(71))),g;m+=f,v+=1;var y=((e,t,r)=>{var i,a=t.atMs,s=t.byteLength,o=!0===t.opensSnapshot;if(null===e[yi]||null===e[wi])return xa({action:"buffer",discardSealedChunk:!1,state:xa(n({},Bo(e,a,s,0,o),{[yi]:a}))});var l=a-e[wi],u=a-e[yi];if(l>=1e3*r[ai]||u>=1e3*r[Kn]){var c,d=e[wi]-(null!=(c=e[yi])?c:e[wi]);return xa({action:"cut-session",discardSealedChunk:d<1e3*r[ui],state:xa(n({},Bo(e,a,s,0,o),{[yi]:a}))})}var h=e.chunkEvents>0&&e.chunkBytes+s>r[vi];return e.chunkEvents>0&&!e.awaitingSnapshot&&(h||e.chunkEvents>=5e3||o)?xa({action:"cut-chunk",discardSealedChunk:!1,state:Bo(e,a,s,e[Ui]+1,o)}):xa({action:"buffer",discardSealedChunk:!1,state:xa(n({},e,{[wi]:a,chunkStartedAtMs:null!=(i=e.chunkStartedAtMs)?i:a,chunkBytes:e.chunkBytes+s,chunkEvents:e.chunkEvents+1,awaitingSnapshot:o}))})})(i,{atMs:p,[si]:f,opensSnapshot:jo(u)},e.policy),w=i[Ui];return i=y.state,g=g.then(r((function*(){if(!s){if("buffer"!==y.action){if(yield C(y.discardSealedChunk,w),s)return;if("cut-session"===y.action){try{yield c()}catch(e){throw S(e),e}if(s)return;b(),d=0===e.policy[ui],h=!1,o=e[ji][Vi](),l=null}}((e,t,r)=>{if(a)return a[ca].push(e),a.endedAtMs=t,void(a.estimatedBytes+=r);a={[ca]:[e],startedAtMs:t,endedAtMs:t,estimatedBytes:r}})(u,p,f),!d&&!Sa(y.state[yi])&&p-y.state[yi]>=1e3*e.policy[ui]&&(d=!0,yield k())}}))),g},flush(){if(s)return Promise[Ki]();if(i.awaitingSnapshot)return g;var e=i[Ui];return i.chunkEvents>0&&(i=Object.freeze(n({},i,{chunkStartedAtMs:null,chunkBytes:0,chunkEvents:0,[Ui]:i[Ui]+1}))),g=g.then((()=>C(!1,e)))},hasBufferedWork:()=>!s&&(v>0||p[Gi]>0||!Sa(a)),bufferedBytes:()=>s?0:m+f,close:()=>(w(),u||(u=g.then(c,function(){var e=r((function*(e){throw yield c(),e}));return function(t){return e.apply(this,arguments)}}())),u)}},Xl=["console"],_l="__eluOwnedRecorderLeaseV1",$l=e=>{var t=document;if(_l in t)throw new Error("Recorder is already owned");var r={};Object.defineProperty(t,_l,{value:r,configurable:!0});var a=!1,s=()=>{if(!a){if(t[_l]!==r)throw new Error("Recorder ownership changed");delete t[_l],a=!0}},o=e.console,l=i(e,Xl),u=[...o.recordConsole?[Gn(n({},o.consolePlugin,{level:[...o.consolePlugin.level]}))]:[],...l.plugins],c=En(n({},l,{plugins:u}));if("function"==typeof c)return()=>{c(),s()};s()};return Object.assign($l,{takeFullSnapshot:()=>En.takeFullSnapshot(),addCustomEvent:(e,t)=>En.addCustomEvent(e,t)}),e.createEluOwnedRecorder=e=>{var t=Fo(n({},e,{engine:$l,document:document}));if(e.installSessionDriver){var r=!1;try{r=e.isCurrent()&&e.installSessionDriver(Kl)&&e.isCurrent()}finally{r||t.close()}}return t},e}({}),t=document.currentScript;if(!t||"function"!=typeof t.__eluRecorderRegister)throw new Error("Recorder registration unavailable");t.__eluRecorderRegister(e)}();
|