Spaces:
Paused
Paused
webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552],{5288:function(t,e,r){var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};e.__esModule=!0;var a=n(r(8965)),i=n(r(6910)),o=r(5575);e.default=function(t,e,r,n){void 0===r&&(r=!0);for(var u=t,s={pointers:{},src:{npm:"https://npmjs.com/package/console-feed",github:"https://github.com/samdenty/console-feed"}},f=function(t){var a=u[t];u[t]=function(){a.apply(this,arguments);var u=[].slice.call(arguments);setTimeout((function(){var a=i.default(t,u);if(a){var s=a;r&&(s=o.Encode(a,n)),e(s,a)}}))},s.pointers[t]=a},c=0,l=a.default;c<l.length;c++){f(l[c])}return u.feed=s,u}},9721:function(t,e){e.__esModule=!0,e.default=function(){var t=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)};return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+"-"+Date.now()}},6910:function(t,e,r){var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},n.apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&a(e,t,r);return i(e,t),e},u=this&&this.__spreadArrays||function(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var n=Array(t),a=0;for(e=0;e<r;e++)for(var i=arguments[e],o=0,u=i.length;o<u;o++,a++)n[a]=i[o];return n},s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};e.__esModule=!0;var f=s(r(9721)),c=o(r(5226)),l=o(r(2391)),d=o(r(5776));e.default=function(t,e,r){var a=r||f.default();switch(t){case"clear":return{method:t,id:a};case"count":return!!(i="string"===typeof e[0]?e[0]:"default")&&n(n({},l.increment(i)),{id:a});case"time":case"timeEnd":var i;return!!(i="string"===typeof e[0]?e[0]:"default")&&("time"===t?(c.start(i),!1):n(n({},c.stop(i)),{id:a}));case"assert":if(0!==e.length){var o=d.test.apply(d,u([e[0]],e.slice(1)));if(o)return n(n({},o),{id:a})}return!1;case"error":return{method:t,id:a,data:e.map((function(t){try{return t.stack||t}catch(e){return t}}))};default:return{method:t,id:a,data:e}}}},5776:function(t,e){var r=this&&this.__spreadArrays||function(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var n=Array(t),a=0;for(e=0;e<r;e++)for(var i=arguments[e],o=0,u=i.length;o<u;o++,a++)n[a]=i[o];return n};e.__esModule=!0,e.test=void 0,e.test=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return!t&&(0===e.length&&e.push("console.assert"),{method:"error",data:r(["Assertion failed:"],e)})}},2391:function(t,e,r){var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};e.__esModule=!0,e.increment=void 0;var a=r(3585),i=n(r(1616)),o=r(4138);e.increment=function(t){return i.default(o.count(t)),{method:"log",data:[t+": "+a.state.count[t]]}}},5226:function(t,e,r){var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};e.__esModule=!0,e.stop=e.start=void 0;var a=r(3585),i=n(r(1616)),o=r(4138);e.start=function(t){i.default(o.timeStart(t))},e.stop=function(t){var e=null===a.state||void 0===a.state?void 0:a.state.timings[t];return e&&!e.end?(i.default(o.timeEnd(t)),{method:"log",data:[t+": "+a.state.timings[t].time+"ms"]}):{method:"warn",data:["Timer '"+t+"' does not exist"]}}},4138:function(t,e){e.__esModule=!0,e.timeEnd=e.timeStart=e.count=void 0,e.count=function(t){return{type:"COUNT",name:t}},e.timeStart=function(t){return{type:"TIME_START",name:t}},e.timeEnd=function(t){return{type:"TIME_END",name:t}}},1616:function(t,e,r){var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};e.__esModule=!0;var a=n(r(3591)),i=r(3585);e.default=function(t){i.update(a.default(i.state,t))}},3591:function(t,e){var r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},r.apply(this,arguments)};e.__esModule=!0,e.initialState=void 0,e.initialState={timings:{},count:{}};var n=function(){return"undefined"!==typeof performance&&performance.now?performance.now():Date.now()};e.default=function(t,a){var i,o,u;switch(void 0===t&&(t=e.initialState),a.type){case"COUNT":var s=t.count[a.name]||0;return r(r({},t),{count:r(r({},t.count),(i={},i[a.name]=s+1,i))});case"TIME_START":return r(r({},t),{timings:r(r({},t.timings),(o={},o[a.name]={start:n()},o))});case"TIME_END":var f=t.timings[a.name],c=n(),l=c-f.start;return r(r({},t),{timings:r(r({},t.timings),(u={},u[a.name]=r(r({},f),{end:c,time:l}),u))});default:return t}}},3585:function(t,e){e.__esModule=!0,e.update=e.state=void 0,e.update=function(t){e.state=t}},1254:function(t,e){e.__esModule=!0,e.default={type:"BigInt",shouldTransform:function(t,e){return"bigint"===typeof e},toSerializable:function(t){return t+"n"},fromSerializable:function(t){return BigInt(t.slice(0,-1))}}},76:function(t,e){e.__esModule=!0,e.default={type:"Function",lookup:Function,shouldTransform:function(t,e){return"function"===typeof e},toSerializable:function(t){var e="";try{e=t.toString().substring(e.indexOf("{")+1,e.lastIndexOf("}"))}catch(r){}return{name:t.name,body:e,proto:Object.getPrototypeOf(t).constructor.name}},fromSerializable:function(t){try{var e=function(){};return"string"===typeof t.name&&Object.defineProperty(e,"name",{value:t.name,writable:!1}),"string"===typeof t.body&&Object.defineProperty(e,"body",{value:t.body,writable:!1}),"string"===typeof t.proto&&(e.constructor={name:t.proto}),e}catch(r){return t}}}},9329:function(t,e){var r;function n(t){for(var e={},r=0,n=t.attributes;r<n.length;r++){var a=n[r];e[a.name]=a.value}return e}e.__esModule=!0,e.default={type:"HTMLElement",shouldTransform:function(t,e){return e&&e.children&&"string"===typeof e.innerHTML&&"string"===typeof e.tagName},toSerializable:function(t){return{tagName:t.tagName.toLowerCase(),attributes:n(t),innerHTML:t.innerHTML}},fromSerializable:function(t){try{var e=(r||(r=document.implementation.createHTMLDocument("sandbox"))).createElement(t.tagName);e.innerHTML=t.innerHTML;for(var n=0,a=Object.keys(t.attributes);n<a.length;n++){var i=a[n];try{e.setAttribute(i,t.attributes[i])}catch(o){}}return e}catch(o){return t}}}},5761:function(t,e){var r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},r.apply(this,arguments)};e.__esModule=!0,e.default={type:"Map",lookup:Map,shouldTransform:function(t,e){return e&&e.constructor&&"Map"===e.constructor.name},toSerializable:function(t){var e={};return t.forEach((function(t,r){var n="object"==typeof r?JSON.stringify(r):r;e[n]=t})),{name:"Map",body:e,proto:Object.getPrototypeOf(t).constructor.name}},fromSerializable:function(t){var e=t.body,n=r({},e);return"string"===typeof t.proto&&(n.constructor={name:t.proto}),n}}},4290:function(t,e){var r;e.__esModule=!0,function(t){t[t.infinity=0]="infinity",t[t.minusInfinity=1]="minusInfinity",t[t.minusZero=2]="minusZero"}(r||(r={})),e.default={type:"Arithmetic",lookup:Number,shouldTransform:function(t,e){return"number"===t&&(e===1/0||e===-1/0||function(t){return 1/t===-1/0}(e))},toSerializable:function(t){return t===1/0?r.infinity:t===-1/0?r.minusInfinity:r.minusZero},fromSerializable:function(t){return t===r.infinity?1/0:t===r.minusInfinity?-1/0:t===r.minusZero?-0:t}}},5575:function(t,e,r){var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};e.__esModule=!0,e.Decode=e.Encode=void 0;var a=n(r(4290)),i=n(r(1254)),o=n(r(76)),u=n(r(9329)),s=n(r(5761)),f=n(r(5954)),c=[u.default,o.default,a.default,s.default,i.default],l=new f.default;l.addTransforms(c),e.Encode=function(t,e){return JSON.parse(l.encode(t,e))},e.Decode=function(t){var e=l.decode(JSON.stringify(t));return e.data.pop(),e}},5954:function(t,e){e.__esModule=!0;var r=/^#*@(t|r)$/,n="__console_feed_remaining__",a=(0,eval)("this"),i="function"===typeof ArrayBuffer,o="function"===typeof Map,u="function"===typeof Set,s=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"],f=Array.prototype.slice,c={serialize:function(t){return JSON.stringify(t)},deserialize:function(t){return JSON.parse(t)}},l=function(){function t(t,e,r){this.references=t,this.transforms=e,this.transformsMap=this._makeTransformsMap(),this.circularCandidates=[],this.circularCandidatesDescrs=[],this.circularRefCount=0,this.limit=null!==r&&void 0!==r?r:1/0}return t._createRefMark=function(t){var e=Object.create(null);return e["@r"]=t,e},t.prototype._createCircularCandidate=function(t,e,r){this.circularCandidates.push(t),this.circularCandidatesDescrs.push({parent:e,key:r,refIdx:-1})},t.prototype._applyTransform=function(t,e,r,n){var a=Object.create(null),i=n.toSerializable(t);return"object"===typeof i&&this._createCircularCandidate(t,e,r),a["@t"]=n.type,a.data=this._handleValue((function(){return i}),e,r),a},t.prototype._handleArray=function(t){for(var e=[],r=Math.min(t.length,this.limit),a=t.length-r,i=function(r){e[r]=o._handleValue((function(){return t[r]}),e,r)},o=this,u=0;u<r;u++)i(u);return e[r]=n+a,e},t.prototype._handlePlainObject=function(t){var e,a,i=Object.create(null),o=0,u=0,s=function(e){if(Reflect.has(t,e)){if(o>=f.limit)return u++,"continue";var n=r.test(e)?"#"+e:e;i[n]=f._handleValue((function(){return t[e]}),i,n),o++,u++}},f=this;for(var c in t)s(c);var l=u-o,d=null===(a=null===(e=null===t||void 0===t?void 0:t.__proto__)||void 0===e?void 0:e.constructor)||void 0===a?void 0:a.name;return d&&"Object"!==d&&(i.constructor={name:d}),l&&(i[n]=l),i},t.prototype._handleObject=function(t,e,r){return this._createCircularCandidate(t,e,r),Array.isArray(t)?this._handleArray(t):this._handlePlainObject(t)},t.prototype._ensureCircularReference=function(e){var r=this.circularCandidates.indexOf(e);if(r>-1){var n=this.circularCandidatesDescrs[r];return-1===n.refIdx&&(n.refIdx=n.parent?++this.circularRefCount:0),t._createRefMark(n.refIdx)}return null},t.prototype._handleValue=function(t,e,r){try{var n=t(),a=typeof n,i="object"===a&&null!==n;if(i){var o=this._ensureCircularReference(n);if(o)return o}var u=this._findTransform(a,n);return u?this._applyTransform(n,e,r,u):i?this._handleObject(n,e,r):n}catch(s){try{return this._handleValue((function(){return s instanceof Error?s:new Error(s)}),e,r)}catch(f){return null}}},t.prototype._makeTransformsMap=function(){if(o){var t=new Map;return this.transforms.forEach((function(e){e.lookup&&t.set(e.lookup,e)})),t}},t.prototype._findTransform=function(t,e){if(o&&(e&&e.constructor&&(null===(a=this.transformsMap.get(e.constructor))||void 0===a?void 0:a.shouldTransform(t,e))))return a;for(var r=0,n=this.transforms;r<n.length;r++){var a;if((a=n[r]).shouldTransform(t,e))return a}},t.prototype.transform=function(){for(var e=this,r=[this._handleValue((function(){return e.references}),null,null)],n=0,a=this.circularCandidatesDescrs;n<a.length;n++){var i=a[n];i.refIdx>0&&(r[i.refIdx]=i.parent[i.key],i.parent[i.key]=t._createRefMark(i.refIdx))}return r},t}(),d=function(){function t(t,e){this.activeTransformsStack=[],this.visitedRefs=Object.create(null),this.references=t,this.transformMap=e}return t.prototype._handlePlainObject=function(t){var e=Object.create(null);for(var n in"constructor"in t&&(t.constructor&&"string"===typeof t.constructor.name||(t.constructor={name:"Object"})),t)t.hasOwnProperty(n)&&(this._handleValue(t[n],t,n),r.test(n)&&(e[n.substring(1)]=t[n],delete t[n]));for(var a in e)t[a]=e[a]},t.prototype._handleTransformedObject=function(t,e,r){var n=t["@t"],a=this.transformMap[n];if(!a)throw new Error("Can't find transform for \""+n+'" type.');this.activeTransformsStack.push(t),this._handleValue(t.data,t,"data"),this.activeTransformsStack.pop(),e[r]=a.fromSerializable(t.data)},t.prototype._handleCircularSelfRefDuringTransform=function(t,e,r){var n=this.references;Object.defineProperty(e,r,{val:void 0,configurable:!0,enumerable:!0,get:function(){return void 0===this.val&&(this.val=n[t]),this.val},set:function(t){this.val=t}})},t.prototype._handleCircularRef=function(t,e,r){this.activeTransformsStack.includes(this.references[t])?this._handleCircularSelfRefDuringTransform(t,e,r):(this.visitedRefs[t]||(this.visitedRefs[t]=!0,this._handleValue(this.references[t],this.references,t)),e[r]=this.references[t])},t.prototype._handleValue=function(t,e,r){if("object"===typeof t&&null!==t){var n=t["@r"];if(void 0!==n)this._handleCircularRef(n,e,r);else if(t["@t"])this._handleTransformedObject(t,e,r);else if(Array.isArray(t))for(var a=0;a<t.length;a++)this._handleValue(t[a],t,a);else this._handlePlainObject(t)}},t.prototype.transform=function(){return this.visitedRefs[0]=!0,this._handleValue(this.references[0],this.references,0),this.references[0]},t}(),h=[{type:"[[NaN]]",shouldTransform:function(t,e){return"number"===t&&isNaN(e)},toSerializable:function(){return""},fromSerializable:function(){return NaN}},{type:"[[undefined]]",shouldTransform:function(t){return"undefined"===t},toSerializable:function(){return""},fromSerializable:function(){}},{type:"[[Date]]",lookup:Date,shouldTransform:function(t,e){return e instanceof Date},toSerializable:function(t){return t.getTime()},fromSerializable:function(t){var e=new Date;return e.setTime(t),e}},{type:"[[RegExp]]",lookup:RegExp,shouldTransform:function(t,e){return e instanceof RegExp},toSerializable:function(t){var e={src:t.source,flags:""};return t.global&&(e.flags+="g"),t.ignoreCase&&(e.flags+="i"),t.multiline&&(e.flags+="m"),e},fromSerializable:function(t){return new RegExp(t.src,t.flags)}},{type:"[[Error]]",lookup:Error,shouldTransform:function(t,e){return e instanceof Error},toSerializable:function(t){var e,r;return t.stack||null===(r=(e=Error).captureStackTrace)||void 0===r||r.call(e,t),{name:t.name,message:t.message,stack:t.stack}},fromSerializable:function(t){var e=new(a[t.name]||Error)(t.message);return e.stack=t.stack,e}},{type:"[[ArrayBuffer]]",lookup:i&&ArrayBuffer,shouldTransform:function(t,e){return i&&e instanceof ArrayBuffer},toSerializable:function(t){var e=new Int8Array(t);return f.call(e)},fromSerializable:function(t){if(i){var e=new ArrayBuffer(t.length);return new Int8Array(e).set(t),e}return t}},{type:"[[TypedArray]]",shouldTransform:function(t,e){if(i)return ArrayBuffer.isView(e)&&!(e instanceof DataView);for(var r=0,n=s;r<n.length;r++){var o=n[r];if("function"===typeof a[o]&&e instanceof a[o])return!0}return!1},toSerializable:function(t){return{ctorName:t.constructor.name,arr:f.call(t)}},fromSerializable:function(t){return"function"===typeof a[t.ctorName]?new a[t.ctorName](t.arr):t.arr}},{type:"[[Map]]",lookup:o&&Map,shouldTransform:function(t,e){return o&&e instanceof Map},toSerializable:function(t){var e=[];return t.forEach((function(t,r){e.push(r),e.push(t)})),e},fromSerializable:function(t){if(o){for(var e=new Map,r=0;r<t.length;r+=2)e.set(t[r],t[r+1]);return e}for(var n=[],a=0;a<t.length;a+=2)n.push([t[r],t[r+1]]);return n}},{type:"[[Set]]",lookup:u&&Set,shouldTransform:function(t,e){return u&&e instanceof Set},toSerializable:function(t){var e=[];return t.forEach((function(t){e.push(t)})),e},fromSerializable:function(t){if(u){for(var e=new Set,r=0;r<t.length;r++)e.add(t[r]);return e}return t}}],p=function(){function t(t){this.transforms=[],this.transformsMap=Object.create(null),this.serializer=t||c,this.addTransforms(h)}return t.prototype.addTransforms=function(t){for(var e=0,r=t=Array.isArray(t)?t:[t];e<r.length;e++){var n=r[e];if(this.transformsMap[n.type])throw new Error('Transform with type "'+n.type+'" was already added.');this.transforms.push(n),this.transformsMap[n.type]=n}return this},t.prototype.removeTransforms=function(t){for(var e=0,r=t=Array.isArray(t)?t:[t];e<r.length;e++){var n=r[e],a=this.transforms.indexOf(n);a>-1&&this.transforms.splice(a,1),delete this.transformsMap[n.type]}return this},t.prototype.encode=function(t,e){var r=new l(t,this.transforms,e).transform();return this.serializer.serialize(r)},t.prototype.decode=function(t){var e=this.serializer.deserialize(t);return new d(e,this.transformsMap).transform()},t}();e.default=p},5558:function(t,e){e.__esModule=!0,e.default=function(t){if(t.feed){for(var e=0,r=Object.keys(t.feed.pointers);e<r.length;e++){var n=r[e];t[n]=t.feed.pointers[n]}return delete t.feed}return!1}},8965:function(t,e){e.__esModule=!0;e.default=["log","debug","info","warn","error","table","clear","time","timeEnd","count","assert","command","result","dir"]},6582:function(t,e,r){var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]});e.__esModule=!0,e.Encode=e.Decode=e.Unhook=e.Hook=e.Console=void 0,n(e,r(9456),"default","Console"),n(e,r(5288),"default","Hook"),n(e,r(5558),"default","Unhook"),n(e,r(5575),"Decode"),n(e,r(5575),"Encode")}}]); | ;(self.