PageSourceSearch

https://smartdaddy.ai/static/js/891.2d70993a.chunk.js

js smartdaddy.ai collected 2026-10-05 15:05:45 UTC 129,895 bytes, 3 lines download raw bytes

1/*! For license information please see 891.2d70993a.chunk.js.LICENSE.txt */
2"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[891],{9891(e,t,r){r.r(t),r.d(t,{EventType:()=>W,IncrementalSource:()=>j,MouseInteractions:()=>U,PLUGIN_NAME:()=>dr,Replayer:()=>Jr,ReplayerEvents:()=>H,addCustomEvent:()=>at,freezePage:()=>st,getRecordConsolePlugin:()=>fr,getReplayConsolePlugin:()=>vr,mirror:()=>ee,pack:()=>Kt,record:()=>it,unpack:()=>Zt,utils:()=>n});var n={};r.r(n),r.d(n,{TreeIndex:()=>de,_mirror:()=>ee,createMirror:()=>K,getBaseDimension:()=>me,getWindowHeight:()=>oe,getWindowWidth:()=>ie,hasShadowRoot:()=>ve,hookSetter:()=>re,isAncestorRemoved:()=>le,isBlocked:()=>ae,isIframeINode:()=>he,isIgnored:()=>se,isTouchEvent:()=>ue,iterateResolveTree:()=>pe,on:()=>J,patch:()=>ne,polyfill:()=>ce,queueToResolveTrees:()=>fe,throttle:()=>te});var o={};r.r(o),r.d(o,{default:()=>yr});var i,a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};function s(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function u(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function c(e){return e.nodeType===e.ELEMENT_NODE}function d(e){var t,r=null===(t=e)||void 0===t?void 0:t.host;return Boolean(r&&r.shadowRoot&&r.shadowRoot===e)}function f(e){var t=e.maskInputOptions,r=e.tagName,n=e.type,o=e.value,i=e.maskInputFn,a=o||"";return(t[r.toLowerCase()]||t[n])&&(a=i?i(a):"*".repeat(a.length)),a}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(i||(i={}));var p="__rrweb_original__";var h,m,v=1,y=new RegExp("[^a-z0-9-_:]");function g(e){try{var t=e.rules||e.cssRules;return t?Array.from(t).map(b).join(""):null}catch(r){return null}}function b(e){var t=e.cssText;if(function(e){return"styleSheet"in e}(e))try{t=g(e.styleSheet)||t}catch(mt){}return t}var S=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,w=/^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/,x=/^(data:)([^,]*),(.*)/i;function C(e,t){return(e||"").replace(S,function(e,r,n,o,i,a){var s,l=n||i||a,u=r||o||"";if(!l)return e;if(!w.test(l))return"url("+u+l+u+")";if(x.test(l))return"url("+u+l+u+")";if("/"===l[0])return"url("+u+(((s=t).indexOf("//")>-1?s.split("/").slice(0,3).join("/"):s.split("/")[0]).split("?")[0]+l)+u+")";var c=t.split("/"),d=l.split("/");c.pop();for(var f=0,p=d;f<p.length;f++){var h=p[f];"."!==h&&(".."===h?c.pop():c.push(h))}return"url("+u+c.join("/")+u+")"})}var T=/^[^ \t\n\r\u000c]+/,E=/^[, \t\n\r\u000c]+/;function k(e,t){if(!t||""===t.trim())return t;var r=e.createElement("a");return r.href=t,r.href}function I(){var e=document.createElement("a");return e.href="",e.href}function M(e,t,r,n){return"src"===r||"href"===r&&n||"xlink:href"===r&&n&&"#"!==n[0]?k(e,n):"background"!==r||!n||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===r&&n?function(e,t){if(""===t.trim())return t;var r=0;function n(e){var n,o=e.exec(t.substring(r));return o?(n=o[0],r+=n.length,n):""}for(var o=[];n(E),!(r>=t.length);){var i=n(T);if(","===i.slice(-1))i=k(e,i.substring(0,i.length-1)),o.push(i);else{var a="";i=k(e,i);for(var s=!1;;){var l=t.charAt(r);if(""===l){o.push((i+a).trim());break}if(s)")"===l&&(s=!1);else{if(","===l){r+=1,o.push((i+a).trim());break}"("===l&&(s=!0)}a+=l,r+=1}}}return o.join(", ")}(e,n):"style"===r&&n?C(n,I()):"object"===t&&"data"===r&&n?k(e,n):n:k(e,n)}function N(e,t,r){if(!e)return!1;if(e.nodeType===e.ELEMENT_NODE){if("string"===typeof t){if(e.classList.contains(t))return!0}else for(var n=0;n<e.classList.length;n++){var o=e.classList[n];if(t.test(o))return!0}return!(!r||!e.matches(r))||N(e.parentNode,t,r)}
2return e.nodeType,e.TEXT_NODE,N(e.parentNode,t,r)}function O(e,t){var r,n,o,a,s=t.doc,l=t.blockClass,u=t.blockSelector,c=t.maskTextClass,d=t.maskTextSelector,v=t.inlineStylesheet,b=t.maskInputOptions,S=void 0===b?{}:b,w=t.maskTextFn,x=t.maskInputFn,T=t.dataURLOptions,E=void 0===T?{}:T,k=t.inlineImages,O=t.recordCanvas,R=t.keepIframeSrcFn;if(s.__sn){var _=s.__sn.id;n=1===_?void 0:_}switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:i.Document,childNodes:[],compatMode:e.compatMode,rootId:n}:{type:i.Document,childNodes:[],rootId:n};case e.DOCUMENT_TYPE_NODE:return{type:i.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:n};case e.ELEMENT_NODE:for(var L=function(e,t,r){if("string"===typeof t){if(e.classList.contains(t))return!0}else for(var n=0;n<e.classList.length;n++){var o=e.classList[n];if(t.test(o))return!0}return!!r&&e.matches(r)}(e,l,u),A=function(e){if(e instanceof HTMLFormElement)return"form";var t=e.tagName.toLowerCase().trim();return y.test(t)?"div":t}(e),D={},F=0,P=Array.from(e.attributes);F<P.length;F++){var W=P[F],j=W.name,U=W.value;D[j]=M(s,A,j,U)}if("link"===A&&v){var z=Array.from(s.styleSheets).find(function(t){return t.href===e.href}),B=null;z&&(B=g(z)),B&&(delete D.rel,delete D.href,D._cssText=C(B,z.href))}if("style"===A&&e.sheet&&!(e.innerText||e.textContent||"").trim().length)(B=g(e.sheet))&&(D._cssText=C(B,I()));if("input"===A||"textarea"===A||"select"===A){U=e.value;"radio"!==D.type&&"checkbox"!==D.type&&"submit"!==D.type&&"button"!==D.type&&U?D.value=f({type:D.type,tagName:A,value:U,maskInputOptions:S,maskInputFn:x}):e.checked&&(D.checked=e.checked)}if("option"===A&&(e.selected&&!S.select?D.selected=!0:delete D.selected),"canvas"===A&&O)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 o=t.getImageData,i=p in o?o[p]:o;if(new Uint32Array(i.call(t,r,n,Math.min(50,e.width-r),Math.min(50,e.height-n)).data.buffer).some(function(e){return 0!==e}))return!1}return!0})(e)||(D.rr_dataURL=e.toDataURL(E.type,E.quality));else if(!("__context"in e)){var H=e.toDataURL(E.type,E.quality),V=document.createElement("canvas");V.width=e.width,V.height=e.height,H!==V.toDataURL(E.type,E.quality)&&(D.rr_dataURL=H)}if("img"===A&&k){h||(h=s.createElement("canvas"),m=h.getContext("2d"));var G=e,Y=G.crossOrigin;G.crossOrigin="anonymous";var X=function(){try{h.width=G.naturalWidth,h.height=G.naturalHeight,m.drawImage(G,0,0),D.rr_dataURL=h.toDataURL(E.type,E.quality)}catch(e){console.warn("Cannot inline img src="+G.currentSrc+"! Error: "+e)}Y?D.crossOrigin=Y:delete D.crossOrigin};G.complete&&0!==G.naturalWidth?X():G.onload=X}if("audio"!==A&&"video"!==A||(D.rr_mediaState=e.paused?"paused":"played",D.rr_mediaCurrentTime=e.currentTime),e.scrollLeft&&(D.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(D.rr_scrollTop=e.scrollTop),L){var q=e.getBoundingClientRect(),Q=q.width,$=q.height;D={class:D.class,rr_width:Q+"px",rr_height:$+"px"}}return"iframe"!==A||R(D.src)||(e.contentDocument||(D.rr_src=D.src),delete D.src),{type:i.Element,tagName:A,attributes:D,childNodes:[],isSVG:(a=e,Boolean("svg"===a.tagName||a.ownerSVGElement)||void 0),needBlock:L,rootId:n};case e.TEXT_NODE:var J=e.parentNode&&e.parentNode.tagName,K=e.textContent,Z="STYLE"===J||void 0,ee="SCRIPT"===J||void 0;if(Z&&K){try{e.nextSibling||e.previousSibling||(null===(r=e.parentNode.sheet)||void 0===r?void 0:r.cssRules)&&(K=(o=e.parentNode.sheet).cssRules?Array.from(o.cssRules).map(function(e){return e.cssText||""}).join(""):"")}catch(te){console.warn("Cannot get CSS styles from text's parentNode. Error: "+te,e)}K=C(K,I())}return ee&&(K="SCRIPT_PLACEHOLDER"),!Z&&!ee&&N(e,c,d)&&K&&(K=w?w(K):K.replace(/[\S]/g,"*")),{type:i.Text,textContent:K||"",isStyle:Z,rootId:n};case e.CDATA_SECTION_NODE:return{type:i.CDATA,textContent:"",rootId:n};case e.COMMENT_NODE:return{type:i.Comment,textContent:e.textContent||"",rootId:n};default:return!1}}function R(e){return void 0===e?"":e.toLowerCase()}function _(e,t){var r,n=t.doc,o=t.map,a=t.blockClass,s=t.blockSelector,l=t.maskTextClass,u=t.maskTextSelector,f=t.skipChild,p=void 0!==f&&f,h=t.inlineStylesheet,m=void 0===h||h,y=t.maskInputOptions,g=void 0===y?{}:y,b=t.maskTextFn,S=t.maskInputFn,w=t.slimDOMOptions,x=t.dataURLOptions,C=void 0===x?{}:x,T=t.inlineImages,E=void 0!==T&&T,k=t.recordCanvas,I=void 0!==k&&k,M=t.onSerialize,N=t.onIframeLoad,L=t.iframeLoadTimeout,A=void 0===L?5e3:L,D=t.keepIframeSrcFn,F=void 0===D?function(){return!1}:D,P=t.preserveWhiteSpace,W=void 0===P||P,j=O(e,{doc:n,blockClass:a,blockSelector:s,maskTextClass:l,maskTextSelector:u,inlineStylesheet:m,maskInputOptions:g,maskTextFn:b,maskInputFn:S,dataURLOptions:C,inl
vendor: 6,012 bytes, line 2
2ineImages:E,recordCanvas:I,keepIframeSrcFn:F});if(!j)return console.warn(e,"not serialized"),null;r="__sn"in e?e.__sn.id:!function(e,t){if(t.comment&&e.type===i.Comment)return!0;if(e.type===i.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&"preload"===e.attributes.rel&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"===typeof e.attributes.href&&e.attributes.href.endsWith(".js")))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(R(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===R(e.attributes.name)||"icon"===R(e.attributes.rel)||"apple-touch-icon"===R(e.attributes.rel)||"shortcut icon"===R(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&R(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(R(e.attributes.property).match(/^(og|twitter|fb):/)||R(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===R(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===R(e.attributes.name)||"googlebot"===R(e.attributes.name)||"bingbot"===R(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===R(e.attributes.name)||"generator"===R(e.attributes.name)||"framework"===R(e.attributes.name)||"publisher"===R(e.attributes.name)||"progid"===R(e.attributes.name)||R(e.attributes.property).match(/^article:/)||R(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===R(e.attributes.name)||"yandex-verification"===R(e.attributes.name)||"csrf-token"===R(e.attributes.name)||"p:domain_verify"===R(e.attributes.name)||"verify-v1"===R(e.attributes.name)||"verification"===R(e.attributes.name)||"shopify-checkout-api-token"===R(e.attributes.name)))return!0}}return!1}(j,w)&&(W||j.type!==i.Text||j.isStyle||j.textContent.replace(/^\s+|\s+$/gm,"").length)?v++:-2;var U=Object.assign(j,{id:r});if(e.__sn=U,-2===r)return null;o[r]=e,M&&M(e);var z=!p;if(U.type===i.Element&&(z=z&&!U.needBlock,delete U.needBlock,e.shadowRoot&&(U.isShadowHost=!0)),(U.type===i.Document||U.type===i.Element)&&z){w.headWhitespace&&j.type===i.Element&&"head"===j.tagName&&(W=!1);for(var B={doc:n,map:o,blockClass:a,blockSelector:s,maskTextClass:l,maskTextSelector:u,skipChild:p,inlineStylesheet:m,maskInputOptions:g,maskTextFn:b,maskInputFn:S,slimDOMOptions:w,dataURLOptions:C,inlineImages:E,recordCanvas:I,preserveWhiteSpace:W,onSerialize:M,onIframeLoad:N,iframeLoadTimeout:A,keepIframeSrcFn:F},H=0,V=Array.from(e.childNodes);H<V.length;H++){(X=_(V[H],B))&&U.childNodes.push(X)}if(c(e)&&e.shadowRoot)for(var G=0,Y=Array.from(e.shadowRoot.childNodes);G<Y.length;G++){var X;(X=_(Y[G],B))&&(X.isShadow=!0,U.childNodes.push(X))}}return e.parentNode&&d(e.parentNode)&&(U.isShadow=!0),U.type===i.Element&&"iframe"===U.tagName&&function(e,t,r){var n=e.contentWindow;if(n){var o,i=!1;try{o=n.document.readyState}catch(l){return}if("complete"===o){var a="about:blank";n.location.href===a&&e.src!==a&&""!==e.src?e.addEventListener("load",t):setTimeout(t,0)}else{var s=setTimeout(function(){i||(t(),i=!0)},r);e.addEventListener("load",function(){clearTimeout(s),i=!0,t()})}}}(e,function(){var t=e.contentDocument;if(t&&N){var r=_(t,{doc:t,map:o,blockClass:a,blockSelector:s,maskTextClass:l,maskTextSelector:u,skipChild:!1,inlineStylesheet:m,maskInputOptions:g,maskTextFn:b,maskInputFn:S,slimDOMOptions:w,dataURLOptions:C,inlineImages:E,recordCanvas:I,preserveWhiteSpace:W,onSerialize:M,onIframeLoad:N,iframeLoadTimeout:A,keepIframeSrcFn:F});r&&N(e,r)}},A),U}var L=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;function A(e,t){void 0===t&&(t={});var r=1,n=1;function o(e){var t=e.match(/\n/g);t&&(r+=t.length);var o=e.lastIndexOf("\n");n=-1===o?n+e.length:e.length-o}function i(){var e={line:r,column:n};return function(t){return t.position=new a(e),p(),t}}var a=function(e){this.start=e,this.end={line:r,column:n},this.source=t.source};a.prototype.content=e;var s=[];function l(o){var i=new Error(t.source+":"+r+":"+n+": "+o);if(i.reason=o,i.filename=t.source,i.line=r,i.column=n,i.source=e,!t.silent)throw i;s.push(i)}function u(){return f(/^{\s*/)}function c(){return f(/^}/)}function d(){var t,r=[];for(p(),h(r);e.length&&"}"!==e.charAt(0)&&(t=T()||E());)!1!==t&&(r.push(t),h(r));return r}function f(t){var r=t.exec(e);if(r){var n=r[0];return o(n),e=e.slice(n.length),r}}function p(){f(/^\s*/)}function h(e){var t;for(void 0===e&&(e=[]);t=m();)!1!==t&&e.push(t),t=m();return e}function m(){var t=i();if("/"===e.charAt(0)&&"*"===e.charAt(1)){for(var r=2;""!==e.charAt(r)&&("*"!==e.charAt(r)||"/"!==e.charAt(r+1));)++r;if(r+=2,""===e.charAt(r-1))return l("End of comment missing");var a=e.slice(2,r-2);return n+=2,o(a),e=e.slice(r),n+=2,t({type:"comment",comment:a})}}function v(){var e=f(/^([^{]+)/);if(e)return D(e[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(e){return e.replace(/,/g,"\u200c")}).split(/\s*(?![^(]*\)),\s*/).map(function(e){return e.replace(/\u200C/g,",")})}function y(){var e=i(),t=f(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){var r=D(t[0]);if(!f(/^:\s*/))return l("property missing ':'");var n=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),o=e({type:"declaration",property:r.replace(L,""),value:n?D(n[0]).replace(L,""):""});return f(/^[;\s]*/),o}}function g(){var e,t=[];if(!u())return l("missing '{'");for(h(t);e=y();)!1!==e&&(t.push(e),h(t)),e=y();return c()?t:l("missing '}'")}function b(){for(var e,t=[],r=i();e=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),f(/^,\s*/);if(t.length)return r({type:"keyframe",values:t,declarations:g()})}var S=C("import"),w=C("charset"),x=C("namespace");function C(e){var t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){var r=i(),n=f(t);if(n){var o={type:e};return o[e]=n[1].trim(),r(o)}}}function T(){if("@"===e[0])return function(){var e=i(),t=f(/^@([-\w]+)?ke
2yframes\s*/);if(t){var r=t[1];if(!(t=f(/^([-\w]+)\s*/)))return l("@keyframes missing name");var n,o=t[1];if(!u())return l("@keyframes missing '{'");for(var a=h();n=b();)a.push(n),a=a.concat(h());return c()?e({type:"keyframes",name:o,vendor:r,keyframes:a}):l("@keyframes missing '}'")}}()||function(){var e=i(),t=f(/^@media *([^{]+)/);if(t){var r=D(t[1]);if(!u())return l("@media missing '{'");var n=h().concat(d());return c()?e({type:"media",media:r,rules:n}):l("@media missing '}'")}}()||function(){var e=i(),t=f(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:D(t[1]),media:D(t[2])})}()||function(){var e=i(),t=f(/^@supports *([^{]+)/);if(t){var r=D(t[1]);if(!u())return l("@supports missing '{'");var n=h().concat(d());return c()?e({type:"supports",supports:r,rules:n}):l("@supports missing '}'")}}()||S()||w()||x()||function(){var e=i(),t=f(/^@([-\w]+)?document *([^{]+)/);if(t){var r=D(t[1]),n=D(t[2]);if(!u())return l("@document missing '{'");var o=h().concat(d());return c()?e({type:"document",document:n,vendor:r,rules:o}):l("@document missing '}'")}}()||function(){var e=i();if(f(/^@page */)){var t=v()||[];if(!u())return l("@page missing '{'");for(var r,n=h();r=y();)n.push(r),n=n.concat(h());return c()?e({type:"page",selectors:t,declarations:n}):l("@page missing '}'")}}()||function(){var e=i();if(f(/^@host\s*/)){if(!u())return l("@host missing '{'");var t=h().concat(d());return c()?e({type:"host",rules:t}):l("@host missing '}'")}}()||function(){var e=i();if(f(/^@font-face\s*/)){if(!u())return l("@font-face missing '{'");for(var t,r=h();t=y();)r.push(t),r=r.concat(h());return c()?e({type:"font-face",declarations:r}):l("@font-face missing '}'")}}()}function E(){var e=i(),t=v();return t?(h(),e({type:"rule",selectors:t,declarations:g()})):l("selector missing")}return F(function(){var e=d();return{type:"stylesheet",stylesheet:{source:t.source,rules:e,parsingErrors:s}}}())}function D(e){return e?e.replace(/^\s+|\s+$/g,""):""}function F(e,t){for(var r=e&&"string"===typeof e.type,n=r?e:t,o=0,i=Object.keys(e);o<i.length;o++){var a=e[i[o]];Array.isArray(a)?a.forEach(function(e){F(e,n)}):a&&"object"===typeof a&&F(a,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var P={script:"noscript",altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",fedropshadow:"feDropShadow",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient"};var W,j,U,z,B,H,V=/([^\\]):hover/,G=new RegExp(V.source,"g");function Y(e,t){var r=null===t||void 0===t?void 0:t.stylesWithHoverClass.get(e);if(r)return r;var n=A(e,{silent:!0});if(!n.stylesheet)return e;var o=[];
2if(n.stylesheet.rules.forEach(function(e){"selectors"in e&&(e.selectors||[]).forEach(function(e){V.test(e)&&o.push(e)})}),0===o.length)return e;var i=new RegExp(o.filter(function(e,t){return o.indexOf(e)===t}).sort(function(e,t){return t.length-e.length}).map(function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}).join("|"),"g"),a=e.replace(i,function(e){var t=e.replace(G,"$1.\\:hover");return e+", "+t});return null===t||void 0===t||t.stylesWithHoverClass.set(e,a),a}function X(){return{stylesWithHoverClass:new Map}}function q(e,t){var r=t.doc,n=t.hackCss,o=t.cache;switch(e.type){case i.Document:return r.implementation.createDocument(null,"",null);case i.DocumentType:return r.implementation.createDocumentType(e.name||"html",e.publicId,e.systemId);case i.Element:var a,s=function(e){var t=P[e.tagName]?P[e.tagName]:e.tagName;return"link"===t&&e.attributes._cssText&&(t="style"),t}(e);a=e.isSVG?r.createElementNS("http://www.w3.org/2000/svg",s):r.createElement(s);var l=function(t){if(!e.attributes.hasOwnProperty(t))return"continue";var i=e.attributes[t];if("option"===s&&"selected"===t&&!1===i)return"continue";if(i="boolean"===typeof i||"number"===typeof i?"":i,t.startsWith("rr_")){if("canvas"===s&&"rr_dataURL"===t){var l=document.createElement("img");l.src=i,l.onload=function(){var e=a.getContext("2d");e&&e.drawImage(l,0,0,l.width,l.height)}}else if("img"===s&&"rr_dataURL"===t){var u=a;u.currentSrc.startsWith("data:")||(u.setAttribute("rrweb-original-src",e.attributes.src),u.src=i)}if("rr_width"===t)a.style.width=i;else if("rr_height"===t)a.style.height=i;else if("rr_mediaCurrentTime"===t)a.currentTime=e.attributes.rr_mediaCurrentTime;else if("rr_mediaState"===t)switch(i){case"played":a.play().catch(function(e){return console.warn("media playback error",e)});break;case"paused":a.pause()}}else{var c="textarea"===s&&"value"===t,d="style"===s&&"_cssText"===t;if(d&&n&&(i=Y(i,o)),c||d){for(var f=r.createTextNode(i),p=0,h=Array.from(a.childNodes);p<h.length;p++){var m=h[p];m.nodeType===a.TEXT_NODE&&a.removeChild(m)}return a.appendChild(f),"continue"}try{if(e.isSVG&&"xlink:href"===t)a.setAttributeNS("http://www.w3.org/1999/xlink",t,i);
2else if("onload"===t||"onclick"===t||"onmouse"===t.substring(0,7))a.setAttribute("_"+t,i);else{if("meta"===s&&"Content-Security-Policy"===e.attributes["http-equiv"]&&"content"===t)return a.setAttribute("csp-content",i),"continue";"link"===s&&"preload"===e.attributes.rel&&"script"===e.attributes.as||"link"===s&&"prefetch"===e.attributes.rel&&"string"===typeof e.attributes.href&&e.attributes.href.endsWith(".js")||("img"===s&&e.attributes.srcset&&e.attributes.rr_dataURL?a.setAttribute("rrweb-original-srcset",e.attributes.srcset):a.setAttribute(t,i))}}catch(v){}}};for(var u in e.attributes)l(u);if(e.isShadowHost)if(a.shadowRoot)for(;a.shadowRoot.firstChild;)a.shadowRoot.removeChild(a.shadowRoot.firstChild);else a.attachShadow({mode:"open"});return a;case i.Text:return r.createTextNode(e.isStyle&&n?Y(e.textContent,o):e.textContent);case i.CDATA:return r.createCDATASection(e.textContent);case i.Comment:return r.createComment(e.textContent);default:return null}}function Q(e,t){var r=t.doc,n=t.map,o=t.skipChild,a=void 0!==o&&o,s=t.hackCss,l=void 0===s||s,u=t.afterAppend,d=t.cache,f=q(e,{doc:r,hackCss:l,cache:d});if(!f)return null;if(e.rootId&&console.assert(n[e.rootId]===r,"Target document should has the same root id."),e.type===i.Document&&(r.close(),r.open(),"BackCompat"===e.compatMode&&e.childNodes&&e.childNodes[0].type!==i.DocumentType&&(e.childNodes[0].type===i.Element&&"xmlns"in e.childNodes[0].attributes&&"http://www.w3.org/1999/xhtml"===e.childNodes[0].attributes.xmlns?r.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
2'):r.write('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "">')),f=r),f.__sn=e,n[e.id]=f,(e.type===i.Document||e.type===i.Element)&&!a)for(var p=0,h=e.childNodes;p<h.length;p++){var m=h[p],v=Q(m,{doc:r,map:n,skipChild:!1,hackCss:l,afterAppend:u,cache:d});v?(m.isShadow&&c(f)&&f.shadowRoot?f.shadowRoot.appendChild(v):f.appendChild(v),u&&u(v)):console.warn("Failed to rebuild",m)}return f}function $(e,t){var r=t.doc,n=t.onVisit,o=t.hackCss,a={},s=Q(e,{doc:r,map:a,skipChild:!1,hackCss:void 0===o||o,afterAppend:t.afterAppend,cache:t.cache});return function(e,t){function r(e){t(e)}for(var n in e)e[n]&&r(e[n])}(a,function(e){n&&n(e),function(e){var t=e.__sn;if(t.type===i.Element){var r=e;for(var n in t.attributes)if(t.attributes.hasOwnProperty(n)&&n.startsWith("rr_")){var o=t.attributes[n];"rr_scrollLeft"===n&&(r.scrollLeft=o),"rr_scrollTop"===n&&(r.scrollTop=o)}}}(e)}),[s,a]}function J(e,t,r){void 0===r&&(r=document);var n={capture:!0,passive:!0};return r.addEventListener(e,t,n),function(){return r.removeEventListener(e,t,n)}}function K(){return{map:{},getId:function(e){return e&&e.__sn?e.__sn.id:-1},getNode:function(e){return this.map[e]||null},removeNodeFromMap:function(e){var t=this,r=e.__sn&&e.__sn.id;delete this.map[r],e.childNodes&&e.childNodes.forEach(function(e){return t.removeNodeFromMap(e)})},has:function(e){return this.map.hasOwnProperty(e)},reset:function(){this.map={}}}}!function(e){e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin"}(W||(W={})),function(e){e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration"}(j||(j={})),function(e){e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel"}(U||(U={})),function(e){e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2"}(z||(z={})),function(e){e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange"}(B||(B={})),function(e){e.Start="start",e.Pause="pause",e.Resume="resume",e.Resize="resize",e.Finish="finish",e.FullsnapshotRebuilded="fullsnapshot-rebuilded",e.LoadStylesheetStart="load-stylesheet-start",e.LoadStylesheetEnd="load-stylesheet-end",e.SkipStart="skip-start",e.SkipEnd="skip-end",e.MouseInteraction="mouse-interaction",e.EventCast="event-cast",e.CustomEvent="custom-event",e.Flush="flush",e.StateChange="state-change",e.PlayBack="play-back"}(H||(H={}));var Z="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.",ee={map:{},getId:function(){return console.error(Z),-1},getNode:function(){return console.error(Z),null},removeNodeFromMap:function(){console.error(Z)},has:function(){return console.error(Z),!1},reset:function(){console.error(Z)}};function te(e,t,r){void 0===r&&(r={});var n=null,o=0;return function(i){var a=Date.now();o||!1!==r.leading||(o=a);var s=t-(a-o),l=this,u=arguments;s<=0||s>t?(n&&(clearTimeout(n),n=null),o=a,e.apply(l,u)):n||!1===r.trailing||(n=setTimeout(function(){o=!1===r.leading?0:Date.now(),n=null,e.apply(l,u)},s))}}function re(e,t,r,n,o){void 0===o&&(o=window);var i=o.Object.getOwnPropertyDescriptor(e,t);return o.Object.defineProperty(e,t,n?r:{set:function(e){var t=this;setTimeout(function(){r.set.call(t,e)},0),i&&i.set&&i.set.call(this,e)}}),function(){return re(e,t,i||{},!0)}}function ne(e,t,r){try{if(!(t in e))return function(){};var n=e[t],o=r(n);return"function"===typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=o,function(){e[t]=n}}catch(mt){return function(){}}}function oe(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function ie(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function ae(e,t){if(!e)return!1;if(e.nodeType===e.ELEMENT_NODE){var r=!1;if("string"===typeof t){if(void 0!==e.closest)return null!==e.closest("."+t);r=e.classList.contains(t)}else e.classList.forEach(function(e){t.test(e)&&(r=!0)});return r||ae(e.parentNode,t)}
vendor: 5,699 bytes, line 2
2return e.nodeType,e.TEXT_NODE,ae(e.parentNode,t)}function se(e){return"__sn"in e&&-2===e.__sn.id}function le(e,t){if(d(e))return!1;var r=t.getId(e);return!t.has(r)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||le(e.parentNode,t))}function ue(e){return Boolean(e.changedTouches)}function ce(e){void 0===e&&(e=window),"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=function(e){if(!(0 in arguments))throw new TypeError("1 argument is required");do{if(this===e)return!0}while(e=e&&e.parentNode);return!1})}"undefined"!==typeof window&&window.Proxy&&window.Reflect&&(ee=new Proxy(ee,{get:function(e,t,r){return"map"===t&&console.error(Z),Reflect.get(e,t,r)}}));var de=function(){function e(){this.reset()}return e.prototype.add=function(e){var t=this.indexes.get(e.parentId),r={id:e.node.id,mutation:e,children:[],texts:[],attributes:[]};t?(r.parent=t,t.children[r.id]=r):this.tree[r.id]=r,this.indexes.set(r.id,r)},e.prototype.remove=function(e,t){var r=this,n=this.indexes.get(e.parentId),o=this.indexes.get(e.id),i=function(e){r.removeIdSet.add(e);var n=t.getNode(e);null===n||void 0===n||n.childNodes.forEach(function(e){"__sn"in e&&i(e.__sn.id)})},a=function(t){r.removeIdSet.add(t.id),Object.values(t.children).forEach(function(e){return a(e)});var n=r.indexes.get(t.id);if(n){var o=n.parent;o&&(delete n.parent,delete o.children[n.id],r.indexes.delete(e.id))}};o?n?(delete o.parent,delete n.children[o.id],this.indexes.delete(e.id),a(o)):(delete this.tree[o.id],this.indexes.delete(o.id),a(o)):(this.removeNodeMutations.push(e),i(e.id))},e.prototype.text=function(e){var t=this.indexes.get(e.id);t?t.texts.push(e):this.textMutations.push(e)},e.prototype.attribute=function(e){var t=this.indexes.get(e.id);t?t.attributes.push(e):this.attributeMutations.push(e)},e.prototype.scroll=function(e){this.scrollMap.set(e.id,e)},e.prototype.input=function(e){this.inputMap.set(e.id,e)},e.prototype.flush=function(){var e,t,r,n,o=this,i=this,a=i.tree,l=i.removeNodeMutations,u=i.textMutations,c=i.attributeMutations,d={source:j.Mutation,removes:l,texts:u,attributes:c,adds:[]},f=function(e,t){t&&o.removeIdSet.add(e.id),d.texts=d.texts.concat(t?[]:e.texts).filter(function(e){return!o.removeIdSet.has(e.id)}),d.attributes=d.attributes.concat(t?[]:e.attributes).filter(function(e){return!o.removeIdSet.has(e.id)}),o.removeIdSet.has(e.id)||o.removeIdSet.has(e.mutation.parentId)||t?Object.values(e.children).forEach(function(e){return f(e,!0)}):(d.adds.push(e.mutation),e.children&&Object.values(e.children).forEach(function(e){return f(e,!1)}))};Object.values(a).forEach(function(e){return f(e,!1)});try{for(var p=s(this.scrollMap.keys()),h=p.next();!h.done;h=p.next()){var m=h.value;this.removeIdSet.has(m)&&this.scrollMap.delete(m)}}catch(S){e={error:S}}finally{try{h&&!h.done&&(t=p.return)&&t.call(p)}finally{if(e)throw e.error}}try{for(var v=s(this.inputMap.keys()),y=v.next();!y.done;y=v.next()){m=y.value;this.removeIdSet.has(m)&&this.inputMap.delete(m)}}catch(w){r={error:w}}finally{try{y&&!y.done&&(n=v.return)&&n.call(v)}finally{if(r)throw r.error}}var g=new Map(this.scrollMap),b=new Map(this.inputMap);return this.reset(),{mutationData:d,scrollMap:g,inputMap:b}},e.prototype.reset=function(){this.tree=[],this.indexes=new Map,this.removeNodeMutations=[],this.textMutations=[],this.attributeMutations=[],this.removeIdSet=new Set,this.scrollMap=new Map,this.inputMap=new Map},e.prototype.idRemoved=function(e){return this.removeIdSet.has(e)},e}();function fe(e){var t,r,n={},o=function(e,t){var r={value:e,parent:t,children:[]};return n[e.node.id]=r,r},i=[];try{for(var a=s(e),l=a.next();!l.done;l=a.next()){var u=l.value,c=u.nextId,d=u.parentId;if(c&&c in n){var f=n[c];if(f.parent){var p=f.parent.children.indexOf(f);f.parent.children.splice(p,0,o(u,f.parent))}else{p=i.indexOf(f);i.splice(p,0,o(u,null))}}else if(d in n){var h=n[d];h.children.push(o(u,h))}else i.push(o(u,null))}}catch(m){t={error:m}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return i}function pe(e,t){t(e.value);for(var r=e.children.length-1;r>=0;r--)pe(e.children[r],t)}function he(e){return"__sn"in e&&(e.__sn.type===i.Element&&"iframe"===e.__sn.tagName)}function me(e,t){var r,n,o=null===(n=null===(r=e.ownerDocument)||void 0===r?void 0:r.defaultView)||void 0===n?void 0:n.frameElement;if(!o||o===t)return{x:0,y:0,relativeScale:1,absoluteScale:1};var i=o.getBoundingClientRect(),a=me(o,t),s=i.height/o.clientHeight;return{x:i.x*a.relativeScale+a.x,y:i.y*a.relativeScale+a.y,relativeScale:s,absoluteScale:a.absoluteScale*s}}function ve(e){return Boolean(null===e||void 0===e?void 0:e.shadowRoot)}function ye(e){return"__ln"in e}var ge=function(){function e(){this.length=0,this.head=null}return e.prototype.get=function(e){if(e>=this.length)throw new Error("Position outside of list range");for(var t=this.head,r=0;r<e;r++)t=(null===t||void 0===t?void 0:t.next)||null;return t},e.prototype.addNode=function(e){var t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&ye(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&&ye(e.nextSibling)&&e.nextSibling.__ln.previous){r=e.nextSibling.__ln.previous;t.previous=r,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,r&&(r.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;this.length++},e.prototype.removeNode=function(e){var t=e.__ln;
2this.head&&(t.previous?(t.previous.next=t.next,t.next&&(t.next.previous=t.previous)):(this.head=t.next,this.head&&(this.head.previous=null)),e.__ln&&delete e.__ln,this.length--)},e}(),be=function(e,t){return"".concat(e,"@").concat(t)};function Se(e){return"__sn"in e}var we=function(){function e(){var e=this;this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=function(t){t.forEach(e.processMutation),e.emit()},this.emit=function(){var t,r,n,o;if(!e.frozen&&!e.locked){for(var i=[],a=new ge,l=function(t){for(var r=t,n=-2;-2===n;)n=(r=r&&r.nextSibling)&&e.mirror.getId(r);return n},u=function(t){for(var r,n,o,s,u,c=t.getRootNode?null===(r=t.getRootNode())||void 0===r?void 0:r.host:null,f=c;null===(o=null===(n=null===f||void 0===f?void 0:f.getRootNode)||void 0===n?void 0:n.call(f))||void 0===o?void 0:o.host;)f=(null===(u=null===(s=null===f||void 0===f?void 0:f.getRootNode)||void 0===s?void 0:s.call(f))||void 0===u?void 0:u.host)||null;var p=!e.doc.contains(t)&&(null===f||!e.doc.contains(f));if(t.parentNode&&!p){var h=d(t.parentNode)?e.mirror.getId(c):e.mirror.getId(t.parentNode),m=l(t);if(-1===h||-1===m)return a.addNode(t);var v=_(t,{doc:e.doc,map:e.mirror.map,blockClass:e.blockClass,blockSelector:e.blockSelector,maskTextClass:e.maskTextClass,maskTextSelector:e.maskTextSelector,skipChild:!0,inlineStylesheet:e.inlineStylesheet,maskInputOptions:e.maskInputOptions,maskTextFn:e.maskTextFn,maskInputFn:e.maskInputFn,slimDOMOptions:e.slimDOMOptions,recordCanvas:e.recordCanvas,inlineImages:e.inlineImages,onSerialize:function(r){he(r)&&e.iframeManager.addIframe(r),ve(t)&&e.shadowDomManager.addShadowRoot(t.shadowRoot,document)},onIframeLoad:function(t,r){e.iframeManager.attachIframe(t,r),e.shadowDomManager.observeAttachShadow(t)}});v&&i.push({parentId:h,nextId:m,node:v})}};e.mapRemoves.length;)e.mirror.removeNodeFromMap(e.mapRemoves.shift());try{for(var c=s(e.movedSet),f=c.next();!f.done;f=c.next()){var p=f.value;Ce(e.removes,p,e.mirror)&&!e.movedSet.has(p.parentNode)||u(p)}}catch(C){t={error:C}}finally{try{f&&!f.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}try{for(var h=s(e.addedSet),m=h.next();!m.done;m=h.next()){p=m.value;Te(e.droppedSet,p)||Ce(e.removes,p,e.mirror)?Te(e.movedSet,p)?u(p):e.droppedSet.add(p):u(p)}}catch(T){n={error:T}}finally{try{m&&!m.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}for(var v=null;a.length;){var y=null;if(v){var g=e.mirror.getId(v.value.parentNode),b=l(v.value);-1!==g&&-1!==b&&(y=v)}if(!y)for(var S=a.length-1;S>=0;S--){var w=a.get(S);if(w){g=e.mirror.getId(w.value.parentNode),b=l(w.value);if(-1!==g&&-1!==b){y=w;break}}}if(!y){for(;a.head;)a.removeNode(a.head.value);break}v=y.previous,a.removeNode(y.value),u(y.value)}var x={texts:e.texts.map(function(t){return{id:e.mirror.getId(t.node),value:t.value}}).filter(function(t){return e.mirror.has(t.id)}),attributes:e.attributes.map(function(t){return{id:e.mirror.getId(t.node),attributes:t.attributes}}).filter(function(t){return e.mirror.has(t.id)}),removes:e.removes,adds:i};(x.texts.length||x.attributes.length||x.removes.length||x.adds.length)&&(e.texts=[],e.attributes=[],e.removes=[],e.addedSet=new Set,e.movedSet=new Set,e.droppedSet=new Set,e.movedMap={},e.mutationCb(x))}},this.processMutation=function(t){var r,n,o,i;if(!se(t.target))switch(t.type){case"characterData":var a=t.target.textContent;ae(t.target,e.blockClass)||a===t.oldValue||e.texts.push({value:N(t.target,e.maskTextClass,e.maskTextSelector)&&a?e.maskTextFn?e.maskTextFn(a):a.replace(/[\S]/g,"*"):a,node:t.target});break;case"attributes":var l=t.target;a=t.target.getAttribute(t.attributeName);if("value"===t.attributeName&&(a=f({maskInputOptions:e.maskInputOptions,tagName:t.target.tagName,type:t.target.getAttribute("type"),value:a,maskInputFn:e.maskInputFn})),ae(t.target,e.blockClass)||a===t.oldValue)return;var u=e.attributes.find(function(e){return e.node===t.target});if(u||(u={node:t.target,attributes:{}},e.attributes.push(u)),"style"===t.attributeName){var c=e.doc.createElement("span");t.oldValue&&c.setAttribute("style",t.oldValue),void 0!==u.attributes.style&&null!==u.attributes.style||(u.attributes.style={});var p=u.attributes.style;try{for(var h=s(Array.from(l.style)),m=h.next();!m.done;m=h.next()){var v=m.value,y=l.style.getPropertyValue(v),g=l.style.getPropertyPriority(v);y===c.style.getPropertyValue(v)&&g===c.style.getPropertyPriority(v)||(p[v]=""===g?y:[y,g])}}catch(w){r={error:w}}finally{try{m&&!m.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}try{for(var b=s(Array.from(c.style)),S=b.next();!S.done;S=b.next()){v=S.value;""===l.style.getPropertyValue(v)&&(p[v]=!1)}}catch(x){o={error:x}}finally{try{S&&!S.done&&(i=b.return)&&i.call(b)}finally{if(o)throw o.error}}}else u.attributes[t.attributeName]=M(e.doc,t.target.tagName,t.attributeName,a);break;
2case"childList":t.addedNodes.forEach(function(r){return e.genAdds(r,t.target)}),t.removedNodes.forEach(function(r){var n=e.mirror.getId(r),o=d(t.target)?e.mirror.getId(t.target.host):e.mirror.getId(t.target);ae(t.target,e.blockClass)||se(r)||(e.addedSet.has(r)?(xe(e.addedSet,r),e.droppedSet.add(r)):e.addedSet.has(t.target)&&-1===n||le(t.target,e.mirror)||(e.movedSet.has(r)&&e.movedMap[be(n,o)]?xe(e.movedSet,r):e.removes.push({parentId:o,id:n,isShadow:!!d(t.target)||void 0})),e.mapRemoves.push(r))})}},this.genAdds=function(t,r){if(!r||!ae(r,e.blockClass)){if(Se(t)){if(se(t))return;e.movedSet.add(t);var n=null;r&&Se(r)&&(n=r.__sn.id),n&&(e.movedMap[be(t.__sn.id,n)]=!0)}else e.addedSet.add(t),e.droppedSet.delete(t);ae(t,e.blockClass)||t.childNodes.forEach(function(t){return e.genAdds(t)})}}}return e.prototype.init=function(e){var t=this;["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","recordCanvas","inlineImages","slimDOMOptions","doc","mirror","iframeManager","shadowDomManager","canvasManager"].forEach(function(r){t[r]=e[r]})},e.prototype.freeze=function(){this.frozen=!0,this.canvasManager.freeze()},e.prototype.unfreeze=function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()},e.prototype.isFrozen=function(){return this.frozen},e.prototype.lock=function(){this.locked=!0,this.canvasManager.lock()},e.prototype.unlock=function(){this.locked=!1,this.canvasManager.unlock(),this.emit()},e.prototype.reset=function(){this.shadowDomManager.reset(),this.canvasManager.reset()},e}();function xe(e,t){e.delete(t),t.childNodes.forEach(function(t){return xe(e,t)})}function Ce(e,t,r){var n=t.parentNode;if(!n)return!1;var o=r.getId(n);return!!e.some(function(e){return e.id===o})||Ce(e,n,r)}function Te(e,t){var r=t.parentNode;return!!r&&(!!e.has(r)||Te(e,r))}const Ee=we;var ke=[],Ie="undefined"!==typeof CSSGroupingRule,Me="undefined"!==typeof CSSMediaRule,Ne="undefined"!==typeof CSSSupportsRule,Oe="undefined"!==typeof CSSConditionRule;function Re(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];return e.target}catch(mt){return e.target}}function _e(e,t){var r,n,o=new Ee;ke.push(o),o.init(e);var i=window.MutationObserver||window.__rrMutationObserver,a=null===(n=null===(r=null===window||void 0===window?void 0:window.Zone)||void 0===r?void 0:r.__symbol__)||void 0===n?void 0:n.call(r,"MutationObserver");a&&window[a]&&(i=window[a]);var s=new i(o.processMutations.bind(o));return s.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),s}function Le(e){var t=e.mouseInteractionCb,r=e.doc,n=e.mirror,o=e.blockClass,i=e.sampling;if(!1===i.mouseInteraction)return function(){};var a=!0===i.mouseInteraction||void 0===i.mouseInteraction?{}:i.mouseInteraction,s=[];return Object.keys(U).filter(function(e){return Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==a[e]}).forEach(function(e){var i=e.toLowerCase(),a=function(e){return function(r){var i=Re(r);if(!ae(i,o)){var a=ue(r)?r.changedTouches[0]:r;if(a){var s=n.getId(i),l=a.clientX,u=a.clientY;t({type:U[e],id:s,x:l,y:u})}}}}(e);s.push(J(i,a,r))}),function(){s.forEach(function(e){return e()})}}function Ae(e){var t=e.scrollCb,r=e.doc,n=e.mirror,o=e.blockClass;return J("scroll",te(function(e){var i=Re(e);if(i&&!ae(i,o)){var a=n.getId(i);if(i===r){var s=r.scrollingElement||r.documentElement;t({id:a,x:s.scrollLeft,y:s.scrollTop})}else t({id:a,x:i.scrollLeft,y:i.scrollTop})}},e.sampling.scroll||100),r)}function De(e,t){var r=a({},e);return t||delete r.userTriggered,r}var Fe=["INPUT","TEXTAREA","SELECT"],Pe=new WeakMap;function We(e){return function(e,t){if(Ie&&e.parentRule instanceof CSSGroupingRule||Me&&e.parentRule instanceof CSSMediaRule||Ne&&e.parentRule instanceof CSSSupportsRule||Oe&&e.parentRule instanceof CSSConditionRule){var r=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(r)}else{r=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(r)}return t}(e,[])}function je(e,t){var r,n;void 0===t&&(t={});var o=e.doc.defaultView;if(!o)return function(){};!function(e,t){var r=e.mutationCb,n=e.mousemoveCb,o=e.mouseInteractionCb,i=e.scrollCb,a=e.viewportResizeCb,s=e.inputCb,c=e.mediaInteractionCb,d=e.styleSheetRuleCb,f=e.styleDeclarationCb,p=e.canvasMutationCb,h=e.fontCb;e.mutationCb=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t.mutation&&t.mutation.apply(t,u([],l(e),!1)),r.apply(void 0,u([],l(e),!1))},e.mousemoveCb=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];t.mousemove&&t.mousemove.apply(t,u([],l(e),!1)),n.apply(void 0,u([],l(e),!1))},e.mouseInteractionCb=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];t.mouseInteraction&&t.mouseInteraction.apply(t,u([],l(e),!1)),o.apply(void 0,u([],l(e),!1))},e.scrollCb=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];t.scroll&&t.scroll.apply(t,u([],l(e),!1)),i.apply(void 0,u([],l(e),!1))},e.viewportResizeCb=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];t.viewportResize&&t.viewportResize.apply(t,u([],l(e),!1)),a.apply(void 0,u([],l(e),!1))},e.inputCb=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];t.input&&t.input.apply(t,u([],l(e),!1)),s.apply(void 0,u([],l(e),!1))},e.mediaInteractionCb=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];t.mediaInteaction&&t.mediaInteaction.apply(t,u([],l(e),!1)),c.apply(void 0,u([],l(e),!1))},e.styleSheetRuleCb=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];t.styleSheetRule&&t.styleSheetRule.apply(t,u([],l(e),!1)),d.apply(void 0,u([],l(e),!1))},e.styleDeclarationCb=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];t.styleDeclaration&&t.styleDeclaration.apply(t,u([],l(e),!1)),f.apply(void 0,u([],l(e),!1))},e.canvasMutationCb=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];t.canvasMutation&&t.canvasMutation.apply(t,u([],l(e),!1)),p.apply(void 0,u([],l(e),!1))},e.fontCb=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];t.font&&t.font.apply(t,u([],l(e),!1)),h.apply(void 0,u([],l(e),!1))}}(e,t);var i=_e(e,e.doc),c=function(e){var t=e.mousemoveCb,r=e.sampling,n=e.doc,o=e.mirror;if(!1===r.mousemove)return function(){};var i,a="number"===typeof r.mousemove?r.mousemove:50,s="number"===typeof r.mousemoveCallback?r.mousemoveCallback:500,l=[],u=te(function(e){var r=Date.now()-i;t(l.map(function(e){return e.timeOffset-=r,e}),e),l=[],i=null},s),c=te(function(e){var t=Re(e),r=ue(e)?e.changedTouches[0]:e,n=r.clientX,a=r.clientY;i||(i=Date.now()),l.push({x:n,y:a,id:o.getId(t),timeOffset:Date.now()-i}),u("undefined"!==typeof DragEvent&&e instanceof DragEvent?j.Drag:e instanceof MouseEvent?j.MouseMove:j.TouchMove)},a,{trailing:!1}),d=[J("mousemove",c,n),J("touchmove",c,n),J("drag",c,n)];return function(){d.forEach(function(e){return e()})}}(e),d=Le(e),p=Ae(e),h=function(e){var t=e.viewportResizeCb,r=-1,n=-1;return J("resize",te(function(){var e=oe(),o=ie();r===e&&n===o||(t({width:Number(o),height:Number(e)}),r=e,n=o)},200),window)}(e),m=function(e){var t=e.inputCb,r=e.doc,n=e.mirror,o=e.blockClass,i=e.ignoreClass,s=e.maskInputOptions,c=e.maskInputFn,d=e.sampling,p=e.userTriggeredOnInput;function h(e){var t=Re(e),n=e.isTrusted;if(t&&"OPTION"===t.tagName&&(t=t.parentElement),t&&t.tagName&&!(Fe.indexOf(t.tagName)<0)&&!ae(t,o)){var a=t.type;if(!t.classList.contains(i)){var l=t.value,u=!1;"radio"===a||"checkbox"===a?u=t.checked:(s[t.tagName.toLowerCase()]||s[a])&&(l=f({maskInputOptions:s,tagName:t.tagName,type:a,value:l,maskInputFn:c})),m(t,De({text:l,isChecked:u,userTriggered:n},p));var d=t.name;"radio"===a&&d&&u&&r.querySelectorAll('input[type="radio"][name="'.concat(d,'"]')).forEac
2h(function(e){e!==t&&m(e,De({text:e.value,isChecked:!u,userTriggered:!1},p))})}}}function m(e,r){var o=Pe.get(e);if(!o||o.text!==r.text||o.isChecked!==r.isChecked){Pe.set(e,r);var i=n.getId(e);t(a(a({},r),{id:i}))}}var v=("last"===d.input?["change"]:["input","change"]).map(function(e){return J(e,h,r)}),y=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value"),g=[[HTMLInputElement.prototype,"value"],[HTMLInputElement.prototype,"checked"],[HTMLSelectElement.prototype,"value"],[HTMLTextAreaElement.prototype,"value"],[HTMLSelectElement.prototype,"selectedIndex"],[HTMLOptionElement.prototype,"selected"]];return y&&y.set&&v.push.apply(v,u([],l(g.map(function(e){return re(e[0],e[1],{set:function(){h({target:this})}})})),!1)),function(){v.forEach(function(e){return e()})}}(e),v=function(e){var t=e.mediaInteractionCb,r=e.blockClass,n=e.mirror,o=e.sampling,i=function(e){return te(function(o){var i=Re(o);if(i&&!ae(i,r)){var a=i,s=a.currentTime,l=a.volume,u=a.muted;t({type:e,id:n.getId(i),currentTime:s,volume:l,muted:u})}},o.media||500)},a=[J("play",i(0)),J("pause",i(1)),J("seeked",i(2)),J("volumechange",i(3))];return function(){a.forEach(function(e){return e()})}}(e),y=function(e,t){var r=e.styleSheetRuleCb,n=e.mirror,o=t.win,i=o.CSSStyleSheet.prototype.insertRule;o.CSSStyleSheet.prototype.insertRule=function(e,t){var o=n.getId(this.ownerNode);return-1!==o&&r({id:o,adds:[{rule:e,index:t}]}),i.apply(this,arguments)};var a=o.CSSStyleSheet.prototype.deleteRule;o.CSSStyleSheet.prototype.deleteRule=function(e){var t=n.getId(this.ownerNode);return-1!==t&&r({id:t,removes:[{index:e}]}),a.apply(this,arguments)};var s={};Ie?s.CSSGroupingRule=o.CSSGroupingRule:(Me&&(s.CSSMediaRule=o.CSSMediaRule),Oe&&(s.CSSConditionRule=o.CSSConditionRule),Ne&&(s.CSSSupportsRule=o.CSSSupportsRule));var c={};return Object.entries(s).forEach(function(e){var t=l(e,2),o=t[0],i=t[1];c[o]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=function(e,t){var i=n.getId(this.parentStyleSheet.ownerNode);return-1!==i&&r({id:i,adds:[{rule:e,index:u(u([],l(We(this)),!1),[t||0],!1)}]}),c[o].insertRule.apply(this,arguments)},i.prototype.deleteRule=function(e){var t=n.getId(this.parentStyleSheet.ownerNode);return-1!==t&&r({id:t,removes:[{index:u(u([],l(We(this)),!1),[e],!1)}]}),c[o].deleteRule.apply(this,arguments)}}),function(){o.CSSStyleSheet.prototype.insertRule=i,o.CSSStyleSheet.prototype.deleteRule=a,Object.entries(s).forEach(function(e){var t=l(e,2),r=t[0],n=t[1];n.prototype.insertRule=c[r].insertRule,n.prototype.deleteRule=c[r].deleteRule})}}(e,{win:o}),g=function(e,t){var r=e.styleDeclarationCb,n=e.mirror,o=t.win,i=o.CSSStyleDeclaration.prototype.setProperty;o.CSSStyleDeclaration.prototype.setProperty=function(e,t,o){var a,s,l=n.getId(null===(s=null===(a=this.parentRule)||void 0===a?void 0:a.parentStyleSheet)||void 0===s?void 0:s.ownerNode);return-1!==l&&r({id:l,set:{property:e,value:t,priority:o},index:We(this.parentRule)}),i.apply(this,arguments)};var a=o.CSSStyleDeclaration.prototype.removeProperty;return o.CSSStyleDeclaration.prototype.removeProperty=function(e){var t,o,i=n.getId(null===(o=null===(t=this.parentRule)||void 0===t?void 0:t.parentStyleSheet)||void 0===o?void 0:o.ownerNode);return-1!==i&&r({id:i,remove:{property:e},index:We(this.parentRule)}),a.apply(this,arguments)},function(){o.CSSStyleDeclaration.prototype.setProperty=i,o.CSSStyleDeclaration.prototype.removeProperty=a}}(e,{win:o}),b=e.collectFonts?function(e){var t=e.fontCb,r=e.doc,n=r.defaultView;if(!n)return function(){};var o=[],i=new WeakMap,a=n.FontFace;n.FontFace=function(e,t,r){var n=new a(e,t,r);return i.set(n,{family:e,buffer:"string"!==typeof t,descriptors:r,fontSource:"string"===typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n};var s=ne(r.fonts,"add",function(e){return function(r){return setTimeout(function(){var e=i.get(r);e&&(t(e),i.delete(r))},0),e.apply(this,[r])}});return o.push(function(){n.FontFace=a}),o.push(s),function(){o.forEach(function(e){return e()})}}(e):function(){},S=[];try{for(var w=s(e.plugins),x=w.next();!x.done;x=w.next()){var C=x.value;S.push(C.observer(C.callback,o,C.options))}}catch(T){r={error:T}}finally{try{x&&!x.done&&(n=w.return)&&n.call(w)}finally{if(r)throw r.error}}return function(){ke.forEach(function(e){return e.reset()}
2),i.disconnect(),c(),d(),p(),h(),m(),v(),y(),g(),b(),S.forEach(function(e){return e()})}}var Ue=function(){function e(e){this.iframes=new WeakMap,this.mutationCb=e.mutationCb}return e.prototype.addIframe=function(e){this.iframes.set(e,!0)},e.prototype.addLoadListener=function(e){this.loadListener=e},e.prototype.attachIframe=function(e,t){var r;this.mutationCb({adds:[{parentId:e.__sn.id,nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),null===(r=this.loadListener)||void 0===r||r.call(this,e)},e}(),ze=function(){function e(e){this.restorePatches=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror;var t=this;this.restorePatches.push(ne(HTMLElement.prototype,"attachShadow",function(e){return function(){var r=e.apply(this,arguments);return this.shadowRoot&&t.addShadowRoot(this.shadowRoot,this.ownerDocument),r}}))}return e.prototype.addShadowRoot=function(e,t){_e(a(a({},this.bypassOptions),{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e),Ae(a(a({},this.bypassOptions),{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))},e.prototype.observeAttachShadow=function(e){if(e.contentWindow){var t=this;this.restorePatches.push(ne(e.contentWindow.HTMLElement.prototype,"attachShadow",function(r){return function(){var n=r.apply(this,arguments);return this.shadowRoot&&t.addShadowRoot(this.shadowRoot,e.contentDocument),n}}))}},e.prototype.reset=function(){this.restorePatches.forEach(function(e){return e()})},e}();const Be=function(e,t,r,n){var o,i,a=[],c=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype),d=function(n){try{if("function"!==typeof t.CanvasRenderingContext2D.prototype[n])return"continue";var o=ne(t.CanvasRenderingContext2D.prototype,n,function(t){return function(){for(var o=this,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];return ae(this.canvas,r)||setTimeout(function(){var t=u([],l(i),!1);if("drawImage"===n&&t[0]&&t[0]instanceof HTMLCanvasElement){var r=t[0],a=r.getContext("2d"),s=null===a||void 0===a?void 0:a.getImageData(0,0,r.width,r.height),c=null===s||void 0===s?void 0:s.data;t[0]=JSON.stringify(c)}e(o.canvas,{type:z["2D"],property:n,args:t})},0),t.apply(this,i)}});a.push(o)}catch(gt){var i=re(t.CanvasRenderingContext2D.prototype,n,{set:function(t){e(this.canvas,{type:z["2D"],property:n,args:[t],setter:!0})}});a.push(i)}};try{for(var f=s(c),p=f.next();!p.done;p=f.next()){d(p.value)}}catch(h){o={error:h}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}return function(){a.forEach(function(e){return e()})}};const He=function(e,t){var r=[];try{var n=ne(e.HTMLCanvasElement.prototype,"getContext",function(e){return function(r){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return ae(this,t)||"__context"in this||(this.__context=r),e.apply(this,u([r],l(n),!1))}});r.push(n)}catch(mt){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){r.forEach(function(e){return e()})}};for(var Ve="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ge="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Ye=0;Ye<64;Ye++)Ge[Ve.charCodeAt(Ye)]=Ye;var Xe=new Map;var qe=function(e,t,r){if(e&&($e(e,t)||"object"===typeof e)){var n=function(e,t){var r=Xe.get(e);return r||(r=new Map,Xe.set(e,r)),r.has(t)||r.set(t,[]),r.get(t)}(r,e.constructor.name),o=n.indexOf(e);return-1===o&&(o=n.length,n.push(e)),o}};function Qe(e,t,r){if(e instanceof Array)return e.map(function(e){return Qe(e,t,r)});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 n=e.constructor.name,o=function(e){var t,r=new Uint8Array(e),n=r.length,o="";for(t=0;t<n;t+=3)o+=Ve[r[t]>>2],o+=Ve[(3&r[t])<<4|r[t+1]>>4],o+=Ve[(15&r[t+1])<<2|r[t+2]>>6],o+=Ve[63&r[t+2]];return n%3===2?o=o.substring(0,o.length-1)+"=":n%3===1&&(o=o.substring(0,o.length-2)+"=="),o}(e);return{rr_type:n,base64:o}}return e instanceof DataView?{rr_type:e.constructor.name,args:[Qe(e.buffer,t,r),e.byteOffset,e.byteLength]}:e instanceof HTMLImageElement?{rr_type:e.constructor.name,src:e.src}:e instanceof ImageData?{rr_type:e.constructor.name,args:[Qe(e.data,t,r),e.width,e.height]}:$e(e,t)||"object"===typeof e?{rr_type:e.constructor.name,index:qe(e,t,r)}:e}var $e=function(e,t){var r=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(function(e){return"function"===typeof t[e]}
2);return Boolean(r.find(function(r){return e instanceof t[r]}))};function Je(e,t,r,n,o,i){var a,c,d=[],f=Object.getOwnPropertyNames(e),p=function(a){try{if("function"!==typeof e[a])return"continue";var s=ne(e,a,function(s){return function(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];var f=s.apply(this,c);if(qe(f,i,e),!ae(this.canvas,n)){o.getId(this.canvas);var p=function(e,t,r){return u([],l(e),!1).map(function(e){return Qe(e,t,r)})}(u([],l(c),!1),i,e),h={type:t,property:a,args:p};r(this.canvas,h)}return f}});d.push(s)}catch(gt){var c=re(e,a,{set:function(e){r(this.canvas,{type:t,property:a,args:[e],setter:!0})}});d.push(c)}};try{for(var h=s(f),m=h.next();!m.done;m=h.next()){p(m.value)}}catch(v){a={error:v}}finally{try{m&&!m.done&&(c=h.return)&&c.call(h)}finally{if(a)throw a.error}}return d}const Ke=function(e,t,r,n){var o=[];return o.push.apply(o,u([],l(Je(t.WebGLRenderingContext.prototype,z.WebGL,e,r,n,t)),!1)),"undefined"!==typeof t.WebGL2RenderingContext&&o.push.apply(o,u([],l(Je(t.WebGL2RenderingContext.prototype,z.WebGL2,e,r,n,t)),!1)),function(){o.forEach(function(e){return e()})}};var Ze,et,tt=function(){function e(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=function(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)},this.mutationCb=e.mutationCb,this.mirror=e.mirror,!0===e.recordCanvas&&this.initCanvasMutationObserver(e.win,e.blockClass)}return e.prototype.reset=function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()},e.prototype.freeze=function(){this.frozen=!0},e.prototype.unfreeze=function(){this.frozen=!1},e.prototype.lock=function(){this.locked=!0},e.prototype.unlock=function(){this.locked=!1},e.prototype.initCanvasMutationObserver=function(e,t){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var r=He(e,t),n=Be(this.processMutation.bind(this),e,t,this.mirror),o=Ke(this.processMutation.bind(this),e,t,this.mirror);this.resetObservers=function(){r(),n(),o()}},e.prototype.startPendingCanvasMutationFlusher=function(){var e=this;requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},e.prototype.startRAFTimestamping=function(){var e=this,t=function(r){e.rafStamps.latestId=r,requestAnimationFrame(t)};requestAnimationFrame(t)},e.prototype.flushPendingCanvasMutations=function(){var e=this;this.pendingCanvasMutations.forEach(function(t,r){var n=e.mirror.getId(r);e.flushPendingCanvasMutationFor(r,n)}),requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},e.prototype.flushPendingCanvasMutationFor=function(e,t){if(!this.frozen&&!this.locked){var r=this.pendingCanvasMutations.get(e);if(r&&-1!==t){var n=r.map(function(e){e.type;var t=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["type"]);return t}),o=r[0].type;this.mutationCb({id:t,type:o,commands:n}),this.pendingCanvasMutations.delete(e)}}},e}();function rt(e){return a(a({},e),{timestamp:Date.now()})}var nt={map:{},getId:function(e){return e&&e.__sn?e.__sn.id:-1},getNode:function(e){return this.map[e]||null},removeNodeFromMap:function(e){var t=this,r=e.__sn&&e.__sn.id;delete this.map[r],e.childNodes&&e.childNodes.forEach(function(e){return t.removeNodeFromMap(e)})},has:function(e){return this.map.hasOwnProperty(e)},reset:function(){this.map={}}};function ot(e){void 0===e&&(e={});var t=e.emit,r=e.checkoutEveryNms,n=e.checkoutEveryNth,o=e.blockClass,i=void 0===o?"rr-block":o,u=e.blockSelector,c=void 0===u?null:u,d=e.ignoreClass,f=void 0===d?"rr-ignore":d,p=e.maskTextClass,h=void 0===p?"rr-mask":p,m=e.maskTextSelector,v=void 0===m?null:m,y=e.inlineStylesheet,g=void 0===y||y,b=e.maskAllInputs,S=e.maskInputOptions,w=e.slimDOMOptions,x=e.maskInputFn,C=e.maskTextFn,T=e.hooks,E=e.packFn,k=e.sampling,I=void 0===k?{}:k,M=e.mousemoveWait,N=e.recordCanvas,O=void 0!==N&&N,R=e.userTriggeredOnInput,L=void 0!==R&&R,A=e.collectFonts,D=void 0!==A&&A,F=e.inlineImages,P=void 0!==F&&F,U=e.plugins,z=e.keepIframeSrcFn,B=void 0===z?function(){return!1}:z;if(!t)throw new Error("emit function is required");void 0!==M&&void 0===I.mousemove&&(I.mousemove=M);var H,V=!0===b?{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!==S?S:{password:!0},G=!0===w||"all"===w?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===w,headMetaDescKeywords:"all"===w}:w||{};ce();var Y=0;Ze=function(e,o){var i;if(!(null===(i=ke[0])||void 0===i?void 0:i.isFrozen())||e.type===W.FullSnapshot||e.type===W.IncrementalSnapshot&&e.data.source===j.Mutation||ke.forEach(function(e){return e.unfreeze()}),t(function(e){var t,r;try{for(var n=s(U||[]),o=n.next();!o.done;o=n.next()){var i=o.value;i.eventProcessor&&(e=i.eventProcessor(e))}}catch(a){t={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return E&&(e=E(e)),e}(e),o),e.type===W.FullSnapshot)H=e,Y=0;else if(e.type===W.IncrementalSnapshot){if(e.data.source===j.Mutation&&e.data.isAttachIframe)return;Y++;var a=n&&Y>=n,l=r&&e.timestamp-H.timestamp>r;(a||l)&&et(!0)}};var X=function(e){Ze(rt({type:W.IncrementalSnapshot,data:a({source:j.Mutation},e)}))},q=function(e){return Ze(rt({type:W.IncrementalSnapshot,data:a({source:j.Scroll},e)}))},Q=function(e){return Ze(rt({type:W.IncrementalSnapshot,data:a({source:j.CanvasMutation},e)}))},$=new Ue({mutationCb:X}),K=new tt({recordCanvas:O,mutationCb:Q,win:window,blockClass:i,mirror:nt}),Z=new ze({mutationCb:X,scrollCb:q,bypassOptions:{blockClass:i,blockSelector:c,maskTextClass:h,maskTextSelector:v,inlineStylesheet:g,maskInputOptions:V,maskTextFn:C,maskInputFn:x,recordCanvas:O,inlineImages:P,sampling:I,slimDOMOptions:G,iframeManager:$,canvasManager:K},mirror:nt});et=function(e){var t,r,n,o;void 0===e&&(e=!1),Ze(rt({type:W.Meta,data:{href:window.location.href,width:ie(),height:oe()}}),e),ke.forEach(function(e){return e.lock()});var a=l(function(e,t){var r=t||{},n=r.blockClass,o=void 0===n?"rr-block":n,i=r.blockSelector,a=void 0===i?null:i,s=r.maskTextClass,l=void 0===s?"rr-mask":s,u=r.maskTextSelector,c=void 0===u?null:u,d=r.inlineStylesheet,f=void 0===d||d,p=r.inlineImages,h=void 0!==p&&p,m=r.recordCanvas,v=void 0!==m&&m,y=r.maskAllInputs,g=void 0!==y&&y,b=r.maskTextFn,S=r.maskInputFn,w=r.slimDOM,x=void 0!==w&&w,C=r.dataURLOptions,T=r.preserveWhiteSpace,E=r.onSerialize,k=r.onIframeLoad,I=r.iframeLoadTimeout,M=r.keepIframeSrcFn,N={};return[_(e,{doc:e,map:N,blockClass:o,blockSelector:a,maskTextClass:l,maskTextSelector:c,skipChild:!1,inlineStylesheet:f,maskInputOptions:!0===g?{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===g?{password:!0}:g,maskTextFn:b,maskInputFn:S,slimDOMOptions:!0===x||"all"===x?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===x,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}
2:!1===x?{}:x,dataURLOptions:C,inlineImages:h,recordCanvas:v,preserveWhiteSpace:T,onSerialize:E,onIframeLoad:k,iframeLoadTimeout:I,keepIframeSrcFn:void 0===M?function(){return!1}:M}),N]}(document,{blockClass:i,blockSelector:c,maskTextClass:h,maskTextSelector:v,inlineStylesheet:g,maskAllInputs:V,maskTextFn:C,slimDOM:G,recordCanvas:O,inlineImages:P,onSerialize:function(e){he(e)&&$.addIframe(e),ve(e)&&Z.addShadowRoot(e.shadowRoot,document)},onIframeLoad:function(e,t){$.attachIframe(e,t),Z.observeAttachShadow(e)},keepIframeSrcFn:B}),2),s=a[0],u=a[1];if(!s)return console.warn("Failed to snapshot the document");nt.map=u,Ze(rt({type:W.FullSnapshot,data:{node:s,initialOffset:{left:void 0!==window.pageXOffset?window.pageXOffset:(null===document||void 0===document?void 0:document.documentElement.scrollLeft)||(null===(r=null===(t=null===document||void 0===document?void 0:document.body)||void 0===t?void 0:t.parentElement)||void 0===r?void 0:r.scrollLeft)||(null===document||void 0===document?void 0:document.body.scrollLeft)||0,top:void 0!==window.pageYOffset?window.pageYOffset:(null===document||void 0===document?void 0:document.documentElement.scrollTop)||(null===(o=null===(n=null===document||void 0===document?void 0:document.body)||void 0===n?void 0:n.parentElement)||void 0===o?void 0:o.scrollTop)||(null===document||void 0===document?void 0:document.body.scrollTop)||0}}})),ke.forEach(function(e){return e.unlock()})};try{var ee=[];ee.push(J("DOMContentLoaded",function(){Ze(rt({type:W.DomContentLoaded,data:{}}))}));var te=function(e){var t;return je({mutationCb:X,mousemoveCb:function(e,t){return Ze(rt({type:W.IncrementalSnapshot,data:{source:t,positions:e}}))},mouseInteractionCb:function(e){return Ze(rt({type:W.IncrementalSnapshot,data:a({source:j.MouseInteraction},e)}))},scrollCb:q,viewportResizeCb:function(e){return Ze(rt({type:W.IncrementalSnapshot,data:a({source:j.ViewportResize},e)}))},inputCb:function(e){return Ze(rt({type:W.IncrementalSnapshot,data:a({source:j.Input},e)}))},mediaInteractionCb:function(e){return Ze(rt({type:W.IncrementalSnapshot,data:a({source:j.MediaInteraction},e)}))},styleSheetRuleCb:function(e){return Ze(rt({type:W.IncrementalSnapshot,data:a({source:j.StyleSheetRule},e)}))},styleDeclarationCb:function(e){return Ze(rt({type:W.IncrementalSnapshot,data:a({source:j.StyleDeclaration},e)}))},canvasMutationCb:Q,fontCb:function(e){return Ze(rt({type:W.IncrementalSnapshot,data:a({source:j.Font},e)}))},blockClass:i,ignoreClass:f,maskTextClass:h,maskTextSelector:v,maskInputOptions:V,inlineStylesheet:g,sampling:I,recordCanvas:O,inlineImages:P,userTriggeredOnInput:L,collectFonts:D,doc:e,maskInputFn:x,maskTextFn:C,blockSelector:c,slimDOMOptions:G,mirror:nt,iframeManager:$,shadowDomManager:Z,canvasManager:K,plugins:(null===(t=null===U||void 0===U?void 0:U.filter(function(e){return e.observer}))||void 0===t?void 0:t.map(function(e){return{observer:e.observer,options:e.options,callback:function(t){return Ze(rt({type:W.Plugin,data:{plugin:e.name,payload:t}}))}}}))||[]},T)};$.addLoadListener(function(e){ee.push(te(e.contentDocument))});var re=function(){et(),ee.push(te(document))};return"interactive"===document.readyState||"complete"===document.readyState?re():ee.push(J("load",function(){Ze(rt({type:W.Load,data:{}})),re()},window)),function(){ee.forEach(function(e){return e()})}}catch(ne){console.warn(ne)}}ot.addCustomEvent=function(e,t){if(!Ze)throw new Error("please add custom event after start recording");Ze(rt({type:W.Custom,data:{tag:e,payload:t}}))},ot.freezePage=function(){ke.forEach(function(e){return e.freeze()})},ot.takeFullSnapshot=function(e){if(!et)throw new Error("please take full snapshot after start recording");et(e)},ot.mirror=nt;const it=ot;var at=it.addCustomEvent,st=it.freezePage,lt=Uint8Array,ut=Uint16Array,ct=Uint32Array,dt=new lt([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]),ft=new lt([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]),pt=new lt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ht=function(e,t){for(var r=new ut(31),n=0;n<31;++n)r[n]=t+=1<<e[n-1];var o=new ct(r[30]);for(n=1;n<30;++n)for(var i=r[n];i<r[n+1];++i)o[i]=i-r[n]<<5|n;return[r,o]},mt=ht(dt,2),vt=mt[0],yt=mt[1];vt[28]=258,yt[258]=28;for(var gt=ht(ft,0),bt=gt[0],St=gt[1],wt=new ut(32768),xt=0;xt<32768;++xt){var Ct=(43690&xt)>>>1|(21845&xt)<<1;Ct=(61680&(Ct=(52428&Ct)>>>2|(13107&Ct)<<2))>>>
vendor: 6,092 bytes, line 2
24|(3855&Ct)<<4,wt[xt]=((65280&Ct)>>>8|(255&Ct)<<8)>>>1}var Tt=function(e,t,r){for(var n=e.length,o=0,i=new ut(t);o<n;++o)++i[e[o]-1];var a,s=new ut(t);for(o=0;o<t;++o)s[o]=s[o-1]+i[o-1]<<1;if(r){a=new ut(1<<t);var l=15-t;for(o=0;o<n;++o)if(e[o])for(var u=o<<4|e[o],c=t-e[o],d=s[e[o]-1]++<<c,f=d|(1<<c)-1;d<=f;++d)a[wt[d]>>>l]=u}else for(a=new ut(n),o=0;o<n;++o)a[o]=wt[s[e[o]-1]++]>>>15-e[o];return a},Et=new lt(288);for(xt=0;xt<144;++xt)Et[xt]=8;for(xt=144;xt<256;++xt)Et[xt]=9;for(xt=256;xt<280;++xt)Et[xt]=7;for(xt=280;xt<288;++xt)Et[xt]=8;var kt=new lt(32);for(xt=0;xt<32;++xt)kt[xt]=5;var It=Tt(Et,9,0),Mt=Tt(Et,9,1),Nt=Tt(kt,5,0),Ot=Tt(kt,5,1),Rt=function(e){for(var t=e[0],r=1;r<e.length;++r)e[r]>t&&(t=e[r]);return t},_t=function(e,t,r){var n=t/8|0;return(e[n]|e[n+1]<<8)>>>(7&t)&r},Lt=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>>(7&t)},At=function(e){return(e/8|0)+(7&e&&1)},Dt=function(e,t,r){(null==t||t<0)&&(t=0),(null==r||r>e.length)&&(r=e.length);var n=new(e instanceof ut?ut:e instanceof ct?ct:lt)(r-t);return n.set(e.subarray(t,r)),n},Ft=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>>8},Pt=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},Wt=function(e,t){for(var r=[],n=0;n<e.length;++n)e[n]&&r.push({s:n,f:e[n]});var o=r.length,i=r.slice();if(!o)return[new lt(0),0];if(1==o){var a=new lt(r[0].s+1);return a[r[0].s]=1,[a,1]}r.sort(function(e,t){return e.f-t.f}),r.push({s:-1,f:25001});var s=r[0],l=r[1],u=0,c=1,d=2;for(r[0]={s:-1,f:s.f+l.f,l:s,r:l};c!=o-1;)s=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:s.f+l.f,l:s,r:l};var f=i[0].s;for(n=1;n<o;++n)i[n].s>f&&(f=i[n].s);var p=new ut(f+1),h=jt(r[c-1],p,0);if(h>t){n=0;var m=0,v=h-t,y=1<<v;for(i.sort(function(e,t){return p[t.s]-p[e.s]||e.f-t.f});n<o;++n){var g=i[n].s;if(!(p[g]>t))break;m+=y-(1<<h-p[g]),p[g]=t}for(m>>>=v;m>0;){var b=i[n].s;p[b]<t?m-=1<<t-p[b]++-1:++n}for(;n>=0&&m;--n){var S=i[n].s;p[S]==t&&(--p[S],++m)}h=t}return[new lt(p),h]},jt=function(e,t,r){return-1==e.s?Math.max(jt(e.l,t,r+1),jt(e.r,t,r+1)):t[e.s]=r},Ut=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new ut(++t),n=0,o=e[0],i=1,a=function(e){r[n++]=e},s=1;s<=t;++s)if(e[s]==o&&s!=t)++i;else{if(!o&&i>2){for(;i>138;i-=138)a(32754);i>2&&(a(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(a(o),--i;i>6;i-=6)a(8304);i>2&&(a(i-3<<5|8208),i=0)}for(;i--;)a(o);i=1,o=e[s]}return[r.subarray(0,n),t]},zt=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},Bt=function(e,t,r){var n=r.length,o=At(t+2);e[o]=255&n,e[o+1]=n>>>8,e[o+2]=255^e[o],e[o+3]=255^e[o+1];for(var i=0;i<n;++i)e[o+i+4]=r[i];return 8*(o+4+n)},Ht=function(e,t,r,n,o,i,a,s,l,u,c){Ft(t,c++,r),++o[256];for(var d=Wt(o,15),f=d[0],p=d[1],h=Wt(i,15),m=h[0],v=h[1],y=Ut(f),g=y[0],b=y[1],S=Ut(m),w=S[0],x=S[1],C=new ut(19),T=0;T<g.length;++T)C[31&g[T]]++;for(T=0;T<w.length;++T)C[31&w[T]]++;for(var E=Wt(C,7),k=E[0],I=E[1],M=19;M>4&&!k[pt[M-1]];--M);var N,O,R,_,L=u+5<<3,A=zt(o,Et)+zt(i,kt)+a,D=zt(o,f)+zt(i,m)+a+14+3*M+zt(C,k)+(2*C[16]+3*C[17]+7*C[18]);if(L<=A&&L<=D)return Bt(t,c,e.subarray(l,l+u));if(Ft(t,c,1+(D<A)),c+=2,D<A){N=Tt(f,p,0),O=f,R=Tt(m,v,0),_=m;var F=Tt(k,I,0);Ft(t,c,b-257),Ft(t,c+5,x-1),Ft(t,c+10,M-4),c+=14;for(T=0;T<M;++T)Ft(t,c+3*T,k[pt[T]]);c+=3*M;for(var P=[g,w],W=0;W<2;++W){var j=P[W];for(T=0;T<j.length;++T){var U=31&j[T];Ft(t,c,F[U]),c+=k[U],U>15&&(Ft(t,c,j[T]>>>5&127),c+=j[T]>>>12)}}}else N=It,O=Et,R=Nt,_=kt;for(T=0;T<s;++T)if(n[T]>255){U=n[T]>>>18&31;Pt(t,c,N[U+257]),c+=O[U+257],U>7&&(Ft(t,c,n[T]>>>23&31),c+=dt[U]);var z=31&n[T];Pt(t,c,R[z]),c+=_[z],z>3&&(Pt(t,c,n[T]>>>5&8191),c+=ft[z])}else Pt(t,c,N[n[T]]),c+=O[n[T]];return Pt(t,c,N[256]),c+O[256]},Vt=new ct([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Gt=new lt(0),Yt=function(e,t,r,n,o){return function(e,t,r,n,o,i){var a=e.length,s=new lt(n+a+5*(1+Math.floor(a/7e3))+o),l=s.subarray(n,s.length-o),u=0;if(!t||a<8)for(var c=0;c<=a;c+=65535){var d=c+65535;d<a?u=Bt(l,u,e.subarray(c,d)):(l[c]=i,u=Bt(l,u,e.subarray(c,a)))}else{for(var f=Vt[t-1],p=f>>>13,h=8191&f,m=(1<<r)-1,v=new ut(32768),y=new ut(m+1),g=Math.ceil(r/3),b=2*g,S=function(t){return(e[t]^e[t+1]<<g^e[t+2]<<b)&m},w=new ct(25e3),x=new ut(288),C=new ut(32),T=0,E=0,k=(c=0,0),I=0,M=0;c<a;++c){var N=S(c),O=32767&c,R=y[N];if(v[O]=R,y[N]=O,I<=c){var _=a-c;if((T>7e3||k>24576)&&_>423){u=Ht(e,l,0,w,x,C,E,k,M,c-M,u),k=T=E=0,M=c;for(var L=0;L<286;++L)x[L]=0;for(L=0;L<30;++L)C[L]=0}var A=2,D=0,F=h,P=O-R&32767;if(_>2&&N==S(c-P))for(var W=Math.min(p,_)-1,j=Math.min(32767,c),U=Math.min(258,_);P<=j&&--F&&O!=R;){if(e[c+A]==e[c+A-P]){for(var z=0;z<U&&e[c+z]==e[c+z-P];++z);if(z>A){if(A=z,D=P,z>W)break;var B=Math.min(P,z-2),H=0;for(L=0;L<B;++L){var V=c-P+L+32768&32767,G=V-v[V]+32768&32767;G>H&&(H=G,R=V)}}}P+=(O=R)-(R=v[O])+32768&32767}if(D){w[k++]=268435456|yt[A]<<18|St[D];var Y=31&yt[A],X=31&St[D];E+=dt[Y]+ft[X],++x[257+Y],++C[X],I=c+A,++T}else w[k++]=e[c],++x[e[c]]}}u=Ht(e,l,i,w,x,C,E,k,M,c-M,u),i||(u=Bt(l,u,Gt))}return Dt(s,0,n+At(u)+o)}(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,r,n,!o)};function Xt(e,t){void 0===t&&(t={});var r=function(){var e=1,t=0;return{p:function(r){for(var n=e,o=t,i=r.length,a=0;a!=i;){for(var s=Math.min(a+5552,i);a<s;++a)o+=n+=r[a];n%=65521,o%=65521}e=n,t=o},d:function(){return(e>>>8<<16|(255&t)<<8|t>>>8)+2*((255&e)<<23)}}}();r.p(e);var n=Yt(e,t,2,4);return function(e,t){var r=t.level,n=0==r?0:r<6?1:9==r?3:2;e[0]=120,e[1]=n<<6|(n?32-2*n:1)}(n,t),function(e,t,r){for(;r;++t)e[t]=r,r>>>=8}(n,n.length-4,r.d()),n}function qt(e,t){return function(e,t,r){var n=e.length,o=!t||r,i=!r||r.i;r||(r={}),t||(t=new lt(3*n));var a=function(e){var r=t.length;if(e>r){var n=new lt(Math.max(2*r,e));n.set(t),t=n}},s=r.f||0,l=r.p||0,u=r.b||0,c=r.l,d=r.d,f=r.m,p=r.n,h=8*n;do{if(!c){r.f=s=_t(e,l,1);var m=_t(e,l+1,3);if(l+=3,!m){var v=e[(I=At(l)+4)-4]|e[I-3]<<8,y=I+v;if(y>n){if(i)throw"unexpected EOF";break}o&&a(u+v),t.set(e.subarray(I,y),u),r.b=u+=v,r.p=l=8*y;continue}if(1==m)c=Mt,d=Ot,f=9,p=5;else{if(2!=m)throw"invalid block type";
2var g=_t(e,l,31)+257,b=_t(e,l+10,15)+4,S=g+_t(e,l+5,31)+1;l+=14;for(var w=new lt(S),x=new lt(19),C=0;C<b;++C)x[pt[C]]=_t(e,l+3*C,7);l+=3*b;var T=Rt(x),E=(1<<T)-1;if(!i&&l+S*(T+7)>h)break;var k=Tt(x,T,1);for(C=0;C<S;){var I,M=k[_t(e,l,E)];if(l+=15&M,(I=M>>>4)<16)w[C++]=I;else{var N=0,O=0;for(16==I?(O=3+_t(e,l,3),l+=2,N=w[C-1]):17==I?(O=3+_t(e,l,7),l+=3):18==I&&(O=11+_t(e,l,127),l+=7);O--;)w[C++]=N}}var R=w.subarray(0,g),_=w.subarray(g);f=Rt(R),p=Rt(_),c=Tt(R,f,1),d=Tt(_,p,1)}if(l>h)throw"unexpected EOF"}o&&a(u+131072);for(var L=(1<<f)-1,A=(1<<p)-1,D=f+p+18;i||l+D<h;){var F=(N=c[Lt(e,l)&L])>>>4;if((l+=15&N)>h)throw"unexpected EOF";if(!N)throw"invalid length/literal";if(F<256)t[u++]=F;else{if(256==F){c=null;break}var P=F-254;if(F>264){var W=dt[C=F-257];P=_t(e,l,(1<<W)-1)+vt[C],l+=W}var j=d[Lt(e,l)&A],U=j>>>4;if(!j)throw"invalid distance";if(l+=15&j,_=bt[U],U>3&&(W=ft[U],_+=Lt(e,l)&(1<<W)-1,l+=W),l>h)throw"unexpected EOF";o&&a(u+131072);for(var z=u+P;u<z;u+=4)t[u]=t[u-_],t[u+1]=t[u+1-_],t[u+2]=t[u+2-_],t[u+3]=t[u+3-_];u=z}}r.l=c,r.p=l,r.b=u,c&&(s=1,r.m=f,r.d=d,r.n=p)}while(!s);return u==t.length?t:Dt(t,0,u)}((function(e){if(8!=(15&e[0])||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(32&e[1])throw"invalid zlib data: preset dictionaries not supported"}(e),e.subarray(2,-4)),t)}function Qt(e,t){var r=e.length;if(!t&&"undefined"!=typeof TextEncoder)return(new TextEncoder).encode(e);for(var n=new lt(e.length+(e.length>>>1)),o=0,i=function(e){n[o++]=e},a=0;a<r;++a){if(o+5>n.length){var s=new lt(o+8+(r-a<<1));s.set(n),n=s}var l=e.charCodeAt(a);l<128||t?i(l):l<2048?(i(192|l>>>6),i(128|63&l)):l>55295&&l<57344?(i(240|(l=65536+(1047552&l)|1023&e.charCodeAt(++a))>>>18),i(128|l>>>12&63),i(128|l>>>6&63),i(128|63&l)):(i(224|l>>>12),i(128|l>>>6&63),i(128|63&l))}return Dt(n,0,o)}function $t(e,t){var r="";if(!t&&"undefined"!=typeof TextDecoder)return(new TextDecoder).decode(e);for(var n=0;n<e.length;){var o=e[n++];o<128||t?r+=String.fromCharCode(o):o<224?r+=String.fromCharCode((31&o)<<6|63&e[n++]):o<240?r+=String.fromCharCode((15&o)<<12|(63&e[n++])<<6|63&e[n++]):(o=((15&o)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++])-65536,r+=String.fromCharCode(55296|o>>10,56320|1023&o))}return r}var Jt="v1",Kt=function(e){var t=a(a({},e),{v:Jt});return $t(Xt(Qt(JSON.stringify(t))),!0)},Zt=function(e){if("string"!==typeof e)return e;try{if((t=JSON.parse(e)).timestamp)return t}catch(r){}try{var t;if((t=JSON.parse($t(qt(Qt(e,!0))))).v===Jt)return t;throw new Error("These events were packed with packer ".concat(t.v," which is incompatible with current packer ").concat(Jt,"."))}catch(r){throw console.error(r),new Error("Unknown data format.")}},er=function(){function e(e){this.fileName=e.fileName||"",this.functionName=e.functionName||"",this.lineNumber=e.lineNumber,this.columnNumber=e.columnNumber}return e.prototype.toString=function(){var e=this.lineNumber||"",t=this.columnNumber||"";return this.functionName?this.functionName+" ("+this.fileName+":"+e+":"+t+")":this.fileName+":"+e+":"+t},e}(),tr=/(^|@)\S+:\d+/,rr=/^\s*at .*(\S+:\d+|\(native\))/m,nr=/^(eval@)?(\[native code])?$/,or={parse:function(e){if(!e)return[];if("undefined"!==typeof e.stacktrace||"undefined"!==typeof e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(rr))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},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: ".concat(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(rr)},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),o=this.extractLocation(r?r[1]:n.pop()),i=n.join(" ")||void 0,a=["eval","<anonymous>"].indexOf(o[0])>-1?void 0:o[0];return new er({functionName:i,fileName:a,lineNumber:o[1],columnNumber:o[2]})},this)},parseFFOrSafari:function(e){return e.stack.split("\n").filter(function(e){return!e.match(nr)},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 er({functionName:e});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=e.match(t),n=r&&r[1]?r[1]:void 0,o=this.extractLocation(e.replace(t,""));return new er({functionName:n,fileName:o[0],lineNumber:o[1],columnNumber:o[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=[],o=2,i=r.length;o<i;o+=2){var a=t.exec(r[o]);a&&n.push(new er({fileName:a[2],lineNumber:parseFloat(a[1])}))}return n},parseOpera10:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=e.stacktrace.split("\n"),n=[],o=0,i=r.length;o<i;o+=2){var a=t.exec(r[o]);a&&n.push(new er({functionName:a[3]||void 0,fileName:a[2],lineNumber:parseFloat(a[1])}))}return n},parseOpera11:function(e){return e.stack.split("\n").filter(function(e){return!!e.match(tr)&&!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 er({functionName:n,fileName:r[0],lineNumber:r[1],columnNumber:r[2]})},this)}};function ir(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,o=[];if(n.children&&n.children.length>0)for(var i=0;i<n.children.length;i++){var a=n.children[i];a.localName&&a.localName.toLowerCase&&a.localName.toLowerCase()===r&&o.push(a)}o.length>1&&(r+=":eq("+o.indexOf(e)+")"),t=r+(t?">"+t:""),e=n}return t}function ar(e){return"[object Object]"===Object.prototype.toString.call(e)}function sr(e,t){var r,n;if(0===t)return!0;var o=Object.keys(e);try{for(var i=s(o),a=i.next();!a.done;a=i.next()){var l=a.value;if(ar(e[l])&&sr(e[l],t-1))return!0}}catch(u){r={error:u}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!1}
2function lr(e,t){var r={numOfKeysLimit:50,depthOfLimit:4};Object.assign(r,t);var n=[],o=[];return JSON.stringify(e,function(e,t){if(n.length>0){var i=n.indexOf(this);~i?n.splice(i+1):n.push(this),~i?o.splice(i,1/0,e):o.push(e),~n.indexOf(t)&&(t=n[0]===t?"[Circular ~]":"[Circular ~."+o.slice(0,n.indexOf(t)).join(".")+"]")}else n.push(t);if(null===t||void 0===t)return t;if(function(e){if(ar(e)&&Object.keys(e).length>r.numOfKeysLimit)return!0;if("function"===typeof e)return!0;if(ar(e)&&sr(e,r.depthOfLimit))return!0;return!1}(t))return function(e){var t=e.toString();r.stringLengthLimit&&t.length>r.stringLengthLimit&&(t="".concat(t.slice(0,r.stringLengthLimit),"..."));return t}(t);if(t instanceof Event){var a={};for(var s in t){var l=t[s];Array.isArray(l)?a[s]=ir(l.length?l[0]:null):a[s]=l}return a}return t instanceof Node?t instanceof HTMLElement?t?t.outerHTML:"":t.nodeName:t instanceof Error?t.stack?t.stack+"\nEnd of stack for Error object":t.name+": "+t.message:t})}var ur={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 cr(e,t,r){var n,o,i,a=r.logger;if(!a)return function(){};i="string"===typeof a?t[a]:a;var c=0,d=[];if(r.level.includes("error")&&window){var f=function(t){var n=t.message,o=t.error,i=or.parse(o).map(function(e){return e.toString()}),a=[lr(n,r.stringifyOptions)];e({level:"error",trace:i,payload:a})};window.addEventListener("error",f),d.push(function(){window&&window.removeEventListener("error",f)})}try{for(var p=s(r.level),h=p.next();!h.done;h=p.next()){var m=h.value;d.push(v(i,m))}}catch(y){n={error:y}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}return function(){d.forEach(function(e){return e()})};function v(t,n){var o=this;return t[n]?ne(t,n,function(t){return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];t.apply(o,i);try{var s=or.parse(new Error).map(function(e){return e.toString()}).splice(1),d=i.map(function(e){return lr(e,r.stringifyOptions)});++c<r.lengthThreshold?e({level:n,trace:s,payload:d}):c===r.lengthThreshold&&e({level:"warn",trace:[],payload:[lr("The number of log records reached the threshold.")]})}catch(f){t.apply(void 0,u(["rrweb logger error:",f],l(i),!1))}}}):function(){}}}var dr="rrweb/console@1",fr=function(e){return{name:dr,observer:cr,options:e?Object.assign({},ur,e):ur}},pr="__rrweb_original__",hr={level:["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"],replayLogger:void 0},mr=function(){function e(e){this.config=Object.assign(hr,e)}return e.prototype.getConsoleLogger=function(){var e,t,r=this,n={},o=function(e){n[e]="trace"===e?function(e){(console.log[pr]?console.log[pr]:console.log).apply(void 0,u(u([],l(e.payload.map(function(e){return JSON.parse(e)})),!1),[r.formatMessage(e)],!1))}:function(t){(console[e][pr]?console[e][pr]:console[e]).apply(void 0,u(u([],l(t.payload.map(function(e){return JSON.parse(e)})),!1),[r.formatMessage(t)],!1))}};try{for(var i=s(this.config.level),a=i.next();!a.done;a=i.next()){o(a.value)}}catch(c){e={error:c}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return n},e.prototype.formatMessage=function(e){if(0===e.trace.length)return"";var t="\n\tat ",r=t;return r+=e.trace.join(t)},e}(),vr=function(e){var t=(null===e||void 0===e?void 0:e.replayLogger)||new mr(e).getConsoleLogger();return{handler:function(e,r,n){var o=null;if(e.type===W.IncrementalSnapshot&&e.data.source===j.Log?o=e.data:e.type===W.Plugin&&e.data.plugin===dr&&(o=e.data.payload),o)try{"function"===typeof t[o.level]&&t[o.level](o)}catch(i){n.replayer.config.showWarning&&console.warn(i)}}}};const yr=function(e){return e=e||Object.create(null),{on:function(t,r){(e[t]||(e[t]=[])).push(r)},off:function(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit:function(t,r){(e[t]||[]).slice().map(function(e){e(r)}),(e["*"]||[]).slice().map(function(e){e(t,r)})}}};function gr(e,t){if(void 0===e&&(e=window),void 0===t&&(t=document),!("scrollBehavior"in t.documentElement.style)||!0===e.__forceSmoothScrollPolyfill__){var r,n=e.HTMLElement||e.Element,o={scroll:e.scroll||e.scrollTo,scrollBy:e.scrollBy,elementScroll:n.prototype.scroll||s,scrollIntoView:n.prototype.scrollIntoView},i=e.performance&&e.performance.now?e.performance.now.bind(e.performance):Date.now,a=(r=e.n
2avigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(r)?1:0);e.scroll=e.scrollTo=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?p.call(e,t.body,void 0!==arguments[0].left?~~arguments[0].left:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:e.scrollY||e.pageYOffset):o.scroll.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!==typeof arguments[0]?arguments[0]:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:e.scrollY||e.pageYOffset))},e.scrollBy=function(){void 0!==arguments[0]&&(l(arguments[0])?o.scrollBy.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!==typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):p.call(e,t.body,~~arguments[0].left+(e.scrollX||e.pageXOffset),~~arguments[0].top+(e.scrollY||e.pageYOffset)))},n.prototype.scroll=n.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==l(arguments[0])){var e=arguments[0].left,t=arguments[0].top;p.call(this,this,"undefined"===typeof e?this.scrollLeft:~~e,"undefined"===typeof t?this.scrollTop:~~t)}else{if("number"===typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!==typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},n.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},n.prototype.scrollIntoView=function(){if(!0!==l(arguments[0])){var r=function(e){for(;e!==t.body&&!1===d(e);)e=e.parentNode||e.host;return e}(this),n=r.getBoundingClientRect(),i=this.getBoundingClientRect();r!==t.body?(p.call(this,r,r.scrollLeft+i.left-n.left,r.scrollTop+i.top-n.top),"fixed"!==e.getComputedStyle(r).position&&e.scrollBy({left:n.left,top:n.top,behavior:"smooth"})):e.scrollBy({left:i.left,top:i.top,behavior:"smooth"})}else o.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function s(e,t){this.scrollLeft=e,this.scrollTop=t}function l(e){if(null===e||"object"!==typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"===typeof e&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function u(e,t){return"Y"===t?e.clientHeight+a<e.scrollHeight:"X"===t?e.clientWidth+a<e.scrollWidth:void 0}function c(t,r){var n=e.getComputedStyle(t,null)["overflow"+r];return"auto"===n||"scroll"===n}function d(e){var t=u(e,"Y")&&c(e,"Y"),r=u(e,"X")&&c(e,"X");return t||r}function f(t){var r,n,o,a,s=(i()-t.startTime)/468;a=s=s>1?1:s,r=.5*(1-Math.cos(Math.PI*a)),n=t.startX+(t.x-t.startX)*r,o=t.startY+(t.y-t.startY)*r,t.method.call(t.scrollable,n,o),n===t.x&&o===t.y||e.requestAnimationFrame(f.bind(e,t))}function p(r,n,a){var l,u,c,d,p=i();r===t.body?(l=e,u=e.scrollX||e.pageXOffset,c=e.scrollY||e.pageYOffset,d=o.scroll):(l=r,u=r.scrollLeft,c=r.scrollTop,d=s),f({scrollable:l,method:d,startTime:p,startX:u,startY:c,x:n,y:a})}}var br,Sr=function(){function e(e,t){void 0===e&&(e=[]),this.timeOffset=0,this.raf=null,this.actions=e,this.speed=t}return e.prototype.addAction=function(e){var t=this.findActionIndex(e);this.actions.splice(t,0,e)},e.prototype.addActions=function(e){this.actions=this.actions.concat(e)},e.prototype.start=function(){this.timeOffset=0;var e=performance.now(),t=this.actions,r=this;this.raf=requestAnimationFrame(function n(){var o=performance.now();for(r.timeOffset+=(o-e)*r.speed,e=o;t.length;){var i=t[0];if(!(r.timeOffset>=i.delay))break;t.shift(),i.doAction()}(t.length>0||r.liveMode)&&(r.raf=requestAnimationFrame(n))})},e.prototype.clear=function(){this.raf&&(cancelAnimationFrame(this.raf),this.raf=null),this.actions.length=0},e.prototype.setSpeed=function(e){this.speed=e},e.prototype.toggleLiveMode=function(e){this.liveMode=e},e.prototype.isActive=function(){return null!==this.raf},e.prototype.findActionIndex=function(e){for(var t=0,r=this.actions.length-1;t<=r;){var n=Math.floor((t+r)/2);if(this.actions[n].delay<e.delay)t=n+1;else{if(!(this.actions[n].delay>e.delay))return n+1;r=n-1}}return t},e}();function wr(e,t){if(e.type===W.IncrementalSnapshot&&e.data.source===j.MouseMove){var r=e.data.positions[0].timeOffset,n=e.timestamp+r;
vendor: 5,197 bytes, line 2
2return e.delay=n-t,n-t}return e.delay=e.timestamp-t,e.delay}function xr(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}!function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"}(br||(br={}));var Cr={type:"xstate.init"};function Tr(e){return void 0===e?[]:[].concat(e)}function Er(e){return{type:"xstate.assign",assignment:e}}function kr(e,t){return"string"==typeof(e="string"==typeof e&&t&&t[e]?t[e]:e)?{type:e}:"function"==typeof e?{type:e.name,exec:e}:e}function Ir(e){return function(t){return e===t}}function Mr(e){return"string"==typeof e?{type:e}:e}function Nr(e,t){return{value:e,context:t,actions:[],changed:!1,matches:Ir(e)}}function Or(e,t,r){var n=t,o=!1;return[e.filter(function(e){if("xstate.assign"===e.type){o=!0;var t=Object.assign({},n);return"function"==typeof e.assignment?t=e.assignment(n,r):Object.keys(e.assignment).forEach(function(o){t[o]="function"==typeof e.assignment[o]?e.assignment[o](n,r):e.assignment[o]}),n=t,!1}return!0}),n,o]}function Rr(e,t){void 0===t&&(t={});var r=xr(Or(Tr(e.states[e.initial].entry).map(function(e){return kr(e,t.actions)}),e.context,Cr),2),n=r[0],o=r[1],i={config:e,_options:t,initialState:{value:e.initial,actions:n,context:o,matches:Ir(e.initial)},transition:function(t,r){var n,o,a="string"==typeof t?{value:t,context:e.context}:t,s=a.value,l=a.context,u=Mr(r),c=e.states[s];if(c.on){var d=Tr(c.on[u.type]);try{for(var f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(d),p=f.next();!p.done;p=f.next()){var h=p.value;if(void 0===h)return Nr(s,l);var m="string"==typeof h?{target:h}:h,v=m.target,y=m.actions,g=void 0===y?[]:y,b=m.cond,S=void 0===b?function(){return!0}:b,w=void 0===v,x=null!=v?v:s,C=e.states[x];if(S(l,u)){var T=xr(Or((w?Tr(g):[].concat(c.exit,g,C.entry).filter(function(e){return e})).map(function(e){return kr(e,i._options.actions)}),l,u),3),E=T[0],k=T[1],I=T[2],M=null!=v?v:s;return{value:M,context:k,actions:E,changed:v!==s||E.length>0||I,matches:Ir(M)}}}}catch(xr){n={error:xr}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}}return Nr(s,l)}};return i}var _r=function(e,t){return e.actions.forEach(function(r){var n=r.exec;return n&&n(e.context,t)})};function Lr(e){var t=e.initialState,r=br.NotStarted,n=new Set,o={_machine:e,send:function(o){r===br.Running&&(t=e.transition(t,o),_r(t,Mr(o)),n.forEach(function(e){return e(t)}))},subscribe:function(e){return n.add(e),e(t),{unsubscribe:function(){return n.delete(e)}}},start:function(n){if(n){var i="object"==typeof n?n:{context:e.config.context,value:n};t={value:i.value,actions:[],context:i.context,matches:Ir(i.value)}}return r=br.Running,_r(t,Cr),o},stop:function(){return r=br.Stopped,n.clear(),o},get state(){return t},get status(){return r}};return o}function Ar(e,t){var r=t.getCastFn,n=t.applyEventsSynchronously,o=t.emitter,i=Rr({id:"player",context:e,initial:"paused",states:{playing:{on:{PAUSE:{target:"paused",actions:["pause"]},CAST_EVENT:{target:"playing",actions:"castEvent"},END:{target:"paused",actions:["resetLastPlayedEvent","pause"]},ADD_EVENT:{target:"playing",actions:["addEvent"]}}},paused:{on:{PLAY:{target:"playing",actions:["recordTimeOffset","play"]},CAST_EVENT:{target:"paused",actions:"castEvent"},TO_LIVE:{target:"live",actions:["startLive"]},ADD_EVENT:{target:"paused",actions:["addEvent"]}}},live:{on:{ADD_EVENT:{target:"live",actions:["addEvent"]},CAST_EVENT:{target:"live",actions:["castEvent"]}}}}},{actions:{castEvent:Er({lastPlayedEvent:function(e,t){return"CAST_EVENT"===t.type?t.payload.event:e.lastPlayedEvent}}),recordTimeOffset:Er(function(e,t){var r=e.timeOffset;return"payload"in t&&"timeOffset"in t.payload&&(r=t.payload.timeOffset),a(a({},e),{timeOffset:r,baselineTime:e.events[0].timestamp+r})}),play:function(e){var t,i,a,l,u,c=e.timer,d=e.events,f=e.baselineTime,p=e.lastPlayedEvent;c.clear();try{for(var h=s(d),m=h.next();!m.done;m=h.next()){wr(m.value,f)}}catch(C){t={error:C}}finally{try{m&&!m.done&&(i=h.return)&&i.call(h)}finally{if(t)throw t.error}}var v=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.type===W.Meta&&n.timestamp<=t)return e.slice(r)}return e}(d,f),y=null===p||void 0===p?void 0:p.timestamp;(null===p||void 0===p?void 0:p.type)===W.IncrementalSnapshot&&p.data.source===j.MouseMove&&(y=p.timestamp+(null===(u=p.data.positions[0])||void 0===u?void 0:u.timeOffset)),f<(y||0)&&o.emit(H.PlayBack);var g=new Array,b=new Array,S=function(e){if(y&&y<f&&(e.timestamp<=y||e===p))return"continue";if(e.timestamp<f)g.push(e);else{var t=r(e,!1);b.push({doAction:function(){t()},delay:e.delay})}};try{for(var w=s(v),x=w.next();!x.done;x=w.next()){S(x.value)}}catch(T){a={error:T}}finally{try{x&&!x.done&&(l=w.return)&&l.call(w)}finally{if(a)throw a.error}}
2n(g),o.emit(H.Flush),c.addActions(b),c.start()},pause:function(e){e.timer.clear()},resetLastPlayedEvent:Er(function(e){return a(a({},e),{lastPlayedEvent:null})}),startLive:Er({baselineTime:function(e,t){return e.timer.toggleLiveMode(!0),e.timer.start(),"TO_LIVE"===t.type&&t.payload.baselineTime?t.payload.baselineTime:Date.now()}}),addEvent:Er(function(e,t){var n=e.baselineTime,o=e.timer,i=e.events;if("ADD_EVENT"===t.type){var s=t.payload.event;wr(s,n);var l=i.length-1;if(!i[l]||i[l].timestamp<=s.timestamp)i.push(s);else{for(var u=-1,c=0;c<=l;){var d=Math.floor((c+l)/2);i[d].timestamp<=s.timestamp?c=d+1:l=d-1}-1===u&&(u=c),i.splice(u,0,s)}var f=s.timestamp<n,p=r(s,f);f?p():o.isActive()&&o.addAction({doAction:function(){p()},delay:s.delay})}return a(a({},e),{events:i})})}});return Lr(i)}const Dr=function(e){return[".".concat(e," { background: currentColor }"),"noscript { display: none !important; }"]};var Fr;function Pr(e,t){var r=e[t[0]];return 1===t.length?r:Pr(r.cssRules[t[1]].cssRules,t.slice(2))}function Wr(e){var t=u([],l(e),!1),r=t.pop();return{positions:t,index:r}}function jr(e,t){var r=t.sheet;r&&e.forEach(function(e){if(e.type===Fr.Insert)try{if(Array.isArray(e.index)){var n=Wr(e.index),o=n.positions,i=n.index;Pr(r.cssRules,o).insertRule(e.cssText,i)}else r.insertRule(e.cssText,e.index)}catch(Cr){}else if(e.type===Fr.Remove)try{if(Array.isArray(e.index)){var a=Wr(e.index);o=a.positions,i=a.index;Pr(r.cssRules,o).deleteRule(i||0)}else r.deleteRule(e.index)}catch(Cr){}else if(e.type===Fr.Snapshot)!function(e,t){var r;try{var n=Array.from((null===(r=t.sheet)||void 0===r?void 0:r.cssRules)||[]).map(function(e){return e.cssText}),o=Object.entries(n).reverse(),i=n.length;o.forEach(function(r){var n,o=l(r,2),a=o[0],s=o[1],u=e.indexOf(s);if(-1===u||u>i)try{null===(n=t.sheet)||void 0===n||n.deleteRule(Number(a))}catch(Cr){}i=u}),e.forEach(function(e,r){var n,o,i;try{(null===(o=null===(n=t.sheet)||void 0===n?void 0:n.cssRules[r])||void 0===o?void 0:o.cssText)!==e&&(null===(i=t.sheet)||void 0===i||i.insertRule(e,r))}catch(Cr){}})}catch(Cr){}}(e.cssTexts,t);else if(e.type===Fr.SetProperty){Pr(r.cssRules,e.index).style.setProperty(e.property,e.value,e.priority)}else if(e.type===Fr.RemoveProperty){Pr(r.cssRules,e.index).style.removeProperty(e.property)}})}!function(e){e[e.Insert=0]="Insert",e[e.Remove=1]="Remove",e[e.Snapshot=2]="Snapshot",e[e.SetProperty=3]="SetProperty",e[e.RemoveProperty=4]="RemoveProperty"}(Fr||(Fr={}));var Ur=new Map;function zr(e,t){var r=Ur.get(e);return r||(r=new Map,Ur.set(e,r)),r.has(t)||r.set(t,[]),r.get(t)}var Br=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject"];function Hr(e,t){return function(r){if(r&&"object"===typeof r&&"rr_type"in r){if("index"in r){var n=r.rr_type,o=r.index;return zr(t,n)[o]}if("args"in r){var i=r.rr_type,a=r.args,s=window[i];return new(s.bind.apply(s,u([void 0],l(a.map(Hr(e,t))),!1)))}if("base64"in r)return function(e){var t,r,n,o,i,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var u=new ArrayBuffer(a),c=new Uint8Array(u);for(t=0;t<s;t+=4)r=Ge[e.charCodeAt(t)],n=Ge[e.charCodeAt(t+1)],o=Ge[e.charCodeAt(t+2)],i=Ge[e.charCodeAt(t+3)],c[l++]=r<<2|n>>4,c[l++]=(15&n)<<4|o>>2,c[l++]=(3&o)<<6|63&i;return u}(r.base64);if("src"in r){var c=e.get(r.src);if(c)return c;var d=new Image;return d.src=r.src,e.set(r.src,d),d}}else if(Array.isArray(r))return r.map(Hr(e,t));return r}}const Vr=function(e){var t=e.mutation,r=e.target,n=e.type,o=e.imageMap,i=e.errorHandler;try{var a=function(e,t){try{return t===z.WebGL?e.getContext("webgl")||e.getContext("experimental-webgl"):e.getContext("webgl2")}catch(Cr){return null}}(r,n);if(!a)return;if(t.setter)return void(a[t.property]=t.args[0]);var s=a[t.property],l=t.args.map(Hr(o,a));!function(e,t){if(null===t||void 0===t?void 0:t.constructor){var r=t.constructor.name;if(Br.includes(r)){var n=zr(e,r);n.includes(t)||n.push(t)}}}(a,s.apply(a,l))}catch(u){i(t,u)}};const Gr=function(e){var t=e.event,r=e.mutation,n=e.target,o=e.imageMap,i=e.errorHandler;try{var a=n.getContext("2d");if(r.setter)return void(a[r.property]=r.args[0]);var s=a[r.property];if("drawImage"===r.property&&"string"===typeof r.args[0]){var l=o.get(t);r.args[0]=l,s.apply(a,r.args)}else s.apply(a,r.args)}catch(u){i(r,u)}};const Yr=function(e){var t=e.event,r=e.mutation,n=e.target,o=e.imageMap,i=e.errorHandler;try{var a="commands"in r?r.commands:[r];return[z.WebGL,z.WebGL2].includes(r.type)?a.forEach(function(e){Vr({mutation:e,type:r.type,target:n,imageMap:o,errorHandler:i})}
2):a.forEach(function(e){Gr({event:t,mutation:e,target:n,imageMap:o,errorHandler:i})})}catch(s){i(r,s)}};var Xr=yr||o,qr="[replayer]",Qr={duration:500,lineCap:"round",lineWidth:3,strokeStyle:"red"};function $r(e){return e.type==W.IncrementalSnapshot&&(e.data.source==j.TouchMove||e.data.source==j.MouseInteraction&&e.data.type==U.TouchStart)}var Jr=function(){function e(e,t){var r=this;if(this.mouseTail=null,this.tailPositions=[],this.emitter=Xr(),this.legacy_missingNodeRetryMap={},this.cache=X(),this.imageMap=new Map,this.mirror={map:{},getId:function(e){return e&&e.__sn?e.__sn.id:-1},getNode:function(e){return this.map[e]||null},removeNodeFromMap:function(e){var t=this,r=e.__sn&&e.__sn.id;delete this.map[r],e.childNodes&&e.childNodes.forEach(function(e){return t.removeNodeFromMap(e)})},has:function(e){return this.map.hasOwnProperty(e)},reset:function(){this.map={}}},this.firstFullSnapshot=null,this.newDocumentQueue=[],this.mousePos=null,this.touchActive=null,!(null===t||void 0===t?void 0:t.liveMode)&&e.length<2)throw new Error("Replayer need at least 2 events.");var n={speed:1,maxSpeed:360,root:document.body,loadTimeout:0,skipInactive:!1,showWarning:!0,showDebug:!1,blockClass:"rr-block",liveMode:!1,insertStyleRules:[],triggerFocus:!0,UNSAFE_replayCanvas:!1,pauseAnimation:!0,mouseTail:Qr};this.config=Object.assign({},n,t),this.handleResize=this.handleResize.bind(this),this.getCastFn=this.getCastFn.bind(this),this.applyEventsSynchronously=this.applyEventsSynchronously.bind(this),this.emitter.on(H.Resize,this.handleResize),this.setupDom(),this.treeIndex=new de,this.fragmentParentMap=new Map,this.elementStateMap=new Map,this.virtualStyleRulesMap=new Map,this.emitter.on(H.Flush,function(){var e,t,n,o,i,a,l,u,c=r.treeIndex.flush(),d=c.scrollMap,f=c.inputMap,p=c.mutationData;r.fragmentParentMap.forEach(function(e,t){return r.restoreRealParent(t,e)});try{for(var h=s(p.texts),m=h.next();!m.done;m=h.next()){var v=m.value;r.applyText(v,p)}}catch(T){e={error:T}}finally{try{m&&!m.done&&(t=h.return)&&t.call(h)}finally{if(e)throw e.error}}try{for(var y=s(r.virtualStyleRulesMap.keys()),g=y.next();!g.done;g=y.next()){var b=g.value;r.restoreNodeSheet(b)}}catch(E){n={error:E}}finally{try{g&&!g.done&&(o=y.return)&&o.call(y)}finally{if(n)throw n.error}}r.fragmentParentMap.clear(),r.elementStateMap.clear(),r.virtualStyleRulesMap.clear();try{for(var S=s(d.values()),w=S.next();!w.done;w=S.next()){v=w.value;r.applyScroll(v,!0)}}catch(k){i={error:k}}finally{try{w&&!w.done&&(a=S.return)&&a.call(S)}finally{if(i)throw i.error}}try{for(var x=s(f.values()),C=x.next();!C.done;C=x.next()){v=C.value;r.applyInput(v)}}catch(I){l={error:I}}finally{try{C&&!C.done&&(u=x.return)&&u.call(x)}finally{if(l)throw l.error}}}),this.emitter.on(H.PlayBack,function(){r.firstFullSnapshot=null,r.mirror.reset()});var o=new Sr([],(null===t||void 0===t?void 0:t.speed)||n.speed);this.service=Ar({events:e.map(function(e){return t&&t.unpackFn?t.unpackFn(e):e}).sort(function(e,t){return e.timestamp-t.timestamp}),timer:o,timeOffset:0,baselineTime:0,lastPlayedEvent:null},{getCastFn:this.getCastFn,applyEventsSynchronously:this.applyEventsSynchronously,emitter:this.emitter}),this.service.start(),this.service.subscribe(function(e){r.emitter.emit(H.StateChange,{player:e})}),this.speedService=Lr(Rr({id:"speed",context:{normalSpeed:-1,timer:o},initial:"normal",states:{normal:{on:{FAST_FORWARD:{target:"skipping",actions:["recordSpeed","setSpeed"]},SET_SPEED:{target:"normal",actions:["setSpeed"]}}},skipping:{on:{BACK_TO_NORMAL:{target:"normal",actions:["restoreSpeed"]},SET_SPEED:{target:"normal",actions:["setSpeed"]}}}}},{actions:{setSpeed:function(e,t){"payload"in t&&e.timer.setSpeed(t.payload.speed)},recordSpeed:Er({normalSpeed:function(e){return e.timer.speed}}),restoreSpeed:function(e){e.timer.setSpeed(e.normalSpeed)}}})),this.speedService.start(),this.speedService.subscribe(function(e){r.emitter.emit(H.StateChange,{speed:e})});var i=this.service.state.context.events.find(function(e){return e.type===W.Meta}),a=this.service.state.context.events.find(function(e){return e.type===W.FullSnapshot});if(i){var l=i.data,u=l.width,c=l.height;setTimeout(function(){r.emitter.emit(H.Resize,{width:u,height:c})},0)}a&&setTimeout(function(){r.firstFullSnapshot||(r.firstFullSnapshot=a,r.rebuildFullSnapshot(a),r.iframe.contentWindow.scrollTo(a.data.initialOffset))},1),this.service.state.context.events.find($r)&&this.mouse.classList.add("touch-device")}return Object.defineProperty(e.prototype,"timer",{get:function(){return this.service.state.context.timer}
2,enumerable:!1,configurable:!0}),e.prototype.on=function(e,t){return this.emitter.on(e,t),this},e.prototype.off=function(e,t){return this.emitter.off(e,t),this},e.prototype.setConfig=function(e){var t=this;Object.keys(e).forEach(function(r){t.config[r]=e[r]}),this.config.skipInactive||this.backToNormal(),"undefined"!==typeof e.speed&&this.speedService.send({type:"SET_SPEED",payload:{speed:e.speed}}),"undefined"!==typeof e.mouseTail&&(!1===e.mouseTail?this.mouseTail&&(this.mouseTail.style.display="none"):(this.mouseTail||(this.mouseTail=document.createElement("canvas"),this.mouseTail.width=Number.parseFloat(this.iframe.width),this.mouseTail.height=Number.parseFloat(this.iframe.height),this.mouseTail.classList.add("replayer-mouse-tail"),this.wrapper.insertBefore(this.mouseTail,this.iframe)),this.mouseTail.style.display="inherit"))},e.prototype.getMetaData=function(){var e=this.service.state.context.events[0],t=this.service.state.context.events[this.service.state.context.events.length-1];return{startTime:e.timestamp,endTime:t.timestamp,totalTime:t.timestamp-e.timestamp}},e.prototype.getCurrentTime=function(){return this.timer.timeOffset+this.getTimeOffset()},e.prototype.getTimeOffset=function(){var e=this.service.state.context;return e.baselineTime-e.events[0].timestamp},e.prototype.getMirror=function(){return this.mirror},e.prototype.play=function(e){var t;void 0===e&&(e=0),this.service.state.matches("paused")||this.service.send({type:"PAUSE"}),this.service.send({type:"PLAY",payload:{timeOffset:e}}),null===(t=this.iframe.contentDocument)||void 0===t||t.getElementsByTagName("html")[0].classList.remove("rrweb-paused"),this.emitter.emit(H.Start)},e.prototype.pause=function(e){var t;void 0===e&&this.service.state.matches("playing")&&this.service.send({type:"PAUSE"}),"number"===typeof e&&(this.play(e),this.service.send({type:"PAUSE"})),null===(t=this.iframe.contentDocument)||void 0===t||t.getElementsByTagName("html")[0].classList.add("rrweb-paused"),this.emitter.emit(H.Pause)},e.prototype.resume=function(e){void 0===e&&(e=0),console.warn("The 'resume' will be departed in 1.0. Please use 'play' method which has the same interface."),this.play(e),this.emitter.emit(H.Resume)},e.prototype.startLive=function(e){this.service.send({type:"TO_LIVE",payload:{baselineTime:e}})},e.prototype.addEvent=function(e){var t=this,r=this.config.unpackFn?this.config.unpackFn(e):e;$r(r)&&this.mouse.classList.add("touch-device"),Promise.resolve().then(function(){return t.service.send({type:"ADD_EVENT",payload:{event:r}})})},e.prototype.enableInteract=function(){this.iframe.setAttribute("scrolling","auto"),this.iframe.style.pointerEvents="auto"},e.prototype.disableInteract=function(){this.iframe.setAttribute("scrolling","no"),this.iframe.style.pointerEvents="none"},e.prototype.resetCache=function(){this.cache=X()},e.prototype.setupDom=function(){this.wrapper=document.createElement("div"),this.wrapper.classList.add("replayer-wrapper"),this.config.root.appendChild(this.wrapper),this.mouse=document.createElement("div"),this.mouse.classList.add("replayer-mouse"),this.wrapper.appendChild(this.mouse),!1!==this.config.mouseTail&&(this.mouseTail=document.createElement("canvas"),this.mouseTail.classList.add("replayer-mouse-tail"),this.mouseTail.style.display="inherit",this.wrapper.appendChild(this.mouseTail)),this.iframe=document.createElement("iframe");var e=["allow-same-origin"];this.config.UNSAFE_replayCanvas&&e.push("allow-scripts"),this.iframe.style.display="none",this.iframe.setAttribute("sandbox",e.join(" ")),this.disableInteract(),this.wrapper.appendChild(this.iframe),this.iframe.contentWindow&&this.iframe.contentDocument&&(gr(this.iframe.contentWindow,this.iframe.contentDocument),ce(this.iframe.contentWindow))},e.prototype.handleResize=function(e){var t,r;this.iframe.style.display="inherit";try{for(var n=s([this.mouseTail,this.iframe]),o=n.next();!o.done;o=n.next()){var i=o.value;i&&(i.setAttribute("width",String(e.width)),i.setAttribute("height",String(e.height)))}}catch(a){t={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},e.prototype.applyEventsSynchronously=function(e){var t,r;try{for(var n=s(e),o=n.next();!o.done;o=n.next()){var i=o.value;switch(i.type){case W.DomContentLoaded:case W.Load:case W.Custom:continue;case W.FullSnapshot:case W.Meta:case W.Plugin:break;case W.IncrementalSnapshot:if(i.data.source===j.MediaInteraction)continue}this.getCastFn(i,!0)()}}catch(a){t={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}this.mousePos&&this.moveAndHover(this.mousePos.x,this.mousePos.y,this.mousePos.id,!0,this.mousePos.debugData),this.mousePos=null,!0===this.touchActive?this.mouse.classList.add("touch-active"):!1===this.touchActive&&this.mouse.classList.remove("touch-active"),this.touchActive=null},e.prototype.getCastFn=function(e,t){var r,n=this;switch(void 0===t&&(t=!1),e.type){case W.DomContentLoaded:case W.Load:break;case W.Custom:r=function(){n.emitter.emit(H.CustomEvent,e)};break;case W.Meta:r=function(){return n.emitter.emit(H.Resize,{width:e.data.width,height:e.data.height})};break;case W.FullSnapshot:r=function(){if(n.firstFullSnapshot){if(n.firstFullSnapshot===e)return void(n.firstFullSnapshot=!0)}else n.firstFullSnapshot=!0;n.rebuildFullSnapshot(e,t),n.iframe.contentWindow.scrollTo(e.data.initialOffset)};break;case W.IncrementalSnapshot:r=function(){var r,o;
2if(n.applyIncremental(e,t),!t&&(e===n.nextUserInteractionEvent&&(n.nextUserInteractionEvent=null,n.backToNormal()),n.config.skipInactive&&!n.nextUserInteractionEvent)){try{for(var i=s(n.service.state.context.events),a=i.next();!a.done;a=i.next()){var l=a.value;if(!(l.timestamp<=e.timestamp)&&n.isUserInteraction(l)){l.delay-e.delay>1e4*n.speedService.state.context.timer.speed&&(n.nextUserInteractionEvent=l);break}}}catch(d){r={error:d}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}if(n.nextUserInteractionEvent){var u=n.nextUserInteractionEvent.delay-e.delay,c={speed:Math.min(Math.round(u/5e3),n.config.maxSpeed)};n.speedService.send({type:"FAST_FORWARD",payload:c}),n.emitter.emit(H.SkipStart,c)}}}}return function(){var o,i;r&&r();try{for(var a=s(n.config.plugins||[]),l=a.next();!l.done;l=a.next()){l.value.handler(e,t,{replayer:n})}}catch(d){o={error:d}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}n.service.send({type:"CAST_EVENT",payload:{event:e}});var u=n.service.state.context.events.length-1;if(e===n.service.state.context.events[u]){var c=function(){u<n.service.state.context.events.length-1||(n.backToNormal(),n.service.send("END"),n.emitter.emit(H.Finish))};e.type===W.IncrementalSnapshot&&e.data.source===j.MouseMove&&e.data.positions.length?setTimeout(function(){c()},Math.max(0,50-e.data.positions[0].timeOffset)):c()}n.emitter.emit(H.EventCast,e)}},e.prototype.rebuildFullSnapshot=function(e,t){var r,n,o=this;if(void 0===t&&(t=!1),!this.iframe.contentDocument)return console.warn("Looks like your replayer has been destroyed.");Object.keys(this.legacy_missingNodeRetryMap).length&&console.warn("Found unresolved missing node map",this.legacy_missingNodeRetryMap),this.legacy_missingNodeRetryMap={};var i=[];this.mirror.map=$(e.data.node,{doc:this.iframe.contentDocument,afterAppend:function(e){o.collectIframeAndAttachDocument(i,e)},cache:this.cache})[1];var a=function(e,t){l.attachDocumentToIframe(e,t),l.newDocumentQueue=l.newDocumentQueue.filter(function(t){return t!==e})},l=this;try{for(var u=s(i),c=u.next();!c.done;c=u.next()){var d=c.value;a(d.mutationInQueue,d.builtNode)}}catch(m){r={error:m}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}var f=this.iframe.contentDocument,p=f.documentElement,h=f.head;this.insertStyleRules(p,h),this.service.state.matches("playing")||this.iframe.contentDocument.getElementsByTagName("html")[0].classList.add("rrweb-paused"),this.emitter.emit(H.FullsnapshotRebuilded,e),t||this.waitForStylesheetLoad(),this.config.UNSAFE_replayCanvas&&this.preloadAllImages()},e.prototype.insertStyleRules=function(e,t){var r=document.createElement("style");e.insertBefore(r,t);var n=Dr(this.config.blockClass).concat(this.config.insertStyleRules);this.config.pauseAnimation&&n.push("html.rrweb-paused *, html.rrweb-paused *:before, html.rrweb-paused *:after { animation-play-state: paused !important; }");for(var o=0;o<n.length;o++)r.sheet.insertRule(n[o],o)},e.prototype.attachDocumentToIframe=function(e,t){var r,n,o=this,a=[];if(!t.contentDocument)for(var l=t.parentNode;l;){if(this.fragmentParentMap.has(l)){var u=l,c=this.fragmentParentMap.get(u);this.restoreRealParent(u,c);break}l=l.parentNode}Q(e.node,{doc:t.contentDocument,map:this.mirror.map,hackCss:!0,skipChild:!1,afterAppend:function(e){if(o.collectIframeAndAttachDocument(a,e),e.__sn.type===i.Element&&"HTML"===e.__sn.tagName.toUpperCase()){var r=t.contentDocument,n=r.documentElement,s=r.head;o.insertStyleRules(n,s)}},cache:this.cache});var d=function(e,t){f.attachDocumentToIframe(e,t),f.newDocumentQueue=f.newDocumentQueue.filter(function(t){return t!==e})},f=this;try{for(var p=s(a),h=p.next();!h.done;h=p.next()){var m=h.value;d(m.mutationInQueue,m.builtNode)}}catch(v){r={error:v}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}},e.prototype.collectIframeAndAttachDocument=function(e,t){if(he(t)){var r=this.newDocumentQueue.find(function(e){return e.parentId===t.__sn.id});r&&e.push({mutationInQueue:r,builtNode:t})}},e.prototype.waitForStylesheetLoad=function(){var e,t=this,r=null===(e=this.iframe.contentDocument)||void 0===e?void 0:e.head;if(r){var n,o=new Set,i=this.service.state,a=function(){i=t.service.state};this.emitter.on(H.Start,a),this.emitter.on(H.Pause,a);var s=function(){t.emitter.off(H.Start,a),t.emitter.off(H.Pause,a)};r.querySelectorAll('link[rel="stylesheet"]').forEach(function(e){e.sheet||(o.add(e),e.addEventListener("load",function(){o.delete(e),0===o.size&&-1!==n&&(i.matches("playing")&&t.play(t.getCurrentTime()),t.emitter.emit(H.LoadStylesheetEnd),n&&clearTimeout(n),s())}))}),o.size>0&&(this.service.send({type:"PAUSE"}),this.emitter.emit(H.LoadStylesheetStart),n=setTimeout(function(){i.matches("playing")&&t.play(t.getCurrentTime()),n=-1,s()},this.config.loadTimeout))}},e.prototype.hasImageArg=function(e){var t,r;try{for(var n=s(e),o=n.next();!o.done;o=n.next()){var i=o.value;if(i&&"object"===typeof i)if("rr_type"in i&&"args"in i){if(this.hasImageArg(i.args))return!0}else{if("rr_type"in i&&"HTMLImageElement"===i.rr_type)return!0;
2if(i instanceof Array&&this.hasImageArg(i))return!0}else;}}catch(a){t={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!1},e.prototype.getImageArgs=function(e){var t,r,n=[];try{for(var o=s(e),i=o.next();!i.done;i=o.next()){var a=i.value;a&&"object"===typeof a&&("rr_type"in a&&"args"in a?n.push.apply(n,u([],l(this.getImageArgs(a.args)),!1)):"rr_type"in a&&"HTMLImageElement"===a.rr_type?n.push(a.src):a instanceof Array&&n.push.apply(n,u([],l(this.getImageArgs(a)),!1)))}}catch(c){t={error:c}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n},e.prototype.preloadAllImages=function(){var e,t,r=this;this.service.state;var n=function(){r.service.state};this.emitter.on(H.Start,n),this.emitter.on(H.Pause,n);var o=function(e){e.type===W.IncrementalSnapshot&&e.data.source===j.CanvasMutation&&("commands"in e.data?e.data.commands.forEach(function(t){return r.preloadImages(t,e)}):i.preloadImages(e.data,e))},i=this;try{for(var a=s(this.service.state.context.events),l=a.next();!l.done;l=a.next()){o(l.value)}}catch(u){e={error:u}}finally{try{l&&!l.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}},e.prototype.preloadImages=function(e,t){var r=this;if("drawImage"!==e.property||"string"!==typeof e.args[0]||this.imageMap.has(t))this.hasImageArg(e.args)&&this.getImageArgs(e.args).forEach(function(e){var t=new Image;t.src=e,r.imageMap.set(e,t)});else{var n=document.createElement("canvas"),o=n.getContext("2d"),i=null===o||void 0===o?void 0:o.createImageData(n.width,n.height);null===i||void 0===i||i.data,JSON.parse(e.args[0]),null===o||void 0===o||o.putImageData(i,0,0)}},e.prototype.applyIncremental=function(e,t){var r,n,o=this,i=e.data;switch(i.source){case j.Mutation:t&&(i.adds.forEach(function(e){return o.treeIndex.add(e)}),i.texts.forEach(function(e){var t=o.mirror.getNode(e.id),r=null===t||void 0===t?void 0:t.parentNode;r&&o.virtualStyleRulesMap.has(r)&&o.virtualStyleRulesMap.delete(r),o.treeIndex.text(e)}),i.attributes.forEach(function(e){return o.treeIndex.attribute(e)}),i.removes.forEach(function(e){return o.treeIndex.remove(e,o.mirror)}));try{this.applyMutation(i,t)}catch(w){this.warn("Exception in mutation ".concat(w.message||w),i)}break;case j.Drag:case j.TouchMove:case j.MouseMove:if(t){var s=i.positions[i.positions.length-1];this.mousePos={x:s.x,y:s.y,id:s.id,debugData:i}}else i.positions.forEach(function(r){var n={doAction:function(){o.moveAndHover(r.x,r.y,r.id,t,i)},delay:r.timeOffset+e.timestamp-o.service.state.context.baselineTime};o.timer.addAction(n)}),this.timer.addAction({doAction:function(){},delay:e.delay-(null===(r=i.positions[0])||void 0===r?void 0:r.timeOffset)});break;case j.MouseInteraction:if(-1===i.id)break;var l=new Event(U[i.type].toLowerCase());if(!(b=this.mirror.getNode(i.id)))return this.debugNodeNotFound(i,i.id);this.emitter.emit(H.MouseInteraction,{type:i.type,target:b});var u=this.config.triggerFocus;switch(i.type){case U.Blur:"blur"in b&&b.blur();break;case U.Focus:u&&b.focus&&b.focus({preventScroll:!0});break;case U.Click:case U.TouchStart:case U.TouchEnd:t?(i.type===U.TouchStart?this.touchActive=!0:i.type===U.TouchEnd&&(this.touchActive=!1),this.mousePos={x:i.x,y:i.y,id:i.id,debugData:i}):(i.type===U.TouchStart&&(this.tailPositions.length=0),this.moveAndHover(i.x,i.y,i.id,t,i),i.type===U.Click?(this.mouse.classList.remove("active"),this.mouse.offsetWidth,this.mouse.classList.add("active")):i.type===U.TouchStart?(this.mouse.offsetWidth,this.mouse.classList.add("touch-active")):i.type===U.TouchEnd&&this.mouse.classList.remove("touch-active"));break;case U.TouchCancel:t?this.touchActive=!1:this.mouse.classList.remove("touch-active");break;default:b.dispatchEvent(l)}break;case j.Scroll:if(-1===i.id)break;if(t){this.treeIndex.scroll(i);break}this.applyScroll(i,!1);break;case j.ViewportResize:this.emitter.emit(H.Resize,{width:i.width,height:i.height});break;case j.Input:if(-1===i.id)break;if(t){this.treeIndex.input(i);break}this.applyInput(i);break;case j.MediaInteraction:if(!(b=this.mirror.getNode(i.id)))return this.debugNodeNotFound(i,i.id);var c=b;try{i.currentTime&&(c.currentTime=i.currentTime),i.volume&&(c.volume=i.volume),i.muted&&(c.muted=i.muted),1===i.type&&c.pause(),0===i.type&&c.play()}catch(w){this.config.showWarning&&console.warn("Failed to replay media interactions: ".concat(w.message||w))}break;case j.StyleSheetRule:if(!(b=this.mirror.getNode(i.id)))return this.debugNodeNotFound(i,i.id);
2var d,f=b,p=b.parentNode,h=this.fragmentParentMap.has(p),m=h?null:f.sheet;m||(this.virtualStyleRulesMap.has(b)?d=this.virtualStyleRulesMap.get(b):(d=[],this.virtualStyleRulesMap.set(b,d))),i.adds&&i.adds.forEach(function(t){var r=t.rule,n=t.index;if(m)try{if(Array.isArray(n)){var o=Wr(n),i=o.positions,a=o.index;Pr(m.cssRules,i).insertRule(r,a)}else{a=void 0===n?void 0:Math.min(n,m.cssRules.length);m.insertRule(r,a)}}catch(e){}else null===d||void 0===d||d.push({cssText:r,index:n,type:Fr.Insert})}),i.removes&&i.removes.forEach(function(t){var r=t.index;if(h)null===d||void 0===d||d.push({index:r,type:Fr.Remove});else try{if(Array.isArray(r)){var n=Wr(r),o=n.positions,i=n.index;Pr(m.cssRules,o).deleteRule(i||0)}else null===m||void 0===m||m.deleteRule(r)}catch(e){}});break;case j.StyleDeclaration:if(!(b=this.mirror.getNode(i.id)))return this.debugNodeNotFound(i,i.id);f=b;var v=b.parentNode,y=this.fragmentParentMap.has(v)?null:f.sheet,g=[];if(y||(this.virtualStyleRulesMap.has(b)?g=this.virtualStyleRulesMap.get(b):(g=[],this.virtualStyleRulesMap.set(b,g))),i.set)if(y)Pr(y.rules,i.index).style.setProperty(i.set.property,i.set.value,i.set.priority);else g.push(a({type:Fr.SetProperty,index:i.index},i.set));if(i.remove)if(y)Pr(y.rules,i.index).style.removeProperty(i.remove.property);else g.push(a({type:Fr.RemoveProperty,index:i.index},i.remove));break;case j.CanvasMutation:if(!this.config.UNSAFE_replayCanvas)return;var b;if(!(b=this.mirror.getNode(i.id)))return this.debugNodeNotFound(i,i.id);Yr({event:e,mutation:i,target:b,imageMap:this.imageMap,errorHandler:this.warnCanvasMutationFailed.bind(this)});break;case j.Font:try{var S=new FontFace(i.family,i.buffer?new Uint8Array(JSON.parse(i.fontSource)):i.fontSource,i.descriptors);null===(n=this.iframe.contentDocument)||void 0===n||n.fonts.add(S)}catch(w){this.config.showWarning&&console.warn(w)}}},e.prototype.applyMutation=function(e,t){var r,n,o=this;e.removes.forEach(function(t){var r=o.mirror.getNode(t.id);if(!r){if(e.removes.find(function(e){return e.id===t.parentId}))return;return o.warnNodeNotFound(e,t.id)}o.virtualStyleRulesMap.has(r)&&o.virtualStyleRulesMap.delete(r);var n=o.mirror.getNode(t.parentId);if(!n)return o.warnNodeNotFound(e,t.parentId);if(t.isShadow&&ve(n)&&(n=n.shadowRoot),o.mirror.removeNodeFromMap(r),n){var i=null,a="__sn"in n?o.fragmentParentMap.get(n):void 0;a&&a.contains(r)?n=a:o.fragmentParentMap.has(r)&&(i=o.fragmentParentMap.get(r),o.fragmentParentMap.delete(r),r=i);try{n.removeChild(r)}catch(s){if(!(s instanceof DOMException))throw s;o.warn("parent could not remove child in mutation",n,a,r,i,e)}}});var l=a({},this.legacy_missingNodeRetryMap),u=[],c=function(e){var r,n,a,c;if(!o.iframe.contentDocument)return console.warn("Looks like your replayer has been destroyed.");var d=o.mirror.getNode(e.parentId);if(!d)return e.node.type===i.Document?o.newDocumentQueue.push(e):u.push(e);var f=null;o.iframe.contentDocument.contains?f=o.iframe.contentDocument.contains(d):o.iframe.contentDocument.body.contains&&(f=o.iframe.contentDocument.body.contains(d));var p=(null===(c=(a=d).getElementsByTagName)||void 0===c?void 0:c.call(a,"iframe").length)>0;if(t&&f&&!he(d)&&!p){var h=document.createDocumentFragment();for(o.mirror.map[e.parentId]=h,o.fragmentParentMap.set(h,d),o.storeState(d);d.firstChild;)h.appendChild(d.firstChild);d=h}e.node.isShadow&&(ve(d)||d.attachShadow({mode:"open"}),d=d.shadowRoot);var m=null,v=null;if(e.previousId&&(m=o.mirror.getNode(e.previousId)),e.nextId&&(v=o.mirror.getNode(e.nextId)),function(e){var t=null;return e.nextId&&(t=o.mirror.getNode(e.nextId)),null!==e.nextId&&void 0!==e.nextId&&-1!==e.nextId&&!t}(e))return u.push(e);if(!e.node.rootId||o.mirror.getNode(e.node.rootId)){var y=e.node.rootId?o.mirror.getNode(e.node.rootId):o.iframe.contentDocument;if(he(d))o.attachDocumentToIframe(e,d);else{var g=Q(e.node,{doc:y,map:o.mirror.map,skipChild:!0,hackCss:!0,cache:o.cache});if(-1!==e.previousId&&-1!==e.nextId){if("__sn"in d&&d.__sn.type===i.Element&&"textarea"===d.__sn.tagName&&e.node.type===i.Text)try{for(var b=s(Array.from(d.childNodes)),S=b.next();!S.done;S=b.next()){var w=S.value;w.nodeType===d.TEXT_NODE&&d.removeChild(w)}}catch(C){r={error:C}}finally{try{S&&!S.done&&(n=b.return)&&n.call(b)}finally{if(r)throw r.error}}if(m&&m.nextSibling&&m.nextSibling.parentNode)d.insertBefore(g,m.nextSibling);else if(v&&v.parentNode)d.contains(v)?d.insertBefore(g,v):d.insertBefore(g,null);else{if(d===y)for(;y.firstChild;)y.removeChild(y.firstChild);d.appendChild(g)}if(he(g)){var x=o.newDocumentQueue.find(function(e){return e.parentId===g.__sn.id});x&&(o.attachDocumentToIframe(x,g),o.newDocumentQueue=o.newDocumentQueue.filter(function(e){return e!==x}))}(e.previousId||e.nextId)&&o.legacy_resolveMissingNode(l,d,g,e)}
vendor: 5,775 bytes, line 2
2else l[e.node.id]={node:g,mutation:e}}}};e.adds.forEach(function(e){c(e)});for(var d=Date.now();u.length;){var f=fe(u);if(u.length=0,Date.now()-d>500){this.warn("Timeout in the loop, please check the resolve tree data:",f);break}try{for(var p=(r=void 0,s(f)),h=p.next();!h.done;h=p.next()){var m=h.value;this.mirror.getNode(m.value.parentId)?pe(m,function(e){c(e)}):this.debug("Drop resolve tree since there is no parent for the root node.",m)}}catch(v){r={error:v}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}}Object.keys(l).length&&Object.assign(this.legacy_missingNodeRetryMap,l),e.texts.forEach(function(t){var r=o.mirror.getNode(t.id);if(!r){if(e.removes.find(function(e){return e.id===t.id}))return;return o.warnNodeNotFound(e,t.id)}o.fragmentParentMap.has(r)&&(r=o.fragmentParentMap.get(r)),r.textContent=t.value}),e.attributes.forEach(function(t){var r=o.mirror.getNode(t.id);if(!r){if(e.removes.find(function(e){return e.id===t.id}))return;return o.warnNodeNotFound(e,t.id)}for(var n in o.fragmentParentMap.has(r)&&(r=o.fragmentParentMap.get(r)),t.attributes)if("string"===typeof n){var i=t.attributes[n];if(null===i)r.removeAttribute(n);else if("string"===typeof i)try{r.setAttribute(n,i)}catch(d){o.config.showWarning&&console.warn("An error occurred may due to the checkout feature.",d)}else if("style"===n){var a=i,s=r;for(var l in a)if(!1===a[l])s.style.removeProperty(l);else if(a[l]instanceof Array){var u=a[l];s.style.setProperty(l,u[0],u[1])}else{var c=a[l];s.style.setProperty(l,c)}}}})},e.prototype.applyScroll=function(e,t){var r=this.mirror.getNode(e.id);if(!r)return this.debugNodeNotFound(e,e.id);if(r===this.iframe.contentDocument)this.iframe.contentWindow.scrollTo({top:e.y,left:e.x,behavior:t?"auto":"smooth"});else if(r.__sn.type===i.Document)r.defaultView.scrollTo({top:e.y,left:e.x,behavior:t?"auto":"smooth"});else try{r.scrollTop=e.y,r.scrollLeft=e.x}catch(n){}},e.prototype.applyInput=function(e){var t=this.mirror.getNode(e.id);if(!t)return this.debugNodeNotFound(e,e.id);try{t.checked=e.isChecked,t.value=e.text}catch(r){}},e.prototype.applyText=function(e,t){var r=this.mirror.getNode(e.id);if(!r)return this.debugNodeNotFound(t,e.id);try{r.textContent=e.value}catch(n){}},e.prototype.legacy_resolveMissingNode=function(e,t,r,n){var o=n.previousId,i=n.nextId,a=o&&e[o],s=i&&e[i];if(a){var l=a,u=l.node,c=l.mutation;t.insertBefore(u,r),delete e[c.node.id],delete this.legacy_missingNodeRetryMap[c.node.id],(c.previousId||c.nextId)&&this.legacy_resolveMissingNode(e,t,u,c)}if(s){var d=s;u=d.node,c=d.mutation;t.insertBefore(u,r.nextSibling),delete e[c.node.id],delete this.legacy_missingNodeRetryMap[c.node.id],(c.previousId||c.nextId)&&this.legacy_resolveMissingNode(e,t,u,c)}},e.prototype.moveAndHover=function(e,t,r,n,o){var i=this.mirror.getNode(r);if(!i)return this.debugNodeNotFound(o,r);var a=me(i,this.iframe),s=e*a.absoluteScale+a.x,l=t*a.absoluteScale+a.y;this.mouse.style.left="".concat(s,"px"),this.mouse.style.top="".concat(l,"px"),n||this.drawMouseTail({x:s,y:l}),this.hoverElements(i)},e.prototype.drawMouseTail=function(e){var t=this;if(this.mouseTail){var r=!0===this.config.mouseTail?Qr:Object.assign({},Qr,this.config.mouseTail),n=r.lineCap,o=r.lineWidth,i=r.strokeStyle,a=r.duration,s=function(){if(t.mouseTail){var e=t.mouseTail.getContext("2d");e&&t.tailPositions.length&&(e.clearRect(0,0,t.mouseTail.width,t.mouseTail.height),e.beginPath(),e.lineWidth=o,e.lineCap=n,e.strokeStyle=i,e.moveTo(t.tailPositions[0].x,t.tailPositions[0].y),t.tailPositions.forEach(function(t){return e.lineTo(t.x,t.y)}),e.stroke())}};this.tailPositions.push(e),s(),setTimeout(function(){t.tailPositions=t.tailPositions.filter(function(t){return t!==e}),s()},a/this.speedService.state.context.timer.speed)}},e.prototype.hoverElements=function(e){var t;null===(t=this.iframe.contentDocument)||void 0===t||t.querySelectorAll(".\\:hover").forEach(function(e){e.classList.remove(":hover")});for(var r=e;r;)r.classList&&r.classList.add(":hover"),r=r.parentElement},e.prototype.isUserInteraction=function(e){return e.type===W.IncrementalSnapshot&&(e.data.source>j.Mutation&&e.data.source<=j.Input)},e.prototype.backToNormal=function(){this.nextUserInteractionEvent=null,this.speedService.state.matches("normal")||(this.speedService.send({type:"BACK_TO_NORMAL"}),this.emitter.emit(H.SkipEnd,{speed:this.speedService.state.context.normalSpeed}))},e.prototype.restoreRealParent=function(e,t){this.mirror.map[t.__sn.id]=t,t.__sn.type===i.Element&&"textarea"===t.__sn.tagName&&e.textContent&&(t.value=e.textContent),t.appendChild(e),this.restoreState(t)},e.prototype.storeState=function(e){var t,r;if(e&&e.nodeType===e.ELEMENT_NODE){var n=e;(n.scrollLeft||n.scrollTop)&&this.elementStateMap.set(e,{scroll:[n.scrollLeft,n.scrollTop]}),"STYLE"===n.tagName&&function(e,t){var r;try{var n=Array.from((null===(r=e.sheet)||void 0===r?void 0:r.cssRules)||[]).map(function(e){return e.cssText});t.set(e,[{type:Fr.Snapshot,cssTexts:n}])}catch(Cr){}}(n,this.virtualStyleRulesMap);var o=n.children;try{for(var i=s(Array.from(o)),a=i.next();!a.done;a=i.next()){var l=a.value;this.storeState(l)}}catch(u){t={error:u}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}},e.prototype.restoreState=function(e){var t,r;if(e.nodeType===e.ELEMENT_NODE){var n=e;if(this.elementStateMap.has(e)){var o=this.elementStateMap.get(e);o.scroll&&(n.scrollLeft=o.scroll[0],n.scrollTop=o.scroll[1]),this.elementStateMap.delete(e)}var i=n.children;try{for(var a=s(Array.from(i)),l=a.next();!l.done;l=a.next()){var u=l.value;this.restoreState(u)}}catch(c){t={error:c}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}},e.prototype.restoreNodeSheet=function(e){var t=this.virtualStyleRulesMap.get(e);
2"STYLE"===e.nodeName&&(t&&jr(t,e))},e.prototype.warnNodeNotFound=function(e,t){this.treeIndex.idRemoved(t)?this.warn("Node with id '".concat(t,"' was previously removed. "),e):this.warn("Node with id '".concat(t,"' not found. "),e)},e.prototype.warnCanvasMutationFailed=function(e,t){this.warn("Has error on canvas update",t,"canvas mutation:",e)},e.prototype.debugNodeNotFound=function(e,t){this.treeIndex.idRemoved(t)?this.debug(qr,"Node with id '".concat(t,"' was previously removed. "),e):this.debug(qr,"Node with id '".concat(t,"' not found. "),e)},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.config.showWarning&&console.warn.apply(console,u([qr],l(e),!1))},e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.config.showDebug&&console.log.apply(console,u([qr],l(e),!1))},e}()}}]);
3//# sourceMappingURL=891.2d70993a.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.