diff --git a/assets/main.c5c35160.js b/assets/main.e25f77d0.js similarity index 60% rename from assets/main.c5c35160.js rename to assets/main.e25f77d0.js index 47dff15..e94026c 100644 --- a/assets/main.c5c35160.js +++ b/assets/main.e25f77d0.js @@ -1 +1 @@ -import{p as o}from"./populate-versions.6b236a56.js";function e(){o(),console.log("Welcome to rrwebdebug.com!")}document.addEventListener("DOMContentLoaded",e); +import{p as o}from"./populate-versions.b01ef36d.js";function e(){o(),console.log("Welcome to rrwebdebug.com!")}document.addEventListener("DOMContentLoaded",e); diff --git a/assets/play.7304e565.js b/assets/play.50a49902.js similarity index 99% rename from assets/play.7304e565.js rename to assets/play.50a49902.js index d2d8003..a2671ba 100644 --- a/assets/play.7304e565.js +++ b/assets/play.50a49902.js @@ -1,4 +1,4 @@ -var S6=Object.defineProperty,C6=Object.defineProperties;var O6=Object.getOwnPropertyDescriptors;var i1=Object.getOwnPropertySymbols;var M6=Object.prototype.hasOwnProperty,E6=Object.prototype.propertyIsEnumerable;var o1=(n,e,t)=>e in n?S6(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Tr=(n,e)=>{for(var t in e||(e={}))M6.call(e,t)&&o1(n,t,e[t]);if(i1)for(var t of i1(e))E6.call(e,t)&&o1(n,t,e[t]);return n},gs=(n,e)=>C6(n,O6(e));var A6=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports);import{v as t$,p as T6}from"./populate-versions.6b236a56.js";var rQ=A6((Si,Ci)=>{function Nn(n){return Array.isArray(n)}function Gn(n){return n!==null&&typeof n=="object"&&(n.constructor===void 0||n.constructor.name==="Object")}function n$(n){return n&&typeof n=="object"?n.op==="add":!1}function r$(n){return n&&typeof n=="object"?n.op==="remove":!1}function Gg(n){return n&&typeof n=="object"?n.op==="replace":!1}function om(n){return n&&typeof n=="object"?n.op==="copy":!1}function ll(n){return n&&typeof n=="object"?n.op==="move":!1}function P6(n,e){return JSON.stringify(n)===JSON.stringify(e)}function _6(n,e){return n===e}function i$(n){return n.slice(0,n.length-1)}function R6(n){return n[n.length-1]}function N6(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_6;if(n.length{e[t]=n[t]}),e}else if(Gn(n)){const e=Tr({},n);return Object.getOwnPropertySymbols(n).forEach(t=>{e[t]=n[t]}),e}else return n}function Yg(n,e,t){if(n[e]===t)return n;{const r=Qg(n);return r[e]=t,r}}function Ye(n,e){let t=n,r=0;for(;r3&&arguments[3]!==void 0?arguments[3]:!1;if(e.length===0)return t;const i=e[0],o=Xi(n?n[i]:void 0,e.slice(1),t,r);if(Gn(n)||Nn(n))return Yg(n,i,o);if(r){const s=I6.test(i)?[]:{};return s[i]=o,s}else throw new Error("Path does not exist")}const I6=/^\d+$/;function s$(n,e,t){if(e.length===0)return t(n);if(!o$(n))throw new Error("Path doesn't exist");const r=e[0],i=s$(n[r],e.slice(1),t);return Yg(n,r,i)}function Xg(n,e){if(e.length===0)return n;if(!o$(n))throw new Error("Path does not exist");if(e.length===1){const i=e[0];if(i in n){const o=Qg(n);return Nn(o)&&o.splice(parseInt(i),1),Gn(o)&&delete o[i],o}else return n}const t=e[0],r=Xg(n[t],e.slice(1));return Yg(n,t,r)}function Zg(n,e,t){const r=e.slice(0,e.length-1),i=e[e.length-1];return s$(n,r,o=>{if(!Array.isArray(o))throw new TypeError("Array expected at path "+JSON.stringify(r));const s=Qg(o);return s.splice(parseInt(i),0,t),s})}function Ii(n,e){return n===void 0?!1:e.length===0?!0:n===null?!1:Ii(n[e[0]],e.slice(1))}function ao(n){const e=n.split("/");return e.shift(),e.map(t=>t.replace(/~1/g,"/").replace(/~0/g,"~"))}function Ue(n){return n.map(ev).join("")}function ev(n){return"/"+String(n).replace(/~/g,"~0").replace(/\//g,"~1")}function s1(n,e){return n+ev(e)}function lh(n,e){return n.startsWith(e)&&(n.length===e.length||n[e.length]==="/")}function ro(n,e,t){let r=n;for(let i=0;i{let a;const l=Eo(o,s.path);if(s.op==="add")a=u$(o,l);else if(s.op==="remove")a=c$(o,l);else if(s.op==="replace")a=l$(o,l);else if(s.op==="copy")a=U6(o,l);else if(s.op==="move")a=W6(o,l,sm(s.from));else if(s.op==="test")a=[];else throw new Error("Unknown JSONPatch operation "+JSON.stringify(s));let c;if(t&&t.before){const u=t.before(o,s,a);if(u&&u.revertOperations&&(a=u.revertOperations),u&&u.document&&(c=u.document),u&&u.json)throw new Error('Deprecation warning: returned object property ".json" has been renamed to ".document"')}if(r=a.concat(r),c!==void 0)return{document:c}}}),r}function l$(n,e){return[{op:"replace",path:Ue(e),value:Ye(n,e)}]}function c$(n,e){return[{op:"add",path:Ue(e),value:Ye(n,e)}]}function u$(n,e){return vu(n,e)||!Ii(n,e)?[{op:"remove",path:Ue(e)}]:l$(n,e)}function U6(n,e){return u$(n,e)}function W6(n,e,t){if(e.lengthe in n?S6(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Tr=(n,e)=>{for(var t in e||(e={}))M6.call(e,t)&&o1(n,t,e[t]);if(i1)for(var t of i1(e))E6.call(e,t)&&o1(n,t,e[t]);return n},gs=(n,e)=>C6(n,O6(e));var A6=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports);import{v as t$,p as T6}from"./populate-versions.b01ef36d.js";var rQ=A6((Si,Ci)=>{function Nn(n){return Array.isArray(n)}function Gn(n){return n!==null&&typeof n=="object"&&(n.constructor===void 0||n.constructor.name==="Object")}function n$(n){return n&&typeof n=="object"?n.op==="add":!1}function r$(n){return n&&typeof n=="object"?n.op==="remove":!1}function Gg(n){return n&&typeof n=="object"?n.op==="replace":!1}function om(n){return n&&typeof n=="object"?n.op==="copy":!1}function ll(n){return n&&typeof n=="object"?n.op==="move":!1}function P6(n,e){return JSON.stringify(n)===JSON.stringify(e)}function _6(n,e){return n===e}function i$(n){return n.slice(0,n.length-1)}function R6(n){return n[n.length-1]}function N6(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_6;if(n.length{e[t]=n[t]}),e}else if(Gn(n)){const e=Tr({},n);return Object.getOwnPropertySymbols(n).forEach(t=>{e[t]=n[t]}),e}else return n}function Yg(n,e,t){if(n[e]===t)return n;{const r=Qg(n);return r[e]=t,r}}function Ye(n,e){let t=n,r=0;for(;r3&&arguments[3]!==void 0?arguments[3]:!1;if(e.length===0)return t;const i=e[0],o=Xi(n?n[i]:void 0,e.slice(1),t,r);if(Gn(n)||Nn(n))return Yg(n,i,o);if(r){const s=I6.test(i)?[]:{};return s[i]=o,s}else throw new Error("Path does not exist")}const I6=/^\d+$/;function s$(n,e,t){if(e.length===0)return t(n);if(!o$(n))throw new Error("Path doesn't exist");const r=e[0],i=s$(n[r],e.slice(1),t);return Yg(n,r,i)}function Xg(n,e){if(e.length===0)return n;if(!o$(n))throw new Error("Path does not exist");if(e.length===1){const i=e[0];if(i in n){const o=Qg(n);return Nn(o)&&o.splice(parseInt(i),1),Gn(o)&&delete o[i],o}else return n}const t=e[0],r=Xg(n[t],e.slice(1));return Yg(n,t,r)}function Zg(n,e,t){const r=e.slice(0,e.length-1),i=e[e.length-1];return s$(n,r,o=>{if(!Array.isArray(o))throw new TypeError("Array expected at path "+JSON.stringify(r));const s=Qg(o);return s.splice(parseInt(i),0,t),s})}function Ii(n,e){return n===void 0?!1:e.length===0?!0:n===null?!1:Ii(n[e[0]],e.slice(1))}function ao(n){const e=n.split("/");return e.shift(),e.map(t=>t.replace(/~1/g,"/").replace(/~0/g,"~"))}function Ue(n){return n.map(ev).join("")}function ev(n){return"/"+String(n).replace(/~/g,"~0").replace(/\//g,"~1")}function s1(n,e){return n+ev(e)}function lh(n,e){return n.startsWith(e)&&(n.length===e.length||n[e.length]==="/")}function ro(n,e,t){let r=n;for(let i=0;i{let a;const l=Eo(o,s.path);if(s.op==="add")a=u$(o,l);else if(s.op==="remove")a=c$(o,l);else if(s.op==="replace")a=l$(o,l);else if(s.op==="copy")a=U6(o,l);else if(s.op==="move")a=W6(o,l,sm(s.from));else if(s.op==="test")a=[];else throw new Error("Unknown JSONPatch operation "+JSON.stringify(s));let c;if(t&&t.before){const u=t.before(o,s,a);if(u&&u.revertOperations&&(a=u.revertOperations),u&&u.document&&(c=u.document),u&&u.json)throw new Error('Deprecation warning: returned object property ".json" has been renamed to ".document"')}if(r=a.concat(r),c!==void 0)return{document:c}}}),r}function l$(n,e){return[{op:"replace",path:Ue(e),value:Ye(n,e)}]}function c$(n,e){return[{op:"add",path:Ue(e),value:Ye(n,e)}]}function u$(n,e){return vu(n,e)||!Ii(n,e)?[{op:"remove",path:Ue(e)}]:l$(n,e)}function U6(n,e){return u$(n,e)}function W6(n,e,t){if(e.length=0?W=f():$()}return y(F,"valueEnd"),c(),I&&sNumber.MAX_SAFE_INTEGER||W="a"&&W<="f"?I+=W.charCodeAt()-K6+10:W>="0"&&W<="9"?I+=+W:S()}return String.fromCharCode(I)}function b(){for(var F="";n[s]>="0"&&n[s]<="9";)F+=m();if(F.length)return F;_(),$()}function y(F,I){x(F,I,w())}function x(F,I,W){r[F]=r[F]||{},r[F][I]=W}function w(){return{line:i,column:o,pos:s}}function $(){throw new SyntaxError("Unexpected token "+n[s]+" in JSON at position "+s)}function S(){v(),$()}function _(){if(s>=n.length)throw new SyntaxError("Unexpected end of JSON input")}};od.stringify=function(n,e,t){if(!qu(n))return;var r=0,i,o,s=typeof t=="object"?t.space:t;switch(typeof s){case"number":var a=s>10?10:s<0?0:Math.floor(s);s=a&&x(a," "),i=a,o=a;break;case"string":s=s.slice(0,10),i=0,o=0;for(var l=0;l{for(const r of e)if(r.type==="childList")for(const t of r.addedNodes)t.tagName==="LINK"&&t.rel==="modulepreload"&&a(t)}).observe(document,{childList:!0,subtree:!0});function n(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerpolicy&&(r.referrerPolicy=e.referrerpolicy),e.crossorigin==="use-credentials"?r.credentials="include":e.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function a(e){if(e.ep)return;e.ep=!0;const r=n(e);fetch(e.href,r)}};s();var l={"0.7.1":{rrwebVersion:"0.9.14"},"0.7.2":{rrwebVersion:"1.0.0"},"0.7.3":{rrwebVersion:"1.0.1"},"0.7.4":{rrwebVersion:"1.0.2"},"0.7.5":{rrwebVersion:"1.0.3"},"0.7.6":{rrwebVersion:"1.0.4"},"0.7.7":{rrwebVersion:"1.0.5"},"0.7.8":{rrwebVersion:"1.0.6"},"0.7.9":{rrwebVersion:"1.0.7"},"0.7.10":{rrwebVersion:"1.0.8"},"0.7.11":{rrwebVersion:"1.1.0"},"0.7.13":{rrwebVersion:"1.1.2"},"0.7.14":{rrwebVersion:"1.1.3"},"1.0.0-alpha.0":{rrwebVersion:"2.0.0-alpha.0"},"1.0.0-alpha.1":{rrwebVersion:"2.0.0-alpha.1"},"1.0.0-alpha.2":{rrwebVersion:"2.0.0-alpha.2"},"1.0.0-alpha.3":{rrwebVersion:"2.0.0-alpha.3"},"2.0.0-alpha.5":{rrwebVersion:"2.0.0-alpha.5"},"2.0.0-alpha.6":{rrwebVersion:"2.0.0-alpha.6"},"2.0.0-alpha.7":{rrwebVersion:"2.0.0-alpha.7"},"2.0.0-alpha.8":{rrwebVersion:"2.0.0-alpha.8"},"2.0.0-alpha.9":{rrwebVersion:"2.0.0-alpha.9"},"2.0.0-alpha.10":{rrwebVersion:"2.0.0-alpha.10"},"2.0.0-alpha.11":{rrwebVersion:"2.0.0-alpha.11"},"2.0.0-alpha.12":{rrwebVersion:"2.0.0-alpha.12",default:!0}};function p(i){document.getElementById("versions").innerHTML=Object.entries(l).map(([o,n])=>{const{rrwebVersion:a}=n,e="default"in n&&n.default;return``}).join(""),i&&(document.getElementById("versions").value=i)}export{p,l as v}; +const t=function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))a(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&a(s)}).observe(document,{childList:!0,subtree:!0});function n(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerpolicy&&(r.referrerPolicy=e.referrerpolicy),e.crossorigin==="use-credentials"?r.credentials="include":e.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function a(e){if(e.ep)return;e.ep=!0;const r=n(e);fetch(e.href,r)}};t();var l={"0.7.1":{rrwebVersion:"0.9.14"},"0.7.2":{rrwebVersion:"1.0.0"},"0.7.3":{rrwebVersion:"1.0.1"},"0.7.4":{rrwebVersion:"1.0.2"},"0.7.5":{rrwebVersion:"1.0.3"},"0.7.6":{rrwebVersion:"1.0.4"},"0.7.7":{rrwebVersion:"1.0.5"},"0.7.8":{rrwebVersion:"1.0.6"},"0.7.9":{rrwebVersion:"1.0.7"},"0.7.10":{rrwebVersion:"1.0.8"},"0.7.11":{rrwebVersion:"1.1.0"},"0.7.13":{rrwebVersion:"1.1.2"},"0.7.14":{rrwebVersion:"1.1.3"},"1.0.0-alpha.0":{rrwebVersion:"2.0.0-alpha.0"},"1.0.0-alpha.1":{rrwebVersion:"2.0.0-alpha.1"},"1.0.0-alpha.2":{rrwebVersion:"2.0.0-alpha.2"},"1.0.0-alpha.3":{rrwebVersion:"2.0.0-alpha.3"},"2.0.0-alpha.5":{rrwebVersion:"2.0.0-alpha.5"},"2.0.0-alpha.6":{rrwebVersion:"2.0.0-alpha.6"},"2.0.0-alpha.7":{rrwebVersion:"2.0.0-alpha.7"},"2.0.0-alpha.8":{rrwebVersion:"2.0.0-alpha.8"},"2.0.0-alpha.9":{rrwebVersion:"2.0.0-alpha.9"},"2.0.0-alpha.10":{rrwebVersion:"2.0.0-alpha.10"},"2.0.0-alpha.11":{rrwebVersion:"2.0.0-alpha.11"},"2.0.0-alpha.12":{rrwebVersion:"2.0.0-alpha.12"},"2.0.0-alpha.13":{rrwebVersion:"2.0.0-alpha.13",default:!0}};function p(i){document.getElementById("versions").innerHTML=Object.entries(l).map(([o,n])=>{const{rrwebVersion:a}=n,e="default"in n&&n.default;return``}).join(""),i&&(document.getElementById("versions").value=i)}export{p,l as v}; diff --git a/index.html b/index.html index e24c311..c8a2baf 100644 --- a/index.html +++ b/index.html @@ -16,8 +16,8 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous" > - - + + diff --git a/play/index.html b/play/index.html index 441eb4c..c2970b5 100644 --- a/play/index.html +++ b/play/index.html @@ -12,8 +12,8 @@ crossorigin="anonymous" /> - - + +

Events JSON: loading...