!function(){"use strict";var n,e,r,t,s,o,i,a,c,d,u,l=function(){return(l=Object.assign||function(e){for(var n,r=1,t=arguments.length;r<t;r++)for(var s in n=arguments[r])Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s]);return e}).apply(this,arguments)};function f(){var e,t,n;window.APMPlusHybrid&&window.APMPlusJsBridge&&window.APMPlusJsBridge.request&&window.APMPlusJsBridge.getAid&&("number"==typeof(e=window.APMPlusJsBridge.getAid())&&"function"==typeof window.APMPlusJsBridge.request&&(t={did:"device_id",sid:"session_id",release:"release",env:"env",sname:"sdk_name",sversion:"sdk_version",soffset:"sdk_offset"},n={},window.APMPlusHybrid("on","start",function(){var r,e=window.APMPlusHybrid("getSender");e&&(e=e.getEndpoint(),r={},(e=e.split("?")[1])&&e.split("&").forEach(function(e){var n=e.split("="),e=n[0];t[e]&&(r[t[e]]=n[1]||"")}),r.sdk_offset=+r.sdk_offset,n=r)}),window.APMPlusHybrid("on","beforeSend",function(e){return l(l({},e),{common:l(l({},e.common),n)})}),window.APMPlusHybrid("init",{aid:e,useLocalConfig:!0,token:"",plugins:{resource:!1,resourceError:!1,performance:{longtask:!1}},transport:{post:function(e){e=e.data;window.APMPlusJsBridge.request(e)},get:function(e){}}}),window.APMPlusHybrid("start")))}n=window,e=document,r="APMPlusHybrid",t="precollect",s="getAttribute",o="addEventListener",(i=function(e){(a=[].slice.call(arguments)).push(Date.now(),location.href),(e===t?i.p.a:i.q).push(a)}).q=[],i.p={a:[]},n[r]=i,(c=document.createElement("script")).src="https://apm.volccdn.com/mars-web/apmplus/web/browser.cn.js?aid=0&globalName="+r,c.crossorigin="anonymous",e.getElementsByTagName("head")[0].appendChild(c),o in n&&(i.pcErr=function(e){e=e||n.event,(d=e.target||e.srcElement)instanceof Element||d instanceof HTMLElement?n[r](t,"st",{tagName:d.tagName,url:d[s]("href")||d[s]("src")}):n[r](t,"err",e.error||e.message)},i.pcRej=function(e){e=e||n.event,n[r](t,"reject",e.reason||e.detail&&e.detail.reason)},n[o]("error",i.pcErr,!0),n[o]("unhandledrejection",i.pcRej,!0)),"PerformanceLongTaskTiming"in n&&((u=i.pp={entries:[]}).observer=new PerformanceObserver(function(e){u.entries=u.entries.concat(e.getEntries())}),u.observer.observe({entryTypes:["longtask","largest-contentful-paint","layout-shift"]}));try{f()}catch(e){}}();
