PageSourceSearch

https://lipscosme.com/_next/static/chunks/3808.a42de182ef134594.js

js lipscosme.com collected 2026-10-01 11:43:43 UTC 21,088 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3808],{80279:function(t,e,i){"use strict";i.d(e,{A:function(){return s},F:function(){return a}});var n=i(44194);let a=()=>{let[t,e]=(0,n.useState)("");return(0,n.useEffect)(()=>{"undefined"!=typeof navigator&&e(navigator.userAgent)},[]),t},s=()=>a().includes("LIPSAppWebView/")},52075:function(t,e,i){"use strict";i.d(e,{$:function(){return l}});var n=i(82051),a=i(51739),s=i(1426),o=i(96174),r=i(67370),h=i(77901),d=i(21176);let l=t=>{let{status:e,variant:i="solid",id:l,title:c,isClosable:u,onClose:m,description:v,colorScheme:g,icon:p}=t,f=l?{root:"toast-".concat(l),title:"toast-".concat(l,"-title"),description:"toast-".concat(l,"-description")}:void 0;return(0,n.BX)(a.b,{addRole:!1,status:e,variant:i,id:null==f?void 0:f.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:g,children:[(0,n.tZ)(s.z,{children:p}),(0,n.BX)(d.m.div,{flex:"1",maxWidth:"100%",children:[c&&(0,n.tZ)(o.C,{id:null==f?void 0:f.title,fontSize:"sm",children:c}),v&&(0,n.tZ)(r.X,{id:null==f?void 0:f.description,display:"block",fontSize:"sm",children:v})]}),u&&(0,n.tZ)(h.P,{size:"sm",onClick:m,position:"absolute",insetEnd:1,top:1})]})}},54512:function(t,e,i){"use strict";i.d(e,{t:function(){return d}});var n=i(82051),a=i(99566),s=i(55362),o=i(14749),r=i(22620),h=i(36676);let d=()=>{let t=(0,h.F)();return(0,n.tZ)(a.M,{w:"full",h:"100vh",children:(0,n.BX)(s.g,{gap:4,children:[(0,n.tZ)(o.X,{fontSize:"2xl",textAlign:"center",children:"カメラの権限が許可されていません"}),(0,n.tZ)(r.x,{fontSize:"md",textAlign:"center",children:"WebView"===t?(0,n.BX)(n.HY,{children:["OSの設定 > アプリ > LIPSからカメラを許可して",(0,n.tZ)("br",{}),"画面をリロードしてください"]}):(0,n.BX)(n.HY,{children:["ブラウザの設定からカメラを許可して",(0,n.tZ)("br",{}),"画面をリロードしてください"]})})]})})}},36676:function(t,e,i){"use strict";i.d(e,{F:function(){return r},c:function(){return h}});var n=i(44194),a=i(80279);let s=["mobile","android","iphone","ipad"],o=t=>{if(t.includes("LIPSAppWebView/"))return"WebView";let e=t.toLowerCase();return s.some(t=>e.includes(t))?"WebMobile":"Web"},r=()=>{let t=(0,a.F)();return(0,n.useMemo)(()=>o(t),[t])},h=t=>{let e=r();return(0,n.useMemo)(()=>"".concat(e,"_").concat(t),[e,t])}},12080:function(t,e,i){"use strict";i.d(e,{Aq:function(){return u},Mh:function(){return l},aJ:function(){return d},f1:function(){return c},qc:function(){return h},sS:function(){return m}});var n=i(59199),a=i.n(n);let s=t=>"environment"===t.getSettings().facingMode?"environment":"user",o=async(t,e)=>{var i;let n=await navigator.mediaDevices.getUserMedia({video:t}),a=n.getVideoTracks()[0];return{stream:n,facing:s(a),deviceId:null!==(i=null==a?void 0:a.getSettings().deviceId)&&void 0!==i?i:"",strategy:e}},r=t=>t instanceof Error&&("NotAllowedError"===t.name||"SecurityError"===t.name),h=async t=>{try{return await o({...t,facingMode:{exact:"user"}},"exact-user")}catch(t){if(r(t))throw t}try{return await o({...t,facingMode:"user"},"ideal-user")}catch(t){if(r(t))throw t}return o(t,"any")},d=async(t,e)=>o({...t,deviceId:{exact:e}},"any"),l=async()=>{var t;if(!(null===(t=navigator.mediaDevices)||void 0===t?void 0:t.enumerateDevices))return[];try{return(await navigator.mediaDevices.enumerateDevices()).filter(t=>"videoinput"===t.kind)}catch(t){return[]}},c=(t,e)=>{if(t.length<2)return null;let i=(t.findIndex(t=>t.deviceId===e)+1)%t.length;return t[i].deviceId},u=(t,e)=>{a().notify(Error("Camera: front camera unavailable (strategy=".concat(t.strategy,", facing=").concat(t.facing,")")),i=>{i.severity="info",e&&(i.context=e),i.addMetadata("camera",t)})},m=(t,e)=>{u({strategy:t.strategy,facing:t.facing,videoInputCount:e.length,videoInputLabels:e.map(t=>t.label)})}},49880:function(t,e,i){"use strict";function n(t,e,i){let n=!(arguments.length>3)||void 0===arguments[3]||arguments[3],a=document.createElement("canvas"),s=a.getContext("2d");a.width=e,a.height=i,a.style.width="".concat(e,"px"),a.style.height="".concat(i,"px");let o=t.videoHeight/t.videoWidth;return n&&(s.scale(-1,1),s.translate(-a.width,0)),o>1?s.drawImage(t,(t.videoWidth-e*o)/2,0,e*o,t.videoHeight,0,0,e,i):s.drawImage(t,(t.videoWidth-e)/2,0,e,i,0,0,e,i),a}i.d(e,{j:function(){return n}})}
1,8002:function(t,e,i){"use strict";let n,a;i.d(e,{S1:function(){return C},Xq:function(){return w},Ai:function(){return y}});var s=i(59199),o=i.n(s),r=i(45603),h=i(53298),d=i(93040);let l=t=>{let{r:e,g:i,b:n}=t,a=Math.max(e,i,n),s=Math.min(e,i,n),o=0;return o=e===a?60*(n-i)/(a-s):i===a?60*(2+(e-n)/(a-s)):60*(4+(i-e)/(a-s)),a===s&&(o=0),o<0&&(o+=360),{h:o,s:a>0?255*(a-s)/a:0,v:a}};function c(t,e,i){var n;let a={x:Math.cos(i)*(n={x:t.x-e.x,y:t.y-e.y}).x-Math.sin(i)*n.y,y:Math.sin(i)*n.x+Math.cos(i)*n.y};return{x:a.x+e.x,y:a.y+e.y}}let u=h.D5.getKeypointIndexByContour(h.oV.MediaPipeFaceMesh);function m(t,e,i,n){let a=t.map(t=>{let e=c(t,n,i);return{...t,...e}}),s=[],o="right"===e?u.rightEye:u.leftEye;for(let t=0;t<o.length-1;t++)s.push({start:o[t],end:o[t+1]});s.push({start:o[o.length-1],end:o[0]});let r=s[0].start;for(let t of s)a[r].x<a[t.start].x&&"right"===e&&(r=t.end),a[r].x>a[t.start].x&&"left"===e&&(r=t.end);let h=s[0].start,d=s[0].start;for(let t of s)a[d].y>a[t.start].y&&(d=t.end);let l=s[0].start;for(let t of s)a[l].y<a[t.start].y&&(l=t.end);return{inner:t[r],outer:t[h],top:t[d],bottom:t[l]}}var v=i(12080),g=i(49880);class p{async initializeDetector(){try{this.detector=await (0,h.cH)(h.oV.MediaPipeFaceMesh,{runtime:"mediapipe",refineLandmarks:!0,maxFaces:1,solutionPath:"https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh@".concat(r.VERSION)})}catch(t){console.log(t)}}async enableCam(t){this.detector||await this.initializeDetector(),this.webcamRunning=!this.webcamRunning,this.notifyCameraFailed=t.cameraFailed;try{let e=await (0,v.qc)(this.videoConstraints());if(!this.adoptStream(e,e.deviceId))return;t.loaded(),this.video.addEventListener("loadeddata",()=>this.predictWebcam({imageUpdated:t.imageUpdated}),{once:!0}),this.videoInputDevices=await (0,v.Mh)(),this.videoInputDevices.length>=2&&(this.switchCameraButton.style.display="block"),"user"!==e.facing&&(0,v.sS)(e,this.videoInputDevices)}catch(e){t.cameraFailed()}}videoConstraints(){return{height:this.videoHeight}}adoptStream(t,e){return this.isCameraReleased?(t.stream.getTracks().forEach(t=>{t.stop()}),!1):(this.stream=t.stream,this.applyCameraResult(t.facing,t.deviceId||e),this.video.srcObject=t.stream,!0)}applyCameraResult(t,e){this.facing=t,this.currentDeviceId=e,this.video.style.transform=this.isMirrored()?"scaleX(-1)":"none"}isMirrored(){return"user"===this.facing}async switchCamera(){var t,e;if(this.isSwitchingCamera)return;let i=(0,v.f1)(this.videoInputDevices,this.currentDeviceId);if(null==i)return;this.isSwitchingCamera=!0,this.switchCameraButton.disabled=!0;let n=this.currentDeviceId;null===(t=this.stream)||void 0===t||t.getTracks().forEach(t=>{t.stop()}),this.stream=null;try{this.adoptStream(await (0,v.aJ)(this.videoConstraints(),i),i)}catch(t){o().notify(t,t=>{t.severity="info",t.addMetadata("camera",{action:"switchCamera",nextDeviceId:i})});try{this.adoptStream(await (0,v.aJ)(this.videoConstraints(),n),n)}catch(t){this.isCameraReleased||null===(e=this.notifyCameraFailed)||void 0===e||e.call(this)}}finally{this.isSwitchingCamera=!1,this.switchCameraButton.disabled=!1}}async predictWebcam(t){var e,i,n;let a;if(0===this.video.videoWidth||0===this.video.videoHeight){this.timerId&&this.countdownId&&(clearTimeout(this.timerId),clearInterval(this.countdownId),this.countDownContainer.style.visibility="hidden",this.timerId=null,this.countdownId=null,this.timerCount=3),this.webcamRunning&&window.requestAnimationFrame(()=>this.predictWebcam(t));return}this.video.style.width="".concat(this.videoWidth,"px"),this.video.style.height="".concat(this.videoHeight,"px"),this.video.width=this.videoWidth,this.video.height=this.videoHeight,this.canvasElement.style.width="".concat(this.videoWidth,"px"),this.canvasElement.style.height="".concat(this.videoHeight,"px"),this.canvasElement.width=this.video.videoWidth,this.canvasElement.height=this.video.videoHeight,this.lastVideoTime!==this.video.currentTime&&(this.lastVideoTime=this.video.currentTime),this.imgCanvas.width=this.video.videoWidth,this.imgCanvas.height=this.video.videoHeight,this.imgCanvas.style.width="".concat(this.videoWidth,"px"),this.imgCanvas.style.height="".concat(this.videoHeight,"px"),this.isMirrored()&&(this.imgCanvasCtx.scale(-1,1),this.imgCanvasCtx.translate(-this.imgCanvas.width,0)),null===(e=this.imgCanvasCtx)||void 0===e||e.drawImage(this.video,0,0);let s=this.canvasElement.getContext("2d");try{a=await (null===(i=this.detector)||void 0===i?void 0:i.estimateFaces(this.video,{flipHorizontal:this.isMirrored()}))}catch(e){if(this.hasNextDetectorFallback()){await this.fallbackDetectorRuntime(),this.webcamRunning&&window.requestAnimationFrame(()=>this.predictWebcam(t));return}this.hasNotifiedEstimateFacesError||(this.hasNotifiedEstimateFacesError=!0,o().notify(e)),this.webcamRunning&&window.requestAnimationFrame(()=>this.predictWebcam(t));return}this.countdownId?this.countDownText.textContent="".concat(this.timerCount):this.countDownContainer.style.visibility="hidden";let r=!!a&&a.length>0&&(n=a[0].keypoints).length>0&&!n.some(t=>Number.isFinite(t.x)&&Number.isFinite(t.y));if(r&&this.hasNextDetectorFallback()){this.consecutiveNanMeshFrames++,this.consecutiveNanMeshFrames>=p.MAX_CONSECUTIVE_NAN_MESH_FRAMES&&await this.fallbackDetectorRuntime(),this.webcamRunning&&window.requestAnimationFrame(()=>this.predictWebcam(t));return}if(r||(this.consecutiveNanMeshFrames=0),this.detectorUnavailable){this.isVideoReady&&this.startCaptureCountdown(t,s),this.webcamRunning&&window.requestAnimationFrame(()=>this.predictWebcam(t));return}if(a&&this.canvasCtx&&this.isVideoReady)for(let e of a){this.result=this.analyzeFace(this.video,e.keypoints);let i=this.faceIsInCenter(),n=this.shouldForceCapture();!this.result||n||this.result.isFaceDirectlyForward&&i?this.startCaptureCountdown(t,s):(s&&(s.fillStyle="rgba(0, 0, 0, 0.5)",s.fillRect(0,0,this.canvasElement.width,this.canvasElement.height),s.beginPath(),s.ellipse(this.imgCanvas.width/2,this.imgCanvas.height/2,this.imgCanvas.width/2*.9,this.imgCanvas.height/2*.6,0,0,2*Math.PI,!0),s.clip(),s.clearRect(0,0,this.canvasElement.width,this.canvasElement.height),s.beginPath(),s.strokeStyle="white",s.lineWidth=2,s.ellipse(this.imgCanvas.width/2,this.imgCanvas.height/2,this.imgCanvas.width/2*.9,this.imgCanvas.height/2*.6,0,0,2*Math.PI),s.stroke()),this.errorMessageContainer.style.visibility="visible",this.errorMessage.textContent=this.result.isFaceDirectlyForward?"円の中に顔を入れてください":this.result.faceDirectlyForwardStatus[0],this.timerId&&this.countdownId&&(clearTimeout(this.timerId),clearInterval(this.countdownId),this.countDownContainer.style.visibility="hidden",this.timerId=null,this.countdownId=null,this.timerCount=3))}this.webcamRunning&&window.requestAnimationFrame(()=>this.predictWebcam(t))}startCaptureCountdown(t,e){this.timerId||(e&&e.clearRect(0,0,this.canvasElement.width,this.canvasElement.height),this.timerId=setTimeout(()=>{var i;let n=(0,g.j)(this.video,this.videoWidth,this.videoHeight,this.isMirrored());this.canvasElement.width=this.videoWidth,this.canvasElement.height=this.videoHeight,null==e||e.drawImage(n,
10,0,this.videoWidth,this.videoHeight,0,0,this.videoWidth,this.videoHeight),this.imgContainer.src=this.canvasElement.toDataURL("image/png"),this.topContainer.removeChild(this.video),this.topContainer.removeChild(this.countDownContainer),this.topContainer.removeChild(this.canvasElement),this.topContainer.removeChild(this.errorMessageContainer),this.topContainer.removeChild(this.warnMessage),this.topContainer.removeChild(this.switchCameraButton),t.imageUpdated(this.imgContainer.src),this.isCameraReleased=!0,null===(i=this.stream)||void 0===i||i.getTracks().forEach(t=>{t.stop()}),this.stream=null,this.webcamRunning=!1,this.countdownId&&clearInterval(this.countdownId)},3e3),this.countdownId=setInterval(()=>{this.timerCount--},1e3),this.errorMessageContainer.style.visibility="hidden",this.countDownContainer.style.visibility="visible")}hasNextDetectorFallback(){return this.detectorFallbackStage<p.DETECTOR_FALLBACK_BACKENDS.length}async fallbackDetectorRuntime(){let t=p.DETECTOR_FALLBACK_BACKENDS[this.detectorFallbackStage];this.detectorFallbackStage++,this.consecutiveNanMeshFrames=0;let e=this.detector;this.detector=null;try{null==e||e.dispose();let[n]=await Promise.all([Promise.resolve().then(i.bind(i,58518)),Promise.all([i.e(4604),i.e(5685),i.e(2906)]).then(i.bind(i,66828))]);n.env().set("WEBGL_PACK",!1),await n.setBackend(t),this.detector=await (0,h.cH)(h.oV.MediaPipeFaceMesh,{runtime:"tfjs",refineLandmarks:!0,maxFaces:1,detectorModelUrl:"/next_public/tfjs_models/face_detection_short/model.json",landmarkModelUrl:"/next_public/tfjs_models/face_landmarks_attention_mesh/model.json"}),o().notify(Error("FaceMesh NaN mesh: fell back to tfjs runtime"),e=>{e.severity="info",e.addMetadata("fallback",{backend:t,stage:this.detectorFallbackStage})})}catch(e){o().notify(e,e=>{e.addMetadata("fallback",{backend:t,stage:this.detectorFallbackStage})}),this.detectorUnavailable=!0}}analyzeFace(t,e){let i=function(t,e,i){n||(n=document.createElement("canvas"));let s=n.getContext("2d");if(null==s)throw Error("Failed to get 2d context from imgCanvas");a=s;let r=t.videoWidth||t.naturalWidth||t.width,h=t.videoHeight||t.naturalHeight||t.height;r&&h&&(n.width=r,n.height=h),a.drawImage(t,0,0);let u=function(t,e){let i=[],s=t[10],r="number"==typeof s.x&&Number.isFinite(s.x),h="number"==typeof s.y&&Number.isFinite(s.y);if(!n.width||!n.height||!r||!h){if((null==e?void 0:e.notifyBugsnag)!==!1){let e=Error("Unexpected top dot or img canvas data");o().notify(e,e=>{e.addMetadata("landmark",{topDotX:s.x,topDotY:s.y,landmark:s,landmark8:t[8],landmark9:t[9],landmark151:t[151],typeofTopDotX:typeof s.x,isTopDotXNull:null===s.x,landmarkLength:t.length,nonNullLandmarkLength:t.filter(t=>null!==t.x).length,finiteLandmarkLength:t.filter(t=>Number.isFinite(t.x)).length,imgCanvasWidth:n.width,imgCanvasHeight:n.height,isTopDotXInfinity:s.x===1/0,isTopDotXMinusInfinity:s.x===-1/0,isTopDotXNaN:Number.isNaN(s.x)})})}return null}let c=s.x,u=s.y;for(let t=0;t<6;t++){let e=Math.floor(n.width*c),r=Math.floor(n.height*u-t),h=0|Math.max(0,Math.min(n.width-1,e)),d=0|Math.max(0,Math.min(n.height-1,r));try{let t=a.getImageData(h,d,1,1).data,e=l({r:t[0],g:t[1],b:t[2]});i.push([e.h,e.s,e.v])}catch(i){o().notify(i,i=>{i.addMetadata("getImageData",{x:e,y:r,safeX:h,safeY:d,canvasWidth:n.width,canvasHeight:n.height,topDotX:s.x,topDotY:s.y,i:t})})}}if(i.length>0){let t=(0,d.a)(i,2,{initialization:[i[0],i[i.length-1]]}).clusters.findIndex(t=>1===t),e={...s,y:s.y-t/n.height};return{topDot:s,faceTop:e}}return null}(e,i);if(!u)return{isFaceDirectlyForward:!1,faceDirectlyForwardStatus:["正面を向いてください"]};let v=e[152],g=Math.atan((v.x-u.topDot.x)/(v.y-u.topDot.y)),p={x:(v.x+u.topDot.x)/2,y:(v.y+u.topDot.y)/2},f=m(e,"right",g,p),C=m(e,"left",g,p),w=function(t,e,i){let n=t.map(t=>{let n=c(t,i,e);return{...t,...n}}),a=0,s=0;for(let t=0;t<n.length;t++){let e=n[t];n[a].x<e.x&&(a=t),n[s].x>e.x&&(s=t)}return{left:t[a],right:t[s]}}(e,g,p),y=function(t,e,i,a){var s,o,r,h;let d=null!==(s=i.outer.z)&&void 0!==s?s:0,l=null!==(o=a.outer.z)&&void 0!==o?o:0,c=[],u=(d-l)/((i.outer.x-a.outer.x)*n.width);u>.001?c.push("左を向いています"):u<-.001&&c.push("右を向いています");let m=(i.outer.y-a.outer.y)*n.height/((i.outer.x-a.outer.x)*n.width);m>.05?c.push("右に傾いています"):m<-.05&&c.push("左に傾いています");let v=((null!==(r=e.z)&&void 0!==r?r:0)-(null!==(h=t.z)&&void 0!==h?h:0))/(e.y-t.y);return v>.2?c.push("下を向いています"):v<0&&c.push("上を向いています"),c}(u.topDot,v,C,f);return{topDot:u,bottomDot:v,isFaceDirectlyForward:0===y.length,faceDirectlyForwardStatus:y,cheekBones:w}}
1(t,e,{notifyBugsnag:!this.hasNotifiedTopDotError});return i.topDot?this.consecutiveTopDotFailures=0:(this.hasNotifiedTopDotError=!0,this.consecutiveTopDotFailures++),i}shouldForceCapture(){return this.consecutiveTopDotFailures>=p.MAX_CONSECUTIVE_TOP_DOT_FAILURES}startVideo(){this.isVideoReady=!0}stopVideo(){var t;this.isVideoReady=!1,this.isCameraReleased=!0,this.stream&&(this.stream.getTracks().forEach(t=>{t.stop()}),this.stream=null),this.webcamRunning=!1,this.countdownId&&clearInterval(this.countdownId),null===(t=this.detector)||void 0===t||t.dispose(),this.detector=null}faceIsInCenter(){let t=.2*this.video.videoHeight,e=.8*this.video.videoHeight,i=.05*this.video.videoWidth,n=.95*this.video.videoWidth,a=this.result;return!!a&&!!a.topDot&&!!a.bottomDot&&!!a.cheekBones&&a.topDot.topDot.y>t&&a.bottomDot.y<e&&a.cheekBones.right.x>i&&a.cheekBones.left.x<n}constructor(t){var e,i;this.debugFlag=!1,this.isVideoReady=!1,this.stream=null,this.facing="user",this.currentDeviceId="",this.videoInputDevices=[],this.isSwitchingCamera=!1,this.isCameraReleased=!1,this.notifyCameraFailed=null,this.hasNotifiedTopDotError=!1,this.hasNotifiedEstimateFacesError=!1,this.consecutiveTopDotFailures=0,this.consecutiveNanMeshFrames=0,this.detectorFallbackStage=0,this.detectorUnavailable=!1;let n=document.getElementById(t.containerId);if(null==n)throw Error('Container element with id "'.concat(t.containerId,'" not found'));this.topContainer=n,this.canvasElement=document.createElement("canvas"),this.canvasElement.style.cssText="position: absolute; left: 0px; top: 0px;";let a=this.canvasElement.getContext("2d");if(null==a)throw Error("Failed to get 2d context from canvasElement");this.canvasCtx=a,this.imgCanvas=document.createElement("canvas");let s=this.imgCanvas.getContext("2d");if(null==s)throw Error("Failed to get 2d context from imgCanvas");this.imgCanvasCtx=s,this.imgContainer=new Image,this.detector=null,this.webcamRunning=!1,this.lastVideoTime=-1,this.video=document.createElement("video"),this.video.autoplay=!0,this.video.style="transform: scaleX(-1); object-fit: cover;",this.video.playsInline=!0,this.switchCameraButton=document.createElement("button"),this.switchCameraButton.id="camera-switch-button",this.switchCameraButton.type="button",this.switchCameraButton.textContent="カメラを切り替え",this.switchCameraButton.style.cssText="display: none; position: absolute; right: 16px; bottom: 72px; z-index: 1; padding: 8px 16px; border-radius: 9999px; border: 1px solid rgba(255, 255, 255, 0.8); background: rgba(0, 0, 0, 0.6); color: white; font-size: 14px;",this.switchCameraButton.addEventListener("click",()=>{this.switchCamera()}),this.videoWidth=null!==(e=t.videoWidth)&&void 0!==e?e:480,this.videoHeight=null!==(i=t.videoHeight)&&void 0!==i?i:960,this.topContainer.appendChild(this.video),this.topContainer.appendChild(this.canvasElement),this.timerCount=3,this.countdownId=null,this.timerId=null,this.countDownContainer=document.createElement("div"),this.countDownContainer.style.cssText="display: flex; position: absolute; width: 100%; height: 100%; top: 0; left: 0; align-items: center; justify-content: center; flex-direction: column;";let o=document.createElement("span");o.id="countdown-label",o.textContent="撮影まで",o.style.cssText="font-size: 20px; font-weight: 500;",this.countDownText=document.createElement("span"),this.countDownText.id="countdown-num",this.countDownText.style.cssText="font-size: 72px; font-weight: 600; line-height: 80%",this.countDownContainer.appendChild(o),this.countDownContainer.appendChild(this.countDownText),this.topContainer.appendChild(this.countDownContainer),this.errorMessageContainer=document.createElement("div"),this.errorMessageContainer.style.cssText="display: flex; position: absolute; width: 50%; height: 100%; top: 0; left: 25%; right: 25%; align-items: center; justify-content: center; flex-direction: column;",this.errorMessage=document.createElement("span"),this.errorMessage.id="error-message",this.errorMessage.style.cssText="font-size: 20px; font-weight: 700;",this.errorMessageContainer.appendChild(this.errorMessage),this.topContainer.appendChild(this.errorMessageContainer),this.warnMessage=document.createElement("div"),this.topContainer.appendChild(this.warnMessage),this.warnMessage.style.cssText="position: absolute; bottom: 32px; margin: auto; color: white; text-align: center; right: 0; left: 0; font-size: 14px",this.warnMessage.textContent="眼鏡や帽子、マスクなどは外して撮影をしてください",this.topContainer.appendChild(this.switchCameraButton),this.errorMessageContainer.style.visibility="hidden",this.enableCam(t.handlers)}}p.MAX_CONSECUTIVE_TOP_DOT_FAILURES=10,p.DETECTOR_FALLBACK_BACKENDS=["webgl"],p.MAX_CONSECUTIVE_NAN_MESH_FRAMES=3;let f=null;function C(t){f=new p(t)}function w(){null==f||f.startVideo()}function y(){null==f||f.stopVideo(),f=null}},34731:function(){},2696:function(){},97895:function(){}}]);
2//# sourceMappingURL=3808.a42de182ef134594.js.map

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.