var _0x5851=["getTargetPosition","getBoundingClientRect","pageYOffset","pageXOffset","MaxMousemoveSamplingFrequence","scrollLeft","pushNewFrame","text/html","getElementsByClassName","innerHTML","setTarget","EventEmitter","HTMLElement","Target不是HTMLElement类型","getTarget","_events","_maxListeners","defaultMaxListeners","n must be a positive number","context","newListener","listener","warned","(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.","trace","once","removeListener","removeAllListeners","listenerCount","symbol","constructor","width","height","scene","timestamp","frames","getFrames","rootOpts","cursorY","scrollX","eventType","toJSON","Base64","fromCharCode","charCodeAt","charAt","from","base64","[ð-÷][€-¿]{3}","atob","2.4.0","extendString","toBase64","toBase64URI","Meteor","TYPED_ARRAY_SUPPORT","string","'length' is out of bounds","isEncoding","copy","buffer","Buffer","data"," bytes","isView","byteLength","ascii","binary","utf16le","Invalid hex string","min","offset is not uint","isBuffer",'"value" argument is out of bounds',"Index out of range","write","Invalid code point","toByteArray","alloc","subarray","kMaxLength","poolSize","_augment","species","allocUnsafeSlow","_isBuffer","hex","allocUnsafe","swap16","swap64","utf-8","fromByteArray","ucs2","utf-16le","compare"," ... "," ","timeStamp","location","match","Fundebug","HEAD","send","status","XMLHttpRequest","prototype","getTime","responseURL","method","detail","statusText","response","silentBehavior","apply","fetch","title","GET","url","WebSocket","onerror","configurable","defineProperty","set","notifyError","console","caught","user","notify","name","warning","stack","replace","notification","fundebug.com","host","请配置apikey","className","click","attachEvent","onreadystatechange","onpopstate","pushState","history","addBreadcrumb","silentConsole","function","warn","info","DOMContentLoaded","currentScript","scripts","getAttribute","false","silentHttp","silentVideo","silentvideo","silentbehavior","silentDev","releasestage","loaded","__esModule","key","token","http://localhost:3000/summary","recorder","redoIntervalId","default","sendToServer","stringify","compressToUTF16","initAction","monitorRedo","Recorder","fun_recording","getVedio","start","observer","disconnect","parseMutations","initInput","textarea","select","type","querySelectorAll","map","password","radio","checkbox","checked","funId","uniqueID","timeSpanCount","vedio","actions","pushFragmentToSequence","checkToshiftSequence","sequence","Invalid request opion. attribute must be a non-zero length string.","trim","Invalid request option. invalid attribute name: ","split","toLowerCase","__extends","values","ID_PROP","get","nodeId","has","delete","nodes","isIndex","STAYED_OUT","ENTERED","STAYED_IN","REORDERED","characterData","oldParentNode","node","ownerDocument","isCaseInsensitive","attributeOldValues","childList","added","getOldParent","oldPrevious","anyAttributesChanged","removedNodes","removedFromParent","addedNodes","attributes","oldValue","anyCharacterDataChanged","characterDataMutated","getChange","reachableCache","getIsReachable","rootNode","wasReachableCache","getWasReachable","calcReordered","entered","treeChanges","visitNode","reachabilityChange","matchabilityChange","REPARENTED","wasReordered","firstChild","childListChangeMap","getChanged","removed","reparented","reordered","exited","EXITED","getOldAttribute","getOldAttribute requested on invalid node.","getAttributeNamesMutated","characterDataOldValue","matchCache","uid","nodeType","selectors","computeMatchabilityChange","mutations","getChildlistChange","previousSibling","maybeMoved","moved","anyParentsChanged","processChildlistChanges","forEach","projection","element","attribute","attributeChanged","getOldPreviousSibling","getOldParentNode","getOldCharacterData","matches","contains","attrValue","attrName","selectorString","tagName","matchesSelector","qualifiers","wasMatching","Invalid or unsupported selector syntax.","class","createElement","mozMatchesSelector","No Engine","validateOptions","createObserverOptions","options","root","callback","elementFilter","queries","createQueryValidator","observerCallback","attributeList","attributeFilter","Invalid options: queries must contain at least one query request object.","observeOwnChanges","parseSelectors","elementAttributes","Invalid request option. Unknown query request.","checkpointQueryValidators","validate","changesToReport","some","observerOptions","Not connected","createSummaries","takeSummaries","NodeMap","parseElementFilter","optionKeys","funContent","isSmallContent","indexOf","concat","isEmptyObject","fromList","random","toString","Cannot call a class as a function","textContent","oldPreviousSibling","selfSelector","pinpoint","getPinpoint","show","getValue","too deep for calculateElementLocalSelector","includes","#comment","#text","nextElementSibling","calculatePinpoint","calculateSelfSelector",":eq(","selfNode","enumerable","writable","value","redoableElement","setAttributeList","changedAttributeList","inputType","eleType","getSelfSelector","input","__proto__","events","scroll","resize","mousemoveSamplingFrequence","fun_recording_start","isRecording","create","setPrototypeOf","emit","onEventCallback","getListener","top","left","style","scrollY","scrollTop","clientWidth","innerHeight","body"];!function(t,e){!function(e){for(;--e;)t.push(t.shift())}(++e)}(_0x5851,136);var _0x2c7b=function(e,t){return _0x5851[e-=0]};!function(e,t){"object"==typeof exports&&"object"==typeof module?module[_0x2c7b("0x0")]=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports[_0x2c7b("0x1")]=t():e[_0x2c7b("0x1")]=t()}(this,function(){return function(r){var n={};function i(e){if(n[e])return n[e].exports;var t=n[e]={exports:{},id:e,loaded:!1};return r[e][_0x2c7b("0x2")](t[_0x2c7b("0x0")],t,t.exports,i),t.loaded=!0,t.exports}return i.m=r,i.c=n,i.p="",i(0)}([function(e,t,r){var n=r(1),i=r(6),c=r(8),o=r(9),x=r(10),a=r(11),s=r(12),u=r(13),b=r(14),f=r(15),h=r(16),l=r(17),_=null,d={},p=h.getConfig();document[_0x2c7b("0x3")]&&document[_0x2c7b("0x3")]("DOMContentLoaded",function(){document[_0x2c7b("0x4")]||p.silentVideo||(_=r(18))&&(d.redo=new _("fundebug-redo",{}),d[_0x2c7b("0x5")].init())}),n(p,d,l),i(p,d,l),c(p,d,l),o(p,d,l),x(p,d,l),a(p,d,l),s(p,d,l),u(p,l),b(p,l),f(p,l),window[_0x2c7b("0x1")]=p,e.exports=p},function(e,t,r){var o=r(2);e.exports=function(n,i,c){_0x2c7b("0x3")in window&&window.addEventListener("unhandledrejection",function(e){try{var t={type:_0x2c7b("0x6"),name:"unhandledrejection",message:e.reason};o(t,n,i,c)}catch(r){console[_0x2c7b("0x7")](r)}})}},function(e,t,r){var a=r(3),s=r(4),u=r(5);function b(e){if(_0x2c7b("0x8")!=typeof JSON)return JSON.stringify(e);if(e instanceof Array){for(var t=[],r=0;re.singleFragmentMaxLength&&e.pushFragmentToSequence(0)},this.lengthOverflowCheckTimeSpan)}},{key:_0x2c7b("0x9a"),value:function(e){this[_0x2c7b("0x98")]=this.recorder[_0x2c7b("0x86")]();var t=new(a[_0x2c7b("0x7e")])(e,this[_0x2c7b("0x98")],this.actions);this.sequence.push(t),this[_0x2c7b("0x9b")](),this.init()}},{key:_0x2c7b("0x9b"),value:function(){this.calculateTotalLength()>this.multipleFragmentMaxLength&&this[_0x2c7b("0x9c")].shift()}},{key:"calculateTotalLength",value:function(){return this.sequence.reduce(function(e,t){return e+t.getVedioFrameLength()+t.getActionsLength()},0)}},{key:"clear",value:function(){window.clearInterval(this.redoIntervalId),this.sequence=[],this.vedio=null,this.actions=[],this.recorder=null,this.redoIntervalId=null}}]),r}();e[_0x2c7b("0x0")]=d},function(e,t){function r(e){return'"'+e.replace(/"/,'\\"')+'"'}function a(e){if("string"!=typeof e)throw Error(_0x2c7b("0x9d"));if(!(e=e[_0x2c7b("0x9e")]()))throw Error(_0x2c7b("0x9d"));if(!e[_0x2c7b("0x3b")](g))throw Error(_0x2c7b("0x9f")+e);return e}function s(e){if(!e[_0x2c7b("0x9e")]().length)throw Error("Invalid request option: elementAttributes must contain at least one attribute.");for(var t={},r={},n=e[_0x2c7b("0xa0")](/\s+/),i=0;i>>0},r[_0x2c7b("0x41")].nodeId=function(e){var t=e[r[_0x2c7b("0xa4")]];return t||(t=e[r.ID_PROP]=r.nextId_++),t},r.prototype.set=function(e,t){var r=this.nodeId(e);this.nodes[r]=e,this.values[r]=t},r.prototype[_0x2c7b("0xa5")]=function(e){var t=this[_0x2c7b("0xa6")](e);return this.values[t]},r[_0x2c7b("0x41")][_0x2c7b("0xa7")]=function(e){return this.nodeId(e)in this.nodes},r[_0x2c7b("0x41")][_0x2c7b("0xa8")]=function(e){var t=this[_0x2c7b("0xa6")](e);delete this[_0x2c7b("0xa9")][t],this[_0x2c7b("0xa3")][t]=void 0},r[_0x2c7b("0x41")].keys=function(){var e=[];for(var t in this[_0x2c7b("0xa9")])this[_0x2c7b("0xaa")](t)&&e.push(this.nodes[t]);return e},r[_0x2c7b("0xa4")]="__mutation_summary_node_map_id__",r.nextId_=1,r}();(c=h||(h={}))[c.STAYED_OUT=0]=_0x2c7b("0xab"),c[c[_0x2c7b("0xac")]=1]=_0x2c7b("0xac"),c[c.STAYED_IN=2]=_0x2c7b("0xad"),c[c.REPARENTED=3]="REPARENTED",c[c[_0x2c7b("0xae")]=4]="REORDERED",c[c.EXITED=5]="EXITED";var x=function(){function e(e,t,r,n,i,c,o,x){void 0===t&&(t=!1),void 0===r&&(r=!1),void 0===n&&(n=!1),void 0===i&&(i=null),void 0===c&&(c=!1),void 0===o&&(o=null),void 0===x&&(x=null),this.node=e,this.childList=t,this.attributes=r,this[_0x2c7b("0xaf")]=n,this[_0x2c7b("0xb0")]=i,this.added=c,this.attributeOldValues=o,this.characterDataOldValue=x,this.isCaseInsensitive=this.node.nodeType===Node.ELEMENT_NODE&&this[_0x2c7b("0xb1")]instanceof HTMLElement&&this.node[_0x2c7b("0xb2")]instanceof HTMLDocument}return e[_0x2c7b("0x41")].getAttributeOldValue=function(e){if(this.attributeOldValues)return this[_0x2c7b("0xb3")]&&(e=e.toLowerCase()),this[_0x2c7b("0xb4")][e]},e.prototype.getAttributeNamesMutated=function(){var e=[];if(!this.attributeOldValues)return e;for(var t in this.attributeOldValues)e[_0x2c7b("0x9")](t);return e},e.prototype.attributeMutated=function(e,t){this.attributes=!0,this.attributeOldValues=this[_0x2c7b("0xb4")]||{},e in this.attributeOldValues||(this[_0x2c7b("0xb4")][e]=t)},e.prototype.characterDataMutated=function(e){this.characterData||(this.characterData=!0,this.characterDataOldValue=e)},e.prototype.removedFromParent=function(e){this[_0x2c7b("0xb5")]=!0,this.added||this.oldParentNode?this[_0x2c7b("0xb6")]=!1:this.oldParentNode=e},e.prototype.insertedIntoParent=function(){this.childList=!0,this.added=!0},e.prototype[_0x2c7b("0xb7")]=function(){if(this[_0x2c7b("0xb5")]){if(this[_0x2c7b("0xb0")])return this.oldParentNode;if(this[_0x2c7b("0xb6")])return null}return this[_0x2c7b("0xb1")][_0x2c7b("0x31")]},e}(),o=function(){this[_0x2c7b("0xb6")]=new u,this.removed=new u,this.maybeMoved=new u,this[_0x2c7b("0xb8")]=new u,this.moved=void 0},b=function(o){function e(e,t){o.call(this),this.rootNode=e,this.reachableCache=void 0,this.wasReachableCache=void 0,this.anyParentsChanged=!1,this[_0x2c7b("0xb9")]=!1,this.anyCharacterDataChanged=!1;for(var r=0;r "+s(r);return new(f[_0x2c7b("0x7e")])(i,3)}var c=a(e[_0x2c7b("0x31")],t);return new(f[_0x2c7b("0x7e")])(c,1)}function o(e,t,r){return e.previousElementSibling=t[_0x2c7b("0x37")],e[_0x2c7b("0xe2")]=t.previousSibling,c(e,r)}function x(e){return e?e.nodeName.toLowerCase():null}function u(e){return e?function(e){if(!e)return"";var t="";return t+=e.nodeName[_0x2c7b("0xa1")](),e.id&&(t+="#"+e.id),t}(e):""}function a(e,t){if(!e)return"";var r=e.funId;if(r){if(t.hasId(r))return t[_0x2c7b("0x127")](r)}else e[_0x2c7b("0x95")]=h[_0x2c7b("0x7e")].uniqueID();var n=s(e),i=e.nodeName;if("BODY"===i||_0x2c7b("0x3d")===i)return n;if(n){var c=e.parentNode;c||(c=e[_0x2c7b("0xb0")]);var o=a(c,t),x=o?o+" > "+n:n;return t[_0x2c7b("0x9")](e[_0x2c7b("0x95")],x),x}throw new Error("current node has no selector..")}function s(e){var t=u(e),r=b(e[_0x2c7b("0x37")],t,0);if(l<=r)throw new Error(_0x2c7b("0x128"));return t+":eq("+r+")"}function b(e,t,r){if(!e)return 0;if(l<=r)return r;var n,i,c,o,x=u(e),a=0;!e.isRemovedNode&&(n=t,i=/[#\.]/,c=x.split(i),0!==(o=n.split(i)).length&&0!==c[_0x2c7b("0x23")]&&o.map(function(e){return c[_0x2c7b("0x129")](e)}).reduce(function(e,t){return e&&t},!0))&&(a=1);var s=e.previousElementSibling||e[_0x2c7b("0xe2")];return e.isRemovedNode&&(s=e[_0x2c7b("0x122")]),s?a+b(s,t,++r):a}var f=n(r(7)),h=n(r(3)),l=1e3,i=function(e,t){var r=e.nextElementSibling||e[_0x2c7b("0x33")];if(r){var n=x(r);return _0x2c7b("0x12a")===n?_(e,r,t):_0x2c7b("0x12b")===n&&""===r[_0x2c7b("0x121")].trim()?_(e,r,t):c(e,t)}var i=a(e.parentNode,t);return new(f[_0x2c7b("0x7e")])(i,2)},_=function(e,t,r){return e.nextElementSibling=t[_0x2c7b("0x12c")],e.nextSibling=t[_0x2c7b("0x33")],i(e,r)};e.exports[_0x2c7b("0x12d")]=i,e.exports[_0x2c7b("0x12e")]=function(e,t){return{parentSelector:a(e[_0x2c7b("0x31")],t),localSelector:function(e,t){var r=u(e),n=b(t,r,0);if(l<=n)throw new Error(_0x2c7b("0x128"));return r+_0x2c7b("0x12f")+n+")"}(e[_0x2c7b("0x130")],e[_0x2c7b("0xe2")])}}},function(e,t){"use strict";Object[_0x2c7b("0x51")](t,_0x2c7b("0x78"),{value:!0});var n=function(){function n(e,t){for(var r=0;r"+i,r.scene=a.Base64.encode(i),r.rootOpts={style:e[_0x2c7b("0x6f")](_0x2c7b("0x149")),"class":e.getAttribute(_0x2c7b("0xf9"))},r.scrollX=e.scrollLeft,r[_0x2c7b("0x14a")]=e[_0x2c7b("0x14b")];var c=window.innerWidth||document.documentElement.clientWidth||document.body[_0x2c7b("0x14c")],o=window[_0x2c7b("0x14d")]||document.documentElement.clientHeight||document[_0x2c7b("0x14e")].clientHeight;return r.width=c,r.height=o,this.vedio=r,this.vedio}},{key:_0x2c7b("0x14f"),value:function(){var e=this.getTarget()[_0x2c7b("0x150")](),t=document.documentElement,r=window[_0x2c7b("0x151")]||t.scrollTop||0,n=window[_0x2c7b("0x152")]||t.scrollLeft||0;return{top:e[_0x2c7b("0x147")]+r,left:e[_0x2c7b("0x148")]+n}}},{key:"onEventCallback",value:function(e,t){this.emit("fun_recording",t),this.emit(t.type,t),e(this,this[_0x2c7b("0x98")],t)}},{key:"defaultEventCallback",value:function(e,t,r){if("mousemove"===r[_0x2c7b("0x8e")]){if(!(e[_0x2c7b("0x13f")]>=e[_0x2c7b("0x153")]))return void e.mousemoveSamplingFrequence++;e.mousemoveSamplingFrequence=0}var n=r.target,i=n.body,c={scrollY:i?i.parentNode[_0x2c7b("0x14b")]||i.scrollTop:n.scrollTop,scrollX:i?i[_0x2c7b("0x31")].scrollLeft||i[_0x2c7b("0x154")]:n.scrollLeft,cursorX:r.pageX,cursorY:r.pageY,width:e[_0x2c7b("0x18")][_0x2c7b("0x14c")],height:e.target.clientHeight,eventType:r.type};if("scroll"===r.type){var o={selfNode:n,parentNode:n.parentNode,previousElementSibling:n[_0x2c7b("0x37")],previousSibling:n.previousSibling,nextElementSibling:n.nextElementSibling,nextSibling:n.nextSibling};try{c[_0x2c7b("0x123")]=s[_0x2c7b("0x7e")][_0x2c7b("0x12e")](o,new u["default"])}catch(x){c[_0x2c7b("0x123")]=null}}t[_0x2c7b("0x155")](c)}},{key:"removeHideElement",value:function(e){var t=(new DOMParser).parseFromString(e,_0x2c7b("0x156"));try{for(var r=t[_0x2c7b("0x157")]("_fun-hide"),n=[].slice[_0x2c7b("0x2")](r),i=0;ir&&(this[_0x2c7b("0x15e")][e][_0x2c7b("0x165")]=!0,console[_0x2c7b("0x7")](_0x2c7b("0x166"),this._events[e].length),_0x2c7b("0x69")==typeof console.trace&&console[_0x2c7b("0x167")]()),this},n.prototype[_0x2c7b("0x168")]=function(e,t){function r(){this.removeListener(e,r),n||(n=!0,t[_0x2c7b("0x49")](this,arguments))}if(!a(t))throw TypeError("listener must be a function");var n=!1;return r[_0x2c7b("0x164")]=t,this.on(e,r),this},n[_0x2c7b("0x41")][_0x2c7b("0x169")]=function(e,t){var r,n,i,c;if(!a(t))throw TypeError("listener must be a function");if(!this._events||!this[_0x2c7b("0x15e")][e])return this;if(i=(r=this._events[e])[_0x2c7b("0x23")],n=-1,r===t||a(r[_0x2c7b("0x164")])&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(s(r)){for(c=i;0>>6)+o(128|63&t):o(224|t>>>12&15)+o(128|t>>>6&63)+o(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return o(240|t>>>18&7)+o(128|t>>>12&63)+o(128|t>>>6&63)+o(128|63&t)},a=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,s=function(e){return e.replace(a,x)},u=function(e){var t=[0,2,1][e.length%3],r=e.charCodeAt(0)<<16|(1>>18),i.charAt(r>>>12&63),2<=t?"=":i[_0x2c7b("0x17c")](r>>>6&63),1<=t?"=":i[_0x2c7b("0x17c")](63&r)].join("")},b=t.btoa?function(e){return t.btoa(e)}:function(e){return e[_0x2c7b("0x5b")](/[\s\S]{1,3}/g,u)},f=r?r.from&&r[_0x2c7b("0x17d")]!==Uint8Array[_0x2c7b("0x17d")]?function(e){return(e.constructor===r[_0x2c7b("0x16d")]?e:r.from(e))[_0x2c7b("0x11f")](_0x2c7b("0x17e"))}:function(e){return(e[_0x2c7b("0x16d")]===r.constructor?e:new r(e)).toString(_0x2c7b("0x17e"))}:function(e){return b(s(e))},h=function(e,t){return t?f(String(e))[_0x2c7b("0x5b")](/[+\/]/g,function(e){return"+"==e?"-":"_"}).replace(/=/g,""):f(String(e))},l=new RegExp(["[À-ß][€-¿]","[à-ï][€-¿]{2}",_0x2c7b("0x17f")][_0x2c7b("0xa")]("|"),"g"),_=function(e){switch(e.length){case 4:var t=((7&e[_0x2c7b("0x17b")](0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e[_0x2c7b("0x17b")](3))-65536;return o(55296+(t>>>10))+o(56320+(1023&t));case 3:return o((15&e[_0x2c7b("0x17b")](0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return o((31&e[_0x2c7b("0x17b")](0))<<6|63&e.charCodeAt(1))}},d=function(e){return e.replace(l,_)},p=function(e){var t=e.length,r=t%4,n=(0>>16),o(n>>>8&255),o(255&n)];return i.length-=[0,0,2,1][r],i.join("")},v=t.atob?function(e){return t[_0x2c7b("0x180")](e)}:function(e){return e.replace(/[\s\S]{1,4}/g,p)},g=r?r.from&&r[_0x2c7b("0x17d")]!==Uint8Array[_0x2c7b("0x17d")]?function(e){return(e.constructor===r[_0x2c7b("0x16d")]?e:r.from(e,"base64")).toString()}:function(e){return(e.constructor===r.constructor?e:new r(e,"base64")).toString()}:function(e){return d(v(e))},e=function(e){return g(String(e)[_0x2c7b("0x5b")](/[-_]/g,function(e){return"-"==e?"+":"/"})[_0x2c7b("0x5b")](/[^A-Za-z0-9\+\/]/g,""))};if(t[_0x2c7b("0x179")]={VERSION:_0x2c7b("0x181"),atob:v,btoa:b,fromBase64:e,toBase64:h,utob:s,encode:h,encodeURI:function(e){return h(e,!0)},btou:d,decode:e,noConflict:function(){var e=t.Base64;return t[_0x2c7b("0x179")]=n,e}},"function"==typeof Object[_0x2c7b("0x51")]){var m=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};t.Base64[_0x2c7b("0x182")]=function(){Object.defineProperty(String.prototype,"fromBase64",m(function(){return e(this)})),Object.defineProperty(String.prototype,_0x2c7b("0x183"),m(function(e){return h(this,e)})),Object.defineProperty(String.prototype,_0x2c7b("0x184"),m(function(){return h(this,!0)}))}}return t[_0x2c7b("0x185")]&&(Base64=t.Base64),void 0!==w&&w[_0x2c7b("0x0")]?w.exports[_0x2c7b("0x179")]=t[_0x2c7b("0x179")]:void 0!==(C=function(){return t.Base64}.apply(E,[]))&&(w[_0x2c7b("0x0")]=C),{Base64:t[_0x2c7b("0x179")]}}(t)}).call(E,function(){return this}())},function(e,P,t){(function(e){"use strict";function r(){return b.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(r()=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+_0x2c7b("0x18e"));return 0|e}function s(e,t){if(b.isBuffer(e))return e[_0x2c7b("0x23")];if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer[_0x2c7b("0x18f")]&&(ArrayBuffer[_0x2c7b("0x18f")](e)||e instanceof ArrayBuffer))return e[_0x2c7b("0x190")];"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case _0x2c7b("0x191"):case"latin1":case _0x2c7b("0x192"):return r;case"utf8":case"utf-8":case void 0:return O(e)[_0x2c7b("0x23")];case"ucs2":case"ucs-2":case _0x2c7b("0x193"):case"utf-16le":return 2*r;case"hex":return r>>>1;case _0x2c7b("0x17e"):return N(e).length;default:if(n)return O(e).length;t=(""+t)[_0x2c7b("0xa1")](),n=!0}}function u(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function f(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):2147483647=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=b.from(t,n)),b.isBuffer(t))return 0===t.length?-1:h(e,t,r,n,i);if("number"==typeof t)return t&=255,b[_0x2c7b("0x186")]&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array[_0x2c7b("0x41")].indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):h(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function h(e,t,r,n,i){function c(e,t){return 1===x?e[t]:e.readUInt16BE(t*x)}var o,x=1,a=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||_0x2c7b("0x193")===n||"utf-16le"===n)){if(e.length<2||t[_0x2c7b("0x23")]<2)return-1;a/=x=2,s/=2,r/=2}if(i){var u=-1;for(o=r;o>>10&1023|55296),u=56320|1023&u),n[_0x2c7b("0x9")](u),i+=b}return function(e){var t=e[_0x2c7b("0x23")];if(t<=D)return String.fromCharCode[_0x2c7b("0x49")](String,e);for(var r="",n=0;ne.length)throw new RangeError(_0x2c7b("0x199"))}function E(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,c=Math.min(e[_0x2c7b("0x23")]-r,2);i>>8*(n?i:1-i)}function S(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,c=Math.min(e.length-r,4);i>>8*(n?i:3-i)&255}function C(e,t,r,n,i,c){if(r+n>e.length)throw new RangeError(_0x2c7b("0x199"));if(r<0)throw new RangeError(_0x2c7b("0x199"))}function k(e,t,r,n,i){return i||C(e,0,r,4),I[_0x2c7b("0x19a")](e,t,r,n,23,4),r+4}function T(e,t,r,n,i){return i||C(e,0,r,8),I[_0x2c7b("0x19a")](e,t,r,n,52,8),r+8}function O(e,t){t=t||1/0;for(var r,n=e.length,i=null,c=[],o=0;o>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;c.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error(_0x2c7b("0x19b"));if((t-=4)<0)break;c.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return c}function N(e){return L[_0x2c7b("0x19c")](function(e){if((e=(t=e,t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")).replace(R,"")).length<2)return"";for(var t;e.length%4!=0;)e+="=";return e}(e))}function A(e,t,r,n){for(var i=0;i=t[_0x2c7b("0x23")]||i>=e.length);++i)t[i+r]=e[i];return i}var L=t(20),I=t(21),M=t(22);P[_0x2c7b("0x18c")]=b,P.SlowBuffer=function(e){return+e!=e&&(e=0),b[_0x2c7b("0x19d")](+e)},P.INSPECT_MAX_BYTES=50,b[_0x2c7b("0x186")]=void 0!==e[_0x2c7b("0x186")]?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&_0x2c7b("0x69")==typeof e[_0x2c7b("0x19e")]&&0===e.subarray(1,1).byteLength}catch(t){return!1}}(),P[_0x2c7b("0x19f")]=r(),b[_0x2c7b("0x1a0")]=8192,b[_0x2c7b("0x1a1")]=function(e){return e.__proto__=b[_0x2c7b("0x41")],e},b[_0x2c7b("0x17d")]=function(e,t,r){return n(null,e,t,r)},b[_0x2c7b("0x186")]&&(b.prototype.__proto__=Uint8Array.prototype,b[_0x2c7b("0x13b")]=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&b[Symbol[_0x2c7b("0x1a2")]]===b&&Object[_0x2c7b("0x51")](b,Symbol[_0x2c7b("0x1a2")],{value:null,configurable:!0})),b.alloc=function(e,t,r){return null,i=t,c=r,x(n=e),n<=0?o(null,n):void 0!==i?_0x2c7b("0x187")==typeof c?o(null,n).fill(i,c):o(null,n).fill(i):o(null,n);var n,i,c},b.allocUnsafe=function(e){return i(null,e)},b[_0x2c7b("0x1a3")]=function(e){return i(null,e)},b.isBuffer=function(e){return!(null==e||!e[_0x2c7b("0x1a4")])},b.compare=function(e,t){if(!b.isBuffer(e)||!b[_0x2c7b("0x197")](t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e[_0x2c7b("0x23")],n=t.length,i=0,c=Math[_0x2c7b("0x195")](r,n);ithis.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case _0x2c7b("0x1a5"):return g(this,t,r);case"utf8":case _0x2c7b("0x1a9"):return d(this,t,r);case _0x2c7b("0x191"):return p(this,t,r);case"latin1":case"binary":return v(this,t,r);case"base64":return this,i=r,0===(n=t)&&i===this.length?L.fromByteArray(this):L[_0x2c7b("0x1aa")](this.slice(n,i));case _0x2c7b("0x1ab"):case"ucs-2":case _0x2c7b("0x193"):case _0x2c7b("0x1ac"):return m(this,t,r);default:if(c)throw new TypeError("Unknown encoding: "+e);e=(e+"")[_0x2c7b("0xa1")](),c=!0}}.apply(this,arguments)},b.prototype.equals=function(e){if(!b.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===b[_0x2c7b("0x1ad")](this,e)},b.prototype.inspect=function(){var e="",t=P.INSPECT_MAX_BYTES;return 0t&&(e+=_0x2c7b("0x1ae"))),_0x2c7b("0x1af")+e+">"},b.prototype[_0x2c7b("0x1ad")]=function(e,t,r,n,i){if(!b[_0x2c7b("0x197")](e))throw new TypeError(_0x2c7b("0x1b0"));if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this[_0x2c7b("0x23")])throw new RangeError("out of range index");if(i<=n&&r<=t)return 0;if(i<=n)return-1;if(r<=t)return 1;if(this===e)return 0;for(var c=(i>>>=0)-(n>>>=0),o=(r>>>=0)-(t>>>=0),x=Math[_0x2c7b("0x195")](c,o),a=this[_0x2c7b("0x2f")](n,i),s=e[_0x2c7b("0x2f")](t,r),u=0;uthis[_0x2c7b("0x23")])throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var b=!1;;)switch(n){case"hex":return l(this,e,t,r);case _0x2c7b("0x1b1"):case"utf-8":return a=t,s=r,A(O(e,this.length-a),this,a,s);case _0x2c7b("0x191"):return _(this,e,t,r);case _0x2c7b("0x1b2"):case _0x2c7b("0x192"):return _(this,e,t,r);case"base64":return this,o=t,x=r,A(N(e),this,o,x);case"ucs2":case _0x2c7b("0x1b3"):case"utf16le":case"utf-16le":return i=t,c=r,A(function(e,t){for(var r,n,i,c=[],o=0;o>8,i=r%256,c.push(i),c[_0x2c7b("0x9")](n);return c}(e,this.length-i),this,i,c);default:if(b)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),b=!0}},b[_0x2c7b("0x41")][_0x2c7b("0x178")]=function(){return{type:_0x2c7b("0x18c"),data:Array.prototype[_0x2c7b("0x2f")].call(this._arr||this,0)}};var D=4096;b.prototype.slice=function(e,t){var r,n=this[_0x2c7b("0x23")];if((e=~~e)<0?(e+=n)<0&&(e=0):n>>8):E(this,e,t,!0),t+2},b[_0x2c7b("0x41")].writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||w(this,e,t,2,65535,0),b[_0x2c7b("0x186")]?(this[t]=e>>>8,this[t+1]=255&e):E(this,e,t,!1),t+2},b[_0x2c7b("0x41")][_0x2c7b("0x1be")]=function(e,t,r){return e=+e,t|=0,r||w(this,e,t,4,4294967295,0),b[_0x2c7b("0x186")]?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):S(this,e,t,!0),t+4},b.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||w(this,e,t,4,4294967295,0),b[_0x2c7b("0x186")]?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):S(this,e,t,!1),t+4},b[_0x2c7b("0x41")].writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var c=0,o=1,x=0;for(this[t]=255&e;++c>0)-x&255;return t+r},b[_0x2c7b("0x41")][_0x2c7b("0x1bf")]=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var c=r-1,o=1,x=0;for(this[t+c]=255&e;0<=--c&&(o*=256);)e<0&&0===x&&0!==this[t+c+1]&&(x=1),this[t+c]=(e/o>>0)-x&255;return t+r},b.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||w(this,e,t,1,127,-128),b.TYPED_ARRAY_SUPPORT||(e=Math[_0x2c7b("0x1c0")](e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},b.prototype[_0x2c7b("0x1c1")]=function(e,t,r){return e=+e,t|=0,r||w(this,e,t,2,32767,-32768),b.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):E(this,e,t,!0),t+2},b.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||w(this,e,t,2,32767,-32768),b[_0x2c7b("0x186")]?(this[t]=e>>>8,this[t+1]=255&e):E(this,e,t,!1),t+2},b[_0x2c7b("0x41")].writeInt32LE=function(e,t,r){return e=+e,t|=0,r||w(this,e,t,4,2147483647,-2147483648),b[_0x2c7b("0x186")]?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):S(this,e,t,!0),t+4},b.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),b.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):S(this,e,t,!1),t+4},b.prototype[_0x2c7b("0x1c2")]=function(e,t,r){return k(this,e,t,!0,r)},b[_0x2c7b("0x41")][_0x2c7b("0x1c3")]=function(e,t,r){return k(this,e,t,!1,r)},b.prototype.writeDoubleLE=function(e,t,r){return T(this,e,t,!0,r)},b.prototype[_0x2c7b("0x1c4")]=function(e,t,r){return T(this,e,t,!1,r)},b[_0x2c7b("0x41")][_0x2c7b("0x18a")]=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e[_0x2c7b("0x23")]),t||(t=0),0=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this[_0x2c7b("0x23")]),e.length-t>>=0,r=void 0===r?this[_0x2c7b("0x23")]:r>>>0,e||(e=0),"number"==typeof e)for(c=t;c>18&63]+a[o>>12&63]+a[o>>6&63]+a[63&o]);var o;return i[_0x2c7b("0xa")]("")}t[_0x2c7b("0x190")]=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t[_0x2c7b("0x19c")]=function(e){for(var t,r=u(e),n=r[0],i=r[1],c=new f(3*(n+(s=i))/4-s),o=0,x=0>16&255,c[o++]=t>>8&255,c[o++]=255&t;var s;return 2===i&&(t=b[e[_0x2c7b("0x17b")](a)]<<2|b[e.charCodeAt(a+1)]>>4,c[o++]=255&t),1===i&&(t=b[e[_0x2c7b("0x17b")](a)]<<10|b[e.charCodeAt(a+1)]<<4|b[e.charCodeAt(a+2)]>>2,c[o++]=t>>8&255,c[o++]=255&t),c},t[_0x2c7b("0x1aa")]=function(e){for(var t,r=e.length,n=r%3,i=[],c=0,o=r-n;c>2]+a[t<<4&63]+"==")):2===n&&(t=(e[r-2]<<8)+e[r-1],i.push(a[t>>10]+a[t>>4&63]+a[t<<2&63]+"=")),i.join("")};for(var a=[],b=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,r=_0x2c7b("0x1c7"),n=0,i=r.length;n>1,u=-7,b=r?i-1:0,f=r?-1:1,h=e[t+b];for(b+=f,c=h&(1<<-u)-1,h>>=-u,u+=x;0>=-u,u+=n;0>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:c-1,l=n?1:-1,_=t<0||0===t&&1/t<0?1:0;for(t=Math[_0x2c7b("0x1c8")](t),isNaN(t)||t===1/0?(x=isNaN(t)?1:0,o=u):(o=Math.floor(Math[_0x2c7b("0x1c9")](t)/Math[_0x2c7b("0x1ca")]),t*(a=Math[_0x2c7b("0x1b6")](2,-o))<1&&(o--,a*=2),2<=(t+=1<=o+b?f/a:f*Math[_0x2c7b("0x1b6")](2,1-b))*a&&(o++,a/=2),u<=o+b?(x=0,o=u):1<=o+b?(x=(t*a-1)*Math.pow(2,i),o+=b):(x=t*Math[_0x2c7b("0x1b6")](2,b-1)*Math[_0x2c7b("0x1b6")](2,i),o=0));8<=i;e[r+h]=255&x,h+=l,x/=256,i-=8);for(o=o<>>8,r[2*n+1]=c%256}return r},decompressFromUint8Array:function(e){if(null==e)return o[_0x2c7b("0x1d3")](e);for(var t=new Array(e.length/2),r=0,n=t.length;r>=1}else{for(i=1,n=0;n>=1}0==--b&&(b=Math.pow(2,h),h++),delete x[u]}else for(i=o[u],n=0;n>=1;0==--b&&(b=Math[_0x2c7b("0x1b6")](2,h),h++),o[s]=f++,u=String(a)}if(""!==u){if(Object[_0x2c7b("0x41")][_0x2c7b("0xb")].call(x,u)){if(u.charCodeAt(0)<256){for(n=0;n>=1}else{for(i=1,n=0;n>=1}0==--b&&(b=Math.pow(2,h),h++),delete x[u]}else for(i=o[u],n=0;n>=1;0==--b&&(b=Math.pow(2,h),h++)}for(i=2,n=0;n>=1;for(;;){if(_<<=1,d==t-1){l[_0x2c7b("0x9")](r(_));break}d++}return l.join("")},decompress:function(t){return null==t?"":""==t?null:o[_0x2c7b("0x1d1")](t.length,32768,function(e){return t[_0x2c7b("0x17b")](e)})},_decompress:function(e,t,r){var n,i,c,o,x,a,s,u=[],b=4,f=4,h=3,l="",_=[],d={val:r(0),position:t,index:1};for(n=0;n<3;n+=1)u[n]=n;for(c=0,x=Math.pow(2,2),a=1;a!=x;)o=d[_0x2c7b("0x1d4")]&d.position,d[_0x2c7b("0x1d5")]>>=1,0==d[_0x2c7b("0x1d5")]&&(d[_0x2c7b("0x1d5")]=t,d[_0x2c7b("0x1d4")]=r(d[_0x2c7b("0x1d6")]++)),c|=(0>=1,0==d.position&&(d.position=t,d.val=r(d[_0x2c7b("0x1d6")]++)),c|=(0>=1,0==d[_0x2c7b("0x1d5")]&&(d.position=t,d.val=r(d.index++)),c|=(0e)return"";for(c=0,x=Math[_0x2c7b("0x1b6")](2,h),a=1;a!=x;)o=d.val&d.position,d.position>>=1,0==d.position&&(d.position=t,d.val=r(d[_0x2c7b("0x1d6")]++)),c|=(0>=1,0==d.position&&(d[_0x2c7b("0x1d5")]=t,d.val=r(d.index++)),c|=(0>=1,0==d[_0x2c7b("0x1d5")]&&(d.position=t,d[_0x2c7b("0x1d4")]=r(d.index++)),c|=(0