!function(r){var o={};function n(e){var t;return(o[e]||(t=o[e]={i:e,l:!1,exports:{}},r[e].call(t.exports,t,t.exports,n),t.l=!0,t)).exports}n.m=r,n.c=o,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=18)}([function(e,t){function r(e){return e&&e.__esModule?e:{default:e}}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";function o(e){return/^\d+$/.test(e)?+e:0}window._DEDOG_CONFIG_=window._DEDOG_CONFIG_||{LOOPTIME:o("0"),MINLIMIT:o("0"),MAXLIMIT:o("0")};var n="dedog-server.futunn.com",i=-1t?e.slice(0,t)+"...":e}function g(e){var t=e.message||"vue-error";try{var r=e.stack.split("\n"),o=(r[0]||"").match(/^(.{1,}):/)[1],n=(r[1]||"").match(/\((.{1,}):(\d{1,}):(\d{1,})\)/),i=n[1],s=n[2];return{message:t,colno:n[3],lineno:s,filename:i,isVueError:!0,type:o,error:e}}catch(e){return{message:t,type:"vue-error",error:e}}}function v(e){e=e||new Date;var t=(t=new Date(e.getTime()-60*e.getTimezoneOffset()*1e3).toISOString()).replace(/T/g," ").replace(/\.\d+Z$/,"");return t+=" UTC"+(0-e.getTimezoneOffset()/60)}function y(e){var t=e.data,r=e.maxLen,o=void 0===r?Number.MAX_SAFE_INTEGER:r,r=e.process,n=void 0===r?function(){}:r,r=e.complete,e=void 0===r?function(){}:r;if(t&&0!==t.length){if(E(t)t&&(e.message=m(e.message,t)),e.reason){r=e.reason;if("string"!=typeof r)try{r=JSON.stringify(r)}catch(e){r=""}r.length>t?e.reason=m(r,t):e.reason=r}var t=300,o=(e.filename&&e.filename.length>t&&(e.filename=m(e.filename,t)),400);if(e.stack&&e.stack.length>o){var n,r=e.stack.split("\n"),i=[],s=0,a=(0,c.default)(r);try{for(a.s();!(n=a.n()).done;){var u=n.value;if(s+u.length>o)break;i.push(u),s+=u.length}}catch(e){a.e(e)}finally{a.f()}e.stack=i.join("\n")}return(0,d.default)(this.data.errorInfo,e),this}},{key:"setExtInfo",value:function(){var e={name:p.SDK_NAME,version:p.SDK_VERSION},t=navigator.connection||navigator.mozConnection||navigator.webkitConnection||{effectiveType:null,downlink:null,rtt:null},t={et:_[t.effectiveType]||0,downlink:t.downlink,rtt:t.rtt};return(0,d.default)(this.data.extInfo,{sdkInfo:e,connectionInfo:t}),3===this.getIssueType()&&(this.data.extInfo.performanceEntry=this.error.performanceEntry),4===this.getIssueType()&&(0,d.default)(this.data.extInfo,this.error.ext),this}},{key:"genIssueType",value:function(){return this.error.type===p.ERROR_TYPE_HTTP?4:this.error.type===p.ERROR_TYPE_PERF?3:this.error.type===p.UN_HANDLED_REJECTION||this.error.isVueError||void 0!==this.error.colno&&void 0!==this.error.lineno?1:2}},{key:"getIssueType",value:function(){return this.isValid&&this.data&&this.data.errorInfo.issueType}},{key:"getErrorType",value:function(){return this.error.type}},{key:"isValid",value:function(){var e,t;return 2!==this.genIssueType()||!!(e=this.error.target)&&(t=new RegExp(p.REPORT_IMG_NAME),(!e.className||"string"!=typeof e.className||!t.test(e.className))&&(!(e&&e.id&&-1f&&(e.message=e.message.slice(0,f),console.warn("[dedog] uls上报日志超过8k,数据会被截断后再上报")),this.push(_,e)}},{key:"pushFls",value:function(e){return e.message&&e.message.length>f&&(e.message=e.message.slice(0,f),console.warn("[dedog] fls上报日志超过8k,数据会被截断后再上报")),this.push(y,e)}},{key:"pushMetric",value:function(e){return this.push(w,e)}},{key:"pushMonitor",value:function(e){return this.push(b,e)}},{key:"pushError",value:function(e){return this.push(E,e)}},{key:"report",value:function(){var t=this,r=0r._maxlimit&&(t=a(e.name,300),t=new s({type:i.ERROR_TYPE_PERF,performanceEntry:{name:t,entryType:e.entryType,initiatorType:e.initiatorType,duration:e.duration,nextHopProtocol:e.nextHopProtocol,type:e.type}},r),o.push(t))}),o):null)||null},toQueryStr:l,loopReport:function(t){var r=JSON.stringify({uid:t._uid,cmd:t._cmd,subCmd:t._subCmd});n({data:t.logs,maxLen:1500,process:function(e){t._report("/logs",{options:r,logs:JSON.stringify(e)})},complete:function(){t.logs=[]}}),n({data:t.logsForPost,maxLen:102400,process:function(e){t._postReport("/logs",{options:r,logs:JSON.stringify(e)})},complete:function(){t.logsForPost=[]}})},getIsReportByRate:function(e){return"number"!=typeof e||e<0||1e.length)&&(t=e.length);for(var r=0,o=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(_,w,b){var E;!function(){"use strict";function d(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function s(e,t){return e<>>32-t}function a(e,t,r,o,n,i){return d(s(d(d(t,e),d(o,i)),n),r)}function p(e,t,r,o,n,i,s){return a(t&r|~t&o,e,t,n,i,s)}function f(e,t,r,o,n,i,s){return a(t&o|r&~o,e,t,n,i,s)}function h(e,t,r,o,n,i,s){return a(t^r^o,e,t,n,i,s)}function m(e,t,r,o,n,i,s){return a(r^(t|~o),e,t,n,i,s)}function u(e,t){e[t>>5]|=128<>>9<<4)]=t;for(var r,o,n,i,s=1732584193,a=-271733879,u=-1732584194,c=271733878,l=0;l>5]>>>o%32&255);return t}function l(e){var t=[];for(t[(e.length>>2)-1]=void 0,o=0;o>5]|=(255&e.charCodeAt(o/8))<>>4&15)+r.charAt(15&t);return o}function n(e){return unescape(encodeURIComponent(e))}function i(e){return t(n(e))}function g(e){return o(i(e))}function v(e,t){return r(n(e),n(t))}function y(e,t){return o(v(e,t))}function e(e,t,r){return t?(r?v:y)(t,e):(r?i:g)(e)}void 0!==(E=function(){return e}.call(w,b,w,_))&&(_.exports=E)}()},function(e,t,r){"use strict";var o=r(6).loadScriptAsync,n=r(8),i=n.reportPuser,s=n.TYPE_PERF,n=r(1),a=n.DEDOG_HOST,u=n.SERVER_URL;function c(){var e=/moomoo.com/i.test(a),t=/futunn.com/i.test(a);return e?"https://static.moomoo.com/upload/dedog/web-vitals@3.3.2.iife.js":t?"https://static.futunn.com/upload/dedog/web-vitals@3.3.2.iife.js":a?u+"/web-vitals.js":"https://unpkg.com/web-vitals@3.3.2/dist/web-vitals.iife.js"}function l(e){i.push(s,{name:e.name,value:e.value,rating:e.rating})}function d(t){f(function(){setTimeout(function(){var e=m();e&&"function"==typeof t&&t(e)},0)})}function p(e){var t=e.startTime||0,r={DNS:e.domainLookupEnd-e.domainLookupStart,TCP:e.connectEnd-e.connectStart,Request:e.responseStart-e.requestStart,Response:e.responseEnd-e.responseStart,domParse:e.domInteractive-e.responseEnd,domContentLoaded:e.domContentLoadedEventEnd-t,resLoad:e.loadEventStart-e.domContentLoadedEventEnd};0