(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-33a35dfe","chunk-467cfae7"],{"0eb6":function(t,e,n){"use strict";var r=n("23e7"),i=n("7c37"),a=n("d066"),o=n("d039"),c=n("7c73"),s=n("5c6c"),l=n("9bf2").f,u=n("cb2d"),d=n("edd0"),f=n("1a2d"),p=n("19aa"),h=n("825a"),v=n("aa1f"),m=n("e391"),b=n("cf98"),g=n("0d26"),y=n("69f3"),E=n("83ab"),O=n("c430"),_="DOMException",I="DATA_CLONE_ERR",w=a("Error"),R=a(_)||function(){try{var t=a("MessageChannel")||i("worker_threads").MessageChannel;(new t).port1.postMessage(new WeakMap)}catch(e){if(e.name==I&&25==e.code)return e.constructor}}(),D=R&&R.prototype,S=w.prototype,k=y.set,j=y.getterFor(_),T="stack"in w(_),N=function(t){return f(b,t)&&b[t].m?b[t].c:0},x=function(){p(this,C);var t=arguments.length,e=m(t<1?void 0:arguments[0]),n=m(t<2?void 0:arguments[1],"Error"),r=N(n);if(k(this,{type:_,name:n,message:e,code:r}),E||(this.name=n,this.message=e,this.code=r),T){var i=w(e);i.name=_,l(this,"stack",s(1,g(i.stack,1)))}},C=x.prototype=c(S),A=function(t){return{enumerable:!0,configurable:!0,get:t}},U=function(t){return A((function(){return j(this)[t]}))};E&&(d(C,"code",U("code")),d(C,"message",U("message")),d(C,"name",U("name"))),l(C,"constructor",s(1,x));var M=o((function(){return!(new R instanceof w)})),P=M||o((function(){return S.toString!==v||"2: 1"!==String(new R(1,2))})),L=M||o((function(){return 25!==new R(1,"DataCloneError").code})),z=M||25!==R[I]||25!==D[I],$=O?P||L||z:M;r({global:!0,constructor:!0,forced:$},{DOMException:$?x:R});var q=a(_),H=q.prototype;for(var B in P&&(O||R===q)&&u(H,"toString",v),L&&E&&R===q&&d(H,"code",A((function(){return N(h(this).name)}))),b)if(f(b,B)){var V=b[B],F=V.s,J=s(6,V.c);f(q,F)||l(q,F,J),f(H,F)||l(H,F,J)}},"584f":function(t,e,n){"use strict";n.d(e,"n",(function(){return i})),n.d(e,"t",(function(){return a})),n.d(e,"o",(function(){return o})),n.d(e,"p",(function(){return c})),n.d(e,"m",(function(){return s})),n.d(e,"f",(function(){return l})),n.d(e,"c",(function(){return u})),n.d(e,"g",(function(){return d})),n.d(e,"i",(function(){return f})),n.d(e,"d",(function(){return p})),n.d(e,"u",(function(){return h})),n.d(e,"q",(function(){return v})),n.d(e,"r",(function(){return m})),n.d(e,"h",(function(){return b})),n.d(e,"a",(function(){return g})),n.d(e,"v",(function(){return y})),n.d(e,"b",(function(){return E})),n.d(e,"e",(function(){return O})),n.d(e,"k",(function(){return _})),n.d(e,"l",(function(){return I})),n.d(e,"j",(function(){return w})),n.d(e,"s",(function(){return R}));var r=n("b775");function i(t){return Object(r["a"])({url:"/iot/device/list",method:"get",params:t})}function a(t){return Object(r["a"])({url:"/iot/device/unAuthlist",method:"get",params:t})}function o(t){return Object(r["a"])({url:"/iot/device/listByGroup",method:"get",params:t})}function c(t){return Object(r["a"])({url:"/iot/device/shortList",method:"get",params:t})}function s(t){return Object(r["a"])({url:"/iot/device/all",method:"get",params:t})}function l(t){return Object(r["a"])({url:"/iot/device/"+t,method:"get"})}function u(t){return Object(r["a"])({url:"/iot/device/synchronization/"+t,method:"get"})}function d(t){return Object(r["a"])({url:"/iot/device/getDeviceBySerialNumber/"+t,method:"get"})}function f(){return Object(r["a"])({url:"/iot/device/statistic",method:"get"})}function p(t,e){return Object(r["a"])({url:"/iot/device/assignment?deptId="+t+"&deviceIds="+e,method:"post"})}function h(t,e){return Object(r["a"])({url:"/iot/device/recovery?deviceIds="+t+"&recoveryDeptId="+e,method:"post"})}function v(t){return Object(r["a"])({url:"/iot/record/list",method:"get",params:t})}function m(t){return Object(r["a"])({url:"/iot/record/list",method:"get",params:t})}function b(t){return Object(r["a"])({url:"/iot/device/runningStatus",method:"get",params:t})}function g(t){return Object(r["a"])({url:"/iot/device",method:"post",data:t})}function y(t){return Object(r["a"])({url:"/iot/device",method:"put",data:t})}function E(t){return Object(r["a"])({url:"/iot/device/"+t,method:"delete"})}function O(t){return Object(r["a"])({url:"/iot/device/generator",method:"get",params:t})}function _(t){return Object(r["a"])({url:"/iot/device/getMqttConnectData",method:"get",params:t})}function I(t){return Object(r["a"])({url:"/sip/sipconfig/auth/"+t,method:"get"})}function w(t){return Object(r["a"])({url:"/iot/device/getHttpAuthData",method:"get",params:t})}function R(t){return Object(r["a"])({url:"/iot/device/listThingsModel",method:"get",params:t})}},"58ce":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{width:"100%",height:"100%","background-color":"#ffffff",overflow:"auto"},attrs:{id:"DeviceTree"}},[n("el-input",{staticStyle:{"margin-bottom":"10px"},attrs:{size:"small",placeholder:t.$t("device.index.105953-1"),clearable:""},model:{value:t.filterText,callback:function(e){t.filterText=e},expression:"filterText"}}),n("el-tree",{ref:"tree",staticStyle:{"min-width":"100%",display:"inline-block !important"},attrs:{props:t.defaultProps,"current-node-key":t.selectchannelId,"default-expanded-keys":t.expandIds,"highlight-current":!0,load:t.loadNode,lazy:"","node-key":"id","filter-node-method":t.filterNode},on:{"node-click":t.handleNodeClick},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.node;return n("span",{staticClass:"custom-tree-node",staticStyle:{width:"100%"}},[0===r.data.type&&r.data.online?n("span",{staticClass:"device-online iconfont icon-jiedianleizhukongzhongxin2",attrs:{title:"在线设备"}}):t._e(),0!==r.data.type||r.data.online?t._e():n("span",{staticClass:"device-offline iconfont icon-jiedianleizhukongzhongxin2",attrs:{title:"离线设备"}}),3===r.data.type&&r.data.online?n("span",{staticClass:"device-online iconfont icon-shebeileijiankongdian",attrs:{title:"在线通道"}}):t._e(),3!==r.data.type||r.data.online?t._e():n("span",{staticClass:"device-offline iconfont icon-shebeileijiankongdian",attrs:{title:"离线通道"}}),4===r.data.type&&r.data.online?n("span",{staticClass:"device-online iconfont icon-shebeileiqiuji",attrs:{title:"在线通道-球机"}}):t._e(),4!==r.data.type||r.data.online?t._e():n("span",{staticClass:"device-offline iconfont icon-shebeileiqiuji",attrs:{title:"离线通道-球机"}}),5===r.data.type&&r.data.online?n("span",{staticClass:"device-online iconfont icon-shebeileibanqiu",attrs:{title:"在线通道-半球"}}):t._e(),5!==r.data.type||r.data.online?t._e():n("span",{staticClass:"device-offline iconfont icon-shebeileibanqiu",attrs:{title:"离线通道-半球"}}),6===r.data.type&&r.data.online?n("span",{staticClass:"device-online iconfont icon-shebeileiqiangjitongdao",attrs:{title:"在线通道-枪机"}}):t._e(),6!==r.data.type||r.data.online?t._e():n("span",{staticClass:"device-offline iconfont icon-shebeileiqiangjitongdao",attrs:{title:"离线通道-枪机"}}),r.data.online?n("span",{staticClass:"device-online",staticStyle:{"padding-left":"1px"}},[t._v(t._s(r.label))]):t._e(),r.data.online?t._e():n("span",{staticClass:"device-offline",staticStyle:{"padding-left":"1px"}},[t._v(t._s(r.label))])])}}])})],1)},i=[],a=(n("99af"),n("4de4"),n("14d9"),n("b0c0"),n("d3b7"),n("f5a7")),o=n("584f"),c={name:"DeviceTree",data:function(){return{total:0,filterText:"",expandIds:[],selectData:{},selectchannelId:"",defaultProps:{children:"children",label:"name",isLeaf:"isLeaf"},queryParams:{pageNum:1,pageSize:100,status:3,deviceType:3,showChild:!0,deviceName:""}}},props:["onlyCatalog","clickEvent"],watch:{filterText:function(t){this.$refs.tree.filter(t)}},mounted:function(){this.selectchannelId="",this.expandIds=["0"]},methods:{handleNodeClick:function(t,e,n){if(this.selectData=e.data,this.selectchannelId=e.data.value,0!==e.level){var r=this.$refs.tree.getNode(t.userData.channelSipId);"function"==typeof this.clickEvent&&e.level>1&&this.clickEvent(r.data.userData)}},loadNode:function(t,e){var n=this;if(0===t.level)Object(o["p"])(this.queryParams).then((function(t){var n=t.rows;if(n.length>0){for(var r=[],i=0;i0){for(var n=[],r=0;r14){var c=i.id.substring(10,13);"111"!==c&&"112"!==c&&"118"!==c&&"131"!==c&&"132"!==c?o=-1:1===i.basicData.ptztype?o=4:2===i.basicData.ptztype?o=5:3!==i.basicData.ptztype&&4!==i.basicData.ptztype||(o=6)}else(i.basicData.subCount>0||1===i.basicData.parental)&&(o=2);var s={name:i.name||i.id,isLeaf:!0,id:i.id,deviceId:i.deviceId,type:o,online:3===i.status,userData:i.basicData};"111"!==a&&"112"!==a&&"118"!==a&&"131"!==a&&"132"!==a||n.push(s)}e(n)}else e([])},reset:function(){this.$forceUpdate()},filterNode:function(t,e){return!t||-1!==e.name.indexOf(t)}},destroyed:function(){}},s=c,l=(n("bb713"),n("2877")),u=Object(l["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},"7c37":function(t,e,n){var r=n("605d");t.exports=function(t){try{if(r)return Function('return require("'+t+'")')()}catch(e){}}},"802a":function(t,e,n){"use strict";n("f4f8")},"81b2":function(t,e,n){var r=n("23e7"),i=n("d066"),a=n("e330"),o=n("d039"),c=n("577e"),s=n("1a2d"),l=n("d6d6"),u=n("b917").ctoi,d=/[^\d+/a-z]/i,f=/[\t\n\f\r ]+/g,p=/[=]+$/,h=i("atob"),v=String.fromCharCode,m=a("".charAt),b=a("".replace),g=a(d.exec),y=o((function(){return""!==h(" ")})),E=!o((function(){h("a")})),O=!y&&!E&&!o((function(){h()})),_=!y&&!E&&1!==h.length;r({global:!0,enumerable:!0,forced:y||E||O||_},{atob:function(t){if(l(arguments.length,1),O||_)return h(t);var e,n,r=b(c(t),f,""),a="",o=0,y=0;if(r.length%4==0&&(r=b(r,p,"")),r.length%4==1||g(d,r))throw new(i("DOMException"))("The string is not correctly encoded","InvalidCharacterError");while(e=m(r,o++))s(u,e)&&(n=y%4?64*n+u[e]:u[e],y++%4&&(a+=v(255&n>>(-2*y&6))));return a}})},"8bd4":function(t,e,n){var r=n("d066"),i=n("d44e"),a="DOMException";i(r(a),a)},aa1f:function(t,e,n){"use strict";var r=n("83ab"),i=n("d039"),a=n("825a"),o=n("7c73"),c=n("e391"),s=Error.prototype.toString,l=i((function(){if(r){var t=o(Object.defineProperty({},"name",{get:function(){return this===t}}));if("true"!==s.call(t))return!0}return"2: 1"!==s.call({message:1,name:2})||"Error"!==s.call({})}));t.exports=l?function(){var t=a(this),e=c(t.name,"Error"),n=c(t.message);return e?n?e+": "+n:e:n}:s},adbd:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"iot-sip-split-view"},[n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{span:6}},[n("el-card",{staticStyle:{height:"729px"}},[n("DeviceTree",{attrs:{clickEvent:t.clickEvent}})],1)],1),n("el-col",{attrs:{span:18}},[n("el-card",[n("el-row",{staticStyle:{"margin-bottom":"16px"},attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{class:{active:1==t.spilt},attrs:{type:"primary",plain:"",icon:"el-icon-full-screen",size:"small"},on:{click:function(e){t.spilt=1}}},[t._v(" "+t._s(t.$t("sip.splitview.998531-2"))+" ")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{class:{active:4==t.spilt},attrs:{icon:"el-icon-menu",plain:"",size:"small"},on:{click:function(e){t.spilt=4}}},[t._v(t._s(t.$t("sip.splitview.998531-3")))])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{class:{active:9==t.spilt},attrs:{plain:"",icon:"el-icon-s-grid",size:"small"},on:{click:function(e){t.spilt=9}}},[t._v(t._s(t.$t("sip.splitview.998531-4")))])],1)],1),n("div",{staticStyle:{height:"639px",display:"flex","flex-wrap":"wrap"}},t._l(t.spilt,(function(e){return n("div",{key:e,staticClass:"play-box",style:t.liveStyle,on:{click:function(n){t.playerIdx=e-1}}},[t.videoUrl[e-1]?n("player",{ref:"player",refInFor:!0,staticClass:"player-wrap",attrs:{videoUrl:t.videoUrl[e-1],fluent:"",autoplay:""},on:{screenshot:t.shot,destroy:t.destroy}}):n("div",{staticStyle:{color:"#ffffff","font-size":"30px","font-weight":"bold"}},[t._v(t._s(e))])],1)})),0)],1)],1)],1)],1)},i=[],a=(n("c19f"),n("ace4"),n("e9c4"),n("b64b"),n("d3b7"),n("3ca3"),n("5cc6"),n("907a"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("986a"),n("1d02"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("170b"),n("b39a"),n("72f7"),n("1b3b"),n("3d71"),n("c6e3"),n("81b2"),n("ddb0"),n("0eb6"),n("b7ef"),n("8bd4"),n("2b3d"),n("bf19"),n("9861"),n("3b3a")),o=n("58ce"),c=n("e2de"),s={name:"SplitView",components:{player:a["default"],DeviceTree:o["default"]},data:function(){return{videoUrl:[""],spilt:1,playerIdx:0,updateLooper:0,count:15,total:0,loading:!1}},mounted:function(){},created:function(){this.checkPlayByParam()},computed:{liveStyle:function(){var t=this,e={width:"100%",height:"100%"};switch(this.spilt){case 4:e={width:"49%",height:"50%"};break;case 9:e={width:"33%",height:"33%"};break}return this.$nextTick((function(){for(var e=0;e