var c=Object.defineProperty;var _=(r,e,a)=>e in r?c(r,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[e]=a;var m=(r,e,a)=>(_(r,typeof e!="symbol"?e+"":e,a),a);import{m as p,C as v,R as f,e as u}from"./index-7a0f6c6e.js";import{C as d}from"./camera-987eaf29.js";var C=Object.defineProperty,y=Object.getOwnPropertyDescriptor,l=(r,e,a,s)=>{for(var t=s>1?void 0:s?y(e,a):e,o=r.length-1,i;o>=0;o--)(i=r[o])&&(t=(s?i(e,a,t):i(t))||t);return s&&t&&C(e,a,t),t};let n=class extends p(d){constructor(){super(...arguments);m(this,"cameraVideo")}startPlayback(){navigator.mediaDevices.getUserMedia({video:!0}).then(a=>this.cameraVideo.srcObject=a).then(()=>this.$emit("playback"))}stopPlayback(){this.cameraVideo.srcObject=null}};l([f("streamingElement")],n.prototype,"cameraVideo",2);n=l([v({})],n);var P=function(){var e=this,a=e._self._c;return e._self._setupProxy,a("video",{ref:"streamingElement",style:e.cameraStyle,attrs:{autoplay:"",muted:""},domProps:{muted:!0}})},b=[],h=u(n,P,b,!1,null,null,null,null);const j=h.exports;export{j as default};
