k5web/assets/index.def4d4cf.js

2 lines
7.1 KiB
JavaScript
Raw Normal View History

2024-09-11 05:39:57 +00:00
import{d as V,r as Z,bI as q,bJ as X,C as k,aE as C,aH as o,aI as n,aM as e,aN as _,u as m,a$ as Y,b0 as tt,G as a,bw as ot,bK as et,bG as nt,b8 as at,bi as ut,bL as rt,bM as ct,bN as it,bm as st,bn as lt,D as _t}from"./arco.b087a425.js";import{v as dt,t as pt,_ as U}from"./index.b0a069f7.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{e as mt,a as s,b as l}from"./serial.c6b76da8.js";import{L as ft}from"./index.f6559454.js";import"./chart.836a9fe2.js";import"./vue.23fb8a9a.js";const ht=""+new URL("../jjgg.jpg",import.meta.url).href,gt=""+new URL("../gy.png",import.meta.url).href,wt=""+new URL("../mm_facetoface_collect_qrcode_1714392837792.png",import.meta.url).href,bt=""+new URL("../1722745910257.jpg",import.meta.url).href,u=h=>(st("data-v-6ba30df9"),h=h(),lt(),h),Ft=u(()=>a("br",null,null,-1)),kt=u(()=>a("br",null,null,-1)),yt=u(()=>a("br",null,null,-1)),vt=u(()=>a("br",null,null,-1)),St=u(()=>a("br",null,null,-1)),Bt=u(()=>a("br",null,null,-1)),Et=u(()=>a("div",{style:{"margin-top":"50px"}},"\xA0",-1)),Ct=u(()=>a("div",null,[a("img",{style:{width:"100%"},alt:"ads",src:ht})],-1)),At=u(()=>a("img",{class:"tencent",style:{"margin-bottom":"10px"},width:"200px",src:gt},null,-1)),Pt=u(()=>a("img",{width:"300",src:wt},null,-1)),Mt=u(()=>a("img",{width:"300",src:bt},null,-1)),Dt=u(()=>a("br",null,null,-1)),xt=u(()=>a("br",null,null,-1)),$t=u(()=>a("br",null,null,-1)),It=u(()=>a("br",null,null,-1)),Tt=V({__name:"banner",setup(h){const{t:i}=dt.exports.useI18n(),t=pt(),A=Z({eepromSize:i("workplace.clickCheck")}),G=async()=>{var g,y,v,w,S,p,d,B,f,E,b,F,x,$,I,T,z,L,R,j,N;let r=i("workplace.unk");const D=[Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256),Math.round(Math.random()*256)];await mt(t.connectPort);const c=new Uint8Array(D);if(((g=t.configuration)==null?void 0:g.uart)=="official"){const P=await s(t.connectPort,0,8,(y=t.configuration)==null?void 0:y.uart);await l(t.connectPort,0,c,8,(v=t.configuration)==null?void 0:v.uart);const M=await s(t.connectPort,0,8,(w=t.configuration)==null?void 0:w.uart);c.toString()==M.toString()&&(r=i("global.8kb")),await l(t.connectPort,0,P,8,(S=t.configuration)==null?void 0:S.uart)}else{const P=await s(t.connectPort,0,8,(p=t.configuration)==null?void 0:p.uart);await l(t.connectPort,0,c,8,(d=t.configuration)==null?void 0:d.uart);const M=await s(t.connectPort,0,8,(B=t.configuration)==null?void 0:B.uart);c.toString()==M.toString()&&(r=i("global.8kb")),await l(t.connectPort,0,P,8,(f=t.configuration)==null?void 0:f.uart);const J=await s(t.connectPort,131064,8,(E=t.configuration)==null?void 0:E.uart);await l(t.connectPort,131064,c,8,(b=t.configuration)==null?void 0:b.uart);const O=await s(t.connectPort,131064,8,(F=t.configuration)==null?void 0:F.uart);c.toString()==O.toString()&&(r=i("global.128kb")),await l(t.connectPort,131064,J,8,(x=t.configuration)==null?void 0:x.uart);const Q=await s(t.connectPort,262136,8,($=t.configuration)==null?void 0:$.uart);await l(t.connectPort,262136,c,8,(I=t.configuration)==null?void 0:I.uart);const H=await s(t.connectPort,262136,8,(T=t.configuration)==null?void 0:T.uart);c.toString()==H.toString()&&(r=i("global.256kb")),await l(t.connectPort,262136,Q,8,(z=t.configuration)==null?void 0:z.uart);const K=await s(t.connectPort,524280,8,(L=t.configuration)==null?void 0:L.uart);await l(t.connectPort,524280,c,8,(R=t.configuration)==null?void 0:R.uart);const W=await s(t.connectPort,524280,8,(j=t.configuration)==null?void 0:j.uart);c.toString()==W.toString()&&(r=i("global.512kb")),await l(t.connectPort,524280,K,8,(N=t.configuration)==null?void 0:N.uart)}A.eepromSize=r};return(r,D)=>{const c=ot,g=et,y=nt,v=at,w=q,S=ut,p=ft,d=rt,B=ct,f=it,E=X;return k(),C(g,{class:"banner"},{default:o(()=>[n(g,null,{default:o(()=>[n(c,{heading:5,style:{"margin-top":"0"}},{default:o(()=>[e(_(m(t).connectState