PageSourceSearch

https://myka.ng/assets/PartnerStartPage-DOJMRwGO.js

js myka.ng collected 2026-10-09 22:44:17 UTC 2,205 bytes, 1 lines download raw bytes

1import{d as m,j as e}from"./vendor-react-DfYGAhtm.js";import{c4 as h,bn as d,c5 as g,bp as u}from"./vendor-icons-1odZwi-b.js";import{k as f,m as s,g as j,t as r}from"./index-DsBgCU7r.js";import{w as y,I}from"./InspectionCard-Bk79W97B.js";import{g as k}from"./errors-BYKXB8DF.js";import{u as S}from"./partnerInspectionApi-6HtjnS1z.js";import{u as v,w,P as b}from"./index-CCvS5amz.js";import{h as a,a as o,V as P,T as c,o as C}from"./vendor-ui-DA_r9yXk.js";import"./vendor-state-BsBVN-fX.js";import"./vendor-forms-BP-7CbAP.js";import"./sseStream-C28FcIBw.js";import"./WitnessFlowLayout-sXdBrCkv.js";import"./device-DbCxnG1h.js";const B=[{icon:e.jsx(h,{}),text:"Make sure the phone you are inspecting has internet access (Wi-Fi or mobile data)."},{icon:e.jsx(d,{}),text:"Keep your camera focused on the phone you are inspecting"},{icon:e.jsx(g,{}),text:"Do not stop recording or switch apps until the inspection is complete."},{icon:e.jsx(u,{}),text:"We will let you know when the inspection is completed"}],K=()=>{const p=m(),{sessionId:i}=v(),{verifySession:l,isVerifying:n}=S(),x=async()=>{if(!n){if(!i.trim()){r.error("Invalid inspection link. Please scan the QR code again.");return}try{const t=await l(i);w(t),p(b.recording(i))}catch(t){r.error(k(t)??"Could not verify this inspection session. Please try again.")}}};return e.jsxs(a,{gap:0,minH:"100dvh",pb:8,children:[e.jsx(o,{display:"flex",justifyContent:"center",pt:8,pb:8,children:e.jsx(f,{variant:"light",alt:"Myka",h:"36px"})}),e.jsxs(P,{gap:2,px:6,pb:6,align:"center",children:[e.jsxs(o,{display:"flex",alignItems:"center",gap:2,children:[e.jsx(c,{fontSize:{base:"2xl",md:"3xl"},fontWeight:"bold",color:s.text.primary,textAlign:"center",children:"Hello Partner"}),e.jsx(C,{src:y,alt:"wave",h:"40px",w:"40px",objectFit:"contain"})]}),e.jsx(c,{fontSize:"sm",color:s.text.info,textAlign:"center",lineHeight:"1.6",maxW:"300px",children:"You'll record a short video of the phone to complete the inspection."})]}),e.jsx(a,{gap:3,px:5,flex:1,children:B.map(t=>e.jsx(I,{icon:t.icon,text:t.text},t.text))}),e.jsx(o,{px:5,pt:8,children:e.jsx(j,{text:"Begin Inspection",fullWidth:!0,onClick:()=>void x(),loading:n,disabled:n})})]})};export{K 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.