1import{a as t,c as s,d as n,g as a}from"./chunk-TVZI7NAK.js";import{h as i}from"./chunk-6RK4MNN4.js";var h=":host{z-index:1000;position:fixed;top:0;left:0;width:100%;height:100%;display:-ms-flexbox;display:flex;contain:strict;--inset-width:600px;--inset-height:600px}.wrapper{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:rgba(0, 0, 0, 0.15)}.content{-webkit-box-shadow:0px 0px 5px rgba(0, 0, 0, 0.2);box-shadow:0px 0px 5px rgba(0, 0, 0, 0.2);width:var(--inset-width);height:var(--inset-height);max-height:100%}@media only screen and (max-width: 600px){.content{width:100%;height:100%}}",r=class{constructor(e){a(this,e),this.onPhoto=n(this,"onPhoto",7),this.noDeviceError=n(this,"noDeviceError",7),this.handlePhoto=o=>i(this,null,function*(){this.onPhoto.emit(o)}),this.handleNoDeviceError=o=>i(this,null,function*(){this.noDeviceError.emit(o)}),this.facingMode="user",this.noDevicesText="No camera found",this.noDevicesButtonText="Choose image"}handleBackdropClick(e){e.target!==this.el&&this.onPhoto.emit(null)}handleComponentClick(e){e.stopPropagation()}handleBackdropKeyUp(e){e.key==="Escape"&&this.onPhoto.emit(null)}render(){return t("div",{class:"wrapper",onClick:e=>this.handleBackdropClick(e)},t("div",{class:"content"},t("pwa-camera",{onClick:e=>this.handleComponentClick(e),facingMode:this.facingMode,handlePhoto:this.handlePhoto,handleNoDeviceError:this.handleNoDeviceError,noDevicesButtonText:this.noDevicesButtonText,noDevicesText:this.noDevicesText})))}get el(){return s(this)}};r.style=h;export{r as pwa_camera_modal_instance};
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.