"use strict";(self["webpackChunkqwh5"]=self["webpackChunkqwh5"]||[]).push([[765],{2939:function(){},6196:function(){},1958:function(){},5275:function(e,r,t){function n(e){const r=window.location.href,t={};if(-1!=r.indexOf("?")){let e="",n=[];r.split("?").forEach(((r,o)=>{if(0!=o){e=r,n=e.split("&");for(let e=0;e((0,a.dD)("data-v-72996912"),e=e(),(0,a.Cn)(),e),s={class:"about"},c=u((()=>(0,a._)("h3",null,null,-1))),l={key:0,style:{"overflow-scrolling":"touch",overflow:"auto",height:"1200px",width:"100%"}},d=["src"],f=["src"],v=["src"],p={class:"overBox"};function h(e,r,t,u,h,g){const y=o.g,m=n.a;return(0,a.wg)(),(0,a.iD)("div",s,[c,2==u.detialType?((0,a.wg)(),(0,a.iD)("div",l,[(0,a._)("iframe",{src:u.detialURL[0],frameborder:"0",style:{width:"100%",height:"100%"}},null,8,d)])):(0,a.kq)("",!0),(0,a.wy)((0,a._)("div",null,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(u.detialURL,(e=>((0,a.wg)(),(0,a.iD)("img",{style:{width:"100%",height:"auto",margin:"10px"},src:e,alt:"",key:e},null,8,f)))),128))],512),[[i.F8,3==u.detialType]]),(0,a.wy)((0,a._)("video",{src:u.detialURL[0],controls:"controls",style:{width:"100%",height:"500px"}},null,8,v),[[i.F8,4==u.detialType]]),(0,a.Wm)(m,{show:u.overshow},{default:(0,a.w5)((()=>[(0,a._)("div",p,[(0,a.Wm)(y,{type:"spinner",color:"#00b38a"})])])),_:1},8,["show"])])}var g,y=t(4870),m=t(678),w=(t(1703),t(8675),t(3462),new Uint8Array(16));function _(){if(!g&&(g="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!g))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return g(w)}var b=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function I(e){return"string"===typeof e&&b.test(e)}for(var U=I,C=[],R=0;R<256;++R)C.push((R+256).toString(16).substr(1));function A(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=(C[e[r+0]]+C[e[r+1]]+C[e[r+2]]+C[e[r+3]]+"-"+C[e[r+4]]+C[e[r+5]]+"-"+C[e[r+6]]+C[e[r+7]]+"-"+C[e[r+8]]+C[e[r+9]]+"-"+C[e[r+10]]+C[e[r+11]]+C[e[r+12]]+C[e[r+13]]+C[e[r+14]]+C[e[r+15]]).toLowerCase();if(!U(t))throw TypeError("Stringified UUID is invalid");return t}var k,x,q=A,D=0,N=0;function S(e,r,t){var n=r&&t||0,o=r||new Array(16);e=e||{};var a=e.node||k,i=void 0!==e.clockseq?e.clockseq:x;if(null==a||null==i){var u=e.random||(e.rng||_)();null==a&&(a=k=[1|u[0],u[1],u[2],u[3],u[4],u[5]]),null==i&&(i=x=16383&(u[6]<<8|u[7]))}var s=void 0!==e.msecs?e.msecs:Date.now(),c=void 0!==e.nsecs?e.nsecs:N+1,l=s-D+(c-N)/1e4;if(l<0&&void 0===e.clockseq&&(i=i+1&16383),(l<0||s>D)&&void 0===e.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");D=s,N=c,x=i,s+=122192928e5;var d=(1e4*(268435455&s)+c)%4294967296;o[n++]=d>>>24&255,o[n++]=d>>>16&255,o[n++]=d>>>8&255,o[n++]=255&d;var f=s/4294967296*1e4&268435455;o[n++]=f>>>8&255,o[n++]=255&f,o[n++]=f>>>24&15|16,o[n++]=f>>>16&255,o[n++]=i>>>8|128,o[n++]=255&i;for(var v=0;v<6;++v)o[n+v]=a[v];return r||q(o)}var E=S;function T(e){if(!U(e))throw TypeError("Invalid UUID");var r,t=new Uint8Array(16);return t[0]=(r=parseInt(e.slice(0,8),16))>>>24,t[1]=r>>>16&255,t[2]=r>>>8&255,t[3]=255&r,t[4]=(r=parseInt(e.slice(9,13),16))>>>8,t[5]=255&r,t[6]=(r=parseInt(e.slice(14,18),16))>>>8,t[7]=255&r,t[8]=(r=parseInt(e.slice(19,23),16))>>>8,t[9]=255&r,t[10]=(r=parseInt(e.slice(24,36),16))/1099511627776&255,t[11]=r/4294967296&255,t[12]=r>>>24&255,t[13]=r>>>16&255,t[14]=r>>>8&255,t[15]=255&r,t}var L=T;function F(e){e=unescape(encodeURIComponent(e));for(var r=[],t=0;t>5]>>>o%32&255,i=parseInt(n.charAt(a>>>4&15)+n.charAt(15&a),16);r.push(i)}return r}function j(e){return 14+(e+64>>>9<<4)+1}function O(e,r){e[r>>5]|=128<>5]|=(255&e[n/8])<>16)+(r>>16)+(t>>16);return n<<16|65535&t}function B(e,r){return e<>>32-r}function K(e,r,t,n,o,a){return P(B(P(P(r,e),P(n,a)),o),t)}function Y(e,r,t,n,o,a,i){return K(r&t|~r&n,e,r,o,a,i)}function Z(e,r,t,n,o,a,i){return K(r&n|t&~n,e,r,o,a,i)}function z(e,r,t,n,o,a,i){return K(r^t^n,e,r,o,a,i)}function G(e,r,t,n,o,a,i){return K(t^(r|~n),e,r,o,a,i)}var Q=W,X=V("v3",48,Q),ee=X;function re(e,r,t){e=e||{};var n=e.random||(e.rng||_)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,r){t=t||0;for(var o=0;o<16;++o)r[t+o]=n[o];return r}return q(n)}var te=re;function ne(e,r,t,n){switch(e){case 0:return r&t^~r&n;case 1:return r^t^n;case 2:return r&t^r&n^t&n;case 3:return r^t^n}}function oe(e,r){return e<>>32-r}function ae(e){var r=[1518500249,1859775393,2400959708,3395469782],t=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof e){var n=unescape(encodeURIComponent(e));e=[];for(var o=0;o>>0;w=m,m=y,y=oe(g,30)>>>0,g=h,h=I}t[0]=t[0]+h>>>0,t[1]=t[1]+g>>>0,t[2]=t[2]+y>>>0,t[3]=t[3]+m>>>0,t[4]=t[4]+w>>>0}return[t[0]>>24&255,t[0]>>16&255,t[0]>>8&255,255&t[0],t[1]>>24&255,t[1]>>16&255,t[1]>>8&255,255&t[1],t[2]>>24&255,t[2]>>16&255,t[2]>>8&255,255&t[2],t[3]>>24&255,t[3]>>16&255,t[3]>>8&255,255&t[3],t[4]>>24&255,t[4]>>16&255,t[4]>>8&255,255&t[4]]}var ie=ae,ue=V("v5",80,ie),se=ue,ce={v1:E,v3:ee,v4:te,v5:se};var le=t(5275),de={components:{[n.a.name]:n.a},setup(){const{proxy:e}=(0,a.FN)(),r=(0,y.iH)(!1),t=(0,y.iH)(ce.v1()),n=(0,y.iH)(),o=(0,y.iH)([]);let i=null;const u=(0,m.tv)(),s=u.currentRoute.value.query,c=(0,y.qj)({external_userid:"",openid:"",device_id:""}),l=(e,r)=>{sessionStorage.setItem(e,r)};(0,a.wF)((()=>{r.value=!0,f()})),(0,a.bv)((()=>{let e=sessionStorage.getItem("isReload"),r=sessionStorage.getItem("request_id");e?r?(clearInterval(Number(i)),i=setInterval((()=>{v(2,r)}),1e4)):clearInterval(Number(i)):(l("isReload",!0),d())})),(0,a.wF)((()=>{clearInterval(Number(i))}));const d=()=>{e.$axios.get("/api/oauth2/userInfo",{corpid:s.corpid,code:(0,le.W)("code"),state:(0,le.W)("state")},!1).then((e=>{e.rst&&(c.external_userid=e.rst.external_userid,c.openid=e.rst.openid,c.device_id=e.rst.device_id,v(1,t.value))})).catch((e=>{console.log(e)}))},f=()=>{e.$axios.get("/api/radarPage/detail",{corpid:s.corpid,radar_id:s.radar_id,user_id:s.user_id,token:s.token,timestamp:s.timestamp},!1).then((e=>{n.value=e.rst.type;const t=JSON.parse(e.rst.url_list);if(o.value=t,r.value=!1,1==n.value){let e=document.createElement("a");e.href=t[0],document.body.appendChild(e),e.click(),document.body.removeChild(e)}})).catch((e=>{console.log(e)}))},v=(r,t)=>{e.$axios.get("/api/radarPage/report",{corpid:s.corpid,radar_id:s.radar_id,user_id:s.user_id,token:s.token,timestamp:s.timestamp,rule_id:s.rule_id,channel:s.channel,state:s.state,external_userid:c.external_userid,openid:c.openid,device_id:c.device_id,request_id:t,type:r},!1).then((e=>{l("request_id",t),clearInterval(Number(i)),i=setInterval((()=>{v(2,t)}),1e4)})).catch((e=>{console.log(e)}))};return{router:u,detialType:n,detialURL:o,UUID:t,overshow:r,behaviorReport:v}}},fe=t(89);const ve=(0,fe.Z)(de,[["render",h],["__scopeId","data-v-72996912"]]);var pe=ve},8228:function(e,r,t){t(1958),t(2939)},7914:function(e,r,t){t(1958),t(6196)}}]);