astrbot_plugin_imagestudio/web/assets/index-CHyJF1hX.js

18 行
111 KiB
JavaScript

2026-07-05 14:16:49 +08:00
var Ti=Object.defineProperty;var Oi=(e,t,n)=>t in e?Ti(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ll=(e,t,n)=>Oi(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))l(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&l(r)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function l(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();/**
* @vue/shared v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function El(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const de={},Nt=[],ot=()=>{},Ls=()=>!1,jn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Un=e=>e.startsWith("onUpdate:"),Ee=Object.assign,Dl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ii=Object.prototype.hasOwnProperty,se=(e,t)=>Ii.call(e,t),U=Array.isArray,jt=e=>fn(e)==="[object Map]",Hn=e=>fn(e)==="[object Set]",os=e=>fn(e)==="[object Date]",W=e=>typeof e=="function",we=e=>typeof e=="string",it=e=>typeof e=="symbol",re=e=>e!==null&&typeof e=="object",Fs=e=>(re(e)||W(e))&&W(e.then)&&W(e.catch),Vs=Object.prototype.toString,fn=e=>Vs.call(e),Ai=e=>fn(e).slice(8,-1),Ns=e=>fn(e)==="[object Object]",Tl=e=>we(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zt=El(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Wn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Mi=/-\w/g,Je=Wn(e=>e.replace(Mi,t=>t.slice(1).toUpperCase())),Ri=/\B([A-Z])/g,Bt=Wn(e=>e.replace(Ri,"-$1").toLowerCase()),js=Wn(e=>e.charAt(0).toUpperCase()+e.slice(1)),sl=Wn(e=>e?`on${js(e)}`:""),st=(e,t)=>!Object.is(e,t),Tn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Us=(e,t,n,l=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:l,value:n})},Kn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let is;const qn=()=>is||(is=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ol(e){if(U(e)){const t={};for(let n=0;n<e.length;n++){const l=e[n],s=we(l)?Fi(l):Ol(l);if(s)for(const i in s)t[i]=s[i]}return t}else if(we(e)||re(e))return e}const $i=/;(?![^(]*\))/g,Bi=/:([^]+)/,Li=/\/\*[^]*?\*\//g;function Fi(e){const t={};return e.replace(Li,"").split($i).forEach(n=>{if(n){const l=n.split(Bi);l.length>1&&(t[l[0].trim()]=l[1].trim())}}),t}function Jn(e){let t="";if(we(e))t=e;else if(U(e))for(let n=0;n<e.length;n++){const l=Jn(e[n]);l&&(t+=l+" ")}else if(re(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Vi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ni=El(Vi);function Hs(e){return!!e||e===""}function ji(e,t){if(e.length!==t.length)return!1;let n=!0;for(let l=0;n&&l<e.length;l++)n=pn(e[l],t[l]);return n}function pn(e,t){if(e===t)return!0;let n=os(e),l=os(t);if(n||l)return n&&l?e.getTime()===t.getTime():!1;if(n=it(e),l=it(t),n||l)return e===t;if(n=U(e),l=U(t),n||l)return n&&l?ji(e,t):!1;if(n=re(e),l=re(t),n||l){if(!n||!l)return!1;const s=Object.keys(e).length,i=Object.keys(t).length;if(s!==i)return!1;for(const r in e){const a=e.hasOwnProperty(r),f=t.hasOwnProperty(r);if(a&&!f||!a&&f||!pn(e[r],t[r]))return!1}}return String(e)===String(t)}function Ui(e,t){return e.findIndex(n=>pn(n,t))}const Ws=e=>!!(e&&e.__v_isRef===!0),u=e=>we(e)?e:e==null?"":U(e)||re(e)&&(e.toString===Vs||!W(e.toString))?Ws(e)?u(e.value):JSON.stringify(e,Ks,2):String(e),Ks=(e,t)=>Ws(t)?Ks(e,t.value):jt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[l,s],i)=>(n[ol(l,i)+" =>"]=s,n),{})}:Hn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ol(n))}:it(t)?ol(t):re(t)&&!U(t)&&!Ns(t)?String(t):t,ol=(e,t="")=>{var n;return it(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Pe;class Hi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Pe&&(Pe.active?(this.parent=Pe,this.index=(Pe.scopes||(Pe.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Pe;try{return Pe=this,t()}finally{Pe=n}}}on(){++this._on===1&&(this.prevScope=Pe,Pe=this)}off(){if(this._on>0&&--this._on===0){if(Pe===this)Pe=this.prevScope;else{let t=Pe;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,l;for(n=0,l=this.effects.length;n<l;n++)this.effects[n].stop();for(this.effects.length=0,n=0,l=this.cleanups.length;n<l;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,l=this.scopes.length;n<l;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Wi(){return Pe}let ge;const il=new WeakSet;class qs{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Pe&&(Pe.active?Pe.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,il.has(this)&&(il.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Gs(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,rs(this),zs(this);const t=ge,n=Ge;ge=this,Ge=!0;try{return this.fn()}finally{Ys(this),ge=t,Ge=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ml(t);this.deps=this.depsTail=void 0,rs(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?il.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){vl(this)&&this.run()}get dirty(){return vl(this)}}let Js=0,en,tn;function Gs(e,t=!1){if(e.flags|=8,t){e.next=tn,tn=e;return}e.next=en,en=e}function Il(){Js++}function Al(){if(--Js>0)return;if(tn){let t=tn;for(tn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;en;){let t=en;for(en=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(l){e||(e=l)}t=n}}if(e)throw e}function zs(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ys(e){let t,n=e.depsTail,l=n;for(;l;){const s=l.prevDep;l.version===-1?(l===n&&(n=s),Ml(l),Ki(l)):t=l,l.dep.activeLink=l.prevActiveLink,l.prevActiveLink=void 0,l=s}e.deps=t,e.depsTail=n}function vl(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Qs(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Qs(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===rn)||(e.globalVersion=rn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!vl(e))))return;e.flags|=2;const t=e.dep,n=ge,l=Ge;ge=e,Ge=!0;try{zs(e);const s=e.fn(e._value);(t.version===0||st(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ge=n,Ge=l,Ys(e),e.flags&=-3}}function Ml(e,t=!1){const{dep:n,prevSub:l,nextSub:s}=e;if(l&&(l.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=l,e.nextSub=void 0),n.subs===e&&(n.subs=l,!l&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Ml(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ki(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ge=!0;const Xs=[];function rt(){Xs.push(Ge),Ge=!1}function at(){const e=Xs.pop();Ge=e===void 0?!0:
* @vue/runtime-core v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function hn(e,t,n,l){try{return l?e(...l):e()}catch(s){zn(s,t,n)}}function Ye(e,t,n,l){if(W(e)){const s=hn(e,t,n,l);return s&&Fs(s)&&s.catch(i=>{zn(i,t,n)}),s}if(U(e)){const s=[];for(let i=0;i<e.length;i++)s.push(Ye(e[i],t,n,l));return s}}function zn(e,t,n,l=!0){const s=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||de;if(t){let a=t.parent;const f=t.proxy,_=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const v=a.ec;if(v){for(let y=0;y<v.length;y++)if(v[y](e,f,_)===!1)return}a=a.parent}if(i){rt(),hn(i,null,10,[e,f,_]),at();return}}mr(e,n,s,l,r)}function mr(e,t,n,l=!0,s=!1){if(s)throw e;console.error(e)}const Re=[];let tt=-1;const Ut=[];let St=null,Vt=0;const ro=Promise.resolve();let Mn=null;function ao(e){const t=Mn||ro;return e?t.then(this?e.bind(this):e):t}function yr(e){let t=tt+1,n=Re.length;for(;t<n;){const l=t+n>>>1,s=Re[l],i=un(s);i<e||i===e&&s.flags&2?t=l+1:n=l}return t}function Vl(e){if(!(e.flags&1)){const t=un(e),n=Re[Re.length-1];!n||!(e.flags&2)&&t>=un(n)?Re.push(e):Re.splice(yr(t),0,e),e.flags|=1,uo()}}function uo(){Mn||(Mn=ro.then(fo))}function br(e){U(e)?Ut.push(...e):St&&e.id===-1?St.splice(Vt+1,0,e):e.flags&1||(Ut.push(e),e.flags|=1),uo()}function us(e,t,n=tt+1){for(;n<Re.length;n++){const l=Re[n];if(l&&l.flags&2){if(e&&l.id!==e.uid)continue;Re.splice(n,1),n--,l.flags&4&&(l.flags&=-2),l(),l.flags&4||(l.flags&=-2)}}}function co(e){if(Ut.length){const t=[...new Set(Ut)].sort((n,l)=>un(n)-un(l));if(Ut.length=0,St){St.push(...t);return}for(St=t,Vt=0;Vt<St.length;Vt++){const n=St[Vt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}St=null,Vt=0}}const un=e=>e.id==null?e.flags&2?-1:1/0:e.id;function fo(e){try{for(tt=0;tt<Re.length;tt++){const t=Re[tt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),hn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;tt<Re.length;tt++){const t=Re[tt];t&&(t.flags&=-2)}tt=-1,Re.length=0,co(),Mn=null,(Re.length||Ut.length)&&fo()}}let Ke=null,po=null;function Rn(e){const t=Ke;return Ke=e,po=e&&e.type.__scopeId||null,t}function wr(e,t=Ke,n){if(!t||e._n)return e;const l=(...s)=>{l._d&&bs(-1);const i=Rn(t);let r;try{r=e(...s)}finally{Rn(i),l._d&&bs(1)}return r};return l._n=!0,l._c=!0,l._d=!0,l}function K(e,t){if(Ke===null)return e;const n=Zn(Ke),l=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[i,r,a,f=de]=t[s];i&&(W(i)&&(i={mounted:i,updated:i}),i.deep&&_t(r),l.push({dir:i,instance:n,value:r,oldValue:void 0,arg:a,modifiers:f}))}return e}function Ot(e,t,n,l){const s=e.dirs,i=t&&t.dirs;for(let r=0;r<s.length;r++){const a=s[r];i&&(a.oldValue=i[r].value);let f=a.dir[l];f&&(rt(),Ye(f,n,8,[e.el,a,e,t]),at())}}function kr(e,t){if($e){let n=$e.provides;const l=$e.parent&&$e.parent.provides;l===n&&(n=$e.provides=Object.create(l)),n[e]=t}}function On(e,t,n=!1){const l=ka();if(l||Ht){let s=Ht?Ht._context.provides:l?l.parent==null||l.ce?l.vnode.appContext&&l.vnode.appContext.provides:l.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&W(t)?t.call(l&&l.proxy):t}}const xr=Symbol.for("v-scx"),Cr=()=>On(xr);function ul(e,t,n){return ho(e,t,n)}function ho(e,t,n=de){const{immediate:l,deep:s,flush:i,once:r}=n,a=Ee({},n),f=t&&l||!t&&i!=="post";let _;if(dn){if(i==="sync"){const A=Cr();_=A.__watcherHandles||(A.__watcherHandles=[])}else if(!f){const A=()=>{};return A.stop=ot,A.resume=ot,A.pause=ot,A}}const v=$e;a.call=(A,Q,F)=>Ye(A,v,Q,F);let y=!1;i==="post"?a.scheduler=A=>{Ne(A,v&&v.suspense)}:i!=="sync"&&(y=!0,a.scheduler=(A,Q)=>{Q?A():Vl(A)}),a.augmentJob=A=>{t&&(A.flags|=4),y&&(A.flags|=2,v&&(A.id=v.uid,A.i=v))};const T=_r(e,t,a);return dn&&(_?_.push(T):f&&T()),T}function Sr(e,t,n){const l=this.proxy,s=we(e)?e.includes(".")?go(l,e):()=>l[e]:e.bind(l,l);let i;W(t)?i=t:(i=t.handler,n=t);const r=gn(this),a=ho(s,i.bind(l),n);return r(),a}function go(e,t){const n=t.split(".");return()=>{let l=e;for(let s=0;s<n.length&&l;s++)l=l[n[s]];return l}}const Pr=Symbol("_vte"),Er=e=>e.__isTeleport,cl=Symbol("_leaveCb");function Nl(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Nl(e.component.subTree,t)):e.shapeFlag&128
* @vue/runtime-dom v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Pl;const xs=typeof window<"u"&&window.trustedTypes;if(xs)try{Pl=xs.createPolicy("vue",{createHTML:e=>e})}catch{}const Ho=Pl?e=>Pl.createHTML(e):e=>e,Ta="http://www.w3.org/2000/svg",Oa="http://www.w3.org/1998/Math/MathML",ht=typeof document<"u"?document:null,Cs=ht&&ht.createElement("template"),Ia={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,l)=>{const s=t==="svg"?ht.createElementNS(Ta,e):t==="mathml"?ht.createElementNS(Oa,e):n?ht.createElement(e,{is:n}):ht.createElement(e);return e==="select"&&l&&l.multiple!=null&&s.setAttribute("multiple",l.multiple),s},createText:e=>ht.createTextNode(e),createComment:e=>ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,l,s,i){const r=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Cs.innerHTML=Ho(l==="svg"?`<svg>${e}</svg>`:l==="mathml"?`<math>${e}</math>`:e);const a=Cs.content;if(l==="svg"||l==="mathml"){const f=a.firstChild;for(;f.firstChild;)a.appendChild(f.firstChild);a.removeChild(f)}t.insertBefore(a,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Aa=Symbol("_vtc");function Ma(e,t,n){const l=e[Aa];l&&(t=(t?[t,...l]:[...l]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ss=Symbol("_vod"),Ra=Symbol("_vsh"),$a=Symbol(""),Ba=/(?:^|;)\s*display\s*:/;function La(e,t,n){const l=e.style,s=we(n);let i=!1;if(n&&!s){if(t)if(we(t))for(const r of t.split(";")){const a=r.slice(0,r.indexOf(":")).trim();n[a]==null&&Xt(l,a,"")}else for(const r in t)n[r]==null&&Xt(l,r,"");for(const r in n){r==="display"&&(i=!0);const a=n[r];a!=null?Va(e,r,!we(t)&&t?t[r]:void 0,a)||Xt(l,r,a):Xt(l,r,"")}}else if(s){if(t!==n){const r=l[$a];r&&(n+=";"+r),l.cssText=n,i=Ba.test(n)}}else t&&e.removeAttribute("style");Ss in e&&(e[Ss]=i?l.display:"",e[Ra]&&(l.display="none"))}const Ps=/\s*!important$/;function Xt(e,t,n){if(U(n))n.forEach(l=>Xt(e,t,l));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const l=Fa(e,t);Ps.test(n)?e.setProperty(Bt(l),n.replace(Ps,""),"important"):e[l]=n}}const Es=["Webkit","Moz","ms"],hl={};function Fa(e,t){const n=hl[t];if(n)return n;let l=Je(t);if(l!=="filter"&&l in e)return hl[t]=l;l=js(l);for(let s=0;s<Es.length;s++){const i=Es[s]+l;if(i in e)return hl[t]=i}return t}function Va(e,t,n,l){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&we(l)&&n===l}const Ds="http://www.w3.org/1999/xlink";function Ts(e,t,n,l,s,i=Ni(t)){l&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ds,t.slice(6,t.length)):e.setAttributeNS(Ds,t,n):n==null||i&&!Hs(n)?e.removeAttribute(t):e.setAttribute(t,i?"":it(n)?String(n):n)}function Os(e,t,n,l,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Ho(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,f=n==null?e.type==="checkbox"?"on":"":String(n);(a!==f||!("_value"in e))&&(e.value=f),n==null&&e.removeAttribute(t),e._value=n;return}let r=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Hs(n):n==null&&a==="string"?(n="",r=!0):a==="number"&&(n=0,r=!0)}try{e[t]=n}catch{}r&&e.removeAttribute(s||t)}function Mt(e,t,n,l){e.addEventListener(t,n,l)}function Na(e,t,n,l){e.removeEventListener(t,n,l)}const Is=Symbol("_vei");function ja(e,t,n,l,s=null){const i=e[Is]||(e[Is]={}),r=i[t];if(l&&r)r.value=l;else{const[a,f]=Wa(t);if(l){const _=i[t]=Ja(l,s);Mt(e,a,_,f)}else r&&(Na(e,a,r,f),i[t]=void 0)}}const Ua=/(Once|Passive|Capture)$/,Ha=/^on:?(?:Once|Passive|Capture)$/;function Wa(e){let t,n;for(;(n=e.match(Ua))&&!Ha.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Bt(e.slice(2)),t]}let gl=0;const Ka=Promise.resolve(),qa=()=>gl||(Ka.then(()=>gl=0),gl=Dat