1import{a9 as c,aa as i,s as a,t as d,o as l,c as m,b as u,e as p,E as g}from"./app-Cu5XHDAx.js";import{_ as f}from"./Base-JJuITLVr.js";const v={layout:f},T=Object.assign(v,{__name:"SimpleIntegrationPlayer",setup(y){const{preventSidebarSwipe:r}=c(i()),o=a(null),e=new URLSearchParams(window.location.search),s=a({enabled:e.get("enabled")==="true"||!1,name:e.get("name")||"",cam_id:+e.get("cam_id")||0,depth_user:+e.get("dvr_depth")||0,onvif_data:{primary_source_required:e.get("primary_source_required")==="true"||!1,secondary_source_required:e.get("secondary_source_required")==="true"||!1},dvr_protected:e.get("dvr_protected")==="true"||!1,constraint_archive:e.get("constraint_archive")==="true"||!1,constraint_online:e.get("constraint_online")==="true"||!1,playback_config:{token:e.get("token")||"",dToken:e.get("dToken")||""},server:{hostname:e.get("hostname")||"",http_port:e.get("http_port")||"",https_port:e.get("https_port")||"",ssl:e.get("ssl")==="true"||!1,version:e.get("server_version")||""},realTime:+e.get("realTime")||0,video_codec:e.get("video_codec")||"",objectData:{time_zone:{offset_minutes:+e.get("offset_minutes")||0}},time_added:+e.get("time_added")||0,is_stream_on_demand:e.get("is_stream_on_demand")==="true"||!1,stream_protocol_id:+e.get("stream_protocol_id")||0,primary_source:e.get("primary_source")||"",secondary_source:e.get("secondary_source")||"",mediainfoAccess:e.get("mediainfoAccess")==="true"||!1,debugMode:e.get("debugMode")==="true"||!1,theme:e.get("theme")||"light"});return(h,t)=>{const n=d("Dvor24Player");return l(),m("div",{class:g(["player-wrapper",{}]),onTouchstart:t[0]||(t[0]=_=>r.value=!0),onTouchcancel:t[1]||(t[1]=_=>r.value=!1)},[u(n,{ref_key:"player",ref:o,camera:p(s)},null,8,["camera"])],32)}}});export{T as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.