PageSourceSearch

https://cs004.contrastsecurity.com/Contrast/cs/assets/recorder.85505e14283538086559.js

js contrastsecurity.com collected 2026-10-01 10:17:04 UTC 28,344 bytes, 3 lines download raw bytes

1/*! For license information please see recorder.85505e14283538086559.js.LICENSE.txt */
2"use strict";(globalThis.webpackChunkcontrast_ui_react=globalThis.webpackChunkcontrast_ui_react||[]).push([[777],{43260(t,e,n){n.d(e,{startRecording:()=>he});var o=n(7328),s=n(16059),i=n(55407),r=n(52999),a=n(61789),c=n(29336);const d=2,u=3,l=4,f=6,p=7,h=8,m=12,g=0,v=1,S=2,y=3,I=4,N=11,w={AddString:0,AddNode:1,RemoveNode:2,Attribute:3,Text:4,Size:5,ScrollPosition:6,AddStyleSheet:7,AttachedStyleSheets:8,MediaPlaybackState:9,VisualViewport:10},b=0,E=1,T=2,x=3,_=4,D=5,R=6,C=7,O=8,M=0,P=1,A=2,L=3,k=4,$=5,z=6,H=7,V=9,G=0,U=1,B=0,J=1;var X=n(48899);function Y(){return(0,X.sr)(X.R9.USE_CHANGE_RECORDS)||(0,X.sr)(X.R9.USE_INCREMENTAL_CHANGE_RECORDS)}function F(){return(0,X.sr)(X.R9.USE_INCREMENTAL_CHANGE_RECORDS)}var W=n(75248);function q(t,e){const n=t.tagName,o=t.value;if((0,a.Ie)(t,e)){const e=t.type;if("INPUT"===n&&("button"===e||"submit"===e||"reset"===e))return o;if(!o||"OPTION"===n)return;return a.o}return"OPTION"===n||"SELECT"===n?t.value:"INPUT"===n||"TEXTAREA"===n?o:void 0}const j=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,K=/^[A-Za-z]+:|^\/\//,Z=/^["']?data:.*,/i;function Q(t,e){return t.replace(j,(t,n,o,s,i,r)=>{const a=o||i||r;if(!e||!a||K.test(a)||Z.test(a))return t;const c=n||s||"";return`url(${c}${function(t,e){try{return(0,W.c$)(t,e).href}catch(e){return t}}(a,e)}${c})`})}const tt=/[^a-z1-6-_]/;function et(t){return t.tagName.toLowerCase()}function nt(t,e){return`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='${t}' height='${e}' style='background-color:silver'%3E%3C/svg%3E`}function ot(t,e){if(void 0===t||0===t.length)return;const n=t=>{const n=t.cssRules||t.rules,o=Array.from(n,t=>t.cssText);e.addMetric("cssText",o.reduce((t,e)=>t+e.length,0));return{cssRules:o,disabled:t.disabled||void 0,media:t.media.length>0?Array.from(t.media):void 0}},o=[];for(let e=0;e<t.length;e++)o.push(n(t[e]));return o}var st=n(14451);function it(t,e,n,o){if(e===a.$m.HIDDEN)return null;const s=t.getAttribute(n),i=t.tagName;if((0,a.ap)(i,n,s,e,o)){if("IMG"===i){const e=t;if(e.naturalWidth>0)return nt(e.naturalWidth,e.naturalHeight);const{width:n,height:o}=t.getBoundingClientRect();return n>0||o>0?nt(n,o):a.eT}return"SOURCE"===i?a.eT:a.o}return s?(0,a.ei)(s,1e6):s}function rt(t,e,n){if(e===a.$m.HIDDEN)return{};const o={},s=et(t);for(let s=0;s<t.attributes.length;s+=1){const i=t.attributes.item(s).name,r=it(t,e,i,n.scope.configuration);null!==r&&(o[i]=r)}if(t.value&&("textarea"===s||"select"===s||"option"===s||"input"===s)){const n=q(t,e);void 0!==n&&(o.value=n)}if("option"===s){const n=t;n.selected&&!(0,a.Ie)(n,e)?o.selected="":delete o.selected}const i=t;return"input"!==s||"radio"!==i.type&&"checkbox"!==i.type||(i.checked&&!(0,a.Ie)(i,e)?o.checked="":delete o.checked),o}function at(t,e,n){if(e===a.$m.HIDDEN)return{};const o={},s=t.ownerDocument,i=et(t);if("link"===i){const e=Array.from(s.styleSheets).find(e=>e.href===t.href),i=ct(e);i&&e&&(n.addMetric("cssText",i.length),o._cssText=i)}if("style"===i&&t.sheet){const e=ct(t.sheet);e&&(n.addMetric("cssText",e.length),o._cssText=e)}if("audio"===i||"video"===i){const e=t;o.rr_mediaState=e.paused?"paused":"played"}let r,c;switch(n.kind){case 0:r=Math.round(t.scrollTop),c=Math.round(t.scrollLeft),(r||c)&&n.scope.elementsScrollPositions.set(t,{scrollTop:r,scrollLeft:c});break;case 1:n.scope.elementsScrollPositions.has(t)&&({scrollTop:r,scrollLeft:c}=n.scope.elementsScrollPositions.get(t))}return c&&(o.rr_scrollLeft=c),r&&(o.rr_scrollTop=r),o}function ct(t){if(!t)return null;let e;try{e=t.rules||t.cssRules}catch(t){}if(!e)return null;return Q(Array.from(e,(0,st.nr)()?dt:ut).join(""),t.href)}function dt(t){if(function(t){return"selectorText"in t}(t)&&t.selectorText.includes(":")){const e=/(\[[\w-]+[^\\])(:[^\]]+\])/g;return t.cssText.replace(e,"$1\\$2")}return ut(t)}function ut(t){return function(t){return"styleSheet"in t}(t)&&ct(t.styleSheet)||t.cssText}function lt(t,e,n){switch(t.nodeType){case t.DOCUMENT_NODE:return function(t,e,n){return{type:g,id:n.assignId(t),childNodes:ft(t,e,n),adoptedStyleSheets:ot(t.adoptedStyleSheets,n)}}(t,e,n);case t.DOCUMENT_FRAGMENT_NODE:return function(t,e,n){const o=(0,a.p_)(t);o&&n.scope.shadowRootsController.addShadowRoot(t,n.scope);return{type:N,id:n.assignId(t),childNodes:ft(t,e,n),isShadowRoot:o,adoptedStyleSheets:o?ot(t.adoptedStyleSheets,n):void 0}}(t,e,n);case t.DOCUMENT_TYPE_NODE:return function(t,e){return{type:v,id:e.assignId(t),name:t.name,publicId:t.publicId,systemId:t.systemId}}(t,n);case t.ELEMENT_NODE:return function(t,e,n){const o=function(t){const e=t.toLowerCase().trim();return tt.test(e)?"div":e}(t.tagName),s=(r=t,"svg"===r.tagName||r instanceof SVGElement||void 0),i=(0,a.jR
2)((0,a.dT)(t),e);var r;if(i===a.$m.HIDDEN){const{width:e,height:i}=t.getBoundingClientRect();return{type:S,id:n.assignId(t),tagName:o,attributes:{rr_width:`${e}px`,rr_height:`${i}px`,[a.NT]:a.Wd},childNodes:[],isSVG:s}}if(i===a.$m.IGNORE)return null;const c=n.assignId(t),d=function(t,e,n){return{...rt(t,e,n),...at(t,e,n)}}(t,i,n);let u=[];(0,a.wR)(t)&&"style"!==o&&(u=ft(t,i,n));return{type:S,id:c,tagName:o,attributes:d,childNodes:u,isSVG:s}}(t,e,n);case t.TEXT_NODE:return function(t,e,n){const o=(0,a.rf)(t,e);if(void 0===o)return null;return{type:y,id:n.assignId(t),textContent:o}}(t,e,n);case t.CDATA_SECTION_NODE:return function(t,e){return{type:I,id:e.assignId(t),textContent:""}}(t,n);default:return null}}function ft(t,e,n){const o=[];return(0,a.wI)(t,t=>{const s=lt(t,e,n);s&&o.push(s)}),o}function pt(t,e,n){t[e].count+=1,t[e].max=Math.max(t[e].max,n),t[e].sum+=n}function ht(t,e,n,o,s){const i=[],r={cssText:{count:0,max:0,sum:0},serializationDuration:{count:0,max:0,sum:0}},a={add(t){i.push(t)},addMetric(t,e){pt(r,t,e)},assignId(t){const e=o.nodeIds.getOrInsert(t);return a.serializedNodeIds&&a.serializedNodeIds.add(e),e},kind:t,scope:o},d=(0,c.nx)();s(a),pt(r,"serializationDuration",(0,c.vk)(d,(0,c.nx)()));for(const t of i)e(t);n(r)}function mt(t,e,n,o,s,i){const r=function(t){let e={};const n=e=>{for(let s=0,i=e.length;s<i;s++){const i=e[s];if("string"==typeof i){const n=t.size;e[s]=t.getOrInsert(i),t.size>n&&o(w.AddString,i)}else Array.isArray(i)&&n(i)}},o=(t,o)=>{t in e||(e[t]=[t]),t!==w.AddString&&Array.isArray(o)&&n(o),e[t].push(o)};return{add:o,flush:()=>{const t=[];return[w.AddString,w.AddNode,w.RemoveNode,w.Attribute,w.Text,w.Size,w.ScrollPosition,w.AddStyleSheet,w.AttachedStyleSheets,w.MediaPlaybackState,w.VisualViewport].forEach(n=>{const o=e[n];o&&t.push(o)}),e={},t}}}(o.stringIds),a={cssText:{count:0,max:0,sum:0},serializationDuration:{count:0,max:0,sum:0}},u={addMetric(t,e){pt(a,t,e)},addNode(...t){r.add(w.AddNode,t)},addStyleSheet(t,e,n){n?r.add(w.AddStyleSheet,[t,e||[],n]):e?r.add(w.AddStyleSheet,[t,e]):r.add(w.AddStyleSheet,[t])},attachStyleSheets(t,e){const n=[t];for(const t of e)n.push(t);r.add(w.AttachedStyleSheets,n)},removeNode(t){r.add(w.RemoveNode,t)},setAttributes(t){r.add(w.Attribute,t)},setMediaPlaybackState(t,e){r.add(w.MediaPlaybackState,[t,e])},setScrollPosition(t,e,n){r.add(w.ScrollPosition,[t,e,n])},setSize(t,e,n){r.add(w.Size,[t,e,n])},setText(t,e){r.add(w.Text,[t,e])},kind:t,scope:o},l=(0,c.nx)();i(u),pt(a,"serializationDuration",(0,c.vk)(l,(0,c.nx)()));const f=r.flush();f.length>0&&e(0===t||1===t?{data:f,format:J,type:d,timestamp:s}:{data:f,type:m,timestamp:s}),n(a)}function gt(t,e,n,o,s,i){ht(e,o,s,i,o=>{const s=o.scope.configuration.defaultPrivacyLevel,r={data:{node:lt(n,s,o),initialOffset:{left:(0,a.Gn)(),top:(0,a.zL)()}},format:B,type:d,timestamp:t};o.add(r),i.serializeObservable.notify({type:"full",kind:e,target:n,timestamp:t,v1:r})})}function vt(t,e,n,o){var s;if("STYLE"===(null===(s=e.parentNode)||void 0===s?void 0:s.nodeName))return;if(n===a.$m.HIDDEN||n===a.$m.IGNORE)return;let i;const r=(0,a.dT)(e);if(i=r?(0,a.jR)(r,n):n,i!==a.$m.HIDDEN){if(i!==a.$m.IGNORE){switch(e.nodeType){case e.CDATA_SECTION_NODE:!function(t,e,n){const{insertionPoint:o}=t.advance(e);n.addNode(o,"#cdata-section")}(t,e,o);break;case e.DOCUMENT_NODE:!function(t,e,n){const{nodeId:o,insertionPoint:s}=t.advance(e);n.addNode(s,"#document"),n.setScrollPosition(o,(0,a.Gn)(),(0,a.zL)()),St(e.adoptedStyleSheets,o,n)}(t,e,o);break;case e.DOCUMENT_FRAGMENT_NODE:!function(t,e,n){const{nodeId:o,insertionPoint:s}=t.advance(e);if(!(0,a.p_)(e))return void n.addNode(s,"#document-fragment");n.addNode(s,"#shadow-root"),n.scope.shadowRootsController.addShadowRoot(e,n.scope),St(e.adoptedStyleSheets,o,n)}(t,e,o);break;case e.DOCUMENT_TYPE_NODE:!function(t,e,n){const{insertionPoint:o}=t.advance(e);n.addNode(o,"#doctype",e.name,e.publicId,e.systemId)}(t,e,o);break;case e.ELEMENT_NODE:!function(t,e,n,o){const{nodeId:s,insertionPoint:i}=t.advance(e),r=Object.entries(rt(e,n,o));o.addNode(i,yt(e),...r);const{_cssText:a,rr_mediaState:c,rr_scrollLeft:d,rr_scrollTop:u}=at(e,n,o),l=e;if(void 0!==a&&l.sheet){const t=o.scope.styleSheetIds.getOrInsert(l.sheet);o.addStyleSheet(a),o.attachStyleSheets(s,[t])}"played"===c?o.setMediaPlaybackState(s,G):"paused"===c&&o.setMediaPlaybackState(s,U);void 0===d&&void 0===u||o.setScrollPosition(s,d||0,u||0)}(t,e,i,o);break;case e.TEXT_NODE:!function(t,e,n,o){const s=(0,a.rf)(e,n);if(void 0===s)return;const{insertionPoint:i}=t.advance(e);o.addNode(i,"#text",s)}(t,e,i,o);break;default:return}switch(e.nodeType){case e.CDATA_SECTION_NODE:case e.DOCUMENT_TYPE_NODE:case e.TEXT_NODE:return}t.descend(),(0,a.wI)(e,e=>{vt(t,e,i,o)}),t.ascend()}}else!function(t,e,n){if(!(0,a.nS)(e))return;const{nodeId:o,insertionPoint:s}=t.advance(e);
2n.addNode(s,yt(e),[a.NT,a.Wd]);const{width:i,height:r}=e.getBoundingClientRect();n.setSize(o,i,r)}(t,e,o)}function St(t,e,n){t&&0!==t.length&&n.attachStyleSheets(e,t.map(t=>function(t,e){const n=Array.from(t.cssRules||t.rules,t=>t.cssText),o=t.media.length>0?Array.from(t.media):void 0;return e.addMetric("cssText",n.reduce((t,e)=>t+e.length,0)),e.addStyleSheet(n,o,t.disabled),e.scope.styleSheetIds.getOrInsert(t)}(t,n)))}function yt(t){const e=t.nodeName;return function(t){return"http://www.w3.org/2000/svg"===t.namespaceURI}(t)?`svg>${e}`:e}function It(t,e,n){return Nt(t,e,n)}function Nt(t,e,n){let o={container:void 0,parentId:t,previousSiblingId:void 0,nextSiblingId:e};return{advance(t){const e=n.getOrInsert(t),s=(t=>o.previousSiblingId===t-1?0:void 0!==o.nextSiblingId?o.nextSiblingId-t:void 0!==o.parentId?t-o.parentId:null)(e);return o.previousSiblingId=e,{nodeId:e,insertionPoint:s}},ascend(){o.container&&(o=o.container)},descend(){void 0!==o.previousSiblingId&&(o={container:o,parentId:o.previousSiblingId,previousSiblingId:void 0,nextSiblingId:void 0})}}}function wt(t,e,n,o,s,i){i.resetIds(),mt(e,o,s,i,t,t=>{vt(Nt(void 0,void 0,i.nodeIds),n,i.configuration.defaultPrivacyLevel,t)})}function bt(t,e,n=(0,c.nx)()){return{data:{source:t,...e},type:u,timestamp:n}}function Et(t,e,n,o,s){ht(2,n,o,s,n=>function(t,e,n){const o=new Map;e.filter(t=>"childList"===t.type).forEach(t=>{t.removedNodes.forEach(t=>{Tt(t,n.scope.shadowRootsController.removeShadowRoot)})});const s=e.filter(t=>t.target.isConnected&&function(t,e){let n=t;for(;n;){if(void 0===e.get(n)&&!(0,a.p_)(n))return!1;n=(0,a.$4)(n)}return!0}(t.target,n.scope.nodeIds)&&(0,a.PJ)(t.target,n.scope.configuration.defaultPrivacyLevel,o)!==a.$m.HIDDEN),{adds:i,removes:r,hasBeenSerialized:c}=function(t,e,n){const o=new Set,s=new Map;for(const e of t)e.addedNodes.forEach(t=>{o.add(t)}),e.removedNodes.forEach(t=>{o.has(t)||s.set(t,e.target),o.delete(t)});const i=Array.from(o);r=i,r.sort((t,e)=>{const n=t.compareDocumentPosition(e);return n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_CONTAINS||n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0}),n.serializedNodeIds=new Set;var r;const c=[];for(const t of i){if(u(t))continue;const o=(0,a.PJ)(t.parentNode,n.scope.configuration.defaultPrivacyLevel,e);if(o===a.$m.HIDDEN||o===a.$m.IGNORE)continue;const s=lt(t,o,n);if(!s)continue;const i=(0,a.$4)(t);c.push({nextId:l(t),parentId:n.scope.nodeIds.get(i),node:s})}const d=[];return s.forEach((t,e)=>{const o=n.scope.nodeIds.get(t),s=n.scope.nodeIds.get(e);void 0!==o&&void 0!==s&&d.push({parentId:o,id:s})}),{adds:c,removes:d,hasBeenSerialized:u};function u(t){var e;const o=n.scope.nodeIds.get(t);return void 0!==o&&(null===(e=n.serializedNodeIds)||void 0===e?void 0:e.has(o))}function l(t){let e=t.nextSibling;for(;e;){const t=n.scope.nodeIds.get(e);if(void 0!==t)return t;e=e.nextSibling}return null}}(s.filter(t=>"childList"===t.type),o,n),d=function(t,e,n){var o;const s=[],i=new Set,r=t.filter(t=>!i.has(t.target)&&(i.add(t.target),!0));for(const t of r){if(t.target.textContent===t.oldValue)continue;const i=n.scope.nodeIds.get(t.target);if(void 0===i)continue;const r=(0,a.PJ)((0,a.$4)(t.target),n.scope.configuration.defaultPrivacyLevel,e);r!==a.$m.HIDDEN&&r!==a.$m.IGNORE&&s.push({id:i,value:null!==(o=(0,a.rf)(t.target,r))&&void 0!==o?o:null})}return s}(s.filter(t=>"characterData"===t.type&&!c(t.target)),o,n),u=function(t,e,n){const o=[],s=new Map,i=t.filter(t=>{const e=s.get(t.target);return(!e||!e.has(t.attributeName))&&(e?e.add(t.attributeName):s.set(t.target,new Set([t.attributeName])),!0)}),r=new Map;for(const t of i){if(t.target.getAttribute(t.attributeName)===t.oldValue)continue;const s=n.scope.nodeIds.get(t.target);if(void 0===s)continue;const i=(0,a.PJ)(t.target,n.scope.configuration.defaultPrivacyLevel,e),c=it(t.target,i,t.attributeName,n.scope.configuration);let d;if("value"===t.attributeName){const e=q(t.target,i);if(void 0===e)continue;d=e}else d="string"==typeof c?c:null;let u=r.get(t.target);u||(u={id:s,attributes:{}},o.push(u),r.set(t.target,u)),u.attributes[t.attributeName]=d}return o}(s.filter(t=>"attributes"===t.type&&!c(t.target)),o,n);if(!(d.length||u.length||r.length||i.length))return;const l=bt(b,{adds:i,removes:r,texts:d,attributes:u},t);n.add(l),n.scope.serializeObservable.notify({type:"incremental",target:e,timestamp:t,v1:l})}(t,e,n))}function Tt(t,e){(0,a.XS)(t)&&e(t.shadowRoot),(0,a.wI)(t,t=>Tt(t,e))}function xt(t,e,n,o,s){mt(2,n,o,s,t,t=>function(t,e){const n=new Set,o=new Map,s=new Map,i=new Set;for(const e of t)switch(e.type){case"attributes":{const t=e.target;let n=o.get(t);n||(n=new Map,o.set(t,n));const s=e.attributeName;n.has(s)||n.set(s,e.oldValue);break}case"characterData":s.has(e.target)||s.set(e.target,e.oldValue);break;case"childList":for(let t=0;t<e.addedNodes.length;t++)n.add(e.addedNodes[t]);for(let t=0;t<e.removedNodes.length;t++)i.add(e.removedNodes[t])}const r=e.scope.nodeIds.nextId,c=new Map;(function(t,e){const n=e.scope.nodeIds;for(const o of t){const t=n.get(o);void 0!==t&&(Dt(o,t=>{(0,a.XS)(t)&&e.scope.shadowRootsController.removeShadowRoot(t.shadowRoot),n.delete(t)}),e.removeNode(t))}})(i,e),function(t,e,n){const o=n.scope.nodeIds;for(const s of t){if(!s.isConnected)continue;if(void 0!==o.get(s))continue;const t=(0,a.$4)(s);if(!t)continue;const i=o.get(t);if(void 0===i)continue;const r=(0,a.PJ)(t,n.scope.configuration.defaultPrivacyLevel,e);vt(It(i,_t(s,o),o),s,r,n)}}(n,c,e),function(t,e,n,o){var s;const i=o.scope.nodeIds;for(const[r,c]of t){if(r.textContent===c)continue;if(!r.isConnected)continue;const t=i.get(r);if(void 0===t)continue;if(t>=e)continue;const d=(0,a.$4)(r);if(!d)continue;const u=(0,a.PJ)(d,o.scope.configuration.defaultPrivacyLevel,n);if(u===a.$m.HIDDEN||u===a.$m.IGNORE)continue;const l=null!==(s=(0,a.rf)(r,u))&&void 0!==s?s:"";o.setText(t,l)}}(s,r,c,e),function(t,e,n,o){const s=o.scope.nodeIds;for(const[i,r]of t){if(!i.isConnected)continue;const t=s.get(i);if(void 0===t)continue;if(t>=e)continue;const c=(0,a.PJ)(i,o.scope.configuration.defaultPrivacyLevel,n);if(c===a.$m.HIDDEN||c===a.$m.IGNORE)continue;const d=[t];for(const[t,e]of r){if(i.getAttribute(t)===e)continue;if("value"===t){const e=q(i,c);void 0!==e&&d.push([t,e]);continue}const n=it(i,c,t,o.scope.configuration);null===n?d.push([t]):d.push([t,n])}d.length>1&&o.setAttributes(d)}}(o,r,c,e)}(e,t))}function _t(t,e){let n=t.nextSibling;for(;n;){const t=e.get(n);if(void 0!==t)return t;n=n.nextSibling}}function Dt(t,e){e(t),(0,a.wI)(t,t=>Dt(t,e))}const Rt=(t,e)=>
2{const n=window.visualViewport,o={layoutViewportX:t,layoutViewportY:e,visualViewportX:t,visualViewportY:e};return n?(!function(t){return Math.abs(t.pageTop-t.offsetTop-window.scrollY)>25||Math.abs(t.pageLeft-t.offsetLeft-window.scrollX)>25}(n)?(o.visualViewportX=Math.round(t-n.offsetLeft),o.visualViewportY=Math.round(e-n.offsetTop)):(o.layoutViewportX=Math.round(t+n.offsetLeft),o.layoutViewportY=Math.round(e+n.offsetTop)),o):o},Ct=t=>({scale:t.scale,offsetLeft:t.offsetLeft,offsetTop:t.offsetTop,pageLeft:t.pageLeft,pageTop:t.pageTop,height:t.height,width:t.width});function Ot(t,e,n,o,s,i=Mt()){const{width:r,height:c}=(0,a.pB)();n({data:{height:c,href:window.location.href,width:r},type:l,timestamp:t}),n({data:{has_focus:document.hasFocus()},type:f,timestamp:t}),i(t,e,document,n,o,s),window.visualViewport&&n({data:Ct(window.visualViewport),type:h,timestamp:t})}function Mt(){return Y()?wt:gt}var Pt=n(12452),At=n(80320),Lt=n(80886);function kt(t){return Boolean(t.changedTouches)}function $t(t){return!0===t.composed&&(0,a.XS)(t.target)?t.composedPath()[0]:t.target}function zt(t,e){const{throttled:n,cancel:o}=(0,r.n)(n=>{const o=$t(n),s=e.nodeIds.get(o);if(void 0===s)return;const i=Ht(n);if(!i)return;const r={id:s,timeOffset:0,x:i.x,y:i.y};t(bt(kt(n)?R:E,{positions:[r]}))},50,{trailing:!1}),{stop:s}=(0,Lt.l)(e.configuration,document,["mousemove","touchmove"],n,{capture:!0,passive:!0});return{stop:()=>{s(),o()}}}function Ht(t){let{clientX:e,clientY:n}=kt(t)?t.changedTouches[0]:t;if(window.visualViewport){const{visualViewportX:t,visualViewportY:o}=Rt(e,n);e=t,n=o}if(Number.isFinite(e)&&Number.isFinite(n))return{x:e,y:n}}const Vt={pointerup:M,mousedown:P,click:A,contextmenu:L,dblclick:k,focus:$,blur:z,touchstart:H,touchend:V};function Gt(t,e){return(0,Lt.l)(e.configuration,document,Object.keys(Vt),n=>{const o=$t(n),s=e.nodeIds.get(o);if(void 0===s||(0,a.PJ)(o,e.configuration.defaultPrivacyLevel)===a.$m.HIDDEN)return;const i=Vt[n.type];let r;if(i!==z&&i!==$){const t=Ht(n);if(!t)return;r={id:s,type:i,x:t.x,y:t.y}}else r={id:s,type:i};t({id:e.eventIds.getOrInsert(n),...bt(T,r)})},{capture:!0,passive:!0})}function Ut(t,e,n){const{throttled:o,cancel:s}=(0,r.n)(t=>{const o=$t(t);if(!o)return;const s=n.nodeIds.get(o);if(void 0===s||(0,a.PJ)(o,n.configuration.defaultPrivacyLevel)===a.$m.HIDDEN)return;const i=o===document?{scrollTop:(0,a.zL)(),scrollLeft:(0,a.Gn)()}:{scrollTop:Math.round(o.scrollTop),scrollLeft:Math.round(o.scrollLeft)};n.elementsScrollPositions.set(o,i),e(bt(x,{id:s,x:i.scrollLeft,y:i.scrollTop}))},100),{stop:i}=(0,Lt.q)(n.configuration,t,"scroll",o,{capture:!0,passive:!0});return{stop:()=>{i(),s()}}}function Bt(t,e){const n=(0,a.g1)(e.configuration).subscribe(e=>{t(bt(_,e))});return{stop:()=>{n.unsubscribe()}}}function Jt(t,e){const n=window.visualViewport;if(!n)return{stop:r.l};const{throttled:o,cancel:s}=(0,r.n)(()=>{t({data:Ct(n),type:h,timestamp:(0,c.nx)()})},200,{trailing:!1}),{stop:i}=(0,Lt.l)(e.configuration,n,["resize","scroll"],o,{capture:!0,passive:!0});return{stop:()=>{i(),s()}}}function Xt(t,e){return(0,Lt.l)(e.configuration,document,["play","pause"],n=>{const o=$t(n);if(!o)return;const s=e.nodeIds.get(o);void 0!==s&&(0,a.PJ)(o,e.configuration.defaultPrivacyLevel)!==a.$m.HIDDEN&&t(bt(C,{id:s,type:"play"===n.type?G:U}))},{capture:!0,passive:!0})}var Yt=n(23054);function Ft(t,e){function n(t,n){if(!t||!t.ownerNode)return;const o=e.nodeIds.get(t.ownerNode);void 0!==o&&n(o)}const o=[(0,Yt.H)(CSSStyleSheet.prototype,"insertRule",({target:e,parameters:[o,s]})=>{n(e,e=>t(bt(O,{id:e,adds:[{rule:o,index:s}]})))}),(0,Yt.H)(CSSStyleSheet.prototype,"deleteRule",({target:e,parameters:[o]})=>{n(e,e=>t(bt(O,{id:e,removes:[{index:o}]})))})];function s(e){o.push((0,Yt.H)(e.prototype,"insertRule",({target:e,parameters:[o,s]})=>{n(e.parentStyleSheet,n=>{const i=Wt(e);i&&(i.push(s||0),t(bt(O,{id:n,adds:[{rule:o,index:i}]})))})}),(0,Yt.H)(e.prototype,"deleteRule",({target:e,parameters:[o]})=>{n(e.parentStyleSheet,n=>{const s=Wt(e);s&&(s.push(o),t(bt(O,{id:n,removes:[{index:s}]})))})}))}return"undefined"!=typeof CSSGroupingRule?s(CSSGroupingRule):(s(CSSMediaRule),s(CSSSupportsRule)),{stop:()=>{o.forEach(t=>t.stop())}}}function Wt(t){const e=[];let n=t;for(;n.parentRule;){const t=Array.from(n.parentRule.cssRules).indexOf(n);e.unshift(t),n=n.parentRule}if(!n.parentStyleSheet)return;const o=Array.from(n.parentStyleSheet.cssRules).indexOf(n);return e.unshift(o),e}function qt(t,e){return(0,Lt.l)(e.configuration,window,["focus","blur"],()=>{t({data:{has_focus:document.hasFocus()},type:f,timestamp:(0,c.nx)()})})}function jt(t,e,n){const o=t.subscribe(5,()=>{n(),e({timestamp:(0,c.nx)(),type:p})});return{stop:()=>{o.unsubscribe()}}}function Kt(t,e,n){const o=n.configuration.defaultPrivacyLevel,s=new WeakMap,i=t!==document,{stop:c}
2=(0,Lt.l)(n.configuration,t,i?["change"]:["input","change"],t=>{const e=$t(t);(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement)&&u(e)},{capture:!0,passive:!0});let d;if(i)d=r.l;else{const t=[(0,Yt.t)(HTMLInputElement.prototype,"value",u),(0,Yt.t)(HTMLInputElement.prototype,"checked",u),(0,Yt.t)(HTMLSelectElement.prototype,"value",u),(0,Yt.t)(HTMLTextAreaElement.prototype,"value",u),(0,Yt.t)(HTMLSelectElement.prototype,"selectedIndex",u)];d=()=>{t.forEach(t=>t.stop())}}return{stop:()=>{d(),c()}};function u(t){const e=(0,a.PJ)(t,o);if(e===a.$m.HIDDEN)return;const n=t.type;let s;if("radio"===n||"checkbox"===n){if((0,a.Ie)(t,e))return;s={isChecked:t.checked}}else{const n=q(t,e);if(void 0===n)return;s={text:n}}l(t,s);const i=t.name;"radio"===n&&i&&t.checked&&document.querySelectorAll(`input[type="radio"][name="${CSS.escape(i)}"]`).forEach(e=>{e!==t&&l(e,{isChecked:!1})})}function l(t,o){const i=n.nodeIds.get(t);if(void 0===i)return;const r=s.get(t);r&&r.text===o.text&&r.isChecked===o.isChecked||(s.set(t,o),e(bt(D,{id:i,...o})))}}var Zt=n(42182),Qt=n(34144);function te(t,e,n,o,s=function(){return F()?xt:Et}()){const i=(0,a.W3)();if(!i)return{stop:r.l,flush:r.l};const d=function(t){let e=r.l,n=[];function o(){e(),t(n),n=[]}const{throttled:s,cancel:i}=(0,r.n)(o,16,{leading:!1});return{addMutations:t=>{0===n.length&&(e=(0,Qt.BB)(s,{timeout:100})),n.push(...t)},flush:o,stop:()=>{e(),i()}}}(t=>{s((0,c.nx)(),t.concat(u.takeRecords()),e,n,o)}),u=new i((0,Zt.dm)(d.addMutations));return u.observe(t,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:()=>{u.disconnect(),d.stop()},flush:()=>{d.flush()}}}var ee=n(399);function ne(){return se(()=>new Map,0)}function oe(t){return se(()=>new WeakMap,t)}function se(t,e){let n=t(),o=e;const s=t=>n.get(t);return{clear(){o!==e&&(n=t(),o=e)},delete(t){n.delete(t)},get:s,getOrInsert(t){let e=s(t);return void 0===e&&(e=o++,n.set(t,e)),e},get nextId(){return o},get size(){return o-e}}}function ie(t,e,n){const o=oe(1),s=oe(0),i=ne(),r=oe(0),a={resetIds(){a.eventIds.clear(),a.nodeIds.clear(),a.stringIds.clear(),a.styleSheetIds.clear()},configuration:t,elementsScrollPositions:e,eventIds:o,nodeIds:s,serializeObservable:new ee.cP,shadowRootsController:n,stringIds:i,styleSheetIds:r};return a}function re(t){const{emitRecord:e,emitStats:n,configuration:o,lifeCycle:s}=t;if(!e||!n)throw new Error("emit functions are required");const i=n=>{e(n),(0,Pt.b)("record",{record:n});const o=t.viewHistory.findView();At.$1(o.id)},r=((t,e)=>{const n=new Map;return{addShadowRoot:(o,s)=>{if(n.has(o))return;const i=te(o,t,e,s),r=Kt(o,t,s),a=Ut(o,t,s);n.set(o,{flush:()=>i.flush(),stop:()=>{i.stop(),r.stop(),a.stop()}})},removeShadowRoot:t=>{const e=n.get(t);e&&(e.stop(),n.delete(t))},stop:()=>{n.forEach(({stop:t})=>t())},flush:()=>{n.forEach(({flush:t})=>t())}}})(i,n),a=ie(o,function(){const t=new WeakMap;return{set(e,n){(e!==document||document.scrollingElement)&&t.set(e===document?document.scrollingElement:e,n)},get:e=>t.get(e),has:e=>t.has(e)}}(),r),{stop:d}=function(t,e,n,o,s,i=Mt()){Ot((0,c.nx)(),0,e,n,s,i);const{unsubscribe:r}=t.subscribe(2,t=>{o(),Ot(t.startClocks.timeStamp,1,e,n,s,i)});return{stop:r}}(s,i,n,u,a);function u(){r.flush(),l.flush()}const l=te(document,i,n,a),f=[l,zt(i,a),Gt(i,a),Ut(document,i,a),Bt(i,a),Kt(document,i,a),Xt(i,a),Ft(i,a),qt(i,a),Jt(i,a),jt(s,i,u)];return{stop:()=>{r.stop(),f.forEach(t=>t.stop()),d()},flushMutations:u,shadowRootsController:r}}var ae=n(79458),ce=n(93001);function de({context:t,creationReason:e,encoder:n}){let o=0;const s=t.view.id,i={start:1/0,end:-1/0,creation_reason:e,records_count:0,has_full_snapshot:!1,index_in_view:At.K_(s),source:"browser",...t},r={cssText:{count:0,max:0,sum:0},serializationDuration:{count:0,max:0,sum:0}};return At.H5(s),{addRecord:function(t,e){i.start=Math.min(i.start,t.timestamp),i.end=Math.max(i.end,t.timestamp),i.records_count+=1,i.has_full_snapshot||(i.has_full_snapshot=t.type===d||t.type===m&&0===i.index_in_view);const s=n.isEmpty?'{"records":[':",";n.write(s+JSON.stringify(t),t=>
2{o+=t,e(o)})},addStats:function(t){!function(t,e){for(const n of["cssText","serializationDuration"])t[n].count+=e[n].count,t[n].max=Math.max(t[n].max,e[n].max),t[n].sum+=e[n].sum}(r,t)},flush:function(t){if(n.isEmpty)throw new Error("Empty segment flushed");n.write(`],${JSON.stringify(i).slice(1)}\n`),n.finish(e=>{At.L7(i.view.id,e.rawBytesCount),t(i,r,e)})}}}const ue=5*c.OY;let le=6e4;function fe(t,e,n,o,s,i){return function(t,e,n,o){let s={status:0,nextSegmentCreationReason:"init"};const{unsubscribe:i}=t.subscribe(2,()=>{a("view_change")}),{unsubscribe:r}=t.subscribe(11,t=>{a(t.reason)});function a(t){1===s.status&&(s.segment.flush((e,o,s)=>{const i=function(t,e,n,o){const s=new FormData;s.append("segment",new Blob([t],{type:"application/octet-stream"}),`${e.session.id}-${e.start}`);const i={raw_segment_size:o,compressed_segment_size:t.byteLength,...e},r=JSON.stringify(i);return s.append("event",new Blob([r],{type:"application/json"})),{data:s,bytesCount:t.byteLength,cssText:n.cssText,isFullSnapshot:0===e.index_in_view,rawSize:o,recordCount:e.records_count,serializationDuration:n.serializationDuration}}(s.output,e,o,s.rawBytesCount);(0,ae.Kp)(t)?n.sendOnExit(i):n.send(i)}),(0,ce.DJ)(s.expirationTimeoutId)),s="stop"!==t?{status:0,nextSegmentCreationReason:t}:{status:2}}return{addRecord:t=>{if(2!==s.status){if(0===s.status){const t=e();if(!t)return;s={status:1,segment:de({encoder:o,context:t,creationReason:s.nextSegmentCreationReason}),expirationTimeoutId:(0,ce.wg)(()=>{a("segment_duration_limit")},ue)}}s.segment.addRecord(t,t=>{t>le&&a("segment_bytes_limit")})}},addStats:t=>{1===s.status&&s.segment.addStats(t)},stop:()=>{a("stop"),i(),r()}}}(t,()=>function(t,e,n){const o=e.findTrackedSession(),s=n.findView();if(!o||!s)return;return{application:{id:t},session:{id:o.id},view:{id:s.id}}}(e.applicationId,n,o),s,i)}function pe(t,e){if(!t.metricsEnabled)return{stop:r.l};const{unsubscribe:n}=e.subscribe(t=>{if("failure"===t.type||"queue-full"===t.type||"success"===t.type&&t.payload.isFullSnapshot){const i=(e=t.type,n=t.bandwidth,{cssText:{count:(s=t.payload).cssText.count,max:s.cssText.max,sum:s.cssText.sum},encoding:{fullSnapshot:Y()?"change":"v1",incrementalSnapshot:F()?"change":"v1"},isFullSnapshot:s.isFullSnapshot,ongoingRequests:{count:n.ongoingRequestCount,totalSize:n.ongoingByteCount},recordCount:s.recordCount,result:e,serializationDuration:{count:s.serializationDuration.count,max:s.serializationDuration.max,sum:s.serializationDuration.sum},size:{compressed:s.bytesCount,raw:s.rawSize}});(0,o.Gk)("Segment network request metrics",{metrics:i})}var e,n,s});return{stop:n}}function he(t,e,n,a,c,d,u){const l=[],f=u||(0,s.sA)([e.sessionReplayEndpointBuilder],e=>{t.notify(14,{error:e}),(0,o.A2)("Error reported to customer",{"error.message":e.message})},le);let p,h;if((0,i.d0)())({addRecord:p}=function(t){const e=(0,i.Y9)();return{addRecord:n=>{const o=t.findView();e.send("record",n,o.id)}}}(a)),h=r.l;else{const o=fe(t,e,n,a,f,c);p=o.addRecord,h=o.addStats,l.push(o.stop);const s=pe(d,f.observable);l.push(s.stop)}const{stop:m}=re({emitRecord:p,emitStats:h,configuration:e,lifeCycle:t,viewHistory:a});return l.push(m),{stop:()=>{l.forEach(t=>t())}}}}}]);
3//# sourceMappingURL=recorder.85505e14283538086559.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.