消毒机设备
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
9.1 KiB

  1. import{r as m,b as z,u as G,g as q,e as K,f as B,h as k,n as X,s as Y,w as Z,i as y,j as ee,k as H}from"../@vue/@vue.B_jFLcBm.1751277099553.js";var te=Object.defineProperty,ne=Object.defineProperties,re=Object.getOwnPropertyDescriptors,C=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,R=(e,t,n)=>t in e?te(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,se=(e,t)=>{for(var n in t||(t={}))oe.call(t,n)&&R(e,n,t[n]);if(C)for(var n of C(t))ie.call(t,n)&&R(e,n,t[n]);return e},ue=(e,t)=>ne(e,re(t));function Ce(e,t){var n;const r=Y();return Z(()=>{r.value=e()},ue(se({},t),{flush:(n=void 0)!=null?n:"sync"})),z(r)}var W;const S=typeof window<"u",ae=e=>typeof e<"u",j=e=>typeof e=="function",le=e=>typeof e=="string",E=()=>{},ce=S&&((W=window==null?void 0:window.navigator)==null?void 0:W.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function h(e){return typeof e=="function"?e():G(e)}function J(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}function fe(e,t={}){let n,r,o=E;const s=a=>{clearTimeout(a),o(),o=E};return a=>{const l=h(e),c=h(t.maxWait);return n&&s(n),l<=0||c!==void 0&&c<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((f,p)=>{o=t.rejectOnCancel?p:f,c&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,f(a())},c)),n=setTimeout(()=>{r&&s(r),r=null,f(a())},l)})}}function de(e,t=!0,n=!0,r=!1){let o=0,s,i=!0,a=E,l;const c=()=>{s&&(clearTimeout(s),s=void 0,a(),a=E)};return p=>{const u=h(e),d=Date.now()-o,v=()=>l=p();return c(),u<=0?(o=Date.now(),v()):(d>u&&(n||!i)?(o=Date.now(),v()):t&&(l=new Promise((b,O)=>{a=r?O:b,s=setTimeout(()=>{o=Date.now(),i=!0,b(v()),c()},Math.max(0,u-d))})),!n&&!s&&(s=setTimeout(()=>i=!0,u)),i=!1,l)}}function ve(e){return e}function pe(e,t){let n,r,o;const s=m(!0),i=()=>{s.value=!0,o()};y(e,i,{flush:"sync"});const a=j(t)?t:t.get,l=j(t)?void 0:t.set,c=ee((f,p)=>(r=f,o=p,{get(){return s.value&&(n=a(),s.value=!1),r(),n},set(u){l==null||l(u)}}));return Object.isExtensible(c)&&(c.trigger=i),c}function T(e){return q()?(K(e),!0):!1}function me(e,t=200,n={}){return J(fe(t,n),e)}function Re(e,t=200,n={}){const r=m(e.value),o=me(()=>{r.value=e.value},t,n);return y(e,()=>o()),r}function We(e,t=200,n=!1,r=!0,o=!1){return J(de(t,n,r,o),e)}function x(e,t=!0){B()?k(e):t?e():X(e)}function Ae(e,t,n={}){const{immediate:r=!0}=n,o=m(!1);let s=null;function i(){s&&(clearTimeout(s),s=null)}function a(){o.value=!1,i()}function l(...c){i(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...c)},h(t))}return r&&(o.value=!0,S&&l()),T(a),{isPending:z(o),start:l,stop:a}}function g(e){var t;const n=h(e);return(t=n==null?void 0:n.$el)!=null?t:n}const w=S?window:void 0,Oe=S?window.document:void 0;function _(...e){let t,n,r,o;if(le(e[0])||Array.isArray(e[0])?([n,r,o]=e,t=w):[t,n,r,o]=e,!t)return E;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],i=()=>{s.forEach(f=>f()),s.length=0},a=(f,p,u,d)=>(f.addEventListener(p,u,d),()=>f.removeEventListener(p,u,d)),l=y(()=>[g(t),h(o)],([f,p])=>{i(),f&&s.push(...n.flatMap(u=>r.map(d=>a(f,u,d,p))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return T(c),c}let A=!1;function Fe(e,t,n={}){const{window:r=w,ignore:o=[],capture:s=!0,detectIframe:i=!1}=n;if(!r)return;ce&&!A&&(A=!0,Array.from(r.document.body.children).forEach(u=>u.addEventListener("click",E)));let a=!0;const l=u=>o.some(d=>{if(typeof d=="string")return Array.from(r.document.querySelectorAll(d)).some(v=>v===u.target||u.composedPath().includes(v));{const v=g(d);return v&&(u.target===v||u.composedPath().includes(v))}}),f=[_(r,"click",u=>{const d=g(e);if(!(!d||d===u.target||u.composedPath().includes(d))){if(u.detail===0&&(a=!l(u)),!a){a=!0;return}t(u)}},{passive:!0,capture:s}),_(r,"pointerdown",u=>{const d=g(e);d&&(a=!u.composedPath().includes(d)&&!l(u))},{passive:!0}),i&&_(r,"blur",u=>{var d;const v=g(e);((d=r.document.activeElement)==null?void 0:d.tagName)==="IFRAME"&&!(v!=null&&v.contains(r.document.activeElement))&&t(u)})].filter(Boolean);return()=