@vitest/browser 4.0.0-beta.6 → 4.0.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/.vite/manifest.json +1 -1
- package/dist/client/__vitest__/assets/{index-B3LybwKR.js → index-DalB9Rpk.js} +1 -1
- package/dist/client/__vitest__/index.html +1 -1
- package/dist/client/__vitest_browser__/{tester-DSNROWDQ.js → tester-mSVktQ7a.js} +3 -0
- package/dist/client/error-catcher.js +7 -3
- package/dist/client/esm-client-injector.js +1 -0
- package/dist/client/tester/tester.html +1 -1
- package/dist/index.js +1 -1
- package/package.json +8 -8
|
@@ -22,7 +22,7 @@ var wk=Object.defineProperty;var xk=(e,t,n)=>t in e?wk(e,t,{enumerable:!0,config
|
|
|
22
22
|
`).map(s=>s.split("|"))[0],i=[];for(let s=0;s<Math.floor(t.length/n.length);s++){const l={};for(let u=0;u<n.length;u++)l[n[u]]=t[s*n.length+u];i.push(l)}return i}globalThis.performance?globalThis.performance.now.bind(globalThis.performance):Date.now;globalThis.performance?globalThis.performance.now.bind(globalThis.performance):Date.now;Kw();const Pd=new Map,E0=[],nu=[];function p$(e){if(Pd.size){var t;const n=Array.from(Pd).map(([s,l])=>[s,l[0],l[1]]),i=(t=e.onTaskUpdate)===null||t===void 0?void 0:t.call(e,n,E0);i&&(nu.push(i),i.then(()=>nu.splice(nu.indexOf(i),1),()=>{})),E0.length=0,Pd.clear()}}async function g$(e){p$(e),await Promise.all(nu)}const A0=Date.now,co={currentSuite:null};function m$(e){var t;(t=co.currentSuite)===null||t===void 0||t.tasks.push(e)}async function v$(e,t){const n=co.currentSuite;co.currentSuite=e,await t(),co.currentSuite=n}function Sh(e,t,n=!1,i,s){if(t<=0||t===Number.POSITIVE_INFINITY)return e;const{setTimeout:l,clearTimeout:u}=Kw();return function(...h){const p=A0(),g=a$();return g._currentTaskStartTime=p,g._currentTaskTimeout=t,new Promise((v,y)=>{var w;const L=l(()=>{u(L),$()},t);(w=L.unref)===null||w===void 0||w.call(L);function $(){const N=x$(n,t,i);s==null||s(h,N),y(N)}function C(N){if(g._currentTaskStartTime=void 0,g._currentTaskTimeout=void 0,u(L),A0()-p>=t){$();return}v(N)}function E(N){g._currentTaskStartTime=void 0,g._currentTaskTimeout=void 0,u(L),y(N)}try{const N=e(...h);typeof N=="object"&&N!=null&&typeof N.then=="function"?N.then(C,E):C(N)}catch(N){E(N)}})}}const _h=new WeakMap;function y$([e],t){e&&b$(e,t)}function b$(e,t){const n=_h.get(e);n==null||n.abort(t)}function w$(e,t){var n;const i=function(){throw new Error("done() callback is deprecated, use promise instead")};let s=_h.get(i);s||(s=new AbortController,_h.set(i,s)),i.signal=s.signal,i.task=e,i.skip=(u,f)=>{if(u!==!1)throw e.result??(e.result={state:"skip"}),e.result.pending=!0,new XL("test is skipped; abort execution",e,typeof u=="string"?u:f)};async function l(u,f,h,p){const g={message:u,type:h||"notice"};if(p){if(!p.body&&!p.path)throw new TypeError("Test attachment requires body or path to be set. Both are missing.");if(p.body&&p.path)throw new TypeError('Test attachment requires only one of "body" or "path" to be set. Both are specified.');g.attachment=p,p.body instanceof Uint8Array&&(p.body=k$(p.body))}if(f&&(g.location=f),!t.onTestAnnotate)throw new Error("Test runner doesn't support test annotations.");await g$(t);const v=await t.onTestAnnotate(e,g);return e.annotations.push(v),v}return i.annotate=(u,f,h)=>{if(e.result&&e.result.state!=="run")throw new Error(`Cannot annotate tests outside of the test run. The test "${e.name}" finished running with the "${e.result.state}" state already.`);const p=fx(e.file.filepath,new Error("STACK_TRACE").stack);let g;return p&&(g={file:p.file,line:p.line,column:p.column}),typeof f=="object"?L0(e,l(u,g,void 0,f)):L0(e,l(u,g,f,h))},i.onTestFailed=(u,f)=>{e.onFailed||(e.onFailed=[]),e.onFailed.push(Sh(u,f??t.config.hookTimeout,!0,new Error("STACK_TRACE_ERROR"),(h,p)=>s.abort(p)))},i.onTestFinished=(u,f)=>{e.onFinished||(e.onFinished=[]),e.onFinished.push(Sh(u,f??t.config.hookTimeout,!0,new Error("STACK_TRACE_ERROR"),(h,p)=>s.abort(p)))},((n=t.extendTaskContext)===null||n===void 0?void 0:n.call(t,i))||i}function x$(e,t,n){const i=`${e?"Hook":"Test"} timed out in ${t}ms.
|
|
23
23
|
If this is a long-running ${e?"hook":"test"}, pass a timeout value as the last argument or configure it globally with "${e?"hookTimeout":"testTimeout"}".`,s=new Error(i);return n!=null&&n.stack&&(s.stack=n.stack.replace(s.message,n.message)),s}const mx=new WeakMap;function S$(e){const t=mx.get(e);if(!t)throw new Error(`Cannot find file context for ${e.name}`);return t}function _$(e,t){mx.set(e,t)}const ur=[];for(let e=65;e<91;e++)ur.push(String.fromCharCode(e));for(let e=97;e<123;e++)ur.push(String.fromCharCode(e));for(let e=0;e<10;e++)ur.push(e.toString(10));function k$(e){let t="";const n=e.byteLength;for(let i=0;i<n;i+=3)if(n===i+1){const s=(e[i]&252)>>2,l=(e[i]&3)<<4;t+=ur[s],t+=ur[l],t+="=="}else if(n===i+2){const s=(e[i]&252)>>2,l=(e[i]&3)<<4|(e[i+1]&240)>>4,u=(e[i+1]&15)<<2;t+=ur[s],t+=ur[l],t+=ur[u],t+="="}else{const s=(e[i]&252)>>2,l=(e[i]&3)<<4|(e[i+1]&240)>>4,u=(e[i+1]&15)<<2|(e[i+2]&192)>>6,f=e[i+2]&63;t+=ur[s],t+=ur[l],t+=ur[u],t+=ur[f]}return t}function L0(e,t){return t=t.finally(()=>{if(!e.promises)return;const n=e.promises.indexOf(t);n!==-1&&e.promises.splice(n,1)}),e.promises||(e.promises=[]),e.promises.push(t),t}const $0="q",M0="s",T$=6e4;function vx(e){return e}const C$=vx,{clearTimeout:E$,setTimeout:A$}=globalThis,L$=Math.random.bind(Math);function $$(e,t){const{post:n,on:i,off:s=()=>{},eventNames:l=[],serialize:u=vx,deserialize:f=C$,resolver:h,bind:p="rpc",timeout:g=T$}=t,v=new Map;let y,w=!1;const L=new Proxy({},{get(N,O){if(O==="$functions")return e;if(O==="$close")return $;if(O==="$rejectPendingCalls")return C;if(O==="$closed")return w;if(O==="then"&&!l.includes("then")&&!("then"in e))return;const k=(...D)=>{n(u({m:O,a:D,t:$0}))};if(l.includes(O))return k.asEvent=k,k;const z=async(...D)=>{if(w)throw new Error(`[birpc] rpc is closed, cannot call "${O}"`);if(y)try{await y}finally{y=void 0}return new Promise((oe,Q)=>{var U;const W=N$();let q;g>=0&&(q=A$(()=>{var A;try{if(((A=t.onTimeoutError)==null?void 0:A.call(t,O,D))!==!0)throw new Error(`[birpc] timeout on calling "${O}"`)}catch(I){Q(I)}v.delete(W)},g),typeof q=="object"&&(q=(U=q.unref)==null?void 0:U.call(q))),v.set(W,{resolve:oe,reject:Q,timeoutId:q,method:O}),n(u({m:O,a:D,i:W,t:"q"}))})};return z.asEvent=k,z}});function $(N){w=!0,v.forEach(({reject:O,method:k})=>{const z=new Error(`[birpc] rpc is closed, cannot call "${k}"`);if(N)return N.cause??(N.cause=z),O(N);O(z)}),v.clear(),s(E)}function C(N){const k=Array.from(v.values()).map(({method:z,reject:D})=>N?N({method:z,reject:D}):D(new Error(`[birpc]: rejected pending call "${z}".`)));return v.clear(),k}async function E(N,...O){var z,D,oe;let k;try{k=f(N)}catch(Q){if(((z=t.onGeneralError)==null?void 0:z.call(t,Q))!==!0)throw Q;return}if(k.t===$0){const{m:Q,a:W}=k;let q,U;const A=h?h(Q,e[Q]):e[Q];if(!A)U=new Error(`[birpc] function "${Q}" not found`);else try{q=await A.apply(p==="rpc"?L:e,W)}catch(I){U=I}if(k.i){if(U&&t.onError&&t.onError(U,Q,W),U&&t.onFunctionError&&t.onFunctionError(U,Q,W)===!0)return;if(!U)try{n(u({t:M0,i:k.i,r:q}),...O);return}catch(I){if(U=I,((D=t.onGeneralError)==null?void 0:D.call(t,I,Q,W))!==!0)throw I}try{n(u({t:M0,i:k.i,e:U}),...O)}catch(I){if(((oe=t.onGeneralError)==null?void 0:oe.call(t,I,Q,W))!==!0)throw I}}}else{const{i:Q,r:W,e:q}=k,U=v.get(Q);U&&(E$(U.timeoutId),q?U.reject(q):U.resolve(W)),v.delete(Q)}}return y=i(E),L}const M$="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function N$(e=21){let t="",n=e;for(;n--;)t+=M$[L$()*64|0];return t}const{parse:yx,stringify:I$}=JSON,{keys:P$}=Object,Aa=String,bx="string",N0={},Eu="object",wx=(e,t)=>t,O$=e=>e instanceof Aa?Aa(e):e,R$=(e,t)=>typeof t===bx?new Aa(t):t,xx=(e,t,n,i)=>{const s=[];for(let l=P$(n),{length:u}=l,f=0;f<u;f++){const h=l[f],p=n[h];if(p instanceof Aa){const g=e[p];typeof g===Eu&&!t.has(g)?(t.add(g),n[h]=N0,s.push({k:h,a:[e,t,g,i]})):n[h]=i.call(n,h,g)}else n[h]!==N0&&(n[h]=i.call(n,h,p))}for(let{length:l}=s,u=0;u<l;u++){const{k:f,a:h}=s[u];n[f]=i.call(n,f,xx.apply(null,h))}return n},I0=(e,t,n)=>{const i=Aa(t.push(n)-1);return e.set(n,i),i},kh=(e,t)=>{const n=yx(e,R$).map(O$),i=n[0],s=t||wx,l=typeof i===Eu&&i?xx(n,new Set,i,s):i;return s.call({"":l},"",l)},Sx=(e,t,n)=>{const i=t&&typeof t===Eu?(g,v)=>g===""||-1<t.indexOf(g)?v:void 0:t||wx,s=new Map,l=[],u=[];let f=+I0(s,l,i.call({"":e},"",e)),h=!f;for(;f<l.length;)h=!0,u[f]=I$(l[f++],p,n);return"["+u.join(",")+"]";function p(g,v){if(h)return h=!h,v;const y=i.call(this,g,v);switch(typeof y){case Eu:if(y===null)return y;case bx:return s.get(y)||I0(s,l,y)}return y}},z$=e=>yx(Sx(e));class _x{constructor(){qi(this,"filesMap",new Map);qi(this,"pathsSet",new Set);qi(this,"idMap",new Map)}getPaths(){return Array.from(this.pathsSet)}getFiles(t){return t?t.map(n=>this.filesMap.get(n)).flat().filter(n=>n&&!n.local):Array.from(this.filesMap.values()).flat().filter(n=>!n.local)}getFilepaths(){return Array.from(this.filesMap.keys())}getFailedFilepaths(){return this.getFiles().filter(t=>{var n;return((n=t.result)==null?void 0:n.state)==="fail"}).map(t=>t.filepath)}collectPaths(t=[]){t.forEach(n=>{this.pathsSet.add(n)})}collectFiles(t=[]){t.forEach(n=>{const i=this.filesMap.get(n.filepath)||[],s=i.filter(u=>u.projectName!==n.projectName||u.meta.typecheck!==n.meta.typecheck),l=i.find(u=>u.projectName===n.projectName);l&&(n.logs=l.logs),s.push(n),this.filesMap.set(n.filepath,s),this.updateId(n)})}clearFiles(t,n=[]){const i=t;n.forEach(s=>{const l=this.filesMap.get(s),u=ux(s,i.config.root,i.config.name||"");if(u.local=!0,this.idMap.set(u.id,u),!l){this.filesMap.set(s,[u]);return}const f=l.filter(h=>h.projectName!==i.config.name);f.length?this.filesMap.set(s,[...f,u]):this.filesMap.set(s,[u])})}updateId(t){this.idMap.get(t.id)!==t&&(this.idMap.set(t.id,t),t.type==="suite"&&t.tasks.forEach(n=>{this.updateId(n)}))}updateTasks(t){for(const[n,i,s]of t){const l=this.idMap.get(n);l&&(l.result=i,l.meta=s,(i==null?void 0:i.state)==="skip"&&(l.mode="skip"))}}updateUserLog(t){const n=t.taskId&&this.idMap.get(t.taskId);n&&(n.logs||(n.logs=[]),n.logs.push(t))}}function D$(e,t={}){const{handlers:n={},autoReconnect:i=!0,reconnectInterval:s=2e3,reconnectTries:l=10,connectTimeout:u=6e4,reactive:f=N=>N,WebSocketConstructor:h=globalThis.WebSocket}=t;let p=l;const g=f({ws:new h(e),state:new _x,waitForConnection:E,reconnect:$},"state");g.state.filesMap=f(g.state.filesMap,"filesMap"),g.state.idMap=f(g.state.idMap,"idMap");let v;const y={onTestAnnotate(N,O){var k;(k=n.onTestAnnotate)==null||k.call(n,N,O)},onSpecsCollected(N){var O;N==null||N.forEach(([k,z])=>{g.state.clearFiles({config:k},[z])}),(O=n.onSpecsCollected)==null||O.call(n,N)},onPathsCollected(N){var O;g.state.collectPaths(N),(O=n.onPathsCollected)==null||O.call(n,N)},onCollected(N){var O;g.state.collectFiles(N),(O=n.onCollected)==null||O.call(n,N)},onTaskUpdate(N,O){var k;g.state.updateTasks(N),(k=n.onTaskUpdate)==null||k.call(n,N,O)},onUserConsoleLog(N){var O;g.state.updateUserLog(N),(O=n.onUserConsoleLog)==null||O.call(n,N)},onFinished(N,O){var k;(k=n.onFinished)==null||k.call(n,N,O)},onFinishedReportCoverage(){var N;(N=n.onFinishedReportCoverage)==null||N.call(n)}},w={post:N=>g.ws.send(N),on:N=>v=N,serialize:N=>Sx(N,(O,k)=>k instanceof Error?{name:k.name,message:k.message,stack:k.stack}:k),deserialize:kh,timeout:-1};g.rpc=$$(y,w);let L;function $(N=!1){N&&(p=l),g.ws=new h(e),C()}function C(){L=new Promise((N,O)=>{var z,D;const k=(D=(z=setTimeout(()=>{O(new Error(`Cannot connect to the server in ${u/1e3} seconds`))},u))==null?void 0:z.unref)==null?void 0:D.call(z);g.ws.OPEN===g.ws.readyState&&N(),g.ws.addEventListener("open",()=>{p=l,N(),clearTimeout(k)})}),g.ws.addEventListener("message",N=>{v(N.data)}),g.ws.addEventListener("close",()=>{p-=1,i&&p>0&&setTimeout($,s)})}C();function E(){return L}return g}function Ap(e){return ab()?(Rk(e),!0):!1}const Od=new WeakMap,F$=(...e)=>{var t;const n=e[0],i=(t=$i())==null?void 0:t.proxy;if(i==null&&!Xb())throw new Error("injectLocal must be called in setup");return i&&Od.has(i)&&n in Od.get(i)?Od.get(i)[n]:bn(...e)},H$=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const B$=Object.prototype.toString,W$=e=>B$.call(e)==="[object Object]",Au=()=>{};function kx(e,t){function n(...i){return new Promise((s,l)=>{Promise.resolve(e(()=>t.apply(this,i),{fn:t,thisArg:this,args:i})).then(s).catch(l)})}return n}const Tx=e=>e();function Cx(e,t={}){let n,i,s=Au;const l=h=>{clearTimeout(h),s(),s=Au};let u;return h=>{const p=Gt(e),g=Gt(t.maxWait);return n&&l(n),p<=0||g!==void 0&&g<=0?(i&&(l(i),i=null),Promise.resolve(h())):new Promise((v,y)=>{s=t.rejectOnCancel?y:v,u=h,g&&!i&&(i=setTimeout(()=>{n&&l(n),i=null,v(u())},g)),n=setTimeout(()=>{i&&l(i),i=null,v(h())},p)})}}function j$(e=Tx,t={}){const{initialState:n="active"}=t,i=Ex(n==="active");function s(){i.value=!1}function l(){i.value=!0}const u=(...f)=>{i.value&&e(...f)};return{isActive:Da(i),pause:s,resume:l,eventFilter:u}}function P0(e,t=!1,n="Timeout"){return new Promise((i,s)=>{setTimeout(t?()=>s(n):i,e)})}function O0(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function q$(e){return $i()}function Rd(e){return Array.isArray(e)?e:[e]}function Ex(...e){if(e.length!==1)return sl(...e);const t=e[0];return typeof t=="function"?Da(Tb(()=>({get:t,set:Au}))):Ue(t)}function Hc(e,t=200,n={}){return kx(Cx(t,n),e)}function Ax(e,t,n={}){const{eventFilter:i=Tx,...s}=n;return St(e,kx(i,t),s)}function Lx(e,t,n={}){const{eventFilter:i,initialState:s="active",...l}=n,{eventFilter:u,pause:f,resume:h,isActive:p}=j$(i,{initialState:s});return{stop:Ax(e,t,{...l,eventFilter:u}),pause:f,resume:h,isActive:p}}function Lp(e,t=!0,n){q$()?wo(e,n):t?e():Et(e)}function Th(e,t=!1){function n(v,{flush:y="sync",deep:w=!1,timeout:L,throwOnTimeout:$}={}){let C=null;const N=[new Promise(O=>{C=St(e,k=>{v(k)!==t&&(C?C():Et(()=>C==null?void 0:C()),O(k))},{flush:y,deep:w,immediate:!0})})];return L!=null&&N.push(P0(L,$).then(()=>Gt(e)).finally(()=>C==null?void 0:C())),Promise.race(N)}function i(v,y){if(!kt(v))return n(k=>k===v,y);const{flush:w="sync",deep:L=!1,timeout:$,throwOnTimeout:C}=y??{};let E=null;const O=[new Promise(k=>{E=St([e,v],([z,D])=>{t!==(z===D)&&(E?E():Et(()=>E==null?void 0:E()),k(z))},{flush:w,deep:L,immediate:!0})})];return $!=null&&O.push(P0($,C).then(()=>Gt(e)).finally(()=>(E==null||E(),Gt(e)))),Promise.race(O)}function s(v){return n(y=>!!y,v)}function l(v){return i(null,v)}function u(v){return i(void 0,v)}function f(v){return n(Number.isNaN,v)}function h(v,y){return n(w=>{const L=Array.from(w);return L.includes(v)||L.includes(Gt(v))},y)}function p(v){return g(1,v)}function g(v=1,y){let w=-1;return n(()=>(w+=1,w>=v),y)}return Array.isArray(Gt(e))?{toMatch:n,toContains:h,changed:p,changedTimes:g,get not(){return Th(e,!t)}}:{toMatch:n,toBe:i,toBeTruthy:s,toBeNull:l,toBeNaN:f,toBeUndefined:u,changed:p,changedTimes:g,get not(){return Th(e,!t)}}}function R0(e){return Th(e)}function U$(e=!1,t={}){const{truthyValue:n=!0,falsyValue:i=!1}=t,s=kt(e),l=nn(e);function u(f){if(arguments.length)return l.value=f,l.value;{const h=Gt(n);return l.value=l.value===h?Gt(i):h,l.value}}return s?u:[l,u]}function $p(e,t,n={}){const{debounce:i=0,maxWait:s=void 0,...l}=n;return Ax(e,t,{...l,eventFilter:Cx(i,{maxWait:s})})}function V$(e,t,n){return St(e,t,{...n,immediate:!0})}function G$(e,t,n){const i=St(e,(...s)=>(Et(()=>i()),t(...s)),n);return i}function X$(e,t,n){let i;kt(n)?i={evaluating:n}:i={};const{lazy:s=!1,evaluating:l=void 0,shallow:u=!0,onError:f=Au}=i,h=nn(!s),p=u?nn(t):Ue(t);let g=0;return pp(async v=>{if(!h.value)return;g++;const y=g;let w=!1;l&&Promise.resolve().then(()=>{l.value=!0});try{const L=await e($=>{v(()=>{l&&(l.value=!1),w||$()})});y===g&&(p.value=L)}catch(L){f(L)}finally{l&&y===g&&(l.value=!1),w=!0}}),s?_e(()=>(h.value=!0,p.value)):p}const Or=H$?window:void 0;function Lu(e){var t;const n=Gt(e);return(t=n==null?void 0:n.$el)!=null?t:n}function mo(...e){const t=[],n=()=>{t.forEach(f=>f()),t.length=0},i=(f,h,p,g)=>(f.addEventListener(h,p,g),()=>f.removeEventListener(h,p,g)),s=_e(()=>{const f=Rd(Gt(e[0])).filter(h=>h!=null);return f.every(h=>typeof h!="string")?f:void 0}),l=V$(()=>{var f,h;return[(h=(f=s.value)==null?void 0:f.map(p=>Lu(p)))!=null?h:[Or].filter(p=>p!=null),Rd(Gt(s.value?e[1]:e[0])),Rd(j(s.value?e[2]:e[1])),Gt(s.value?e[3]:e[2])]},([f,h,p,g])=>{if(n(),!(f!=null&&f.length)||!(h!=null&&h.length)||!(p!=null&&p.length))return;const v=W$(g)?{...g}:g;t.push(...f.flatMap(y=>h.flatMap(w=>p.map(L=>i(y,w,L,v)))))},{flush:"post"}),u=()=>{l(),n()};return Ap(n),u}function K$(){const e=nn(!1),t=$i();return t&&wo(()=>{e.value=!0},t),e}function $x(e){const t=K$();return _e(()=>(t.value,!!e()))}function J$(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Mx(...e){let t,n,i={};e.length===3?(t=e[0],n=e[1],i=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],i=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=Or,eventName:l="keydown",passive:u=!1,dedupe:f=!1}=i,h=J$(t);return mo(s,l,g=>{g.repeat&&Gt(f)||h(g)&&n(g)},u)}function Y$(e,t={}){const{immediate:n=!0,fpsLimit:i=void 0,window:s=Or,once:l=!1}=t,u=nn(!1),f=_e(()=>i?1e3/Gt(i):null);let h=0,p=null;function g(w){if(!u.value||!s)return;h||(h=w);const L=w-h;if(f.value&&L<f.value){p=s.requestAnimationFrame(g);return}if(h=w,e({delta:L,timestamp:w}),l){u.value=!1,p=null;return}p=s.requestAnimationFrame(g)}function v(){!u.value&&s&&(u.value=!0,h=0,p=s.requestAnimationFrame(g))}function y(){u.value=!1,p!=null&&s&&(s.cancelAnimationFrame(p),p=null)}return n&&v(),Ap(y),{isActive:Da(u),pause:y,resume:v}}const Z$=Symbol("vueuse-ssr-width");function Q$(){const e=Xb()?F$(Z$,null):null;return typeof e=="number"?e:void 0}function Nx(e,t={}){const{window:n=Or,ssrWidth:i=Q$()}=t,s=$x(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),l=nn(typeof i=="number"),u=nn(),f=nn(!1),h=p=>{f.value=p.matches};return pp(()=>{if(l.value){l.value=!s.value;const p=Gt(e).split(",");f.value=p.some(g=>{const v=g.includes("not all"),y=g.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),w=g.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let L=!!(y||w);return y&&L&&(L=i>=O0(y[1])),w&&L&&(L=i<=O0(w[1])),v?!L:L});return}s.value&&(u.value=n.matchMedia(Gt(e)),f.value=u.value.matches)}),mo(u,"change",h,{passive:!0}),_e(()=>f.value)}const Bc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Wc="__vueuse_ssr_handlers__",eM=tM();function tM(){return Wc in Bc||(Bc[Wc]=Bc[Wc]||{}),Bc[Wc]}function Ix(e,t){return eM[e]||t}function nM(e){return Nx("(prefers-color-scheme: dark)",e)}function rM(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const iM={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},z0="vueuse-storage";function Px(e,t,n,i={}){var s;const{flush:l="pre",deep:u=!0,listenToStorageChanges:f=!0,writeDefaults:h=!0,mergeDefaults:p=!1,shallow:g,window:v=Or,eventFilter:y,onError:w=U=>{console.error(U)},initOnMounted:L}=i,$=(g?nn:Ue)(typeof t=="function"?t():t),C=_e(()=>Gt(e));if(!n)try{n=Ix("getDefaultStorage",()=>{var U;return(U=Or)==null?void 0:U.localStorage})()}catch(U){w(U)}if(!n)return $;const E=Gt(t),N=rM(E),O=(s=i.serializer)!=null?s:iM[N],{pause:k,resume:z}=Lx($,()=>oe($.value),{flush:l,deep:u,eventFilter:y});St(C,()=>W(),{flush:l}),v&&f&&Lp(()=>{n instanceof Storage?mo(v,"storage",W,{passive:!0}):mo(v,z0,q),L&&W()}),L||W();function D(U,A){if(v){const I={key:C.value,oldValue:U,newValue:A,storageArea:n};v.dispatchEvent(n instanceof Storage?new StorageEvent("storage",I):new CustomEvent(z0,{detail:I}))}}function oe(U){try{const A=n.getItem(C.value);if(U==null)D(A,null),n.removeItem(C.value);else{const I=O.write(U);A!==I&&(n.setItem(C.value,I),D(A,I))}}catch(A){w(A)}}function Q(U){const A=U?U.newValue:n.getItem(C.value);if(A==null)return h&&E!=null&&n.setItem(C.value,O.write(E)),E;if(!U&&p){const I=O.read(A);return typeof p=="function"?p(I,E):N==="object"&&!Array.isArray(I)?{...E,...I}:I}else return typeof A!="string"?A:O.read(A)}function W(U){if(!(U&&U.storageArea!==n)){if(U&&U.key==null){$.value=E;return}if(!(U&&U.key!==C.value)){k();try{(U==null?void 0:U.newValue)!==O.write($.value)&&($.value=Q(U))}catch(A){w(A)}finally{U?Et(z):z()}}}}function q(U){W(U.detail)}return $}const oM="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function sM(e={}){const{selector:t="html",attribute:n="class",initialValue:i="auto",window:s=Or,storage:l,storageKey:u="vueuse-color-scheme",listenToStorageChanges:f=!0,storageRef:h,emitAuto:p,disableTransition:g=!0}=e,v={auto:"",light:"light",dark:"dark",...e.modes||{}},y=nM({window:s}),w=_e(()=>y.value?"dark":"light"),L=h||(u==null?Ex(i):Px(u,i,l,{window:s,listenToStorageChanges:f})),$=_e(()=>L.value==="auto"?w.value:L.value),C=Ix("updateHTMLAttrs",(k,z,D)=>{const oe=typeof k=="string"?s==null?void 0:s.document.querySelector(k):Lu(k);if(!oe)return;const Q=new Set,W=new Set;let q=null;if(z==="class"){const A=D.split(/\s/g);Object.values(v).flatMap(I=>(I||"").split(/\s/g)).filter(Boolean).forEach(I=>{A.includes(I)?Q.add(I):W.add(I)})}else q={key:z,value:D};if(Q.size===0&&W.size===0&&q===null)return;let U;g&&(U=s.document.createElement("style"),U.appendChild(document.createTextNode(oM)),s.document.head.appendChild(U));for(const A of Q)oe.classList.add(A);for(const A of W)oe.classList.remove(A);q&&oe.setAttribute(q.key,q.value),g&&(s.getComputedStyle(U).opacity,document.head.removeChild(U))});function E(k){var z;C(t,n,(z=v[k])!=null?z:k)}function N(k){e.onChanged?e.onChanged(k,E):E(k)}St($,N,{flush:"post",immediate:!0}),Lp(()=>N($.value));const O=_e({get(){return p?L.value:$.value},set(k){L.value=k}});return Object.assign(O,{store:L,system:w,state:$})}function lM(e={}){const{valueDark:t="dark",valueLight:n=""}=e,i=sM({...e,onChanged:(u,f)=>{var h;e.onChanged?(h=e.onChanged)==null||h.call(e,u==="dark",f,u):f(u)},modes:{dark:t,light:n}}),s=_e(()=>i.system.value);return _e({get(){return i.value==="dark"},set(u){const f=u?"dark":"light";s.value===f?i.value="auto":i.value=f}})}function Ox(e,t,n={}){const{window:i=Or,...s}=n;let l;const u=$x(()=>i&&"ResizeObserver"in i),f=()=>{l&&(l.disconnect(),l=void 0)},h=_e(()=>{const v=Gt(e);return Array.isArray(v)?v.map(y=>Lu(y)):[Lu(v)]}),p=St(h,v=>{if(f(),u.value&&i){l=new ResizeObserver(t);for(const y of v)y&&l.observe(y,s)}},{immediate:!0,flush:"post"}),g=()=>{f(),p()};return Ap(g),{isSupported:u,stop:g}}function uf(e,t,n={}){const{window:i=Or}=n;return Px(e,t,i==null?void 0:i.localStorage,n)}function aM(e="history",t={}){const{initialValue:n={},removeNullishValues:i=!0,removeFalsyValues:s=!1,write:l=!0,writeMode:u="replace",window:f=Or}=t;if(!f)return rr(n);const h=rr({});function p(){if(e==="history")return f.location.search||"";if(e==="hash"){const O=f.location.hash||"",k=O.indexOf("?");return k>0?O.slice(k):""}else return(f.location.hash||"").replace(/^#/,"")}function g(O){const k=O.toString();if(e==="history")return`${k?`?${k}`:""}${f.location.hash||""}`;if(e==="hash-params")return`${f.location.search||""}${k?`#${k}`:""}`;const z=f.location.hash||"#",D=z.indexOf("?");return D>0?`${f.location.search||""}${z.slice(0,D)}${k?`?${k}`:""}`:`${f.location.search||""}${z}${k?`?${k}`:""}`}function v(){return new URLSearchParams(p())}function y(O){const k=new Set(Object.keys(h));for(const z of O.keys()){const D=O.getAll(z);h[z]=D.length>1?D:O.get(z)||"",k.delete(z)}Array.from(k).forEach(z=>delete h[z])}const{pause:w,resume:L}=Lx(h,()=>{const O=new URLSearchParams("");Object.keys(h).forEach(k=>{const z=h[k];Array.isArray(z)?z.forEach(D=>O.append(k,D)):i&&z==null||s&&!z?O.delete(k):O.set(k,z)}),$(O,!1)},{deep:!0});function $(O,k){w(),k&&y(O),u==="replace"?f.history.replaceState(f.history.state,f.document.title,f.location.pathname+g(O)):f.history.pushState(f.history.state,f.document.title,f.location.pathname+g(O)),L()}function C(){l&&$(v(),!0)}const E={passive:!0};mo(f,"popstate",C,E),e!=="history"&&mo(f,"hashchange",C,E);const N=v();return N.keys().next().value?y(N):Object.assign(h,n),h}function Rx(e={}){const{window:t=Or,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:i=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:l=!0,type:u="inner"}=e,f=nn(n),h=nn(i),p=()=>{if(t)if(u==="outer")f.value=t.outerWidth,h.value=t.outerHeight;else if(u==="visual"&&t.visualViewport){const{width:v,height:y,scale:w}=t.visualViewport;f.value=Math.round(v*w),h.value=Math.round(y*w)}else l?(f.value=t.innerWidth,h.value=t.innerHeight):(f.value=t.document.documentElement.clientWidth,h.value=t.document.documentElement.clientHeight)};p(),Lp(p);const g={passive:!0};if(mo("resize",p,g),t&&u==="visual"&&t.visualViewport&&mo(t.visualViewport,"resize",p,g),s){const v=Nx("(orientation: portrait)");St(v,()=>p())}return{width:f,height:h}}const Ch=nn([]),Jn=nn([]),Rr=uf("vitest-ui_task-tree-opened",[],{shallow:!0}),$u=_e(()=>new Set(Rr.value)),dn=uf("vitest-ui_task-tree-filter",{expandAll:void 0,failed:!1,success:!1,skipped:!1,onlyTests:!1,search:""}),Un=Ue(dn.value.search),cM={"&":"&","<":"<",">":">",'"':""","'":"'"};function zx(e){return e.replace(/[&<>"']/g,t=>cM[t])}const uM=_e(()=>{const e=Un.value.toLowerCase();return e.length?new RegExp(`(${zx(e)})`,"gi"):null}),Dx=_e(()=>Un.value.trim()!==""),et=rr({failed:dn.value.failed,success:dn.value.success,skipped:dn.value.skipped,onlyTests:dn.value.onlyTests}),Eh=_e(()=>!!(et.failed||et.success||et.skipped)),ff=nn([]),Qs=Ue(!1),D0=_e(()=>{const e=dn.value.expandAll;return Rr.value.length>0?e!==!0:e!==!1}),fM=_e(()=>{const e=Dx.value,t=Eh.value,n=et.onlyTests,i=Ae.summary.filesFailed,s=Ae.summary.filesSuccess,l=Ae.summary.filesSkipped,u=Ae.summary.filesRunning,f=ff.value;return Ae.collectTestsTotal(e||t,n,f,{failed:i,success:s,skipped:l,running:u})});function Va(e){return Object.hasOwnProperty.call(e,"tasks")}function dM(e,t){return typeof e!="string"||typeof t!="string"?!1:e.toLowerCase().includes(t.toLowerCase())}function Fx(e){if(!e)return"";const t=e.split("").reduce((i,s,l)=>i+s.charCodeAt(0)+l,0),n=["yellow","cyan","green","magenta"];return n[t%n.length]}function Hx(e){switch(e){case"blue":case"green":case"magenta":case"black":case"red":return"white";case"yellow":case"cyan":case"white":default:return"black"}}function hM(e){return e.type==="test"}function pM(e){return e.mode==="run"&&e.type==="test"}function On(e){return e.type==="file"}function Ci(e){return e.type==="file"||e.type==="suite"}function gM(e=Ae.root.tasks){return e.sort((t,n)=>`${t.filepath}:${t.projectName}`.localeCompare(`${n.filepath}:${n.projectName}`))}function La(e,t=!1){var i,s,l,u,f;let n=Ae.nodes.get(e.id);if(n?(n.typecheck=!!e.meta&&"typecheck"in e.meta,n.state=(i=e.result)==null?void 0:i.state,n.mode=e.mode,n.duration=(s=e.result)==null?void 0:s.duration,n.collectDuration=e.collectDuration,n.setupDuration=e.setupDuration,n.environmentLoad=e.environmentLoad,n.prepareDuration=e.prepareDuration):(n={id:e.id,parentId:"root",name:e.name,mode:e.mode,expandable:!0,expanded:$u.value.size>0&&$u.value.has(e.id),type:"file",children:new Set,tasks:[],typecheck:!!e.meta&&"typecheck"in e.meta,indent:0,duration:((l=e.result)==null?void 0:l.duration)!=null?Math.round((u=e.result)==null?void 0:u.duration):void 0,filepath:e.filepath,projectName:e.projectName||"",projectNameColor:Ae.colors.get(e.projectName||"")||Fx(e.projectName),collectDuration:e.collectDuration,setupDuration:e.setupDuration,environmentLoad:e.environmentLoad,prepareDuration:e.prepareDuration,state:(f=e.result)==null?void 0:f.state},Ae.nodes.set(e.id,n),Ae.root.tasks.push(n)),t)for(let h=0;h<e.tasks.length;h++)Ga(e.id,e.tasks[h],!0)}function Bx(e,t){const n=Ae.nodes.get(e);if(!n||!Ci(n))return;const i=ht.state.idMap.get(e);if(!(!i||!Va(i)))return Ga(n.parentId,i,t&&i.tasks.length>0),[n,i]}function mM(e){const t=Ae.nodes.get(e);if(!t)return;const n=ht.state.idMap.get(e);!n||!dx(n)||Ga(t.parentId,n,!1)}function Ga(e,t,n){var u,f,h,p,g;const i=Ae.nodes.get(e);let s;const l=((u=t.result)==null?void 0:u.duration)!=null?Math.round((f=t.result)==null?void 0:f.duration):void 0;if(i&&(s=Ae.nodes.get(t.id),s?(i.children.has(t.id)||(i.tasks.push(s),i.children.add(t.id)),s.name=t.name,s.mode=t.mode,s.duration=l,s.state=(h=t.result)==null?void 0:h.state):(dx(t)?s={id:t.id,fileId:t.file.id,parentId:e,name:t.name,mode:t.mode,type:t.type,expandable:!1,expanded:!1,indent:i.indent+1,duration:l,state:(p=t.result)==null?void 0:p.state}:s={id:t.id,fileId:t.file.id,parentId:e,name:t.name,mode:t.mode,type:"suite",expandable:!0,expanded:$u.value.size>0&&$u.value.has(t.id),children:new Set,tasks:[],indent:i.indent+1,duration:l,state:(g=t.result)==null?void 0:g.state},Ae.nodes.set(t.id,s),i.tasks.push(s),i.children.add(t.id)),s&&n&&Va(t)))for(let v=0;v<t.tasks.length;v++)Ga(s.id,t.tasks[v],n)}function vM(e){const t=Ae.nodes.get(e);if(!t||!Ci(t))return;const n=new Set(Rr.value);n.delete(t.id);const i=[...bM(t)];Rr.value=Array.from(n),Jn.value=i}function yM(){Ah(Ae.root.tasks);const e=[...Jn.value.filter(On)];Ah(e),Rr.value=[],dn.value.expandAll=!0,Jn.value=e}function Ah(e){for(const t of e)Ci(t)&&(t.expanded=!1,Ah(t.tasks))}function*Wx(e,t){if(t&&(yield e.id),Ci(e))for(let n=0;n<e.tasks.length;n++)yield*Wx(e.tasks[n],!0)}function*bM(e){const t=e.id,n=new Set(Wx(e,!1));for(let i=0;i<Jn.value.length;i++){const s=Jn.value[i];if(s.id===t){s.expanded=!1,yield s;continue}if(n.has(s.id)){n.delete(s.id);continue}yield s}}const df=Ue("idle"),Ms=_e(()=>df.value==="idle"),Qi=Ue([]);function wM(e,t,n){return e?Ux(e,t,n):!1}function Mp(e,t){const n=[...jx(e,t)];Jn.value=n,ff.value=n.filter(On).map(i=>gr(i.id))}function*jx(e,t){for(const n of gM())yield*qx(n,e,t)}function*qx(e,t,n){const i=new Set,s=new Map,l=[];let u;if(n.onlyTests)for(const[v,y]of Lh(e,i,w=>F0(w,t,n)))l.push([v,y]);else{for(const[v,y]of Lh(e,i,w=>F0(w,t,n)))Ci(y)?(s.set(y.id,v),On(y)?(v&&(u=y.id),l.push([v,y])):l.push([v||s.get(y.parentId)===!0,y])):l.push([v||s.get(y.parentId)===!0,y]);!u&&!On(e)&&"fileId"in e&&(u=e.fileId)}const f=new Set,h=[...SM(l,n.onlyTests,i,f,u)].reverse(),p=Ae.nodes,g=new Set(h.filter(v=>{var y;return On(v)||Ci(v)&&((y=p.get(v.parentId))==null?void 0:y.expanded)}).map(v=>v.id));yield*h.filter(v=>{var y;return On(v)||g.has(v.parentId)&&((y=p.get(v.parentId))==null?void 0:y.expanded)})}function xM(e,t,n,i,s){if(i){if(On(t))return s.has(t.id)?t:void 0;if(n.has(t.id)){const l=Ae.nodes.get(t.parentId);return l&&On(l)&&s.add(l.id),t}}else if(e||n.has(t.id)||s.has(t.id)){const l=Ae.nodes.get(t.parentId);return l&&On(l)&&s.add(l.id),t}}function*SM(e,t,n,i,s){for(let l=e.length-1;l>=0;l--){const[u,f]=e[l],h=Ci(f);if(!t&&s&&n.has(s)&&"fileId"in f&&f.fileId===s){h&&n.add(f.id);let p=Ae.nodes.get(f.parentId);for(;p;)n.add(p.id),On(p)&&i.add(p.id),p=Ae.nodes.get(p.parentId);yield f;continue}if(h){const p=xM(u,f,n,t,i);p&&(yield p)}else if(u){const p=Ae.nodes.get(f.parentId);p&&On(p)&&i.add(p.id),yield f}}}function _M(e,t){var n,i;return(t.success||t.failed)&&"result"in e&&(t.success&&((n=e.result)==null?void 0:n.state)==="pass"||t.failed&&((i=e.result)==null?void 0:i.state)==="fail")?!0:t.skipped&&"mode"in e?e.mode==="skip"||e.mode==="todo":!1}function Ux(e,t,n){if(t.length===0||dM(e.name,t))if(n.success||n.failed||n.skipped){if(_M(e,n))return!0}else return!0;return!1}function*Lh(e,t,n){const i=n(e);if(i)if(hM(e)){let s=Ae.nodes.get(e.parentId);for(;s;)t.add(s.id),s=Ae.nodes.get(s.parentId)}else if(On(e))t.add(e.id);else{t.add(e.id);let s=Ae.nodes.get(e.parentId);for(;s;)t.add(s.id),s=Ae.nodes.get(s.parentId)}if(yield[i,e],Ci(e))for(let s=0;s<e.tasks.length;s++)yield*Lh(e.tasks[s],t,n)}function F0(e,t,n){const i=ht.state.idMap.get(e.id);return i?Ux(i,t,n):!1}function kM(e,t,n){const i=Bx(e,!1);if(!i)return;const[s,l]=i;for(const p of l.tasks)Ga(s.id,p,!1);s.expanded=!0;const u=new Set(Rr.value);u.add(s.id);const f=new Set(qx(s,t,n)),h=[...EM(s,f)];Rr.value=Array.from(u),Jn.value=h}function TM(e,t){Np(Ae.root.tasks,!1);const n=[...jx(e,t)];dn.value.expandAll=!1,Rr.value=[],Jn.value=n,ff.value=n.filter(On).map(i=>gr(i.id))}function CM(e,t){if(e.size)for(const n of Jn.value)e.has(n.id)&&(n.expanded=!0);else t&&Np(Jn.value.filter(On),!0)}function Np(e,t){for(const n of e)Ci(n)&&(n.expanded=!0,Np(n.tasks,!1));t&&(dn.value.expandAll=!1,Rr.value=[])}function*EM(e,t){const n=e.id,i=new Set(Array.from(t).map(s=>s.id));for(const s of Jn.value)s.id===n?(s.expanded=!0,i.has(s.id)||(yield e),yield*t):i.has(s.id)||(yield s)}function Ip(e){return hx(e).some(t=>{var n,i;return(i=(n=t.result)==null?void 0:n.errors)==null?void 0:i.some(s=>typeof(s==null?void 0:s.message)=="string"&&s.message.match(/Snapshot .* mismatched/))})}function AM(e,t,n,i){e.map(s=>[`${s.filepath}:${s.projectName||""}`,s]).sort(([s],[l])=>s.localeCompare(l)).map(([,s])=>La(s,t)),Ch.value=[...Ae.root.tasks],Mp(n.trim(),{failed:i.failed,success:i.success,skipped:i.skipped,onlyTests:i.onlyTests})}function LM(e){queueMicrotask(()=>{const t=Ae.pendingTasks,n=ht.state.idMap;for(const i of e)if(i[1]){const l=n.get(i[0]);if(l){let u=t.get(l.file.id);u||(u=new Set,t.set(l.file.id,u)),u.add(l.id)}}})}function $M(e,t){const n=Ae.pendingTasks,s=ht.state.idMap.get(e);if((s==null?void 0:s.type)==="test"){let l=n.get(s.file.id);l||(l=new Set,n.set(s.file.id,l)),l.add(s.id),s.annotations.push(t)}}function H0(e,t,n,i,s){e&&RM(n);const l=!e;queueMicrotask(()=>{t?IM(l):PM(l)}),queueMicrotask(()=>{zM(n)}),queueMicrotask(()=>{t&&(n.failedSnapshot=Ch.value&&Ip(Ch.value.map(u=>gr(u.id))),n.failedSnapshotEnabled=!0)}),queueMicrotask(()=>{OM(i,s,t)})}function*MM(){yield*Jn.value.filter(pM)}function NM(){const e=ht.state.idMap;let t;for(const n of MM())t=e.get(n.parentId),t&&Va(t)&&t.mode==="todo"&&(t=e.get(n.id),t&&(t.mode="todo"))}function IM(e){const t=ht.state.getFiles(),n=Ae.nodes,i=t.filter(l=>!n.has(l.id));for(let l=0;l<i.length;l++)La(i[l],e),Mu(i[l].tasks);const s=Ae.root.tasks;for(let l=0;l<s.length;l++){const u=s[l],f=gr(u.id);if(!f)continue;La(f,e);const h=f.tasks;h!=null&&h.length&&Mu(f.tasks)}}function PM(e){const t=new Map(Ae.pendingTasks.entries());Ae.pendingTasks.clear();const n=Ae.nodes,i=Array.from(t.keys()).filter(f=>!n.has(f)).map(f=>gr(f)).filter(Boolean);let s;for(let f=0;f<i.length;f++)s=i[f],La(s,!1),Mu(s.tasks),t.delete(s.id);const l=ht.state.idMap,u=Ae.root.tasks;for(let f=0;f<u.length;f++){const h=u[f],p=gr(h.id);if(!p)continue;const g=t.get(p.id);g&&(La(p,e),Mu(Array.from(g).map(v=>l.get(v)).filter(Boolean)))}}function OM(e,t,n=!1){const i=dn.value.expandAll,s=i!==!0,l=new Set(Rr.value),u=l.size>0&&i===!1||s;queueMicrotask(()=>{B0(e,t,n)}),Qs.value||queueMicrotask(()=>{(Jn.value.length||n)&&(Qs.value=!0)}),u&&(queueMicrotask(()=>{CM(l,n),s&&(dn.value.expandAll=!1)}),queueMicrotask(()=>{B0(e,t,n)}))}function B0(e,t,n){Mp(e,t),n&&(NM(),df.value="idle")}function Mu(e){let t;for(let n=0;n<e.length;n++)t=e[n],Va(t)?Bx(t.id,!0):mM(t.id)}function RM(e){e.files=0,e.time="",e.filesFailed=0,e.filesSuccess=0,e.filesIgnore=0,e.filesRunning=0,e.filesSkipped=0,e.filesTodo=0,e.testsFailed=0,e.testsSuccess=0,e.testsIgnore=0,e.testsSkipped=0,e.testsTodo=0,e.totalTests=0,e.failedSnapshotEnabled=!1}function zM(e){var u,f,h,p,g,v;const t=ht.state.idMap,n=new Map(Ae.root.tasks.filter(y=>t.has(y.id)).map(y=>[y.id,y])),i=Array.from(n.values()).map(y=>[y.id,gr(y.id)]),s={files:n.size,time:"",filesFailed:0,filesSuccess:0,filesIgnore:0,filesRunning:0,filesSkipped:0,filesTodo:0,testsFailed:0,testsSuccess:0,testsIgnore:0,testsSkipped:0,testsTodo:0,totalTests:0};let l=0;for(const[y,w]of i){if(!w)continue;const L=n.get(y);L&&(L.mode=w.mode,L.setupDuration=w.setupDuration,L.prepareDuration=w.prepareDuration,L.environmentLoad=w.environmentLoad,L.collectDuration=w.collectDuration,L.duration=((u=w.result)==null?void 0:u.duration)!=null?Math.round((f=w.result)==null?void 0:f.duration):void 0,L.state=(h=w.result)==null?void 0:h.state),l+=Math.max(0,w.collectDuration||0),l+=Math.max(0,w.setupDuration||0),l+=Math.max(0,((p=w.result)==null?void 0:p.duration)||0),l+=Math.max(0,w.environmentLoad||0),l+=Math.max(0,w.prepareDuration||0),s.time=l>1e3?`${(l/1e3).toFixed(2)}s`:`${Math.round(l)}ms`,((g=w.result)==null?void 0:g.state)==="fail"?s.filesFailed++:((v=w.result)==null?void 0:v.state)==="pass"?s.filesSuccess++:w.mode==="skip"?(s.filesIgnore++,s.filesSkipped++):w.mode==="todo"?(s.filesIgnore++,s.filesTodo++):s.filesRunning++;const{failed:$,success:C,skipped:E,total:N,ignored:O,todo:k}=Vx(w);s.totalTests+=N,s.testsFailed+=$,s.testsSuccess+=C,s.testsSkipped+=E,s.testsTodo+=k,s.testsIgnore+=O}e.files=s.files,e.time=s.time,e.filesFailed=s.filesFailed,e.filesSuccess=s.filesSuccess,e.filesIgnore=s.filesIgnore,e.filesRunning=s.filesRunning,e.filesSkipped=s.filesSkipped,e.filesTodo=s.filesTodo,e.testsFailed=s.testsFailed,e.testsSuccess=s.testsSuccess,e.testsFailed=s.testsFailed,e.testsTodo=s.testsTodo,e.testsIgnore=s.testsIgnore,e.testsSkipped=s.testsSkipped,e.totalTests=s.totalTests}function Vx(e,t="",n){var s,l;const i={failed:0,success:0,skipped:0,running:0,total:0,ignored:0,todo:0};for(const u of Gx(e))(!n||wM(u,t,n))&&(i.total++,((s=u.result)==null?void 0:s.state)==="fail"?i.failed++:((l=u.result)==null?void 0:l.state)==="pass"?i.success++:u.mode==="skip"?(i.ignored++,i.skipped++):u.mode==="todo"&&(i.ignored++,i.todo++));return i.running=i.total-i.failed-i.success-i.ignored,i}function DM(e,t,n,i,s,l){var u,f;if(t)return n.map(h=>Vx(h,s,l)).reduce((h,{failed:p,success:g,ignored:v,running:y})=>(h.failed+=p,h.success+=g,h.skipped+=v,h.running+=y,h),{failed:0,success:0,skipped:0,running:0});if(e){const h={failed:0,success:0,skipped:0,running:0},p=!l.success&&!l.failed,g=l.failed||p,v=l.success||p;for(const y of n)((u=y.result)==null?void 0:u.state)==="fail"?h.failed+=g?1:0:((f=y.result)==null?void 0:f.state)==="pass"?h.success+=v?1:0:y.mode==="skip"||y.mode==="todo"||h.running++;return h}return i}function*Gx(e){const t=Ua(e);let n;for(let i=0;i<t.length;i++)n=t[i],Ea(n)?yield n:yield*Gx(n.tasks)}class FM{constructor(t=[],n=new Map,i=!1,s=500,l={id:"vitest-root-node",expandable:!0,expanded:!0,tasks:[]},u=new Map,f=new Map,h=rr({files:0,time:"",filesFailed:0,filesSuccess:0,filesIgnore:0,filesRunning:0,filesSkipped:0,filesSnapshotFailed:0,filesTodo:0,testsFailed:0,testsSuccess:0,testsIgnore:0,testsSkipped:0,testsTodo:0,totalTests:0,failedSnapshot:!1,failedSnapshotEnabled:!1})){qi(this,"rafCollector");qi(this,"resumeEndRunId");this.projects=t,this.colors=n,this.onTaskUpdateCalled=i,this.resumeEndTimeout=s,this.root=l,this.pendingTasks=u,this.nodes=f,this.summary=h,this.rafCollector=Y$(this.runCollect.bind(this),{fpsLimit:10,immediate:!1})}loadFiles(t,n){this.projects.splice(0,this.projects.length,...n.map(i=>i.name)),this.colors=new Map(n.map(i=>[i.name,i.color])),AM(t,!0,Un.value.trim(),{failed:et.failed,success:et.success,skipped:et.skipped,onlyTests:et.onlyTests})}startRun(){this.resumeEndRunId=setTimeout(()=>this.endRun(),this.resumeEndTimeout),this.collect(!0,!1)}annotateTest(t,n){$M(t,n),this.onTaskUpdateCalled||(clearTimeout(this.resumeEndRunId),this.onTaskUpdateCalled=!0,this.collect(!0,!1,!1),this.rafCollector.resume())}resumeRun(t,n){LM(t),this.onTaskUpdateCalled||(clearTimeout(this.resumeEndRunId),this.onTaskUpdateCalled=!0,this.collect(!0,!1,!1),this.rafCollector.resume())}endRun(){this.rafCollector.pause(),this.onTaskUpdateCalled=!1,this.collect(!1,!0)}runCollect(){this.collect(!1,!1)}collect(t,n,i=!0){i?queueMicrotask(()=>{H0(t,n,this.summary,Un.value.trim(),{failed:et.failed,success:et.success,skipped:et.skipped,onlyTests:et.onlyTests})}):H0(t,n,this.summary,Un.value.trim(),{failed:et.failed,success:et.success,skipped:et.skipped,onlyTests:et.onlyTests})}collectTestsTotal(t,n,i,s){return DM(t,n,i,s,Un.value.trim(),{failed:et.failed,success:et.success,skipped:et.skipped,onlyTests:et.onlyTests})}collapseNode(t){queueMicrotask(()=>{vM(t)})}expandNode(t){queueMicrotask(()=>{kM(t,Un.value.trim(),{failed:et.failed,success:et.success,skipped:et.skipped,onlyTests:et.onlyTests})})}collapseAllNodes(){queueMicrotask(()=>{yM()})}expandAllNodes(){queueMicrotask(()=>{TM(Un.value.trim(),{failed:et.failed,success:et.success,skipped:et.skipped,onlyTests:et.onlyTests})})}filterNodes(){queueMicrotask(()=>{Mp(Un.value.trim(),{failed:et.failed,success:et.success,skipped:et.skipped,onlyTests:et.onlyTests})})}}const Ae=new FM,er=Ue([414,896]),Xa=aM("hash",{initialValue:{file:"",view:null,line:null,test:null,column:null}}),vo=sl(Xa,"file"),jn=sl(Xa,"view"),Xx=sl(Xa,"line"),Kx=sl(Xa,"column"),qs=sl(Xa,"test"),el=Ue(),Us=Ue(!0),yo=Ue(!1),Nu=Ue(!0),Ns=_e(()=>{var e;return(e=tl.value)==null?void 0:e.coverage}),$h=_e(()=>{var e;return(e=Ns.value)==null?void 0:e.enabled}),Is=_e(()=>$h.value&&!!Ns.value.htmlReporter),Vs=uf("vitest-ui_splitpanes-mainSizes",[33,67]);var Qy;const uo=uf("vitest-ui_splitpanes-detailSizes",[((Qy=window.__vitest_browser_runner__)==null?void 0:Qy.provider)==="webdriverio"?er.value[0]/window.outerWidth*100:33,67]),At=rr({navigation:Vs.value[0],details:{size:Vs.value[1],browser:uo.value[0],main:uo.value[1]}}),W0=_e(()=>{var e;if(Is.value){const t=Ns.value.reportsDirectory.lastIndexOf("/"),n=(e=Ns.value.htmlReporter)==null?void 0:e.subdir;return n?`/${Ns.value.reportsDirectory.slice(t+1)}/${n}/index.html`:`/${Ns.value.reportsDirectory.slice(t+1)}/index.html`}});St(df,e=>{Nu.value=e==="running"},{immediate:!0});function HM(){const e=vo.value;if(e&&e.length>0){const t=gr(e);t?(el.value=t,Us.value=!1,yo.value=!1):G$(()=>ht.state.getFiles(),()=>{el.value=gr(e),Us.value=!1,yo.value=!1})}return Us}function Iu(e){Us.value=e,yo.value=!1,e&&(el.value=void 0,vo.value="")}function hf({file:e,line:t,view:n,test:i,column:s}){vo.value=e,Xx.value=t,Kx.value=s,jn.value=n,qs.value=i,el.value=gr(e),Iu(!1)}function BM(e){hf({file:e.file.id,test:e.type==="test"?e.id:null,line:null,view:null,column:null})}function WM(){yo.value=!0,Us.value=!1,el.value=void 0,vo.value=""}function jM(){At.details.browser=100,At.details.main=0,uo.value=[100,0]}function Jx(){if((It==null?void 0:It.provider)==="webdriverio"){const e=window.outerWidth*(At.details.size/100);return(er.value[0]+20)/e*100}return 33}function qM(){At.details.browser=Jx(),At.details.main=100-At.details.browser,uo.value=[At.details.browser,At.details.main]}function UM(){At.navigation=33,At.details.size=67,Vs.value=[33,67]}function Yx(){At.details.main!==0&&(At.details.browser=Jx(),At.details.main=100-At.details.browser,uo.value=[At.details.browser,At.details.main])}const VM={setCurrentFileId(e){vo.value=e,el.value=gr(e),Iu(!1)},async setIframeViewport(e,t){er.value=[e,t],(It==null?void 0:It.provider)==="webdriverio"&&Yx(),await new Promise(n=>requestAnimationFrame(n))}},GM=location.port,XM=[location.hostname,GM].filter(Boolean).join(":"),KM=`${location.protocol==="https:"?"wss:":"ws:"}//${XM}/__vitest_api__?token=${window.VITEST_API_TOKEN||"0"}`,pr=!!window.METADATA_PATH;var zd={},Tr={};const JM="Á",YM="á",ZM="Ă",QM="ă",eN="∾",tN="∿",nN="∾̳",rN="Â",iN="â",oN="´",sN="А",lN="а",aN="Æ",cN="æ",uN="",fN="𝔄",dN="𝔞",hN="À",pN="à",gN="ℵ",mN="ℵ",vN="Α",yN="α",bN="Ā",wN="ā",xN="⨿",SN="&",_N="&",kN="⩕",TN="⩓",CN="∧",EN="⩜",AN="⩘",LN="⩚",$N="∠",MN="⦤",NN="∠",IN="⦨",PN="⦩",ON="⦪",RN="⦫",zN="⦬",DN="⦭",FN="⦮",HN="⦯",BN="∡",WN="∟",jN="⊾",qN="⦝",UN="∢",VN="Å",GN="⍼",XN="Ą",KN="ą",JN="𝔸",YN="𝕒",ZN="⩯",QN="≈",e2="⩰",t2="≊",n2="≋",r2="'",i2="",o2="≈",s2="≊",l2="Å",a2="å",c2="𝒜",u2="𝒶",f2="≔",d2="*",h2="≈",p2="≍",g2="Ã",m2="ã",v2="Ä",y2="ä",b2="∳",w2="⨑",x2="≌",S2="϶",_2="‵",k2="∽",T2="⋍",C2="∖",E2="⫧",A2="⊽",L2="⌅",$2="⌆",M2="⌅",N2="⎵",I2="⎶",P2="≌",O2="Б",R2="б",z2="„",D2="∵",F2="∵",H2="∵",B2="⦰",W2="϶",j2="ℬ",q2="ℬ",U2="Β",V2="β",G2="ℶ",X2="≬",K2="𝔅",J2="𝔟",Y2="⋂",Z2="◯",Q2="⋃",eI="⨀",tI="⨁",nI="⨂",rI="⨆",iI="★",oI="▽",sI="△",lI="⨄",aI="⋁",cI="⋀",uI="⤍",fI="⧫",dI="▪",hI="▴",pI="▾",gI="◂",mI="▸",vI="␣",yI="▒",bI="░",wI="▓",xI="█",SI="=⃥",_I="≡⃥",kI="⫭",TI="⌐",CI="𝔹",EI="𝕓",AI="⊥",LI="⊥",$I="⋈",MI="⧉",NI="┐",II="╕",PI="╖",OI="╗",RI="┌",zI="╒",DI="╓",FI="╔",HI="─",BI="═",WI="┬",jI="╤",qI="╥",UI="╦",VI="┴",GI="╧",XI="╨",KI="╩",JI="⊟",YI="⊞",ZI="⊠",QI="┘",eP="╛",tP="╜",nP="╝",rP="└",iP="╘",oP="╙",sP="╚",lP="│",aP="║",cP="┼",uP="╪",fP="╫",dP="╬",hP="┤",pP="╡",gP="╢",mP="╣",vP="├",yP="╞",bP="╟",wP="╠",xP="‵",SP="˘",_P="˘",kP="¦",TP="𝒷",CP="ℬ",EP="⁏",AP="∽",LP="⋍",$P="⧅",MP="\\",NP="⟈",IP="•",PP="•",OP="≎",RP="⪮",zP="≏",DP="≎",FP="≏",HP="Ć",BP="ć",WP="⩄",jP="⩉",qP="⩋",UP="∩",VP="⋒",GP="⩇",XP="⩀",KP="ⅅ",JP="∩︀",YP="⁁",ZP="ˇ",QP="ℭ",eO="⩍",tO="Č",nO="č",rO="Ç",iO="ç",oO="Ĉ",sO="ĉ",lO="∰",aO="⩌",cO="⩐",uO="Ċ",fO="ċ",dO="¸",hO="¸",pO="⦲",gO="¢",mO="·",vO="·",yO="𝔠",bO="ℭ",wO="Ч",xO="ч",SO="✓",_O="✓",kO="Χ",TO="χ",CO="ˆ",EO="≗",AO="↺",LO="↻",$O="⊛",MO="⊚",NO="⊝",IO="⊙",PO="®",OO="Ⓢ",RO="⊖",zO="⊕",DO="⊗",FO="○",HO="⧃",BO="≗",WO="⨐",jO="⫯",qO="⧂",UO="∲",VO="”",GO="’",XO="♣",KO="♣",JO=":",YO="∷",ZO="⩴",QO="≔",eR="≔",tR=",",nR="@",rR="∁",iR="∘",oR="∁",sR="ℂ",lR="≅",aR="⩭",cR="≡",uR="∮",fR="∯",dR="∮",hR="𝕔",pR="ℂ",gR="∐",mR="∐",vR="©",yR="©",bR="℗",wR="∳",xR="↵",SR="✗",_R="⨯",kR="𝒞",TR="𝒸",CR="⫏",ER="⫑",AR="⫐",LR="⫒",$R="⋯",MR="⤸",NR="⤵",IR="⋞",PR="⋟",OR="↶",RR="⤽",zR="⩈",DR="⩆",FR="≍",HR="∪",BR="⋓",WR="⩊",jR="⊍",qR="⩅",UR="∪︀",VR="↷",GR="⤼",XR="⋞",KR="⋟",JR="⋎",YR="⋏",ZR="¤",QR="↶",ez="↷",tz="⋎",nz="⋏",rz="∲",iz="∱",oz="⌭",sz="†",lz="‡",az="ℸ",cz="↓",uz="↡",fz="⇓",dz="‐",hz="⫤",pz="⊣",gz="⤏",mz="˝",vz="Ď",yz="ď",bz="Д",wz="д",xz="‡",Sz="⇊",_z="ⅅ",kz="ⅆ",Tz="⤑",Cz="⩷",Ez="°",Az="∇",Lz="Δ",$z="δ",Mz="⦱",Nz="⥿",Iz="𝔇",Pz="𝔡",Oz="⥥",Rz="⇃",zz="⇂",Dz="´",Fz="˙",Hz="˝",Bz="`",Wz="˜",jz="⋄",qz="⋄",Uz="⋄",Vz="♦",Gz="♦",Xz="¨",Kz="ⅆ",Jz="ϝ",Yz="⋲",Zz="÷",Qz="÷",eD="⋇",tD="⋇",nD="Ђ",rD="ђ",iD="⌞",oD="⌍",sD="$",lD="𝔻",aD="𝕕",cD="¨",uD="˙",fD="⃜",dD="≐",hD="≑",pD="≐",gD="∸",mD="∔",vD="⊡",yD="⌆",bD="∯",wD="¨",xD="⇓",SD="⇐",_D="⇔",kD="⫤",TD="⟸",CD="⟺",ED="⟹",AD="⇒",LD="⊨",$D="⇑",MD="⇕",ND="∥",ID="⤓",PD="↓",OD="↓",RD="⇓",zD="⇵",DD="̑",FD="⇊",HD="⇃",BD="⇂",WD="⥐",jD="⥞",qD="⥖",UD="↽",VD="⥟",GD="⥗",XD="⇁",KD="↧",JD="⊤",YD="⤐",ZD="⌟",QD="⌌",eF="𝒟",tF="𝒹",nF="Ѕ",rF="ѕ",iF="⧶",oF="Đ",sF="đ",lF="⋱",aF="▿",cF="▾",uF="⇵",fF="⥯",dF="⦦",hF="Џ",pF="џ",gF="⟿",mF="É",vF="é",yF="⩮",bF="Ě",wF="ě",xF="Ê",SF="ê",_F="≖",kF="≕",TF="Э",CF="э",EF="⩷",AF="Ė",LF="ė",$F="≑",MF="ⅇ",NF="≒",IF="𝔈",PF="𝔢",OF="⪚",RF="È",zF="è",DF="⪖",FF="⪘",HF="⪙",BF="∈",WF="⏧",jF="ℓ",qF="⪕",UF="⪗",VF="Ē",GF="ē",XF="∅",KF="∅",JF="◻",YF="∅",ZF="▫",QF=" ",e3=" ",t3=" ",n3="Ŋ",r3="ŋ",i3=" ",o3="Ę",s3="ę",l3="𝔼",a3="𝕖",c3="⋕",u3="⧣",f3="⩱",d3="ε",h3="Ε",p3="ε",g3="ϵ",m3="≖",v3="≕",y3="≂",b3="⪖",w3="⪕",x3="⩵",S3="=",_3="≂",k3="≟",T3="⇌",C3="≡",E3="⩸",A3="⧥",L3="⥱",$3="≓",M3="ℯ",N3="ℰ",I3="≐",P3="⩳",O3="≂",R3="Η",z3="η",D3="Ð",F3="ð",H3="Ë",B3="ë",W3="€",j3="!",q3="∃",U3="∃",V3="ℰ",G3="ⅇ",X3="ⅇ",K3="≒",J3="Ф",Y3="ф",Z3="♀",Q3="ffi",eH="ff",tH="ffl",nH="𝔉",rH="𝔣",iH="fi",oH="◼",sH="▪",lH="fj",aH="♭",cH="fl",uH="▱",fH="ƒ",dH="𝔽",hH="𝕗",pH="∀",gH="∀",mH="⋔",vH="⫙",yH="ℱ",bH="⨍",wH="½",xH="⅓",SH="¼",_H="⅕",kH="⅙",TH="⅛",CH="⅔",EH="⅖",AH="¾",LH="⅗",$H="⅜",MH="⅘",NH="⅚",IH="⅝",PH="⅞",OH="⁄",RH="⌢",zH="𝒻",DH="ℱ",FH="ǵ",HH="Γ",BH="γ",WH="Ϝ",jH="ϝ",qH="⪆",UH="Ğ",VH="ğ",GH="Ģ",XH="Ĝ",KH="ĝ",JH="Г",YH="г",ZH="Ġ",QH="ġ",eB="≥",tB="≧",nB="⪌",rB="⋛",iB="≥",oB="≧",sB="⩾",lB="⪩",aB="⩾",cB="⪀",uB="⪂",fB="⪄",dB="⋛︀",hB="⪔",pB="𝔊",gB="𝔤",mB="≫",vB="⋙",yB="⋙",bB="ℷ",wB="Ѓ",xB="ѓ",SB="⪥",_B="≷",kB="⪒",TB="⪤",CB="⪊",EB="⪊",AB="⪈",LB="≩",$B="⪈",MB="≩",NB="⋧",IB="𝔾",PB="𝕘",OB="`",RB="≥",zB="⋛",DB="≧",FB="⪢",HB="≷",BB="⩾",WB="≳",jB="𝒢",qB="ℊ",UB="≳",VB="⪎",GB="⪐",XB="⪧",KB="⩺",JB=">",YB=">",ZB="≫",QB="⋗",e5="⦕",t5="⩼",n5="⪆",r5="⥸",i5="⋗",o5="⋛",s5="⪌",l5="≷",a5="≳",c5="≩︀",u5="≩︀",f5="ˇ",d5=" ",h5="½",p5="ℋ",g5="Ъ",m5="ъ",v5="⥈",y5="↔",b5="⇔",w5="↭",x5="^",S5="ℏ",_5="Ĥ",k5="ĥ",T5="♥",C5="♥",E5="…",A5="⊹",L5="𝔥",$5="ℌ",M5="ℋ",N5="⤥",I5="⤦",P5="⇿",O5="∻",R5="↩",z5="↪",D5="𝕙",F5="ℍ",H5="―",B5="─",W5="𝒽",j5="ℋ",q5="ℏ",U5="Ħ",V5="ħ",G5="≎",X5="≏",K5="⁃",J5="‐",Y5="Í",Z5="í",Q5="",e4="Î",t4="î",n4="И",r4="и",i4="İ",o4="Е",s4="е",l4="¡",a4="⇔",c4="𝔦",u4="ℑ",f4="Ì",d4="ì",h4="ⅈ",p4="⨌",g4="∭",m4="⧜",v4="℩",y4="IJ",b4="ij",w4="Ī",x4="ī",S4="ℑ",_4="ⅈ",k4="ℐ",T4="ℑ",C4="ı",E4="ℑ",A4="⊷",L4="Ƶ",$4="⇒",M4="℅",N4="∞",I4="⧝",P4="ı",O4="⊺",R4="∫",z4="∬",D4="ℤ",F4="∫",H4="⊺",B4="⋂",W4="⨗",j4="⨼",q4="",U4="",V4="Ё",G4="ё",X4="Į",K4="į",J4="𝕀",Y4="𝕚",Z4="Ι",Q4="ι",e8="⨼",t8="¿",n8="𝒾",r8="ℐ",i8="∈",o8="⋵",s8="⋹",l8="⋴",a8="⋳",c8="∈",u8="",f8="Ĩ",d8="ĩ",h8="І",p8="і",g8="Ï",m8="ï",v8="Ĵ",y8="ĵ",b8="Й",w8="й",x8="𝔍",S8="𝔧",_8="ȷ",k8="𝕁",T8="𝕛",C8="𝒥",E8="𝒿",A8="Ј",L8="ј",$8="Є",M8="є",N8="Κ",I8="κ",P8="ϰ",O8="Ķ",R8="ķ",z8="К",D8="к",F8="𝔎",H8="𝔨",B8="ĸ",W8="Х",j8="х",q8="Ќ",U8="ќ",V8="𝕂",G8="𝕜",X8="𝒦",K8="𝓀",J8="⇚",Y8="Ĺ",Z8="ĺ",Q8="⦴",eW="ℒ",tW="Λ",nW="λ",rW="⟨",iW="⟪",oW="⦑",sW="⟨",lW="⪅",aW="ℒ",cW="«",uW="⇤",fW="⤟",dW="←",hW="↞",pW="⇐",gW="⤝",mW="↩",vW="↫",yW="⤹",bW="⥳",wW="↢",xW="⤙",SW="⤛",_W="⪫",kW="⪭",TW="⪭︀",CW="⤌",EW="⤎",AW="❲",LW="{",$W="[",MW="⦋",NW="⦏",IW="⦍",PW="Ľ",OW="ľ",RW="Ļ",zW="ļ",DW="⌈",FW="{",HW="Л",BW="л",WW="⤶",jW="“",qW="„",UW="⥧",VW="⥋",GW="↲",XW="≤",KW="≦",JW="⟨",YW="⇤",ZW="←",QW="←",ej="⇐",tj="⇆",nj="↢",rj="⌈",ij="⟦",oj="⥡",sj="⥙",lj="⇃",aj="⌊",cj="↽",uj="↼",fj="⇇",dj="↔",hj="↔",pj="⇔",gj="⇆",mj="⇋",vj="↭",yj="⥎",bj="↤",wj="⊣",xj="⥚",Sj="⋋",_j="⧏",kj="⊲",Tj="⊴",Cj="⥑",Ej="⥠",Aj="⥘",Lj="↿",$j="⥒",Mj="↼",Nj="⪋",Ij="⋚",Pj="≤",Oj="≦",Rj="⩽",zj="⪨",Dj="⩽",Fj="⩿",Hj="⪁",Bj="⪃",Wj="⋚︀",jj="⪓",qj="⪅",Uj="⋖",Vj="⋚",Gj="⪋",Xj="⋚",Kj="≦",Jj="≶",Yj="≶",Zj="⪡",Qj="≲",eq="⩽",tq="≲",nq="⥼",rq="⌊",iq="𝔏",oq="𝔩",sq="≶",lq="⪑",aq="⥢",cq="↽",uq="↼",fq="⥪",dq="▄",hq="Љ",pq="љ",gq="⇇",mq="≪",vq="⋘",yq="⌞",bq="⇚",wq="⥫",xq="◺",Sq="Ŀ",_q="ŀ",kq="⎰",Tq="⎰",Cq="⪉",Eq="⪉",Aq="⪇",Lq="≨",$q="⪇",Mq="≨",Nq="⋦",Iq="⟬",Pq="⇽",Oq="⟦",Rq="⟵",zq="⟵",Dq="⟸",Fq="⟷",Hq="⟷",Bq="⟺",Wq="⟼",jq="⟶",qq="⟶",Uq="⟹",Vq="↫",Gq="↬",Xq="⦅",Kq="𝕃",Jq="𝕝",Yq="⨭",Zq="⨴",Qq="∗",e6="_",t6="↙",n6="↘",r6="◊",i6="◊",o6="⧫",s6="(",l6="⦓",a6="⇆",c6="⌟",u6="⇋",f6="⥭",d6="",h6="⊿",p6="‹",g6="𝓁",m6="ℒ",v6="↰",y6="↰",b6="≲",w6="⪍",x6="⪏",S6="[",_6="‘",k6="‚",T6="Ł",C6="ł",E6="⪦",A6="⩹",L6="<",$6="<",M6="≪",N6="⋖",I6="⋋",P6="⋉",O6="⥶",R6="⩻",z6="◃",D6="⊴",F6="◂",H6="⦖",B6="⥊",W6="⥦",j6="≨︀",q6="≨︀",U6="¯",V6="♂",G6="✠",X6="✠",K6="↦",J6="↦",Y6="↧",Z6="↤",Q6="↥",eU="▮",tU="⨩",nU="М",rU="м",iU="—",oU="∺",sU="∡",lU=" ",aU="ℳ",cU="𝔐",uU="𝔪",fU="℧",dU="µ",hU="*",pU="⫰",gU="∣",mU="·",vU="⊟",yU="−",bU="∸",wU="⨪",xU="∓",SU="⫛",_U="…",kU="∓",TU="⊧",CU="𝕄",EU="𝕞",AU="∓",LU="𝓂",$U="ℳ",MU="∾",NU="Μ",IU="μ",PU="⊸",OU="⊸",RU="∇",zU="Ń",DU="ń",FU="∠⃒",HU="≉",BU="⩰̸",WU="≋̸",jU="ʼn",qU="≉",UU="♮",VU="ℕ",GU="♮",XU=" ",KU="≎̸",JU="≏̸",YU="⩃",ZU="Ň",QU="ň",e9="Ņ",t9="ņ",n9="≇",r9="⩭̸",i9="⩂",o9="Н",s9="н",l9="–",a9="⤤",c9="↗",u9="⇗",f9="↗",d9="≠",h9="≐̸",p9="",g9="",m9="",v9="",y9="≢",b9="⤨",w9="≂̸",x9="≫",S9="≪",_9=`
|
|
24
24
|
`,k9="∄",T9="∄",C9="𝔑",E9="𝔫",A9="≧̸",L9="≱",$9="≱",M9="≧̸",N9="⩾̸",I9="⩾̸",P9="⋙̸",O9="≵",R9="≫⃒",z9="≯",D9="≯",F9="≫̸",H9="↮",B9="⇎",W9="⫲",j9="∋",q9="⋼",U9="⋺",V9="∋",G9="Њ",X9="њ",K9="↚",J9="⇍",Y9="‥",Z9="≦̸",Q9="≰",eV="↚",tV="⇍",nV="↮",rV="⇎",iV="≰",oV="≦̸",sV="⩽̸",lV="⩽̸",aV="≮",cV="⋘̸",uV="≴",fV="≪⃒",dV="≮",hV="⋪",pV="⋬",gV="≪̸",mV="∤",vV="",yV=" ",bV="𝕟",wV="ℕ",xV="⫬",SV="¬",_V="≢",kV="≭",TV="∦",CV="∉",EV="≠",AV="≂̸",LV="∄",$V="≯",MV="≱",NV="≧̸",IV="≫̸",PV="≹",OV="⩾̸",RV="≵",zV="≎̸",DV="≏̸",FV="∉",HV="⋵̸",BV="⋹̸",WV="∉",jV="⋷",qV="⋶",UV="⧏̸",VV="⋪",GV="⋬",XV="≮",KV="≰",JV="≸",YV="≪̸",ZV="⩽̸",QV="≴",eG="⪢̸",tG="⪡̸",nG="∌",rG="∌",iG="⋾",oG="⋽",sG="⊀",lG="⪯̸",aG="⋠",cG="∌",uG="⧐̸",fG="⋫",dG="⋭",hG="⊏̸",pG="⋢",gG="⊐̸",mG="⋣",vG="⊂⃒",yG="⊈",bG="⊁",wG="⪰̸",xG="⋡",SG="≿̸",_G="⊃⃒",kG="⊉",TG="≁",CG="≄",EG="≇",AG="≉",LG="∤",$G="∦",MG="∦",NG="⫽⃥",IG="∂̸",PG="⨔",OG="⊀",RG="⋠",zG="⊀",DG="⪯̸",FG="⪯̸",HG="⤳̸",BG="↛",WG="⇏",jG="↝̸",qG="↛",UG="⇏",VG="⋫",GG="⋭",XG="⊁",KG="⋡",JG="⪰̸",YG="𝒩",ZG="𝓃",QG="∤",e7="∦",t7="≁",n7="≄",r7="≄",i7="∤",o7="∦",s7="⋢",l7="⋣",a7="⊄",c7="⫅̸",u7="⊈",f7="⊂⃒",d7="⊈",h7="⫅̸",p7="⊁",g7="⪰̸",m7="⊅",v7="⫆̸",y7="⊉",b7="⊃⃒",w7="⊉",x7="⫆̸",S7="≹",_7="Ñ",k7="ñ",T7="≸",C7="⋪",E7="⋬",A7="⋫",L7="⋭",$7="Ν",M7="ν",N7="#",I7="№",P7=" ",O7="≍⃒",R7="⊬",z7="⊭",D7="⊮",F7="⊯",H7="≥⃒",B7=">⃒",W7="⤄",j7="⧞",q7="⤂",U7="≤⃒",V7="<⃒",G7="⊴⃒",X7="⤃",K7="⊵⃒",J7="∼⃒",Y7="⤣",Z7="↖",Q7="⇖",eX="↖",tX="⤧",nX="Ó",rX="ó",iX="⊛",oX="Ô",sX="ô",lX="⊚",aX="О",cX="о",uX="⊝",fX="Ő",dX="ő",hX="⨸",pX="⊙",gX="⦼",mX="Œ",vX="œ",yX="⦿",bX="𝔒",wX="𝔬",xX="˛",SX="Ò",_X="ò",kX="⧁",TX="⦵",CX="Ω",EX="∮",AX="↺",LX="⦾",$X="⦻",MX="‾",NX="⧀",IX="Ō",PX="ō",OX="Ω",RX="ω",zX="Ο",DX="ο",FX="⦶",HX="⊖",BX="𝕆",WX="𝕠",jX="⦷",qX="“",UX="‘",VX="⦹",GX="⊕",XX="↻",KX="⩔",JX="∨",YX="⩝",ZX="ℴ",QX="ℴ",eK="ª",tK="º",nK="⊶",rK="⩖",iK="⩗",oK="⩛",sK="Ⓢ",lK="𝒪",aK="ℴ",cK="Ø",uK="ø",fK="⊘",dK="Õ",hK="õ",pK="⨶",gK="⨷",mK="⊗",vK="Ö",yK="ö",bK="⌽",wK="‾",xK="⏞",SK="⎴",_K="⏜",kK="¶",TK="∥",CK="∥",EK="⫳",AK="⫽",LK="∂",$K="∂",MK="П",NK="п",IK="%",PK=".",OK="‰",RK="⊥",zK="‱",DK="𝔓",FK="𝔭",HK="Φ",BK="φ",WK="ϕ",jK="ℳ",qK="☎",UK="Π",VK="π",GK="⋔",XK="ϖ",KK="ℏ",JK="ℎ",YK="ℏ",ZK="⨣",QK="⊞",eJ="⨢",tJ="+",nJ="∔",rJ="⨥",iJ="⩲",oJ="±",sJ="±",lJ="⨦",aJ="⨧",cJ="±",uJ="ℌ",fJ="⨕",dJ="𝕡",hJ="ℙ",pJ="£",gJ="⪷",mJ="⪻",vJ="≺",yJ="≼",bJ="⪷",wJ="≺",xJ="≼",SJ="≺",_J="⪯",kJ="≼",TJ="≾",CJ="⪯",EJ="⪹",AJ="⪵",LJ="⋨",$J="⪯",MJ="⪳",NJ="≾",IJ="′",PJ="″",OJ="ℙ",RJ="⪹",zJ="⪵",DJ="⋨",FJ="∏",HJ="∏",BJ="⌮",WJ="⌒",jJ="⌓",qJ="∝",UJ="∝",VJ="∷",GJ="∝",XJ="≾",KJ="⊰",JJ="𝒫",YJ="𝓅",ZJ="Ψ",QJ="ψ",eY=" ",tY="𝔔",nY="𝔮",rY="⨌",iY="𝕢",oY="ℚ",sY="⁗",lY="𝒬",aY="𝓆",cY="ℍ",uY="⨖",fY="?",dY="≟",hY='"',pY='"',gY="⇛",mY="∽̱",vY="Ŕ",yY="ŕ",bY="√",wY="⦳",xY="⟩",SY="⟫",_Y="⦒",kY="⦥",TY="⟩",CY="»",EY="⥵",AY="⇥",LY="⤠",$Y="⤳",MY="→",NY="↠",IY="⇒",PY="⤞",OY="↪",RY="↬",zY="⥅",DY="⥴",FY="⤖",HY="↣",BY="↝",WY="⤚",jY="⤜",qY="∶",UY="ℚ",VY="⤍",GY="⤏",XY="⤐",KY="❳",JY="}",YY="]",ZY="⦌",QY="⦎",eZ="⦐",tZ="Ř",nZ="ř",rZ="Ŗ",iZ="ŗ",oZ="⌉",sZ="}",lZ="Р",aZ="р",cZ="⤷",uZ="⥩",fZ="”",dZ="”",hZ="↳",pZ="ℜ",gZ="ℛ",mZ="ℜ",vZ="ℝ",yZ="ℜ",bZ="▭",wZ="®",xZ="®",SZ="∋",_Z="⇋",kZ="⥯",TZ="⥽",CZ="⌋",EZ="𝔯",AZ="ℜ",LZ="⥤",$Z="⇁",MZ="⇀",NZ="⥬",IZ="Ρ",PZ="ρ",OZ="ϱ",RZ="⟩",zZ="⇥",DZ="→",FZ="→",HZ="⇒",BZ="⇄",WZ="↣",jZ="⌉",qZ="⟧",UZ="⥝",VZ="⥕",GZ="⇂",XZ="⌋",KZ="⇁",JZ="⇀",YZ="⇄",ZZ="⇌",QZ="⇉",eQ="↝",tQ="↦",nQ="⊢",rQ="⥛",iQ="⋌",oQ="⧐",sQ="⊳",lQ="⊵",aQ="⥏",cQ="⥜",uQ="⥔",fQ="↾",dQ="⥓",hQ="⇀",pQ="˚",gQ="≓",mQ="⇄",vQ="⇌",yQ="",bQ="⎱",wQ="⎱",xQ="⫮",SQ="⟭",_Q="⇾",kQ="⟧",TQ="⦆",CQ="𝕣",EQ="ℝ",AQ="⨮",LQ="⨵",$Q="⥰",MQ=")",NQ="⦔",IQ="⨒",PQ="⇉",OQ="⇛",RQ="›",zQ="𝓇",DQ="ℛ",FQ="↱",HQ="↱",BQ="]",WQ="’",jQ="’",qQ="⋌",UQ="⋊",VQ="▹",GQ="⊵",XQ="▸",KQ="⧎",JQ="⧴",YQ="⥨",ZQ="℞",QQ="Ś",eee="ś",tee="‚",nee="⪸",ree="Š",iee="š",oee="⪼",see="≻",lee="≽",aee="⪰",cee="⪴",uee="Ş",fee="ş",dee="Ŝ",hee="ŝ",pee="⪺",gee="⪶",mee="⋩",vee="⨓",yee="≿",bee="С",wee="с",xee="⊡",See="⋅",_ee="⩦",kee="⤥",Tee="↘",Cee="⇘",Eee="↘",Aee="§",Lee=";",$ee="⤩",Mee="∖",Nee="∖",Iee="✶",Pee="𝔖",Oee="𝔰",Ree="⌢",zee="♯",Dee="Щ",Fee="щ",Hee="Ш",Bee="ш",Wee="↓",jee="←",qee="∣",Uee="∥",Vee="→",Gee="↑",Xee="",Kee="Σ",Jee="σ",Yee="ς",Zee="ς",Qee="∼",ete="⩪",tte="≃",nte="≃",rte="⪞",ite="⪠",ote="⪝",ste="⪟",lte="≆",ate="⨤",cte="⥲",ute="←",fte="∘",dte="∖",hte="⨳",pte="⧤",gte="∣",mte="⌣",vte="⪪",yte="⪬",bte="⪬︀",wte="Ь",xte="ь",Ste="⌿",_te="⧄",kte="/",Tte="𝕊",Cte="𝕤",Ete="♠",Ate="♠",Lte="∥",$te="⊓",Mte="⊓︀",Nte="⊔",Ite="⊔︀",Pte="√",Ote="⊏",Rte="⊑",zte="⊏",Dte="⊑",Fte="⊐",Hte="⊒",Bte="⊐",Wte="⊒",jte="□",qte="□",Ute="⊓",Vte="⊏",Gte="⊑",Xte="⊐",Kte="⊒",Jte="⊔",Yte="▪",Zte="□",Qte="▪",ene="→",tne="𝒮",nne="𝓈",rne="∖",ine="⌣",one="⋆",sne="⋆",lne="☆",ane="★",cne="ϵ",une="ϕ",fne="¯",dne="⊂",hne="⋐",pne="⪽",gne="⫅",mne="⊆",vne="⫃",yne="⫁",bne="⫋",wne="⊊",xne="⪿",Sne="⥹",_ne="⊂",kne="⋐",Tne="⊆",Cne="⫅",Ene="⊆",Ane="⊊",Lne="⫋",$ne="⫇",Mne="⫕",Nne="⫓",Ine="⪸",Pne="≻",One="≽",Rne="≻",zne="⪰",Dne="≽",Fne="≿",Hne="⪰",Bne="⪺",Wne="⪶",jne="⋩",qne="≿",Une="∋",Vne="∑",Gne="∑",Xne="♪",Kne="¹",Jne="²",Yne="³",Zne="⊃",Qne="⋑",ere="⪾",tre="⫘",nre="⫆",rre="⊇",ire="⫄",ore="⊃",sre="⊇",lre="⟉",are="⫗",cre="⥻",ure="⫂",fre="⫌",dre="⊋",hre="⫀",pre="⊃",gre="⋑",mre="⊇",vre="⫆",yre="⊋",bre="⫌",wre="⫈",xre="⫔",Sre="⫖",_re="⤦",kre="↙",Tre="⇙",Cre="↙",Ere="⤪",Are="ß",Lre=" ",$re="⌖",Mre="Τ",Nre="τ",Ire="⎴",Pre="Ť",Ore="ť",Rre="Ţ",zre="ţ",Dre="Т",Fre="т",Hre="⃛",Bre="⌕",Wre="𝔗",jre="𝔱",qre="∴",Ure="∴",Vre="∴",Gre="Θ",Xre="θ",Kre="ϑ",Jre="ϑ",Yre="≈",Zre="∼",Qre=" ",eie=" ",tie=" ",nie="≈",rie="∼",iie="Þ",oie="þ",sie="˜",lie="∼",aie="≃",cie="≅",uie="≈",fie="⨱",die="⊠",hie="×",pie="⨰",gie="∭",mie="⤨",vie="⌶",yie="⫱",bie="⊤",wie="𝕋",xie="𝕥",Sie="⫚",_ie="⤩",kie="‴",Tie="™",Cie="™",Eie="▵",Aie="▿",Lie="◃",$ie="⊴",Mie="≜",Nie="▹",Iie="⊵",Pie="◬",Oie="≜",Rie="⨺",zie="⃛",Die="⨹",Fie="⧍",Hie="⨻",Bie="⏢",Wie="𝒯",jie="𝓉",qie="Ц",Uie="ц",Vie="Ћ",Gie="ћ",Xie="Ŧ",Kie="ŧ",Jie="≬",Yie="↞",Zie="↠",Qie="Ú",eoe="ú",toe="↑",noe="↟",roe="⇑",ioe="⥉",ooe="Ў",soe="ў",loe="Ŭ",aoe="ŭ",coe="Û",uoe="û",foe="У",doe="у",hoe="⇅",poe="Ű",goe="ű",moe="⥮",voe="⥾",yoe="𝔘",boe="𝔲",woe="Ù",xoe="ù",Soe="⥣",_oe="↿",koe="↾",Toe="▀",Coe="⌜",Eoe="⌜",Aoe="⌏",Loe="◸",$oe="Ū",Moe="ū",Noe="¨",Ioe="_",Poe="⏟",Ooe="⎵",Roe="⏝",zoe="⋃",Doe="⊎",Foe="Ų",Hoe="ų",Boe="𝕌",Woe="𝕦",joe="⤒",qoe="↑",Uoe="↑",Voe="⇑",Goe="⇅",Xoe="↕",Koe="↕",Joe="⇕",Yoe="⥮",Zoe="↿",Qoe="↾",ese="⊎",tse="↖",nse="↗",rse="υ",ise="ϒ",ose="ϒ",sse="Υ",lse="υ",ase="↥",cse="⊥",use="⇈",fse="⌝",dse="⌝",hse="⌎",pse="Ů",gse="ů",mse="◹",vse="𝒰",yse="𝓊",bse="⋰",wse="Ũ",xse="ũ",Sse="▵",_se="▴",kse="⇈",Tse="Ü",Cse="ü",Ese="⦧",Ase="⦜",Lse="ϵ",$se="ϰ",Mse="∅",Nse="ϕ",Ise="ϖ",Pse="∝",Ose="↕",Rse="⇕",zse="ϱ",Dse="ς",Fse="⊊︀",Hse="⫋︀",Bse="⊋︀",Wse="⫌︀",jse="ϑ",qse="⊲",Use="⊳",Vse="⫨",Gse="⫫",Xse="⫩",Kse="В",Jse="в",Yse="⊢",Zse="⊨",Qse="⊩",ele="⊫",tle="⫦",nle="⊻",rle="∨",ile="⋁",ole="≚",sle="⋮",lle="|",ale="‖",cle="|",ule="‖",fle="∣",dle="|",hle="❘",ple="≀",gle=" ",mle="𝔙",vle="𝔳",yle="⊲",ble="⊂⃒",wle="⊃⃒",xle="𝕍",Sle="𝕧",_le="∝",kle="⊳",Tle="𝒱",Cle="𝓋",Ele="⫋︀",Ale="⊊︀",Lle="⫌︀",$le="⊋︀",Mle="⊪",Nle="⦚",Ile="Ŵ",Ple="ŵ",Ole="⩟",Rle="∧",zle="⋀",Dle="≙",Fle="℘",Hle="𝔚",Ble="𝔴",Wle="𝕎",jle="𝕨",qle="℘",Ule="≀",Vle="≀",Gle="𝒲",Xle="𝓌",Kle="⋂",Jle="◯",Yle="⋃",Zle="▽",Qle="𝔛",eae="𝔵",tae="⟷",nae="⟺",rae="Ξ",iae="ξ",oae="⟵",sae="⟸",lae="⟼",aae="⋻",cae="⨀",uae="𝕏",fae="𝕩",dae="⨁",hae="⨂",pae="⟶",gae="⟹",mae="𝒳",vae="𝓍",yae="⨆",bae="⨄",wae="△",xae="⋁",Sae="⋀",_ae="Ý",kae="ý",Tae="Я",Cae="я",Eae="Ŷ",Aae="ŷ",Lae="Ы",$ae="ы",Mae="¥",Nae="𝔜",Iae="𝔶",Pae="Ї",Oae="ї",Rae="𝕐",zae="𝕪",Dae="𝒴",Fae="𝓎",Hae="Ю",Bae="ю",Wae="ÿ",jae="Ÿ",qae="Ź",Uae="ź",Vae="Ž",Gae="ž",Xae="З",Kae="з",Jae="Ż",Yae="ż",Zae="ℨ",Qae="",ece="Ζ",tce="ζ",nce="𝔷",rce="ℨ",ice="Ж",oce="ж",sce="⇝",lce="𝕫",ace="ℤ",cce="𝒵",uce="𝓏",fce="",dce="",Zx={Aacute:JM,aacute:YM,Abreve:ZM,abreve:QM,ac:eN,acd:tN,acE:nN,Acirc:rN,acirc:iN,acute:oN,Acy:sN,acy:lN,AElig:aN,aelig:cN,af:uN,Afr:fN,afr:dN,Agrave:hN,agrave:pN,alefsym:gN,aleph:mN,Alpha:vN,alpha:yN,Amacr:bN,amacr:wN,amalg:xN,amp:SN,AMP:_N,andand:kN,And:TN,and:CN,andd:EN,andslope:AN,andv:LN,ang:$N,ange:MN,angle:NN,angmsdaa:IN,angmsdab:PN,angmsdac:ON,angmsdad:RN,angmsdae:zN,angmsdaf:DN,angmsdag:FN,angmsdah:HN,angmsd:BN,angrt:WN,angrtvb:jN,angrtvbd:qN,angsph:UN,angst:VN,angzarr:GN,Aogon:XN,aogon:KN,Aopf:JN,aopf:YN,apacir:ZN,ap:QN,apE:e2,ape:t2,apid:n2,apos:r2,ApplyFunction:i2,approx:o2,approxeq:s2,Aring:l2,aring:a2,Ascr:c2,ascr:u2,Assign:f2,ast:d2,asymp:h2,asympeq:p2,Atilde:g2,atilde:m2,Auml:v2,auml:y2,awconint:b2,awint:w2,backcong:x2,backepsilon:S2,backprime:_2,backsim:k2,backsimeq:T2,Backslash:C2,Barv:E2,barvee:A2,barwed:L2,Barwed:$2,barwedge:M2,bbrk:N2,bbrktbrk:I2,bcong:P2,Bcy:O2,bcy:R2,bdquo:z2,becaus:D2,because:F2,Because:H2,bemptyv:B2,bepsi:W2,bernou:j2,Bernoullis:q2,Beta:U2,beta:V2,beth:G2,between:X2,Bfr:K2,bfr:J2,bigcap:Y2,bigcirc:Z2,bigcup:Q2,bigodot:eI,bigoplus:tI,bigotimes:nI,bigsqcup:rI,bigstar:iI,bigtriangledown:oI,bigtriangleup:sI,biguplus:lI,bigvee:aI,bigwedge:cI,bkarow:uI,blacklozenge:fI,blacksquare:dI,blacktriangle:hI,blacktriangledown:pI,blacktriangleleft:gI,blacktriangleright:mI,blank:vI,blk12:yI,blk14:bI,blk34:wI,block:xI,bne:SI,bnequiv:_I,bNot:kI,bnot:TI,Bopf:CI,bopf:EI,bot:AI,bottom:LI,bowtie:$I,boxbox:MI,boxdl:NI,boxdL:II,boxDl:PI,boxDL:OI,boxdr:RI,boxdR:zI,boxDr:DI,boxDR:FI,boxh:HI,boxH:BI,boxhd:WI,boxHd:jI,boxhD:qI,boxHD:UI,boxhu:VI,boxHu:GI,boxhU:XI,boxHU:KI,boxminus:JI,boxplus:YI,boxtimes:ZI,boxul:QI,boxuL:eP,boxUl:tP,boxUL:nP,boxur:rP,boxuR:iP,boxUr:oP,boxUR:sP,boxv:lP,boxV:aP,boxvh:cP,boxvH:uP,boxVh:fP,boxVH:dP,boxvl:hP,boxvL:pP,boxVl:gP,boxVL:mP,boxvr:vP,boxvR:yP,boxVr:bP,boxVR:wP,bprime:xP,breve:SP,Breve:_P,brvbar:kP,bscr:TP,Bscr:CP,bsemi:EP,bsim:AP,bsime:LP,bsolb:$P,bsol:MP,bsolhsub:NP,bull:IP,bullet:PP,bump:OP,bumpE:RP,bumpe:zP,Bumpeq:DP,bumpeq:FP,Cacute:HP,cacute:BP,capand:WP,capbrcup:jP,capcap:qP,cap:UP,Cap:VP,capcup:GP,capdot:XP,CapitalDifferentialD:KP,caps:JP,caret:YP,caron:ZP,Cayleys:QP,ccaps:eO,Ccaron:tO,ccaron:nO,Ccedil:rO,ccedil:iO,Ccirc:oO,ccirc:sO,Cconint:lO,ccups:aO,ccupssm:cO,Cdot:uO,cdot:fO,cedil:dO,Cedilla:hO,cemptyv:pO,cent:gO,centerdot:mO,CenterDot:vO,cfr:yO,Cfr:bO,CHcy:wO,chcy:xO,check:SO,checkmark:_O,Chi:kO,chi:TO,circ:CO,circeq:EO,circlearrowleft:AO,circlearrowright:LO,circledast:$O,circledcirc:MO,circleddash:NO,CircleDot:IO,circledR:PO,circledS:OO,CircleMinus:RO,CirclePlus:zO,CircleTimes:DO,cir:FO,cirE:HO,cire:BO,cirfnint:WO,cirmid:jO,cirscir:qO,ClockwiseContourIntegral:UO,CloseCurlyDoubleQuote:VO,CloseCurlyQuote:GO,clubs:XO,clubsuit:KO,colon:JO,Colon:YO,Colone:ZO,colone:QO,coloneq:eR,comma:tR,commat:nR,comp:rR,compfn:iR,complement:oR,complexes:sR,cong:lR,congdot:aR,Congruent:cR,conint:uR,Conint:fR,ContourIntegral:dR,copf:hR,Copf:pR,coprod:gR,Coproduct:mR,copy:vR,COPY:yR,copysr:bR,CounterClockwiseContourIntegral:wR,crarr:xR,cross:SR,Cross:_R,Cscr:kR,cscr:TR,csub:CR,csube:ER,csup:AR,csupe:LR,ctdot:$R,cudarrl:MR,cudarrr:NR,cuepr:IR,cuesc:PR,cularr:OR,cularrp:RR,cupbrcap:zR,cupcap:DR,CupCap:FR,cup:HR,Cup:BR,cupcup:WR,cupdot:jR,cupor:qR,cups:UR,curarr:VR,curarrm:GR,curlyeqprec:XR,curlyeqsucc:KR,curlyvee:JR,curlywedge:YR,curren:ZR,curvearrowleft:QR,curvearrowright:ez,cuvee:tz,cuwed:nz,cwconint:rz,cwint:iz,cylcty:oz,dagger:sz,Dagger:lz,daleth:az,darr:cz,Darr:uz,dArr:fz,dash:dz,Dashv:hz,dashv:pz,dbkarow:gz,dblac:mz,Dcaron:vz,dcaron:yz,Dcy:bz,dcy:wz,ddagger:xz,ddarr:Sz,DD:_z,dd:kz,DDotrahd:Tz,ddotseq:Cz,deg:Ez,Del:Az,Delta:Lz,delta:$z,demptyv:Mz,dfisht:Nz,Dfr:Iz,dfr:Pz,dHar:Oz,dharl:Rz,dharr:zz,DiacriticalAcute:Dz,DiacriticalDot:Fz,DiacriticalDoubleAcute:Hz,DiacriticalGrave:Bz,DiacriticalTilde:Wz,diam:jz,diamond:qz,Diamond:Uz,diamondsuit:Vz,diams:Gz,die:Xz,DifferentialD:Kz,digamma:Jz,disin:Yz,div:Zz,divide:Qz,divideontimes:eD,divonx:tD,DJcy:nD,djcy:rD,dlcorn:iD,dlcrop:oD,dollar:sD,Dopf:lD,dopf:aD,Dot:cD,dot:uD,DotDot:fD,doteq:dD,doteqdot:hD,DotEqual:pD,dotminus:gD,dotplus:mD,dotsquare:vD,doublebarwedge:yD,DoubleContourIntegral:bD,DoubleDot:wD,DoubleDownArrow:xD,DoubleLeftArrow:SD,DoubleLeftRightArrow:_D,DoubleLeftTee:kD,DoubleLongLeftArrow:TD,DoubleLongLeftRightArrow:CD,DoubleLongRightArrow:ED,DoubleRightArrow:AD,DoubleRightTee:LD,DoubleUpArrow:$D,DoubleUpDownArrow:MD,DoubleVerticalBar:ND,DownArrowBar:ID,downarrow:PD,DownArrow:OD,Downarrow:RD,DownArrowUpArrow:zD,DownBreve:DD,downdownarrows:FD,downharpoonleft:HD,downharpoonright:BD,DownLeftRightVector:WD,DownLeftTeeVector:jD,DownLeftVectorBar:qD,DownLeftVector:UD,DownRightTeeVector:VD,DownRightVectorBar:GD,DownRightVector:XD,DownTeeArrow:KD,DownTee:JD,drbkarow:YD,drcorn:ZD,drcrop:QD,Dscr:eF,dscr:tF,DScy:nF,dscy:rF,dsol:iF,Dstrok:oF,dstrok:sF,dtdot:lF,dtri:aF,dtrif:cF,duarr:uF,duhar:fF,dwangle:dF,DZcy:hF,dzcy:pF,dzigrarr:gF,Eacute:mF,eacute:vF,easter:yF,Ecaron:bF,ecaron:wF,Ecirc:xF,ecirc:SF,ecir:_F,ecolon:kF,Ecy:TF,ecy:CF,eDDot:EF,Edot:AF,edot:LF,eDot:$F,ee:MF,efDot:NF,Efr:IF,efr:PF,eg:OF,Egrave:RF,egrave:zF,egs:DF,egsdot:FF,el:HF,Element:BF,elinters:WF,ell:jF,els:qF,elsdot:UF,Emacr:VF,emacr:GF,empty:XF,emptyset:KF,EmptySmallSquare:JF,emptyv:YF,EmptyVerySmallSquare:ZF,emsp13:QF,emsp14:e3,emsp:t3,ENG:n3,eng:r3,ensp:i3,Eogon:o3,eogon:s3,Eopf:l3,eopf:a3,epar:c3,eparsl:u3,eplus:f3,epsi:d3,Epsilon:h3,epsilon:p3,epsiv:g3,eqcirc:m3,eqcolon:v3,eqsim:y3,eqslantgtr:b3,eqslantless:w3,Equal:x3,equals:S3,EqualTilde:_3,equest:k3,Equilibrium:T3,equiv:C3,equivDD:E3,eqvparsl:A3,erarr:L3,erDot:$3,escr:M3,Escr:N3,esdot:I3,Esim:P3,esim:O3,Eta:R3,eta:z3,ETH:D3,eth:F3,Euml:H3,euml:B3,euro:W3,excl:j3,exist:q3,Exists:U3,expectation:V3,exponentiale:G3,ExponentialE:X3,fallingdotseq:K3,Fcy:J3,fcy:Y3,female:Z3,ffilig:Q3,fflig:eH,ffllig:tH,Ffr:nH,ffr:rH,filig:iH,FilledSmallSquare:oH,FilledVerySmallSquare:sH,fjlig:lH,flat:aH,fllig:cH,fltns:uH,fnof:fH,Fopf:dH,fopf:hH,forall:pH,ForAll:gH,fork:mH,forkv:vH,Fouriertrf:yH,fpartint:bH,frac12:wH,frac13:xH,frac14:SH,frac15:_H,frac16:kH,frac18:TH,frac23:CH,frac25:EH,frac34:AH,frac35:LH,frac38:$H,frac45:MH,frac56:NH,frac58:IH,frac78:PH,frasl:OH,frown:RH,fscr:zH,Fscr:DH,gacute:FH,Gamma:HH,gamma:BH,Gammad:WH,gammad:jH,gap:qH,Gbreve:UH,gbreve:VH,Gcedil:GH,Gcirc:XH,gcirc:KH,Gcy:JH,gcy:YH,Gdot:ZH,gdot:QH,ge:eB,gE:tB,gEl:nB,gel:rB,geq:iB,geqq:oB,geqslant:sB,gescc:lB,ges:aB,gesdot:cB,gesdoto:uB,gesdotol:fB,gesl:dB,gesles:hB,Gfr:pB,gfr:gB,gg:mB,Gg:vB,ggg:yB,gimel:bB,GJcy:wB,gjcy:xB,gla:SB,gl:_B,glE:kB,glj:TB,gnap:CB,gnapprox:EB,gne:AB,gnE:LB,gneq:$B,gneqq:MB,gnsim:NB,Gopf:IB,gopf:PB,grave:OB,GreaterEqual:RB,GreaterEqualLess:zB,GreaterFullEqual:DB,GreaterGreater:FB,GreaterLess:HB,GreaterSlantEqual:BB,GreaterTilde:WB,Gscr:jB,gscr:qB,gsim:UB,gsime:VB,gsiml:GB,gtcc:XB,gtcir:KB,gt:JB,GT:YB,Gt:ZB,gtdot:QB,gtlPar:e5,gtquest:t5,gtrapprox:n5,gtrarr:r5,gtrdot:i5,gtreqless:o5,gtreqqless:s5,gtrless:l5,gtrsim:a5,gvertneqq:c5,gvnE:u5,Hacek:f5,hairsp:d5,half:h5,hamilt:p5,HARDcy:g5,hardcy:m5,harrcir:v5,harr:y5,hArr:b5,harrw:w5,Hat:x5,hbar:S5,Hcirc:_5,hcirc:k5,hearts:T5,heartsuit:C5,hellip:E5,hercon:A5,hfr:L5,Hfr:$5,HilbertSpace:M5,hksearow:N5,hkswarow:I5,hoarr:P5,homtht:O5,hookleftarrow:R5,hookrightarrow:z5,hopf:D5,Hopf:F5,horbar:H5,HorizontalLine:B5,hscr:W5,Hscr:j5,hslash:q5,Hstrok:U5,hstrok:V5,HumpDownHump:G5,HumpEqual:X5,hybull:K5,hyphen:J5,Iacute:Y5,iacute:Z5,ic:Q5,Icirc:e4,icirc:t4,Icy:n4,icy:r4,Idot:i4,IEcy:o4,iecy:s4,iexcl:l4,iff:a4,ifr:c4,Ifr:u4,Igrave:f4,igrave:d4,ii:h4,iiiint:p4,iiint:g4,iinfin:m4,iiota:v4,IJlig:y4,ijlig:b4,Imacr:w4,imacr:x4,image:S4,ImaginaryI:_4,imagline:k4,imagpart:T4,imath:C4,Im:E4,imof:A4,imped:L4,Implies:$4,incare:M4,in:"∈",infin:N4,infintie:I4,inodot:P4,intcal:O4,int:R4,Int:z4,integers:D4,Integral:F4,intercal:H4,Intersection:B4,intlarhk:W4,intprod:j4,InvisibleComma:q4,InvisibleTimes:U4,IOcy:V4,iocy:G4,Iogon:X4,iogon:K4,Iopf:J4,iopf:Y4,Iota:Z4,iota:Q4,iprod:e8,iquest:t8,iscr:n8,Iscr:r8,isin:i8,isindot:o8,isinE:s8,isins:l8,isinsv:a8,isinv:c8,it:u8,Itilde:f8,itilde:d8,Iukcy:h8,iukcy:p8,Iuml:g8,iuml:m8,Jcirc:v8,jcirc:y8,Jcy:b8,jcy:w8,Jfr:x8,jfr:S8,jmath:_8,Jopf:k8,jopf:T8,Jscr:C8,jscr:E8,Jsercy:A8,jsercy:L8,Jukcy:$8,jukcy:M8,Kappa:N8,kappa:I8,kappav:P8,Kcedil:O8,kcedil:R8,Kcy:z8,kcy:D8,Kfr:F8,kfr:H8,kgreen:B8,KHcy:W8,khcy:j8,KJcy:q8,kjcy:U8,Kopf:V8,kopf:G8,Kscr:X8,kscr:K8,lAarr:J8,Lacute:Y8,lacute:Z8,laemptyv:Q8,lagran:eW,Lambda:tW,lambda:nW,lang:rW,Lang:iW,langd:oW,langle:sW,lap:lW,Laplacetrf:aW,laquo:cW,larrb:uW,larrbfs:fW,larr:dW,Larr:hW,lArr:pW,larrfs:gW,larrhk:mW,larrlp:vW,larrpl:yW,larrsim:bW,larrtl:wW,latail:xW,lAtail:SW,lat:_W,late:kW,lates:TW,lbarr:CW,lBarr:EW,lbbrk:AW,lbrace:LW,lbrack:$W,lbrke:MW,lbrksld:NW,lbrkslu:IW,Lcaron:PW,lcaron:OW,Lcedil:RW,lcedil:zW,lceil:DW,lcub:FW,Lcy:HW,lcy:BW,ldca:WW,ldquo:jW,ldquor:qW,ldrdhar:UW,ldrushar:VW,ldsh:GW,le:XW,lE:KW,LeftAngleBracket:JW,LeftArrowBar:YW,leftarrow:ZW,LeftArrow:QW,Leftarrow:ej,LeftArrowRightArrow:tj,leftarrowtail:nj,LeftCeiling:rj,LeftDoubleBracket:ij,LeftDownTeeVector:oj,LeftDownVectorBar:sj,LeftDownVector:lj,LeftFloor:aj,leftharpoondown:cj,leftharpoonup:uj,leftleftarrows:fj,leftrightarrow:dj,LeftRightArrow:hj,Leftrightarrow:pj,leftrightarrows:gj,leftrightharpoons:mj,leftrightsquigarrow:vj,LeftRightVector:yj,LeftTeeArrow:bj,LeftTee:wj,LeftTeeVector:xj,leftthreetimes:Sj,LeftTriangleBar:_j,LeftTriangle:kj,LeftTriangleEqual:Tj,LeftUpDownVector:Cj,LeftUpTeeVector:Ej,LeftUpVectorBar:Aj,LeftUpVector:Lj,LeftVectorBar:$j,LeftVector:Mj,lEg:Nj,leg:Ij,leq:Pj,leqq:Oj,leqslant:Rj,lescc:zj,les:Dj,lesdot:Fj,lesdoto:Hj,lesdotor:Bj,lesg:Wj,lesges:jj,lessapprox:qj,lessdot:Uj,lesseqgtr:Vj,lesseqqgtr:Gj,LessEqualGreater:Xj,LessFullEqual:Kj,LessGreater:Jj,lessgtr:Yj,LessLess:Zj,lesssim:Qj,LessSlantEqual:eq,LessTilde:tq,lfisht:nq,lfloor:rq,Lfr:iq,lfr:oq,lg:sq,lgE:lq,lHar:aq,lhard:cq,lharu:uq,lharul:fq,lhblk:dq,LJcy:hq,ljcy:pq,llarr:gq,ll:mq,Ll:vq,llcorner:yq,Lleftarrow:bq,llhard:wq,lltri:xq,Lmidot:Sq,lmidot:_q,lmoustache:kq,lmoust:Tq,lnap:Cq,lnapprox:Eq,lne:Aq,lnE:Lq,lneq:$q,lneqq:Mq,lnsim:Nq,loang:Iq,loarr:Pq,lobrk:Oq,longleftarrow:Rq,LongLeftArrow:zq,Longleftarrow:Dq,longleftrightarrow:Fq,LongLeftRightArrow:Hq,Longleftrightarrow:Bq,longmapsto:Wq,longrightarrow:jq,LongRightArrow:qq,Longrightarrow:Uq,looparrowleft:Vq,looparrowright:Gq,lopar:Xq,Lopf:Kq,lopf:Jq,loplus:Yq,lotimes:Zq,lowast:Qq,lowbar:e6,LowerLeftArrow:t6,LowerRightArrow:n6,loz:r6,lozenge:i6,lozf:o6,lpar:s6,lparlt:l6,lrarr:a6,lrcorner:c6,lrhar:u6,lrhard:f6,lrm:d6,lrtri:h6,lsaquo:p6,lscr:g6,Lscr:m6,lsh:v6,Lsh:y6,lsim:b6,lsime:w6,lsimg:x6,lsqb:S6,lsquo:_6,lsquor:k6,Lstrok:T6,lstrok:C6,ltcc:E6,ltcir:A6,lt:L6,LT:$6,Lt:M6,ltdot:N6,lthree:I6,ltimes:P6,ltlarr:O6,ltquest:R6,ltri:z6,ltrie:D6,ltrif:F6,ltrPar:H6,lurdshar:B6,luruhar:W6,lvertneqq:j6,lvnE:q6,macr:U6,male:V6,malt:G6,maltese:X6,Map:"⤅",map:K6,mapsto:J6,mapstodown:Y6,mapstoleft:Z6,mapstoup:Q6,marker:eU,mcomma:tU,Mcy:nU,mcy:rU,mdash:iU,mDDot:oU,measuredangle:sU,MediumSpace:lU,Mellintrf:aU,Mfr:cU,mfr:uU,mho:fU,micro:dU,midast:hU,midcir:pU,mid:gU,middot:mU,minusb:vU,minus:yU,minusd:bU,minusdu:wU,MinusPlus:xU,mlcp:SU,mldr:_U,mnplus:kU,models:TU,Mopf:CU,mopf:EU,mp:AU,mscr:LU,Mscr:$U,mstpos:MU,Mu:NU,mu:IU,multimap:PU,mumap:OU,nabla:RU,Nacute:zU,nacute:DU,nang:FU,nap:HU,napE:BU,napid:WU,napos:jU,napprox:qU,natural:UU,naturals:VU,natur:GU,nbsp:XU,nbump:KU,nbumpe:JU,ncap:YU,Ncaron:ZU,ncaron:QU,Ncedil:e9,ncedil:t9,ncong:n9,ncongdot:r9,ncup:i9,Ncy:o9,ncy:s9,ndash:l9,nearhk:a9,nearr:c9,neArr:u9,nearrow:f9,ne:d9,nedot:h9,NegativeMediumSpace:p9,NegativeThickSpace:g9,NegativeThinSpace:m9,NegativeVeryThinSpace:v9,nequiv:y9,nesear:b9,nesim:w9,NestedGreaterGreater:x9,NestedLessLess:S9,NewLine:_9,nexist:k9,nexists:T9,Nfr:C9,nfr:E9,ngE:A9,nge:L9,ngeq:$9,ngeqq:M9,ngeqslant:N9,nges:I9,nGg:P9,ngsim:O9,nGt:R9,ngt:z9,ngtr:D9,nGtv:F9,nharr:H9,nhArr:B9,nhpar:W9,ni:j9,nis:q9,nisd:U9,niv:V9,NJcy:G9,njcy:X9,nlarr:K9,nlArr:J9,nldr:Y9,nlE:Z9,nle:Q9,nleftarrow:eV,nLeftarrow:tV,nleftrightarrow:nV,nLeftrightarrow:rV,nleq:iV,nleqq:oV,nleqslant:sV,nles:lV,nless:aV,nLl:cV,nlsim:uV,nLt:fV,nlt:dV,nltri:hV,nltrie:pV,nLtv:gV,nmid:mV,NoBreak:vV,NonBreakingSpace:yV,nopf:bV,Nopf:wV,Not:xV,not:SV,NotCongruent:_V,NotCupCap:kV,NotDoubleVerticalBar:TV,NotElement:CV,NotEqual:EV,NotEqualTilde:AV,NotExists:LV,NotGreater:$V,NotGreaterEqual:MV,NotGreaterFullEqual:NV,NotGreaterGreater:IV,NotGreaterLess:PV,NotGreaterSlantEqual:OV,NotGreaterTilde:RV,NotHumpDownHump:zV,NotHumpEqual:DV,notin:FV,notindot:HV,notinE:BV,notinva:WV,notinvb:jV,notinvc:qV,NotLeftTriangleBar:UV,NotLeftTriangle:VV,NotLeftTriangleEqual:GV,NotLess:XV,NotLessEqual:KV,NotLessGreater:JV,NotLessLess:YV,NotLessSlantEqual:ZV,NotLessTilde:QV,NotNestedGreaterGreater:eG,NotNestedLessLess:tG,notni:nG,notniva:rG,notnivb:iG,notnivc:oG,NotPrecedes:sG,NotPrecedesEqual:lG,NotPrecedesSlantEqual:aG,NotReverseElement:cG,NotRightTriangleBar:uG,NotRightTriangle:fG,NotRightTriangleEqual:dG,NotSquareSubset:hG,NotSquareSubsetEqual:pG,NotSquareSuperset:gG,NotSquareSupersetEqual:mG,NotSubset:vG,NotSubsetEqual:yG,NotSucceeds:bG,NotSucceedsEqual:wG,NotSucceedsSlantEqual:xG,NotSucceedsTilde:SG,NotSuperset:_G,NotSupersetEqual:kG,NotTilde:TG,NotTildeEqual:CG,NotTildeFullEqual:EG,NotTildeTilde:AG,NotVerticalBar:LG,nparallel:$G,npar:MG,nparsl:NG,npart:IG,npolint:PG,npr:OG,nprcue:RG,nprec:zG,npreceq:DG,npre:FG,nrarrc:HG,nrarr:BG,nrArr:WG,nrarrw:jG,nrightarrow:qG,nRightarrow:UG,nrtri:VG,nrtrie:GG,nsc:XG,nsccue:KG,nsce:JG,Nscr:YG,nscr:ZG,nshortmid:QG,nshortparallel:e7,nsim:t7,nsime:n7,nsimeq:r7,nsmid:i7,nspar:o7,nsqsube:s7,nsqsupe:l7,nsub:a7,nsubE:c7,nsube:u7,nsubset:f7,nsubseteq:d7,nsubseteqq:h7,nsucc:p7,nsucceq:g7,nsup:m7,nsupE:v7,nsupe:y7,nsupset:b7,nsupseteq:w7,nsupseteqq:x7,ntgl:S7,Ntilde:_7,ntilde:k7,ntlg:T7,ntriangleleft:C7,ntrianglelefteq:E7,ntriangleright:A7,ntrianglerighteq:L7,Nu:$7,nu:M7,num:N7,numero:I7,numsp:P7,nvap:O7,nvdash:R7,nvDash:z7,nVdash:D7,nVDash:F7,nvge:H7,nvgt:B7,nvHarr:W7,nvinfin:j7,nvlArr:q7,nvle:U7,nvlt:V7,nvltrie:G7,nvrArr:X7,nvrtrie:K7,nvsim:J7,nwarhk:Y7,nwarr:Z7,nwArr:Q7,nwarrow:eX,nwnear:tX,Oacute:nX,oacute:rX,oast:iX,Ocirc:oX,ocirc:sX,ocir:lX,Ocy:aX,ocy:cX,odash:uX,Odblac:fX,odblac:dX,odiv:hX,odot:pX,odsold:gX,OElig:mX,oelig:vX,ofcir:yX,Ofr:bX,ofr:wX,ogon:xX,Ograve:SX,ograve:_X,ogt:kX,ohbar:TX,ohm:CX,oint:EX,olarr:AX,olcir:LX,olcross:$X,oline:MX,olt:NX,Omacr:IX,omacr:PX,Omega:OX,omega:RX,Omicron:zX,omicron:DX,omid:FX,ominus:HX,Oopf:BX,oopf:WX,opar:jX,OpenCurlyDoubleQuote:qX,OpenCurlyQuote:UX,operp:VX,oplus:GX,orarr:XX,Or:KX,or:JX,ord:YX,order:ZX,orderof:QX,ordf:eK,ordm:tK,origof:nK,oror:rK,orslope:iK,orv:oK,oS:sK,Oscr:lK,oscr:aK,Oslash:cK,oslash:uK,osol:fK,Otilde:dK,otilde:hK,otimesas:pK,Otimes:gK,otimes:mK,Ouml:vK,ouml:yK,ovbar:bK,OverBar:wK,OverBrace:xK,OverBracket:SK,OverParenthesis:_K,para:kK,parallel:TK,par:CK,parsim:EK,parsl:AK,part:LK,PartialD:$K,Pcy:MK,pcy:NK,percnt:IK,period:PK,permil:OK,perp:RK,pertenk:zK,Pfr:DK,pfr:FK,Phi:HK,phi:BK,phiv:WK,phmmat:jK,phone:qK,Pi:UK,pi:VK,pitchfork:GK,piv:XK,planck:KK,planckh:JK,plankv:YK,plusacir:ZK,plusb:QK,pluscir:eJ,plus:tJ,plusdo:nJ,plusdu:rJ,pluse:iJ,PlusMinus:oJ,plusmn:sJ,plussim:lJ,plustwo:aJ,pm:cJ,Poincareplane:uJ,pointint:fJ,popf:dJ,Popf:hJ,pound:pJ,prap:gJ,Pr:mJ,pr:vJ,prcue:yJ,precapprox:bJ,prec:wJ,preccurlyeq:xJ,Precedes:SJ,PrecedesEqual:_J,PrecedesSlantEqual:kJ,PrecedesTilde:TJ,preceq:CJ,precnapprox:EJ,precneqq:AJ,precnsim:LJ,pre:$J,prE:MJ,precsim:NJ,prime:IJ,Prime:PJ,primes:OJ,prnap:RJ,prnE:zJ,prnsim:DJ,prod:FJ,Product:HJ,profalar:BJ,profline:WJ,profsurf:jJ,prop:qJ,Proportional:UJ,Proportion:VJ,propto:GJ,prsim:XJ,prurel:KJ,Pscr:JJ,pscr:YJ,Psi:ZJ,psi:QJ,puncsp:eY,Qfr:tY,qfr:nY,qint:rY,qopf:iY,Qopf:oY,qprime:sY,Qscr:lY,qscr:aY,quaternions:cY,quatint:uY,quest:fY,questeq:dY,quot:hY,QUOT:pY,rAarr:gY,race:mY,Racute:vY,racute:yY,radic:bY,raemptyv:wY,rang:xY,Rang:SY,rangd:_Y,range:kY,rangle:TY,raquo:CY,rarrap:EY,rarrb:AY,rarrbfs:LY,rarrc:$Y,rarr:MY,Rarr:NY,rArr:IY,rarrfs:PY,rarrhk:OY,rarrlp:RY,rarrpl:zY,rarrsim:DY,Rarrtl:FY,rarrtl:HY,rarrw:BY,ratail:WY,rAtail:jY,ratio:qY,rationals:UY,rbarr:VY,rBarr:GY,RBarr:XY,rbbrk:KY,rbrace:JY,rbrack:YY,rbrke:ZY,rbrksld:QY,rbrkslu:eZ,Rcaron:tZ,rcaron:nZ,Rcedil:rZ,rcedil:iZ,rceil:oZ,rcub:sZ,Rcy:lZ,rcy:aZ,rdca:cZ,rdldhar:uZ,rdquo:fZ,rdquor:dZ,rdsh:hZ,real:pZ,realine:gZ,realpart:mZ,reals:vZ,Re:yZ,rect:bZ,reg:wZ,REG:xZ,ReverseElement:SZ,ReverseEquilibrium:_Z,ReverseUpEquilibrium:kZ,rfisht:TZ,rfloor:CZ,rfr:EZ,Rfr:AZ,rHar:LZ,rhard:$Z,rharu:MZ,rharul:NZ,Rho:IZ,rho:PZ,rhov:OZ,RightAngleBracket:RZ,RightArrowBar:zZ,rightarrow:DZ,RightArrow:FZ,Rightarrow:HZ,RightArrowLeftArrow:BZ,rightarrowtail:WZ,RightCeiling:jZ,RightDoubleBracket:qZ,RightDownTeeVector:UZ,RightDownVectorBar:VZ,RightDownVector:GZ,RightFloor:XZ,rightharpoondown:KZ,rightharpoonup:JZ,rightleftarrows:YZ,rightleftharpoons:ZZ,rightrightarrows:QZ,rightsquigarrow:eQ,RightTeeArrow:tQ,RightTee:nQ,RightTeeVector:rQ,rightthreetimes:iQ,RightTriangleBar:oQ,RightTriangle:sQ,RightTriangleEqual:lQ,RightUpDownVector:aQ,RightUpTeeVector:cQ,RightUpVectorBar:uQ,RightUpVector:fQ,RightVectorBar:dQ,RightVector:hQ,ring:pQ,risingdotseq:gQ,rlarr:mQ,rlhar:vQ,rlm:yQ,rmoustache:bQ,rmoust:wQ,rnmid:xQ,roang:SQ,roarr:_Q,robrk:kQ,ropar:TQ,ropf:CQ,Ropf:EQ,roplus:AQ,rotimes:LQ,RoundImplies:$Q,rpar:MQ,rpargt:NQ,rppolint:IQ,rrarr:PQ,Rrightarrow:OQ,rsaquo:RQ,rscr:zQ,Rscr:DQ,rsh:FQ,Rsh:HQ,rsqb:BQ,rsquo:WQ,rsquor:jQ,rthree:qQ,rtimes:UQ,rtri:VQ,rtrie:GQ,rtrif:XQ,rtriltri:KQ,RuleDelayed:JQ,ruluhar:YQ,rx:ZQ,Sacute:QQ,sacute:eee,sbquo:tee,scap:nee,Scaron:ree,scaron:iee,Sc:oee,sc:see,sccue:lee,sce:aee,scE:cee,Scedil:uee,scedil:fee,Scirc:dee,scirc:hee,scnap:pee,scnE:gee,scnsim:mee,scpolint:vee,scsim:yee,Scy:bee,scy:wee,sdotb:xee,sdot:See,sdote:_ee,searhk:kee,searr:Tee,seArr:Cee,searrow:Eee,sect:Aee,semi:Lee,seswar:$ee,setminus:Mee,setmn:Nee,sext:Iee,Sfr:Pee,sfr:Oee,sfrown:Ree,sharp:zee,SHCHcy:Dee,shchcy:Fee,SHcy:Hee,shcy:Bee,ShortDownArrow:Wee,ShortLeftArrow:jee,shortmid:qee,shortparallel:Uee,ShortRightArrow:Vee,ShortUpArrow:Gee,shy:Xee,Sigma:Kee,sigma:Jee,sigmaf:Yee,sigmav:Zee,sim:Qee,simdot:ete,sime:tte,simeq:nte,simg:rte,simgE:ite,siml:ote,simlE:ste,simne:lte,simplus:ate,simrarr:cte,slarr:ute,SmallCircle:fte,smallsetminus:dte,smashp:hte,smeparsl:pte,smid:gte,smile:mte,smt:vte,smte:yte,smtes:bte,SOFTcy:wte,softcy:xte,solbar:Ste,solb:_te,sol:kte,Sopf:Tte,sopf:Cte,spades:Ete,spadesuit:Ate,spar:Lte,sqcap:$te,sqcaps:Mte,sqcup:Nte,sqcups:Ite,Sqrt:Pte,sqsub:Ote,sqsube:Rte,sqsubset:zte,sqsubseteq:Dte,sqsup:Fte,sqsupe:Hte,sqsupset:Bte,sqsupseteq:Wte,square:jte,Square:qte,SquareIntersection:Ute,SquareSubset:Vte,SquareSubsetEqual:Gte,SquareSuperset:Xte,SquareSupersetEqual:Kte,SquareUnion:Jte,squarf:Yte,squ:Zte,squf:Qte,srarr:ene,Sscr:tne,sscr:nne,ssetmn:rne,ssmile:ine,sstarf:one,Star:sne,star:lne,starf:ane,straightepsilon:cne,straightphi:une,strns:fne,sub:dne,Sub:hne,subdot:pne,subE:gne,sube:mne,subedot:vne,submult:yne,subnE:bne,subne:wne,subplus:xne,subrarr:Sne,subset:_ne,Subset:kne,subseteq:Tne,subseteqq:Cne,SubsetEqual:Ene,subsetneq:Ane,subsetneqq:Lne,subsim:$ne,subsub:Mne,subsup:Nne,succapprox:Ine,succ:Pne,succcurlyeq:One,Succeeds:Rne,SucceedsEqual:zne,SucceedsSlantEqual:Dne,SucceedsTilde:Fne,succeq:Hne,succnapprox:Bne,succneqq:Wne,succnsim:jne,succsim:qne,SuchThat:Une,sum:Vne,Sum:Gne,sung:Xne,sup1:Kne,sup2:Jne,sup3:Yne,sup:Zne,Sup:Qne,supdot:ere,supdsub:tre,supE:nre,supe:rre,supedot:ire,Superset:ore,SupersetEqual:sre,suphsol:lre,suphsub:are,suplarr:cre,supmult:ure,supnE:fre,supne:dre,supplus:hre,supset:pre,Supset:gre,supseteq:mre,supseteqq:vre,supsetneq:yre,supsetneqq:bre,supsim:wre,supsub:xre,supsup:Sre,swarhk:_re,swarr:kre,swArr:Tre,swarrow:Cre,swnwar:Ere,szlig:Are,Tab:Lre,target:$re,Tau:Mre,tau:Nre,tbrk:Ire,Tcaron:Pre,tcaron:Ore,Tcedil:Rre,tcedil:zre,Tcy:Dre,tcy:Fre,tdot:Hre,telrec:Bre,Tfr:Wre,tfr:jre,there4:qre,therefore:Ure,Therefore:Vre,Theta:Gre,theta:Xre,thetasym:Kre,thetav:Jre,thickapprox:Yre,thicksim:Zre,ThickSpace:Qre,ThinSpace:eie,thinsp:tie,thkap:nie,thksim:rie,THORN:iie,thorn:oie,tilde:sie,Tilde:lie,TildeEqual:aie,TildeFullEqual:cie,TildeTilde:uie,timesbar:fie,timesb:die,times:hie,timesd:pie,tint:gie,toea:mie,topbot:vie,topcir:yie,top:bie,Topf:wie,topf:xie,topfork:Sie,tosa:_ie,tprime:kie,trade:Tie,TRADE:Cie,triangle:Eie,triangledown:Aie,triangleleft:Lie,trianglelefteq:$ie,triangleq:Mie,triangleright:Nie,trianglerighteq:Iie,tridot:Pie,trie:Oie,triminus:Rie,TripleDot:zie,triplus:Die,trisb:Fie,tritime:Hie,trpezium:Bie,Tscr:Wie,tscr:jie,TScy:qie,tscy:Uie,TSHcy:Vie,tshcy:Gie,Tstrok:Xie,tstrok:Kie,twixt:Jie,twoheadleftarrow:Yie,twoheadrightarrow:Zie,Uacute:Qie,uacute:eoe,uarr:toe,Uarr:noe,uArr:roe,Uarrocir:ioe,Ubrcy:ooe,ubrcy:soe,Ubreve:loe,ubreve:aoe,Ucirc:coe,ucirc:uoe,Ucy:foe,ucy:doe,udarr:hoe,Udblac:poe,udblac:goe,udhar:moe,ufisht:voe,Ufr:yoe,ufr:boe,Ugrave:woe,ugrave:xoe,uHar:Soe,uharl:_oe,uharr:koe,uhblk:Toe,ulcorn:Coe,ulcorner:Eoe,ulcrop:Aoe,ultri:Loe,Umacr:$oe,umacr:Moe,uml:Noe,UnderBar:Ioe,UnderBrace:Poe,UnderBracket:Ooe,UnderParenthesis:Roe,Union:zoe,UnionPlus:Doe,Uogon:Foe,uogon:Hoe,Uopf:Boe,uopf:Woe,UpArrowBar:joe,uparrow:qoe,UpArrow:Uoe,Uparrow:Voe,UpArrowDownArrow:Goe,updownarrow:Xoe,UpDownArrow:Koe,Updownarrow:Joe,UpEquilibrium:Yoe,upharpoonleft:Zoe,upharpoonright:Qoe,uplus:ese,UpperLeftArrow:tse,UpperRightArrow:nse,upsi:rse,Upsi:ise,upsih:ose,Upsilon:sse,upsilon:lse,UpTeeArrow:ase,UpTee:cse,upuparrows:use,urcorn:fse,urcorner:dse,urcrop:hse,Uring:pse,uring:gse,urtri:mse,Uscr:vse,uscr:yse,utdot:bse,Utilde:wse,utilde:xse,utri:Sse,utrif:_se,uuarr:kse,Uuml:Tse,uuml:Cse,uwangle:Ese,vangrt:Ase,varepsilon:Lse,varkappa:$se,varnothing:Mse,varphi:Nse,varpi:Ise,varpropto:Pse,varr:Ose,vArr:Rse,varrho:zse,varsigma:Dse,varsubsetneq:Fse,varsubsetneqq:Hse,varsupsetneq:Bse,varsupsetneqq:Wse,vartheta:jse,vartriangleleft:qse,vartriangleright:Use,vBar:Vse,Vbar:Gse,vBarv:Xse,Vcy:Kse,vcy:Jse,vdash:Yse,vDash:Zse,Vdash:Qse,VDash:ele,Vdashl:tle,veebar:nle,vee:rle,Vee:ile,veeeq:ole,vellip:sle,verbar:lle,Verbar:ale,vert:cle,Vert:ule,VerticalBar:fle,VerticalLine:dle,VerticalSeparator:hle,VerticalTilde:ple,VeryThinSpace:gle,Vfr:mle,vfr:vle,vltri:yle,vnsub:ble,vnsup:wle,Vopf:xle,vopf:Sle,vprop:_le,vrtri:kle,Vscr:Tle,vscr:Cle,vsubnE:Ele,vsubne:Ale,vsupnE:Lle,vsupne:$le,Vvdash:Mle,vzigzag:Nle,Wcirc:Ile,wcirc:Ple,wedbar:Ole,wedge:Rle,Wedge:zle,wedgeq:Dle,weierp:Fle,Wfr:Hle,wfr:Ble,Wopf:Wle,wopf:jle,wp:qle,wr:Ule,wreath:Vle,Wscr:Gle,wscr:Xle,xcap:Kle,xcirc:Jle,xcup:Yle,xdtri:Zle,Xfr:Qle,xfr:eae,xharr:tae,xhArr:nae,Xi:rae,xi:iae,xlarr:oae,xlArr:sae,xmap:lae,xnis:aae,xodot:cae,Xopf:uae,xopf:fae,xoplus:dae,xotime:hae,xrarr:pae,xrArr:gae,Xscr:mae,xscr:vae,xsqcup:yae,xuplus:bae,xutri:wae,xvee:xae,xwedge:Sae,Yacute:_ae,yacute:kae,YAcy:Tae,yacy:Cae,Ycirc:Eae,ycirc:Aae,Ycy:Lae,ycy:$ae,yen:Mae,Yfr:Nae,yfr:Iae,YIcy:Pae,yicy:Oae,Yopf:Rae,yopf:zae,Yscr:Dae,yscr:Fae,YUcy:Hae,yucy:Bae,yuml:Wae,Yuml:jae,Zacute:qae,zacute:Uae,Zcaron:Vae,zcaron:Gae,Zcy:Xae,zcy:Kae,Zdot:Jae,zdot:Yae,zeetrf:Zae,ZeroWidthSpace:Qae,Zeta:ece,zeta:tce,zfr:nce,Zfr:rce,ZHcy:ice,zhcy:oce,zigrarr:sce,zopf:lce,Zopf:ace,Zscr:cce,zscr:uce,zwj:fce,zwnj:dce},hce="Á",pce="á",gce="Â",mce="â",vce="´",yce="Æ",bce="æ",wce="À",xce="à",Sce="&",_ce="&",kce="Å",Tce="å",Cce="Ã",Ece="ã",Ace="Ä",Lce="ä",$ce="¦",Mce="Ç",Nce="ç",Ice="¸",Pce="¢",Oce="©",Rce="©",zce="¤",Dce="°",Fce="÷",Hce="É",Bce="é",Wce="Ê",jce="ê",qce="È",Uce="è",Vce="Ð",Gce="ð",Xce="Ë",Kce="ë",Jce="½",Yce="¼",Zce="¾",Qce=">",eue=">",tue="Í",nue="í",rue="Î",iue="î",oue="¡",sue="Ì",lue="ì",aue="¿",cue="Ï",uue="ï",fue="«",due="<",hue="<",pue="¯",gue="µ",mue="·",vue=" ",yue="¬",bue="Ñ",wue="ñ",xue="Ó",Sue="ó",_ue="Ô",kue="ô",Tue="Ò",Cue="ò",Eue="ª",Aue="º",Lue="Ø",$ue="ø",Mue="Õ",Nue="õ",Iue="Ö",Pue="ö",Oue="¶",Rue="±",zue="£",Due='"',Fue='"',Hue="»",Bue="®",Wue="®",jue="§",que="",Uue="¹",Vue="²",Gue="³",Xue="ß",Kue="Þ",Jue="þ",Yue="×",Zue="Ú",Que="ú",efe="Û",tfe="û",nfe="Ù",rfe="ù",ife="¨",ofe="Ü",sfe="ü",lfe="Ý",afe="ý",cfe="¥",ufe="ÿ",ffe={Aacute:hce,aacute:pce,Acirc:gce,acirc:mce,acute:vce,AElig:yce,aelig:bce,Agrave:wce,agrave:xce,amp:Sce,AMP:_ce,Aring:kce,aring:Tce,Atilde:Cce,atilde:Ece,Auml:Ace,auml:Lce,brvbar:$ce,Ccedil:Mce,ccedil:Nce,cedil:Ice,cent:Pce,copy:Oce,COPY:Rce,curren:zce,deg:Dce,divide:Fce,Eacute:Hce,eacute:Bce,Ecirc:Wce,ecirc:jce,Egrave:qce,egrave:Uce,ETH:Vce,eth:Gce,Euml:Xce,euml:Kce,frac12:Jce,frac14:Yce,frac34:Zce,gt:Qce,GT:eue,Iacute:tue,iacute:nue,Icirc:rue,icirc:iue,iexcl:oue,Igrave:sue,igrave:lue,iquest:aue,Iuml:cue,iuml:uue,laquo:fue,lt:due,LT:hue,macr:pue,micro:gue,middot:mue,nbsp:vue,not:yue,Ntilde:bue,ntilde:wue,Oacute:xue,oacute:Sue,Ocirc:_ue,ocirc:kue,Ograve:Tue,ograve:Cue,ordf:Eue,ordm:Aue,Oslash:Lue,oslash:$ue,Otilde:Mue,otilde:Nue,Ouml:Iue,ouml:Pue,para:Oue,plusmn:Rue,pound:zue,quot:Due,QUOT:Fue,raquo:Hue,reg:Bue,REG:Wue,sect:jue,shy:que,sup1:Uue,sup2:Vue,sup3:Gue,szlig:Xue,THORN:Kue,thorn:Jue,times:Yue,Uacute:Zue,uacute:Que,Ucirc:efe,ucirc:tfe,Ugrave:nfe,ugrave:rfe,uml:ife,Uuml:ofe,uuml:sfe,Yacute:lfe,yacute:afe,yen:cfe,yuml:ufe},dfe="&",hfe="'",pfe=">",gfe="<",mfe='"',Qx={amp:dfe,apos:hfe,gt:pfe,lt:gfe,quot:mfe};var Cs={};const vfe={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};var j0;function yfe(){if(j0)return Cs;j0=1;var e=Cs&&Cs.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(Cs,"__esModule",{value:!0});var t=e(vfe),n=String.fromCodePoint||function(s){var l="";return s>65535&&(s-=65536,l+=String.fromCharCode(s>>>10&1023|55296),s=56320|s&1023),l+=String.fromCharCode(s),l};function i(s){return s>=55296&&s<=57343||s>1114111?"�":(s in t.default&&(s=t.default[s]),n(s))}return Cs.default=i,Cs}var q0;function U0(){if(q0)return Tr;q0=1;var e=Tr&&Tr.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(Tr,"__esModule",{value:!0}),Tr.decodeHTML=Tr.decodeHTMLStrict=Tr.decodeXML=void 0;var t=e(Zx),n=e(ffe),i=e(Qx),s=e(yfe()),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;Tr.decodeXML=u(i.default),Tr.decodeHTMLStrict=u(t.default);function u(p){var g=h(p);return function(v){return String(v).replace(l,g)}}var f=function(p,g){return p<g?1:-1};Tr.decodeHTML=function(){for(var p=Object.keys(n.default).sort(f),g=Object.keys(t.default).sort(f),v=0,y=0;v<g.length;v++)p[y]===g[v]?(g[v]+=";?",y++):g[v]+=";";var w=new RegExp("&(?:"+g.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),L=h(t.default);function $(C){return C.substr(-1)!==";"&&(C+=";"),L(C)}return function(C){return String(C).replace(w,$)}}();function h(p){return function(v){if(v.charAt(1)==="#"){var y=v.charAt(2);return y==="X"||y==="x"?s.default(parseInt(v.substr(3),16)):s.default(parseInt(v.substr(2),10))}return p[v.slice(1,-1)]||v}}return Tr}var Ln={},V0;function G0(){if(V0)return Ln;V0=1;var e=Ln&&Ln.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(Ln,"__esModule",{value:!0}),Ln.escapeUTF8=Ln.escape=Ln.encodeNonAsciiHTML=Ln.encodeHTML=Ln.encodeXML=void 0;var t=e(Qx),n=f(t.default),i=h(n);Ln.encodeXML=C(n);var s=e(Zx),l=f(s.default),u=h(l);Ln.encodeHTML=y(l,u),Ln.encodeNonAsciiHTML=C(l);function f(E){return Object.keys(E).sort().reduce(function(N,O){return N[E[O]]="&"+O+";",N},{})}function h(E){for(var N=[],O=[],k=0,z=Object.keys(E);k<z.length;k++){var D=z[k];D.length===1?N.push("\\"+D):O.push(D)}N.sort();for(var oe=0;oe<N.length-1;oe++){for(var Q=oe;Q<N.length-1&&N[Q].charCodeAt(1)+1===N[Q+1].charCodeAt(1);)Q+=1;var W=1+Q-oe;W<3||N.splice(oe,W,N[oe]+"-"+N[Q])}return O.unshift("["+N.join("")+"]"),new RegExp(O.join("|"),"g")}var p=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,g=String.prototype.codePointAt!=null?function(E){return E.codePointAt(0)}:function(E){return(E.charCodeAt(0)-55296)*1024+E.charCodeAt(1)-56320+65536};function v(E){return"&#x"+(E.length>1?g(E):E.charCodeAt(0)).toString(16).toUpperCase()+";"}function y(E,N){return function(O){return O.replace(N,function(k){return E[k]}).replace(p,v)}}var w=new RegExp(i.source+"|"+p.source,"g");function L(E){return E.replace(w,v)}Ln.escape=L;function $(E){return E.replace(i,v)}Ln.escapeUTF8=$;function C(E){return function(N){return N.replace(w,function(O){return E[O]||v(O)})}}return Ln}var X0;function bfe(){return X0||(X0=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=U0(),n=G0();function i(h,p){return(!p||p<=0?t.decodeXML:t.decodeHTML)(h)}e.decode=i;function s(h,p){return(!p||p<=0?t.decodeXML:t.decodeHTMLStrict)(h)}e.decodeStrict=s;function l(h,p){return(!p||p<=0?n.encodeXML:n.encodeHTML)(h)}e.encode=l;var u=G0();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return u.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return u.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return u.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return u.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return u.encodeHTML}});var f=U0();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return f.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return f.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return f.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return f.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return f.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return f.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return f.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return f.decodeXML}})}(zd)),zd}var Dd,K0;function wfe(){if(K0)return Dd;K0=1;function e(A,I){if(!(A instanceof I))throw new TypeError("Cannot call a class as a function")}function t(A,I){for(var P=0;P<I.length;P++){var S=I[P];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(A,S.key,S)}}function n(A,I,P){return I&&t(A.prototype,I),A}function i(A,I){var P=typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(!P){if(Array.isArray(A)||(P=s(A))||I){P&&(A=P);var S=0,R=function(){};return{s:R,n:function(){return S>=A.length?{done:!0}:{done:!1,value:A[S++]}},e:function(Pe){throw Pe},f:R}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
25
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B=!0,ie=!1,ue;return{s:function(){P=P.call(A)},n:function(){var Pe=P.next();return B=Pe.done,Pe},e:function(Pe){ie=!0,ue=Pe},f:function(){try{!B&&P.return!=null&&P.return()}finally{if(ie)throw ue}}}}function s(A,I){if(A){if(typeof A=="string")return l(A,I);var P=Object.prototype.toString.call(A).slice(8,-1);if(P==="Object"&&A.constructor&&(P=A.constructor.name),P==="Map"||P==="Set")return Array.from(A);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return l(A,I)}}function l(A,I){(I==null||I>A.length)&&(I=A.length);for(var P=0,S=new Array(I);P<I;P++)S[P]=A[P];return S}var u=bfe(),f={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:h()};function h(){var A={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return C(0,5).forEach(function(I){C(0,5).forEach(function(P){C(0,5).forEach(function(S){return p(I,P,S,A)})})}),C(0,23).forEach(function(I){var P=I+232,S=g(I*10+8);A[P]="#"+S+S+S}),A}function p(A,I,P,S){var R=16+A*36+I*6+P,B=A>0?A*40+55:0,ie=I>0?I*40+55:0,ue=P>0?P*40+55:0;S[R]=v([B,ie,ue])}function g(A){for(var I=A.toString(16);I.length<2;)I="0"+I;return I}function v(A){var I=[],P=i(A),S;try{for(P.s();!(S=P.n()).done;){var R=S.value;I.push(g(R))}}catch(B){P.e(B)}finally{P.f()}return"#"+I.join("")}function y(A,I,P,S){var R;return I==="text"?R=O(P,S):I==="display"?R=L(A,P,S):I==="xterm256Foreground"?R=D(A,S.colors[P]):I==="xterm256Background"?R=oe(A,S.colors[P]):I==="rgb"&&(R=w(A,P)),R}function w(A,I){I=I.substring(2).slice(0,-1);var P=+I.substr(0,2),S=I.substring(5).split(";"),R=S.map(function(B){return("0"+Number(B).toString(16)).substr(-2)}).join("");return z(A,(P===38?"color:#":"background-color:#")+R)}function L(A,I,P){I=parseInt(I,10);var S={"-1":function(){return"<br/>"},0:function(){return A.length&&$(A)},1:function(){return k(A,"b")},3:function(){return k(A,"i")},4:function(){return k(A,"u")},8:function(){return z(A,"display:none")},9:function(){return k(A,"strike")},22:function(){return z(A,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return Q(A,"i")},24:function(){return Q(A,"u")},39:function(){return D(A,P.fg)},49:function(){return oe(A,P.bg)},53:function(){return z(A,"text-decoration:overline")}},R;return S[I]?R=S[I]():4<I&&I<7?R=k(A,"blink"):29<I&&I<38?R=D(A,P.colors[I-30]):39<I&&I<48?R=oe(A,P.colors[I-40]):89<I&&I<98?R=D(A,P.colors[8+(I-90)]):99<I&&I<108&&(R=oe(A,P.colors[8+(I-100)])),R}function $(A){var I=A.slice(0);return A.length=0,I.reverse().map(function(P){return"</"+P+">"}).join("")}function C(A,I){for(var P=[],S=A;S<=I;S++)P.push(S);return P}function E(A){return function(I){return(A===null||I.category!==A)&&A!=="all"}}function N(A){A=parseInt(A,10);var I=null;return A===0?I="all":A===1?I="bold":2<A&&A<5?I="underline":4<A&&A<7?I="blink":A===8?I="hide":A===9?I="strike":29<A&&A<38||A===39||89<A&&A<98?I="foreground-color":(39<A&&A<48||A===49||99<A&&A<108)&&(I="background-color"),I}function O(A,I){return I.escapeXML?u.encodeXML(A):A}function k(A,I,P){return P||(P=""),A.push(I),"<".concat(I).concat(P?' style="'.concat(P,'"'):"",">")}function z(A,I){return k(A,"span",I)}function D(A,I){return k(A,"span","color:"+I)}function oe(A,I){return k(A,"span","background-color:"+I)}function Q(A,I){var P;if(A.slice(-1)[0]===I&&(P=A.pop()),P)return"</"+I+">"}function W(A,I,P){var S=!1,R=3;function B(){return""}function ie(G,Y){return P("xterm256Foreground",Y),""}function ue(G,Y){return P("xterm256Background",Y),""}function we(G){return I.newline?P("display",-1):P("text",G),""}function Pe(G,Y){S=!0,Y.trim().length===0&&(Y="0"),Y=Y.trimRight(";").split(";");var fe=i(Y),pe;try{for(fe.s();!(pe=fe.n()).done;){var he=pe.value;P("display",he)}}catch(Ce){fe.e(Ce)}finally{fe.f()}return""}function qe(G){return P("text",G),""}function Ze(G){return P("rgb",G),""}var Ke=[{pattern:/^\x08+/,sub:B},{pattern:/^\x1b\[[012]?K/,sub:B},{pattern:/^\x1b\[\(B/,sub:B},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:Ze},{pattern:/^\x1b\[38;5;(\d+)m/,sub:ie},{pattern:/^\x1b\[48;5;(\d+)m/,sub:ue},{pattern:/^\n/,sub:we},{pattern:/^\r+\n/,sub:we},{pattern:/^\r/,sub:we},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:Pe},{pattern:/^\x1b\[\d?J/,sub:B},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:B},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:B},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:qe}];function Je(G,Y){Y>R&&S||(S=!1,A=A.replace(G.pattern,G.sub))}var re=[],V=A,ee=V.length;e:for(;ee>0;){for(var J=0,ae=0,ge=Ke.length;ae<ge;J=++ae){var F=Ke[J];if(Je(F,J),A.length!==ee){ee=A.length;continue e}}if(A.length===ee)break;re.push(0),ee=A.length}return re}function q(A,I,P){return I!=="text"&&(A=A.filter(E(N(P))),A.push({token:I,data:P,category:N(P)})),A}var U=function(){function A(I){e(this,A),I=I||{},I.colors&&(I.colors=Object.assign({},f.colors,I.colors)),this.options=Object.assign({},f,I),this.stack=[],this.stickyStack=[]}return n(A,[{key:"toHtml",value:function(P){var S=this;P=typeof P=="string"?[P]:P;var R=this.stack,B=this.options,ie=[];return this.stickyStack.forEach(function(ue){var we=y(R,ue.token,ue.data,B);we&&ie.push(we)}),W(P.join(""),B,function(ue,we){var Pe=y(R,ue,we,B);Pe&&ie.push(Pe),B.stream&&(S.stickyStack=q(S.stickyStack,ue,we))}),R.length&&ie.push($(R)),ie.join("")}}]),A}();return Dd=U,Dd}var xfe=wfe();const Sfe=kp(xfe);function aa(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function _fe(e,t){return t&&e.endsWith(t)}async function Pp(e,t,n){const i=encodeURI(`${e}:${t}:${n}`);await fetch(`/__open-in-editor?file=${i}`)}function Op(e){return new Sfe({fg:e?"#FFF":"#000",bg:e?"#000":"#FFF"})}function kfe(e){return e===null||typeof e!="function"&&typeof e!="object"}function e1(e){let t=e;if(kfe(e)&&(t={message:String(t).split(/\n/g)[0],stack:String(t),name:""}),!e){const n=new Error("unknown error");t={message:n.message,stack:n.stack,name:""}}return t.stacks=HL(t.stack||"",{ignoreStackEntries:[]}),t}function Tfe(e,t){var s,l;let n="";return(s=t.message)!=null&&s.includes("\x1B")&&(n=`<b>${t.name}</b>: ${e.toHtml(aa(t.message))}`),((l=t.stack)==null?void 0:l.includes("\x1B"))&&(n.length>0?n+=e.toHtml(aa(t.stack)):n=`<b>${t.name}</b>: ${t.message}${e.toHtml(aa(t.stack))}`),n.length>0?n:null}function t1(e,t){const n=Op(e);return t.map(i=>{var u;const s=i.result;if(!s||s.htmlError)return i;const l=(u=s.errors)==null?void 0:u.map(f=>Tfe(n,f)).filter(f=>f!=null).join("<br><br>");return l!=null&&l.length&&(s.htmlError=l),i})}var nr=Uint8Array,Ps=Uint16Array,Cfe=Int32Array,n1=new nr([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),r1=new nr([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Efe=new nr([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),i1=function(e,t){for(var n=new Ps(31),i=0;i<31;++i)n[i]=t+=1<<e[i-1];for(var s=new Cfe(n[30]),i=1;i<30;++i)for(var l=n[i];l<n[i+1];++l)s[l]=l-n[i]<<5|i;return{b:n,r:s}},o1=i1(n1,2),s1=o1.b,Afe=o1.r;s1[28]=258,Afe[258]=28;var Lfe=i1(r1,0),$fe=Lfe.b,Mh=new Ps(32768);for(var Lt=0;Lt<32768;++Lt){var Vi=(Lt&43690)>>1|(Lt&21845)<<1;Vi=(Vi&52428)>>2|(Vi&13107)<<2,Vi=(Vi&61680)>>4|(Vi&3855)<<4,Mh[Lt]=((Vi&65280)>>8|(Vi&255)<<8)>>1}var ca=function(e,t,n){for(var i=e.length,s=0,l=new Ps(t);s<i;++s)e[s]&&++l[e[s]-1];var u=new Ps(t);for(s=1;s<t;++s)u[s]=u[s-1]+l[s-1]<<1;var f;if(n){f=new Ps(1<<t);var h=15-t;for(s=0;s<i;++s)if(e[s])for(var p=s<<4|e[s],g=t-e[s],v=u[e[s]-1]++<<g,y=v|(1<<g)-1;v<=y;++v)f[Mh[v]>>h]=p}else for(f=new Ps(i),s=0;s<i;++s)e[s]&&(f[s]=Mh[u[e[s]-1]++]>>15-e[s]);return f},Ka=new nr(288);for(var Lt=0;Lt<144;++Lt)Ka[Lt]=8;for(var Lt=144;Lt<256;++Lt)Ka[Lt]=9;for(var Lt=256;Lt<280;++Lt)Ka[Lt]=7;for(var Lt=280;Lt<288;++Lt)Ka[Lt]=8;var l1=new nr(32);for(var Lt=0;Lt<32;++Lt)l1[Lt]=5;var Mfe=ca(Ka,9,1),Nfe=ca(l1,5,1),Fd=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},Cr=function(e,t,n){var i=t/8|0;return(e[i]|e[i+1]<<8)>>(t&7)&n},Hd=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},Ife=function(e){return(e+7)/8|0},a1=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new nr(e.subarray(t,n))},Pfe=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],qn=function(e,t,n){var i=new Error(t||Pfe[e]);if(i.code=e,Error.captureStackTrace&&Error.captureStackTrace(i,qn),!n)throw i;return i},Rp=function(e,t,n,i){var s=e.length,l=0;if(!s||t.f&&!t.l)return n||new nr(0);var u=!n,f=u||t.i!=2,h=t.i;u&&(n=new nr(s*3));var p=function(ge){var F=n.length;if(ge>F){var G=new nr(Math.max(F*2,ge));G.set(n),n=G}},g=t.f||0,v=t.p||0,y=t.b||0,w=t.l,L=t.d,$=t.m,C=t.n,E=s*8;do{if(!w){g=Cr(e,v,1);var N=Cr(e,v+1,3);if(v+=3,N)if(N==1)w=Mfe,L=Nfe,$=9,C=5;else if(N==2){var D=Cr(e,v,31)+257,oe=Cr(e,v+10,15)+4,Q=D+Cr(e,v+5,31)+1;v+=14;for(var W=new nr(Q),q=new nr(19),U=0;U<oe;++U)q[Efe[U]]=Cr(e,v+U*3,7);v+=oe*3;for(var A=Fd(q),I=(1<<A)-1,P=ca(q,A,1),U=0;U<Q;){var S=P[Cr(e,v,I)];v+=S&15;var O=S>>4;if(O<16)W[U++]=O;else{var R=0,B=0;for(O==16?(B=3+Cr(e,v,3),v+=2,R=W[U-1]):O==17?(B=3+Cr(e,v,7),v+=3):O==18&&(B=11+Cr(e,v,127),v+=7);B--;)W[U++]=R}}var ie=W.subarray(0,D),ue=W.subarray(D);$=Fd(ie),C=Fd(ue),w=ca(ie,$,1),L=ca(ue,C,1)}else qn(1);else{var O=Ife(v)+4,k=e[O-4]|e[O-3]<<8,z=O+k;if(z>s){h&&qn(0);break}f&&p(y+k),n.set(e.subarray(O,z),y),t.b=y+=k,t.p=v=z*8,t.f=g;continue}if(v>E){h&&qn(0);break}}f&&p(y+131072);for(var we=(1<<$)-1,Pe=(1<<C)-1,qe=v;;qe=v){var R=w[Hd(e,v)&we],Ze=R>>4;if(v+=R&15,v>E){h&&qn(0);break}if(R||qn(2),Ze<256)n[y++]=Ze;else if(Ze==256){qe=v,w=null;break}else{var Ke=Ze-254;if(Ze>264){var U=Ze-257,Je=n1[U];Ke=Cr(e,v,(1<<Je)-1)+s1[U],v+=Je}var re=L[Hd(e,v)&Pe],V=re>>4;re||qn(3),v+=re&15;var ue=$fe[V];if(V>3){var Je=r1[V];ue+=Hd(e,v)&(1<<Je)-1,v+=Je}if(v>E){h&&qn(0);break}f&&p(y+131072);var ee=y+Ke;if(y<ue){var J=l-ue,ae=Math.min(ue,ee);for(J+y<0&&qn(3);y<ae;++y)n[y]=i[J+y]}for(;y<ee;++y)n[y]=n[y-ue]}}t.l=w,t.p=qe,t.b=y,t.f=g,w&&(g=1,t.m=$,t.d=L,t.n=C)}while(!g);return y!=n.length&&u?a1(n,0,y):n.subarray(0,y)},Ofe=new nr(0),Rfe=function(e){(e[0]!=31||e[1]!=139||e[2]!=8)&&qn(6,"invalid gzip data");var t=e[3],n=10;t&4&&(n+=(e[10]|e[11]<<8)+2);for(var i=(t>>3&1)+(t>>4&1);i>0;i-=!e[n++]);return n+(t&2)},zfe=function(e){var t=e.length;return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0},Dfe=function(e,t){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&qn(6,"invalid zlib data"),(e[1]>>5&1)==1&&qn(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function Ffe(e,t){return Rp(e,{i:2},t,t)}function Hfe(e,t){var n=Rfe(e);return n+8>e.length&&qn(6,"invalid gzip data"),Rp(e.subarray(n,-8),{i:2},new nr(zfe(e)),t)}function Bfe(e,t){return Rp(e.subarray(Dfe(e),-4),{i:2},t,t)}function Wfe(e,t){return e[0]==31&&e[1]==139&&e[2]==8?Hfe(e,t):(e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31?Ffe(e,t):Bfe(e,t)}var Nh=typeof TextDecoder<"u"&&new TextDecoder,jfe=0;try{Nh.decode(Ofe,{stream:!0}),jfe=1}catch{}var qfe=function(e){for(var t="",n=0;;){var i=e[n++],s=(i>127)+(i>223)+(i>239);if(n+s>e.length)return{s:t,r:a1(e,n-1)};s?s==3?(i=((i&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|i>>10,56320|i&1023)):s&1?t+=String.fromCharCode((i&31)<<6|e[n++]&63):t+=String.fromCharCode((i&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(i)}};function Ufe(e,t){var n;if(Nh)return Nh.decode(e);var i=qfe(e),s=i.s,n=i.r;return n.length&&qn(8),s}const Bd=()=>{},mn=()=>Promise.resolve();function Vfe(){const e=rr({state:new _x,waitForConnection:u,reconnect:s,ws:new EventTarget});e.state.filesMap=rr(e.state.filesMap),e.state.idMap=rr(e.state.idMap);let t;const n={getFiles:()=>t.files,getPaths:()=>t.paths,getConfig:()=>t.config,getResolvedProjectNames:()=>t.projects,getResolvedProjectLabels:()=>[],getModuleGraph:async(f,h)=>{var p;return(p=t.moduleGraph[f])==null?void 0:p[h]},getUnhandledErrors:()=>t.unhandledErrors,getTransformResult:mn,onDone:Bd,onTaskUpdate:Bd,writeFile:mn,rerun:mn,rerunTask:mn,updateSnapshot:mn,resolveSnapshotPath:mn,snapshotSaved:mn,onAfterSuiteRun:mn,onCancel:mn,getCountOfFailedTests:()=>0,sendLog:mn,resolveSnapshotRawPath:mn,readSnapshotFile:mn,saveSnapshotFile:mn,readTestFile:async f=>t.sources[f],removeSnapshotFile:mn,onUnhandledError:Bd,saveTestFile:mn,getProvidedContext:()=>({}),getTestFiles:mn};e.rpc=n;const i=Promise.resolve();function s(){l()}async function l(){var g;const f=await fetch(window.METADATA_PATH),h=((g=f.headers.get("content-type"))==null?void 0:g.toLowerCase())||"";if(h.includes("application/gzip")||h.includes("application/x-gzip")){const v=new Uint8Array(await f.arrayBuffer()),y=Ufe(Wfe(v));t=kh(y)}else t=kh(await f.text());const p=new Event("open");e.ws.dispatchEvent(p)}l();function u(){return i}return e}const ht=function(){return pr?Vfe():D$(KM,{reactive:(t,n)=>n==="state"?rr(t):nn(t),handlers:{onTestAnnotate(t,n){Ae.annotateTest(t,n)},onTaskUpdate(t,n){Ae.resumeRun(t,n),df.value="running"},onFinished(t,n){Ae.endRun(),Qi.value=(n||[]).map(e1)},onFinishedReportCoverage(){const t=document.querySelector("iframe#vitest-ui-coverage");t instanceof HTMLIFrameElement&&t.contentWindow&&t.contentWindow.location.reload()}}})}(),tl=nn({}),jo=Ue("CONNECTING"),qt=_e(()=>{const e=vo.value;return e?gr(e):void 0}),c1=_e(()=>Cp(qt.value).map(e=>(e==null?void 0:e.logs)||[]).flat()||[]);function gr(e){const t=ht.state.idMap.get(e);return t||void 0}const Gfe=_e(()=>jo.value==="OPEN"),Wd=_e(()=>jo.value==="CONNECTING");_e(()=>jo.value==="CLOSED");function Xfe(){return zp(ht.state.getFiles())}function u1(e){delete e.result;const t=Ae.nodes.get(e.id);if(t&&(t.state=void 0,t.duration=void 0,Va(e)))for(const n of e.tasks)u1(n)}function Kfe(e){const t=Ae.nodes;e.forEach(n=>{delete n.result,Cp(n).forEach(s=>{if(delete s.result,t.has(s.id)){const l=t.get(s.id);l&&(l.state=void 0,l.duration=void 0)}});const i=t.get(n.id);i&&(i.state=void 0,i.duration=void 0,On(i)&&(i.collectDuration=void 0))})}function zp(e){return Kfe(e),Ae.startRun(),ht.rpc.rerun(e.map(t=>t.filepath),!0)}function Jfe(e){return u1(e),Ae.startRun(),ht.rpc.rerunTask(e.id)}const It=window.__vitest_browser_runner__;window.__vitest_ui_api__=VM;St(()=>ht.ws,e=>{jo.value=pr?"OPEN":"CONNECTING",e.addEventListener("open",async()=>{jo.value="OPEN",ht.state.filesMap.clear();let[t,n,i,s]=await Promise.all([ht.rpc.getFiles(),ht.rpc.getConfig(),ht.rpc.getUnhandledErrors(),ht.rpc.getResolvedProjectLabels()]);n.standalone&&(t=(await ht.rpc.getTestFiles()).map(([{name:u,root:f},h])=>{const p=ux(h,f,u);return p.mode="skip",p})),Ae.loadFiles(t,s),ht.state.collectFiles(t),Ae.startRun(),Qi.value=(i||[]).map(e1),tl.value=n}),e.addEventListener("close",()=>{setTimeout(()=>{jo.value==="CONNECTING"&&(jo.value="CLOSED")},1e3)})},{immediate:!0});const Yfe={"text-2xl":""},Zfe={"text-lg":"",op50:""},Qfe=at({__name:"ConnectionOverlay",setup(e){return(t,n)=>j(Gfe)?je("",!0):(se(),ye("div",{key:0,fixed:"","inset-0":"",p2:"","z-10":"","select-none":"",text:"center sm",bg:"overlay","backdrop-blur-sm":"","backdrop-saturate-0":"",onClick:n[0]||(n[0]=(...i)=>j(ht).reconnect&&j(ht).reconnect(...i))},[te("div",{"h-full":"",flex:"~ col gap-2","items-center":"","justify-center":"",class:ot(j(Wd)?"animate-pulse":"")},[te("div",{text:"5xl",class:ot(j(Wd)?"i-carbon:renew animate-spin animate-reverse":"i-carbon-wifi-off")},null,2),te("div",Yfe,Re(j(Wd)?"Connecting...":"Disconnected"),1),te("div",Zfe," Check your terminal or start a new server with `"+Re(j(It)?`vitest --browser=${j(It).config.browser.name}`:"vitest --ui")+"` ",1)],2)]))}}),ede=["aria-label","opacity","disabled","hover"],ri=at({__name:"IconButton",props:{icon:{},title:{},disabled:{type:Boolean},active:{type:Boolean}},setup(e){return(t,n)=>(se(),ye("button",{"aria-label":t.title,role:"button",opacity:t.disabled?10:70,rounded:"",disabled:t.disabled,hover:t.disabled||t.active?"":"bg-active op100",class:ot(["w-1.4em h-1.4em flex",[{"bg-gray-500:35 op100":t.active}]])},[xn(t.$slots,"default",{},()=>[te("span",{class:ot(t.icon),ma:"",block:""},null,2)])],10,ede))}}),tde={h:"full",flex:"~ col"},nde={p:"3","h-10":"",flex:"~ gap-2","items-center":"","bg-header":"",border:"b base"},rde={p:"l3 y2 r2",flex:"~ gap-2","items-center":"","bg-header":"",border:"b-2 base"},ide={class:"pointer-events-none","text-sm":""},ode={key:0},sde={id:"tester-container",relative:""},lde=["data-scale"],J0=20,ade=100,cde=at({__name:"BrowserIframe",setup(e){const t={"small-mobile":[320,568],"large-mobile":[414,896],tablet:[834,1112]};function n(p){const g=t[p];return er.value[0]===g[0]&&er.value[1]===g[1]}const{width:i,height:s}=Rx();async function l(p){er.value=t[p],(It==null?void 0:It.provider)==="webdriverio"&&Yx()}const u=_e(()=>{if((It==null?void 0:It.provider)==="webdriverio"){const[w,L]=er.value;return{width:w,height:L}}const v=i.value*(At.details.size/100)*(At.details.browser/100)-J0,y=s.value-ade;return{width:v,height:y}}),f=_e(()=>{if((It==null?void 0:It.provider)==="webdriverio")return 1;const[p,g]=er.value,{width:v,height:y}=u.value,w=v>p?1:v/p,L=y>g?1:y/g;return Math.min(1,w,L)}),h=_e(()=>{const p=u.value.width,g=er.value[0];return`${Math.trunc((p+J0-g)/2)}px`});return(p,g)=>{const v=ri,y=Dr("tooltip");return se(),ye("div",tde,[te("div",nde,[ct(Ie(v,{title:"Show Navigation Panel","rotate-180":"",icon:"i-carbon:side-panel-close",onClick:g[0]||(g[0]=w=>j(UM)())},null,512),[[no,j(At).navigation<=15],[y,"Show Navigation Panel",void 0,{bottom:!0}]]),g[6]||(g[6]=te("div",{class:"i-carbon-content-delivery-network"},null,-1)),g[7]||(g[7]=te("span",{"pl-1":"","font-bold":"","text-sm":"","flex-auto":"","ws-nowrap":"","overflow-hidden":"",truncate:""},"Browser UI",-1)),ct(Ie(v,{title:"Hide Right Panel",icon:"i-carbon:side-panel-close","rotate-180":"",onClick:g[1]||(g[1]=w=>j(jM)())},null,512),[[no,j(At).details.main>0],[y,"Hide Right Panel",void 0,{bottom:!0}]]),ct(Ie(v,{title:"Show Right Panel",icon:"i-carbon:side-panel-close",onClick:g[2]||(g[2]=w=>j(qM)())},null,512),[[no,j(At).details.main===0],[y,"Show Right Panel",void 0,{bottom:!0}]])]),te("div",rde,[ct(Ie(v,{title:"Small mobile",icon:"i-carbon:mobile",active:n("small-mobile"),onClick:g[3]||(g[3]=w=>l("small-mobile"))},null,8,["active"]),[[y,"Small mobile",void 0,{bottom:!0}]]),ct(Ie(v,{title:"Large mobile",icon:"i-carbon:mobile-add",active:n("large-mobile"),onClick:g[4]||(g[4]=w=>l("large-mobile"))},null,8,["active"]),[[y,"Large mobile",void 0,{bottom:!0}]]),ct(Ie(v,{title:"Tablet",icon:"i-carbon:tablet",active:n("tablet"),onClick:g[5]||(g[5]=w=>l("tablet"))},null,8,["active"]),[[y,"Tablet",void 0,{bottom:!0}]]),te("span",ide,[dt(Re(j(er)[0])+"x"+Re(j(er)[1])+"px ",1),j(f)<1?(se(),ye("span",ode,"("+Re((j(f)*100).toFixed(0))+"%)",1)):je("",!0)])]),te("div",sde,[te("div",{id:"tester-ui",class:"flex h-full justify-center items-center font-light op70","data-scale":j(f),style:tn({"--viewport-width":`${j(er)[0]}px`,"--viewport-height":`${j(er)[1]}px`,"--tester-transform":`scale(${j(f)})`,"--tester-margin-left":j(h)})}," Select a test to run ",12,lde)])])}}}),ude=ni(cde,[["__scopeId","data-v-9fd23e63"]]),Dp=at({__name:"Modal",props:ma({direction:{default:"bottom"}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=ef(e,"modelValue"),n=_e(()=>{switch(e.direction){case"bottom":return"bottom-0 left-0 right-0 border-t";case"top":return"top-0 left-0 right-0 border-b";case"left":return"bottom-0 left-0 top-0 border-r";case"right":return"bottom-0 top-0 right-0 border-l";default:return""}}),i=_e(()=>{switch(e.direction){case"bottom":return"translateY(100%)";case"top":return"translateY(-100%)";case"left":return"translateX(-100%)";case"right":return"translateX(100%)";default:return""}}),s=()=>t.value=!1;return(l,u)=>(se(),ye("div",{class:ot(["fixed inset-0 z-40",t.value?"":"pointer-events-none"])},[te("div",{class:ot(["bg-base inset-0 absolute transition-opacity duration-500 ease-out",t.value?"opacity-50":"opacity-0"]),onClick:s},null,2),te("div",{class:ot(["bg-base border-base absolute transition-all duration-200 ease-out scrolls",[j(n)]]),style:tn(t.value?{}:{transform:j(i)})},[xn(l.$slots,"default")],6)],2))}}),fde={"w-350":"","max-w-screen":"","h-full":"",flex:"","flex-col":""},dde={"p-4":"",relative:"",border:"base b"},hde={op50:"","font-mono":"","text-sm":""},pde={op50:"","font-mono":"","text-sm":""},gde={class:"scrolls",grid:"~ cols-1 rows-[min-content]","p-4":""},mde=["src","alt"],vde={key:1},yde=at({__name:"ScreenshotError",props:{file:{},name:{},url:{}},emits:["close"],setup(e,{emit:t}){const n=t;return Mx("Escape",()=>{n("close")}),(i,s)=>{const l=ri;return se(),ye("div",fde,[te("div",dde,[s[1]||(s[1]=te("p",null,"Screenshot error",-1)),te("p",hde,Re(i.file),1),te("p",pde,Re(i.name),1),Ie(l,{icon:"i-carbon:close",title:"Close",absolute:"","top-5px":"","right-5px":"","text-2xl":"",onClick:s[0]||(s[0]=u=>n("close"))})]),te("div",gde,[i.url?(se(),ye("img",{key:0,src:i.url,alt:`Screenshot error for '${i.name}' test in file '${i.file}'`,border:"base t r b l dotted red-500"},null,8,mde)):(se(),ye("div",vde," Something was wrong, the image cannot be resolved. "))])])}}}),f1=ni(yde,[["__scopeId","data-v-93900314"]]),d1={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/dicom":["dcm"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg","one","onea"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"application/zip+dotlottie":["lottie"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a","m4b"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime","mht","mhtml"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step":["step","stp","stpnc","p21","210"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(d1);var cr=function(e,t,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(e):i?i.value:t.get(e)},Ls,Kl,Bo;class bde{constructor(...t){Ls.set(this,new Map),Kl.set(this,new Map),Bo.set(this,new Map);for(const n of t)this.define(n)}define(t,n=!1){for(let[i,s]of Object.entries(t)){i=i.toLowerCase(),s=s.map(f=>f.toLowerCase()),cr(this,Bo,"f").has(i)||cr(this,Bo,"f").set(i,new Set);const l=cr(this,Bo,"f").get(i);let u=!0;for(let f of s){const h=f.startsWith("*");if(f=h?f.slice(1):f,l==null||l.add(f),u&&cr(this,Kl,"f").set(i,f),u=!1,h)continue;const p=cr(this,Ls,"f").get(f);if(p&&p!=i&&!n)throw new Error(`"${i} -> ${f}" conflicts with "${p} -> ${f}". Pass \`force=true\` to override this definition.`);cr(this,Ls,"f").set(f,i)}}return this}getType(t){if(typeof t!="string")return null;const n=t.replace(/^.*[/\\]/s,"").toLowerCase(),i=n.replace(/^.*\./s,"").toLowerCase(),s=n.length<t.length;return!(i.length<n.length-1)&&s?null:cr(this,Ls,"f").get(i)??null}getExtension(t){var n;return typeof t!="string"?null:(t=(n=t==null?void 0:t.split)==null?void 0:n.call(t,";")[0],(t&&cr(this,Kl,"f").get(t.trim().toLowerCase()))??null)}getAllExtensions(t){return typeof t!="string"?null:cr(this,Bo,"f").get(t.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(const t of cr(this,Bo,"f").values())Object.freeze(t);return this}_getTestState(){return{types:cr(this,Ls,"f"),extensions:cr(this,Kl,"f")}}}Ls=new WeakMap,Kl=new WeakMap,Bo=new WeakMap;const wde=new bde(d1)._freeze();function Pu(e){if(pr)return`/data/${e.path}`;const t=e.contentType??"application/octet-stream";return e.path?`/__vitest_attachment__?path=${encodeURIComponent(e.path)}&contentType=${t}&token=${window.VITEST_API_TOKEN}`:`data:${t};base64,${e.body}`}function h1(e,t){const n=t?wde.getExtension(t):null;return e.replace(/[\x00-\x2C\x2E\x2F\x3A-\x40\x5B-\x60\x7B-\x7F]+/g,"-")+(n?`.${n}`:"")}function xde(e){const t=e.path||e.body;return typeof t=="string"&&(t.startsWith("http://")||t.startsWith("https://"))}const Sde=["href","referrerPolicy"],_de=["src"],kde=at({__name:"AnnotationAttachmentImage",props:{annotation:{}},setup(e){const t=e,n=_e(()=>{const i=t.annotation.attachment,s=i.path||i.body;return typeof s=="string"&&(s.startsWith("http://")||s.startsWith("https://"))?s:Pu(i)});return(i,s)=>{var l;return i.annotation.attachment&&((l=i.annotation.attachment.contentType)!=null&&l.startsWith("image/"))?(se(),ye("a",{key:0,target:"_blank",class:"inline-block mt-2",style:{maxWidth:"600px"},href:j(n),referrerPolicy:j(xde)(i.annotation.attachment)?"no-referrer":void 0},[te("img",{src:j(n)},null,8,_de)],8,Sde)):je("",!0)}}});var ru={exports:{}},Tde=ru.exports,Y0;function ll(){return Y0||(Y0=1,function(e,t){(function(n,i){e.exports=i()})(Tde,function(){var n=navigator.userAgent,i=navigator.platform,s=/gecko\/\d/i.test(n),l=/MSIE \d/.test(n),u=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(n),f=/Edge\/(\d+)/.exec(n),h=l||u||f,p=h&&(l?document.documentMode||6:+(f||u)[1]),g=!f&&/WebKit\//.test(n),v=g&&/Qt\/\d+\.\d+/.test(n),y=!f&&/Chrome\/(\d+)/.exec(n),w=y&&+y[1],L=/Opera\//.test(n),$=/Apple Computer/.test(navigator.vendor),C=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(n),E=/PhantomJS/.test(n),N=$&&(/Mobile\/\w+/.test(n)||navigator.maxTouchPoints>2),O=/Android/.test(n),k=N||O||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(n),z=N||/Mac/.test(i),D=/\bCrOS\b/.test(n),oe=/win/i.test(i),Q=L&&n.match(/Version\/(\d*\.\d*)/);Q&&(Q=Number(Q[1])),Q&&Q>=15&&(L=!1,g=!0);var W=z&&(v||L&&(Q==null||Q<12.11)),q=s||h&&p>=9;function U(r){return new RegExp("(^|\\s)"+r+"(?:$|\\s)\\s*")}var A=function(r,o){var c=r.className,a=U(o).exec(c);if(a){var d=c.slice(a.index+a[0].length);r.className=c.slice(0,a.index)+(d?a[1]+d:"")}};function I(r){for(var o=r.childNodes.length;o>0;--o)r.removeChild(r.firstChild);return r}function P(r,o){return I(r).appendChild(o)}function S(r,o,c,a){var d=document.createElement(r);if(c&&(d.className=c),a&&(d.style.cssText=a),typeof o=="string")d.appendChild(document.createTextNode(o));else if(o)for(var m=0;m<o.length;++m)d.appendChild(o[m]);return d}function R(r,o,c,a){var d=S(r,o,c,a);return d.setAttribute("role","presentation"),d}var B;document.createRange?B=function(r,o,c,a){var d=document.createRange();return d.setEnd(a||r,c),d.setStart(r,o),d}:B=function(r,o,c){var a=document.body.createTextRange();try{a.moveToElementText(r.parentNode)}catch{return a}return a.collapse(!0),a.moveEnd("character",c),a.moveStart("character",o),a};function ie(r,o){if(o.nodeType==3&&(o=o.parentNode),r.contains)return r.contains(o);do if(o.nodeType==11&&(o=o.host),o==r)return!0;while(o=o.parentNode)}function ue(r){var o=r.ownerDocument||r,c;try{c=r.activeElement}catch{c=o.body||null}for(;c&&c.shadowRoot&&c.shadowRoot.activeElement;)c=c.shadowRoot.activeElement;return c}function we(r,o){var c=r.className;U(o).test(c)||(r.className+=(c?" ":"")+o)}function Pe(r,o){for(var c=r.split(" "),a=0;a<c.length;a++)c[a]&&!U(c[a]).test(o)&&(o+=" "+c[a]);return o}var qe=function(r){r.select()};N?qe=function(r){r.selectionStart=0,r.selectionEnd=r.value.length}:h&&(qe=function(r){try{r.select()}catch{}});function Ze(r){return r.display.wrapper.ownerDocument}function Ke(r){return Je(r.display.wrapper)}function Je(r){return r.getRootNode?r.getRootNode():r.ownerDocument}function re(r){return Ze(r).defaultView}function V(r){var o=Array.prototype.slice.call(arguments,1);return function(){return r.apply(null,o)}}function ee(r,o,c){o||(o={});for(var a in r)r.hasOwnProperty(a)&&(c!==!1||!o.hasOwnProperty(a))&&(o[a]=r[a]);return o}function J(r,o,c,a,d){o==null&&(o=r.search(/[^\s\u00a0]/),o==-1&&(o=r.length));for(var m=a||0,b=d||0;;){var x=r.indexOf(" ",m);if(x<0||x>=o)return b+(o-m);b+=x-m,b+=c-b%c,m=x+1}}var ae=function(){this.id=null,this.f=null,this.time=0,this.handler=V(this.onTimeout,this)};ae.prototype.onTimeout=function(r){r.id=0,r.time<=+new Date?r.f():setTimeout(r.handler,r.time-+new Date)},ae.prototype.set=function(r,o){this.f=o;var c=+new Date+r;(!this.id||c<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,r),this.time=c)};function ge(r,o){for(var c=0;c<r.length;++c)if(r[c]==o)return c;return-1}var F=50,G={toString:function(){return"CodeMirror.Pass"}},Y={scroll:!1},fe={origin:"*mouse"},pe={origin:"+move"};function he(r,o,c){for(var a=0,d=0;;){var m=r.indexOf(" ",a);m==-1&&(m=r.length);var b=m-a;if(m==r.length||d+b>=o)return a+Math.min(b,o-d);if(d+=m-a,d+=c-d%c,a=m+1,d>=o)return a}}var Ce=[""];function Ee(r){for(;Ce.length<=r;)Ce.push(ve(Ce)+" ");return Ce[r]}function ve(r){return r[r.length-1]}function be(r,o){for(var c=[],a=0;a<r.length;a++)c[a]=o(r[a],a);return c}function He(r,o,c){for(var a=0,d=c(o);a<r.length&&c(r[a])<=d;)a++;r.splice(a,0,o)}function Me(){}function De(r,o){var c;return Object.create?c=Object.create(r):(Me.prototype=r,c=new Me),o&&ee(o,c),c}var Ve=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function rt(r){return/\w/.test(r)||r>""&&(r.toUpperCase()!=r.toLowerCase()||Ve.test(r))}function st(r,o){return o?o.source.indexOf("\\w")>-1&&rt(r)?!0:o.test(r):rt(r)}function ut(r){for(var o in r)if(r.hasOwnProperty(o)&&r[o])return!1;return!0}var $t=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function lt(r){return r.charCodeAt(0)>=768&&$t.test(r)}function Xt(r,o,c){for(;(c<0?o>0:o<r.length)&<(r.charAt(o));)o+=c;return o}function Bt(r,o,c){for(var a=o>c?-1:1;;){if(o==c)return o;var d=(o+c)/2,m=a<0?Math.ceil(d):Math.floor(d);if(m==o)return r(m)?o:c;r(m)?c=m:o=m+a}}function Dn(r,o,c,a){if(!r)return a(o,c,"ltr",0);for(var d=!1,m=0;m<r.length;++m){var b=r[m];(b.from<c&&b.to>o||o==c&&b.to==o)&&(a(Math.max(b.from,o),Math.min(b.to,c),b.level==1?"rtl":"ltr",m),d=!0)}d||a(o,c,"ltr")}var Hr=null;function Ft(r,o,c){var a;Hr=null;for(var d=0;d<r.length;++d){var m=r[d];if(m.from<o&&m.to>o)return d;m.to==o&&(m.from!=m.to&&c=="before"?a=d:Hr=d),m.from==o&&(m.from!=m.to&&c!="before"?a=d:Hr=d)}return a??Hr}var Fn=function(){var r="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",o="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function c(T){return T<=247?r.charAt(T):1424<=T&&T<=1524?"R":1536<=T&&T<=1785?o.charAt(T-1536):1774<=T&&T<=2220?"r":8192<=T&&T<=8203?"w":T==8204?"b":"L"}var a=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,d=/[stwN]/,m=/[LRr]/,b=/[Lb1n]/,x=/[1n]/;function _(T,H,K){this.level=T,this.from=H,this.to=K}return function(T,H){var K=H=="ltr"?"L":"R";if(T.length==0||H=="ltr"&&!a.test(T))return!1;for(var ne=T.length,Z=[],ce=0;ce<ne;++ce)Z.push(c(T.charCodeAt(ce)));for(var me=0,Se=K;me<ne;++me){var ke=Z[me];ke=="m"?Z[me]=Se:Se=ke}for(var $e=0,Te=K;$e<ne;++$e){var Ne=Z[$e];Ne=="1"&&Te=="r"?Z[$e]="n":m.test(Ne)&&(Te=Ne,Ne=="r"&&(Z[$e]="R"))}for(var We=1,ze=Z[0];We<ne-1;++We){var Qe=Z[We];Qe=="+"&&ze=="1"&&Z[We+1]=="1"?Z[We]="1":Qe==","&&ze==Z[We+1]&&(ze=="1"||ze=="n")&&(Z[We]=ze),ze=Qe}for(var xt=0;xt<ne;++xt){var Qt=Z[xt];if(Qt==",")Z[xt]="N";else if(Qt=="%"){var Mt=void 0;for(Mt=xt+1;Mt<ne&&Z[Mt]=="%";++Mt);for(var Wn=xt&&Z[xt-1]=="!"||Mt<ne&&Z[Mt]=="1"?"1":"N",Cn=xt;Cn<Mt;++Cn)Z[Cn]=Wn;xt=Mt-1}}for(var Wt=0,En=K;Wt<ne;++Wt){var on=Z[Wt];En=="L"&&on=="1"?Z[Wt]="L":m.test(on)&&(En=on)}for(var Vt=0;Vt<ne;++Vt)if(d.test(Z[Vt])){var jt=void 0;for(jt=Vt+1;jt<ne&&d.test(Z[jt]);++jt);for(var zt=(Vt?Z[Vt-1]:K)=="L",An=(jt<ne?Z[jt]:K)=="L",_s=zt==An?zt?"L":"R":K,ji=Vt;ji<jt;++ji)Z[ji]=_s;Vt=jt-1}for(var un=[],Ur,en=0;en<ne;)if(b.test(Z[en])){var dd=en;for(++en;en<ne&&b.test(Z[en]);++en);un.push(new _(0,dd,en))}else{var di=en,No=un.length,Io=H=="rtl"?1:0;for(++en;en<ne&&Z[en]!="L";++en);for(var gn=di;gn<en;)if(x.test(Z[gn])){di<gn&&(un.splice(No,0,new _(1,di,gn)),No+=Io);var ks=gn;for(++gn;gn<en&&x.test(Z[gn]);++gn);un.splice(No,0,new _(2,ks,gn)),No+=Io,di=gn}else++gn;di<en&&un.splice(No,0,new _(1,di,en))}return H=="ltr"&&(un[0].level==1&&(Ur=T.match(/^\s+/))&&(un[0].from=Ur[0].length,un.unshift(new _(0,0,Ur[0].length))),ve(un).level==1&&(Ur=T.match(/\s+$/))&&(ve(un).to-=Ur[0].length,un.push(new _(0,ne-Ur[0].length,ne)))),H=="rtl"?un.reverse():un}}();function tt(r,o){var c=r.order;return c==null&&(c=r.order=Fn(r.text,o)),c}var So=[],Be=function(r,o,c){if(r.addEventListener)r.addEventListener(o,c,!1);else if(r.attachEvent)r.attachEvent("on"+o,c);else{var a=r._handlers||(r._handlers={});a[o]=(a[o]||So).concat(c)}};function oi(r,o){return r._handlers&&r._handlers[o]||So}function ln(r,o,c){if(r.removeEventListener)r.removeEventListener(o,c,!1);else if(r.detachEvent)r.detachEvent("on"+o,c);else{var a=r._handlers,d=a&&a[o];if(d){var m=ge(d,c);m>-1&&(a[o]=d.slice(0,m).concat(d.slice(m+1)))}}}function Pt(r,o){var c=oi(r,o);if(c.length)for(var a=Array.prototype.slice.call(arguments,2),d=0;d<c.length;++d)c[d].apply(null,a)}function Ot(r,o,c){return typeof o=="string"&&(o={type:o,preventDefault:function(){this.defaultPrevented=!0}}),Pt(r,c||o.type,r,o),Sn(o)||o.codemirrorIgnore}function sr(r){var o=r._handlers&&r._handlers.cursorActivity;if(o)for(var c=r.curOp.cursorActivityHandlers||(r.curOp.cursorActivityHandlers=[]),a=0;a<o.length;++a)ge(c,o[a])==-1&&c.push(o[a])}function Hn(r,o){return oi(r,o).length>0}function mr(r){r.prototype.on=function(o,c){Be(this,o,c)},r.prototype.off=function(o,c){ln(this,o,c)}}function an(r){r.preventDefault?r.preventDefault():r.returnValue=!1}function Zo(r){r.stopPropagation?r.stopPropagation():r.cancelBubble=!0}function Sn(r){return r.defaultPrevented!=null?r.defaultPrevented:r.returnValue==!1}function Mi(r){an(r),Zo(r)}function cl(r){return r.target||r.srcElement}function vr(r){var o=r.which;return o==null&&(r.button&1?o=1:r.button&2?o=3:r.button&4&&(o=2)),z&&r.ctrlKey&&o==1&&(o=3),o}var bf=function(){if(h&&p<9)return!1;var r=S("div");return"draggable"in r||"dragDrop"in r}(),Qo;function Qa(r){if(Qo==null){var o=S("span","");P(r,S("span",[o,document.createTextNode("x")])),r.firstChild.offsetHeight!=0&&(Qo=o.offsetWidth<=1&&o.offsetHeight>2&&!(h&&p<8))}var c=Qo?S("span",""):S("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return c.setAttribute("cm-text",""),c}var ul;function Ni(r){if(ul!=null)return ul;var o=P(r,document.createTextNode("AخA")),c=B(o,0,1).getBoundingClientRect(),a=B(o,1,2).getBoundingClientRect();return I(r),!c||c.left==c.right?!1:ul=a.right-c.right<3}var lr=`
|
|
25
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B=!0,ie=!1,ue;return{s:function(){P=P.call(A)},n:function(){var Pe=P.next();return B=Pe.done,Pe},e:function(Pe){ie=!0,ue=Pe},f:function(){try{!B&&P.return!=null&&P.return()}finally{if(ie)throw ue}}}}function s(A,I){if(A){if(typeof A=="string")return l(A,I);var P=Object.prototype.toString.call(A).slice(8,-1);if(P==="Object"&&A.constructor&&(P=A.constructor.name),P==="Map"||P==="Set")return Array.from(A);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return l(A,I)}}function l(A,I){(I==null||I>A.length)&&(I=A.length);for(var P=0,S=new Array(I);P<I;P++)S[P]=A[P];return S}var u=bfe(),f={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:h()};function h(){var A={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return C(0,5).forEach(function(I){C(0,5).forEach(function(P){C(0,5).forEach(function(S){return p(I,P,S,A)})})}),C(0,23).forEach(function(I){var P=I+232,S=g(I*10+8);A[P]="#"+S+S+S}),A}function p(A,I,P,S){var R=16+A*36+I*6+P,B=A>0?A*40+55:0,ie=I>0?I*40+55:0,ue=P>0?P*40+55:0;S[R]=v([B,ie,ue])}function g(A){for(var I=A.toString(16);I.length<2;)I="0"+I;return I}function v(A){var I=[],P=i(A),S;try{for(P.s();!(S=P.n()).done;){var R=S.value;I.push(g(R))}}catch(B){P.e(B)}finally{P.f()}return"#"+I.join("")}function y(A,I,P,S){var R;return I==="text"?R=O(P,S):I==="display"?R=L(A,P,S):I==="xterm256Foreground"?R=D(A,S.colors[P]):I==="xterm256Background"?R=oe(A,S.colors[P]):I==="rgb"&&(R=w(A,P)),R}function w(A,I){I=I.substring(2).slice(0,-1);var P=+I.substr(0,2),S=I.substring(5).split(";"),R=S.map(function(B){return("0"+Number(B).toString(16)).substr(-2)}).join("");return z(A,(P===38?"color:#":"background-color:#")+R)}function L(A,I,P){I=parseInt(I,10);var S={"-1":function(){return"<br/>"},0:function(){return A.length&&$(A)},1:function(){return k(A,"b")},3:function(){return k(A,"i")},4:function(){return k(A,"u")},8:function(){return z(A,"display:none")},9:function(){return k(A,"strike")},22:function(){return z(A,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return Q(A,"i")},24:function(){return Q(A,"u")},39:function(){return D(A,P.fg)},49:function(){return oe(A,P.bg)},53:function(){return z(A,"text-decoration:overline")}},R;return S[I]?R=S[I]():4<I&&I<7?R=k(A,"blink"):29<I&&I<38?R=D(A,P.colors[I-30]):39<I&&I<48?R=oe(A,P.colors[I-40]):89<I&&I<98?R=D(A,P.colors[8+(I-90)]):99<I&&I<108&&(R=oe(A,P.colors[8+(I-100)])),R}function $(A){var I=A.slice(0);return A.length=0,I.reverse().map(function(P){return"</"+P+">"}).join("")}function C(A,I){for(var P=[],S=A;S<=I;S++)P.push(S);return P}function E(A){return function(I){return(A===null||I.category!==A)&&A!=="all"}}function N(A){A=parseInt(A,10);var I=null;return A===0?I="all":A===1?I="bold":2<A&&A<5?I="underline":4<A&&A<7?I="blink":A===8?I="hide":A===9?I="strike":29<A&&A<38||A===39||89<A&&A<98?I="foreground-color":(39<A&&A<48||A===49||99<A&&A<108)&&(I="background-color"),I}function O(A,I){return I.escapeXML?u.encodeXML(A):A}function k(A,I,P){return P||(P=""),A.push(I),"<".concat(I).concat(P?' style="'.concat(P,'"'):"",">")}function z(A,I){return k(A,"span",I)}function D(A,I){return k(A,"span","color:"+I)}function oe(A,I){return k(A,"span","background-color:"+I)}function Q(A,I){var P;if(A.slice(-1)[0]===I&&(P=A.pop()),P)return"</"+I+">"}function W(A,I,P){var S=!1,R=3;function B(){return""}function ie(G,Y){return P("xterm256Foreground",Y),""}function ue(G,Y){return P("xterm256Background",Y),""}function we(G){return I.newline?P("display",-1):P("text",G),""}function Pe(G,Y){S=!0,Y.trim().length===0&&(Y="0"),Y=Y.trimRight(";").split(";");var fe=i(Y),pe;try{for(fe.s();!(pe=fe.n()).done;){var he=pe.value;P("display",he)}}catch(Ce){fe.e(Ce)}finally{fe.f()}return""}function qe(G){return P("text",G),""}function Ze(G){return P("rgb",G),""}var Ke=[{pattern:/^\x08+/,sub:B},{pattern:/^\x1b\[[012]?K/,sub:B},{pattern:/^\x1b\[\(B/,sub:B},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:Ze},{pattern:/^\x1b\[38;5;(\d+)m/,sub:ie},{pattern:/^\x1b\[48;5;(\d+)m/,sub:ue},{pattern:/^\n/,sub:we},{pattern:/^\r+\n/,sub:we},{pattern:/^\r/,sub:we},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:Pe},{pattern:/^\x1b\[\d?J/,sub:B},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:B},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:B},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:qe}];function Je(G,Y){Y>R&&S||(S=!1,A=A.replace(G.pattern,G.sub))}var re=[],V=A,ee=V.length;e:for(;ee>0;){for(var J=0,ae=0,ge=Ke.length;ae<ge;J=++ae){var F=Ke[J];if(Je(F,J),A.length!==ee){ee=A.length;continue e}}if(A.length===ee)break;re.push(0),ee=A.length}return re}function q(A,I,P){return I!=="text"&&(A=A.filter(E(N(P))),A.push({token:I,data:P,category:N(P)})),A}var U=function(){function A(I){e(this,A),I=I||{},I.colors&&(I.colors=Object.assign({},f.colors,I.colors)),this.options=Object.assign({},f,I),this.stack=[],this.stickyStack=[]}return n(A,[{key:"toHtml",value:function(P){var S=this;P=typeof P=="string"?[P]:P;var R=this.stack,B=this.options,ie=[];return this.stickyStack.forEach(function(ue){var we=y(R,ue.token,ue.data,B);we&&ie.push(we)}),W(P.join(""),B,function(ue,we){var Pe=y(R,ue,we,B);Pe&&ie.push(Pe),B.stream&&(S.stickyStack=q(S.stickyStack,ue,we))}),R.length&&ie.push($(R)),ie.join("")}}]),A}();return Dd=U,Dd}var xfe=wfe();const Sfe=kp(xfe);function aa(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function _fe(e,t){return t&&e.endsWith(t)}async function Pp(e,t,n){const i=encodeURI(`${e}:${t}:${n}`);await fetch(`/__open-in-editor?file=${i}`)}function Op(e){return new Sfe({fg:e?"#FFF":"#000",bg:e?"#000":"#FFF"})}function kfe(e){return e===null||typeof e!="function"&&typeof e!="object"}function e1(e){let t=e;if(kfe(e)&&(t={message:String(t).split(/\n/g)[0],stack:String(t),name:"",stacks:[]}),!e){const n=new Error("unknown error");t={message:n.message,stack:n.stack,name:"",stacks:[]}}return t.stacks=HL(t.stack||"",{ignoreStackEntries:[]}),t}function Tfe(e,t){var s,l;let n="";return(s=t.message)!=null&&s.includes("\x1B")&&(n=`<b>${t.name}</b>: ${e.toHtml(aa(t.message))}`),((l=t.stack)==null?void 0:l.includes("\x1B"))&&(n.length>0?n+=e.toHtml(aa(t.stack)):n=`<b>${t.name}</b>: ${t.message}${e.toHtml(aa(t.stack))}`),n.length>0?n:null}function t1(e,t){const n=Op(e);return t.map(i=>{var u;const s=i.result;if(!s||s.htmlError)return i;const l=(u=s.errors)==null?void 0:u.map(f=>Tfe(n,f)).filter(f=>f!=null).join("<br><br>");return l!=null&&l.length&&(s.htmlError=l),i})}var nr=Uint8Array,Ps=Uint16Array,Cfe=Int32Array,n1=new nr([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),r1=new nr([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Efe=new nr([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),i1=function(e,t){for(var n=new Ps(31),i=0;i<31;++i)n[i]=t+=1<<e[i-1];for(var s=new Cfe(n[30]),i=1;i<30;++i)for(var l=n[i];l<n[i+1];++l)s[l]=l-n[i]<<5|i;return{b:n,r:s}},o1=i1(n1,2),s1=o1.b,Afe=o1.r;s1[28]=258,Afe[258]=28;var Lfe=i1(r1,0),$fe=Lfe.b,Mh=new Ps(32768);for(var Lt=0;Lt<32768;++Lt){var Vi=(Lt&43690)>>1|(Lt&21845)<<1;Vi=(Vi&52428)>>2|(Vi&13107)<<2,Vi=(Vi&61680)>>4|(Vi&3855)<<4,Mh[Lt]=((Vi&65280)>>8|(Vi&255)<<8)>>1}var ca=function(e,t,n){for(var i=e.length,s=0,l=new Ps(t);s<i;++s)e[s]&&++l[e[s]-1];var u=new Ps(t);for(s=1;s<t;++s)u[s]=u[s-1]+l[s-1]<<1;var f;if(n){f=new Ps(1<<t);var h=15-t;for(s=0;s<i;++s)if(e[s])for(var p=s<<4|e[s],g=t-e[s],v=u[e[s]-1]++<<g,y=v|(1<<g)-1;v<=y;++v)f[Mh[v]>>h]=p}else for(f=new Ps(i),s=0;s<i;++s)e[s]&&(f[s]=Mh[u[e[s]-1]++]>>15-e[s]);return f},Ka=new nr(288);for(var Lt=0;Lt<144;++Lt)Ka[Lt]=8;for(var Lt=144;Lt<256;++Lt)Ka[Lt]=9;for(var Lt=256;Lt<280;++Lt)Ka[Lt]=7;for(var Lt=280;Lt<288;++Lt)Ka[Lt]=8;var l1=new nr(32);for(var Lt=0;Lt<32;++Lt)l1[Lt]=5;var Mfe=ca(Ka,9,1),Nfe=ca(l1,5,1),Fd=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},Cr=function(e,t,n){var i=t/8|0;return(e[i]|e[i+1]<<8)>>(t&7)&n},Hd=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},Ife=function(e){return(e+7)/8|0},a1=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new nr(e.subarray(t,n))},Pfe=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],qn=function(e,t,n){var i=new Error(t||Pfe[e]);if(i.code=e,Error.captureStackTrace&&Error.captureStackTrace(i,qn),!n)throw i;return i},Rp=function(e,t,n,i){var s=e.length,l=0;if(!s||t.f&&!t.l)return n||new nr(0);var u=!n,f=u||t.i!=2,h=t.i;u&&(n=new nr(s*3));var p=function(ge){var F=n.length;if(ge>F){var G=new nr(Math.max(F*2,ge));G.set(n),n=G}},g=t.f||0,v=t.p||0,y=t.b||0,w=t.l,L=t.d,$=t.m,C=t.n,E=s*8;do{if(!w){g=Cr(e,v,1);var N=Cr(e,v+1,3);if(v+=3,N)if(N==1)w=Mfe,L=Nfe,$=9,C=5;else if(N==2){var D=Cr(e,v,31)+257,oe=Cr(e,v+10,15)+4,Q=D+Cr(e,v+5,31)+1;v+=14;for(var W=new nr(Q),q=new nr(19),U=0;U<oe;++U)q[Efe[U]]=Cr(e,v+U*3,7);v+=oe*3;for(var A=Fd(q),I=(1<<A)-1,P=ca(q,A,1),U=0;U<Q;){var S=P[Cr(e,v,I)];v+=S&15;var O=S>>4;if(O<16)W[U++]=O;else{var R=0,B=0;for(O==16?(B=3+Cr(e,v,3),v+=2,R=W[U-1]):O==17?(B=3+Cr(e,v,7),v+=3):O==18&&(B=11+Cr(e,v,127),v+=7);B--;)W[U++]=R}}var ie=W.subarray(0,D),ue=W.subarray(D);$=Fd(ie),C=Fd(ue),w=ca(ie,$,1),L=ca(ue,C,1)}else qn(1);else{var O=Ife(v)+4,k=e[O-4]|e[O-3]<<8,z=O+k;if(z>s){h&&qn(0);break}f&&p(y+k),n.set(e.subarray(O,z),y),t.b=y+=k,t.p=v=z*8,t.f=g;continue}if(v>E){h&&qn(0);break}}f&&p(y+131072);for(var we=(1<<$)-1,Pe=(1<<C)-1,qe=v;;qe=v){var R=w[Hd(e,v)&we],Ze=R>>4;if(v+=R&15,v>E){h&&qn(0);break}if(R||qn(2),Ze<256)n[y++]=Ze;else if(Ze==256){qe=v,w=null;break}else{var Ke=Ze-254;if(Ze>264){var U=Ze-257,Je=n1[U];Ke=Cr(e,v,(1<<Je)-1)+s1[U],v+=Je}var re=L[Hd(e,v)&Pe],V=re>>4;re||qn(3),v+=re&15;var ue=$fe[V];if(V>3){var Je=r1[V];ue+=Hd(e,v)&(1<<Je)-1,v+=Je}if(v>E){h&&qn(0);break}f&&p(y+131072);var ee=y+Ke;if(y<ue){var J=l-ue,ae=Math.min(ue,ee);for(J+y<0&&qn(3);y<ae;++y)n[y]=i[J+y]}for(;y<ee;++y)n[y]=n[y-ue]}}t.l=w,t.p=qe,t.b=y,t.f=g,w&&(g=1,t.m=$,t.d=L,t.n=C)}while(!g);return y!=n.length&&u?a1(n,0,y):n.subarray(0,y)},Ofe=new nr(0),Rfe=function(e){(e[0]!=31||e[1]!=139||e[2]!=8)&&qn(6,"invalid gzip data");var t=e[3],n=10;t&4&&(n+=(e[10]|e[11]<<8)+2);for(var i=(t>>3&1)+(t>>4&1);i>0;i-=!e[n++]);return n+(t&2)},zfe=function(e){var t=e.length;return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0},Dfe=function(e,t){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&qn(6,"invalid zlib data"),(e[1]>>5&1)==1&&qn(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function Ffe(e,t){return Rp(e,{i:2},t,t)}function Hfe(e,t){var n=Rfe(e);return n+8>e.length&&qn(6,"invalid gzip data"),Rp(e.subarray(n,-8),{i:2},new nr(zfe(e)),t)}function Bfe(e,t){return Rp(e.subarray(Dfe(e),-4),{i:2},t,t)}function Wfe(e,t){return e[0]==31&&e[1]==139&&e[2]==8?Hfe(e,t):(e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31?Ffe(e,t):Bfe(e,t)}var Nh=typeof TextDecoder<"u"&&new TextDecoder,jfe=0;try{Nh.decode(Ofe,{stream:!0}),jfe=1}catch{}var qfe=function(e){for(var t="",n=0;;){var i=e[n++],s=(i>127)+(i>223)+(i>239);if(n+s>e.length)return{s:t,r:a1(e,n-1)};s?s==3?(i=((i&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|i>>10,56320|i&1023)):s&1?t+=String.fromCharCode((i&31)<<6|e[n++]&63):t+=String.fromCharCode((i&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(i)}};function Ufe(e,t){var n;if(Nh)return Nh.decode(e);var i=qfe(e),s=i.s,n=i.r;return n.length&&qn(8),s}const Bd=()=>{},mn=()=>Promise.resolve();function Vfe(){const e=rr({state:new _x,waitForConnection:u,reconnect:s,ws:new EventTarget});e.state.filesMap=rr(e.state.filesMap),e.state.idMap=rr(e.state.idMap);let t;const n={getFiles:()=>t.files,getPaths:()=>t.paths,getConfig:()=>t.config,getResolvedProjectNames:()=>t.projects,getResolvedProjectLabels:()=>[],getModuleGraph:async(f,h)=>{var p;return(p=t.moduleGraph[f])==null?void 0:p[h]},getUnhandledErrors:()=>t.unhandledErrors,getTransformResult:mn,onDone:Bd,onTaskUpdate:Bd,writeFile:mn,rerun:mn,rerunTask:mn,updateSnapshot:mn,resolveSnapshotPath:mn,snapshotSaved:mn,onAfterSuiteRun:mn,onCancel:mn,getCountOfFailedTests:()=>0,sendLog:mn,resolveSnapshotRawPath:mn,readSnapshotFile:mn,saveSnapshotFile:mn,readTestFile:async f=>t.sources[f],removeSnapshotFile:mn,onUnhandledError:Bd,saveTestFile:mn,getProvidedContext:()=>({}),getTestFiles:mn};e.rpc=n;const i=Promise.resolve();function s(){l()}async function l(){var g;const f=await fetch(window.METADATA_PATH),h=((g=f.headers.get("content-type"))==null?void 0:g.toLowerCase())||"";if(h.includes("application/gzip")||h.includes("application/x-gzip")){const v=new Uint8Array(await f.arrayBuffer()),y=Ufe(Wfe(v));t=kh(y)}else t=kh(await f.text());const p=new Event("open");e.ws.dispatchEvent(p)}l();function u(){return i}return e}const ht=function(){return pr?Vfe():D$(KM,{reactive:(t,n)=>n==="state"?rr(t):nn(t),handlers:{onTestAnnotate(t,n){Ae.annotateTest(t,n)},onTaskUpdate(t,n){Ae.resumeRun(t,n),df.value="running"},onFinished(t,n){Ae.endRun(),Qi.value=(n||[]).map(e1)},onFinishedReportCoverage(){const t=document.querySelector("iframe#vitest-ui-coverage");t instanceof HTMLIFrameElement&&t.contentWindow&&t.contentWindow.location.reload()}}})}(),tl=nn({}),jo=Ue("CONNECTING"),qt=_e(()=>{const e=vo.value;return e?gr(e):void 0}),c1=_e(()=>Cp(qt.value).map(e=>(e==null?void 0:e.logs)||[]).flat()||[]);function gr(e){const t=ht.state.idMap.get(e);return t||void 0}const Gfe=_e(()=>jo.value==="OPEN"),Wd=_e(()=>jo.value==="CONNECTING");_e(()=>jo.value==="CLOSED");function Xfe(){return zp(ht.state.getFiles())}function u1(e){delete e.result;const t=Ae.nodes.get(e.id);if(t&&(t.state=void 0,t.duration=void 0,Va(e)))for(const n of e.tasks)u1(n)}function Kfe(e){const t=Ae.nodes;e.forEach(n=>{delete n.result,Cp(n).forEach(s=>{if(delete s.result,t.has(s.id)){const l=t.get(s.id);l&&(l.state=void 0,l.duration=void 0)}});const i=t.get(n.id);i&&(i.state=void 0,i.duration=void 0,On(i)&&(i.collectDuration=void 0))})}function zp(e){return Kfe(e),Ae.startRun(),ht.rpc.rerun(e.map(t=>t.filepath),!0)}function Jfe(e){return u1(e),Ae.startRun(),ht.rpc.rerunTask(e.id)}const It=window.__vitest_browser_runner__;window.__vitest_ui_api__=VM;St(()=>ht.ws,e=>{jo.value=pr?"OPEN":"CONNECTING",e.addEventListener("open",async()=>{jo.value="OPEN",ht.state.filesMap.clear();let[t,n,i,s]=await Promise.all([ht.rpc.getFiles(),ht.rpc.getConfig(),ht.rpc.getUnhandledErrors(),ht.rpc.getResolvedProjectLabels()]);n.standalone&&(t=(await ht.rpc.getTestFiles()).map(([{name:u,root:f},h])=>{const p=ux(h,f,u);return p.mode="skip",p})),Ae.loadFiles(t,s),ht.state.collectFiles(t),Ae.startRun(),Qi.value=(i||[]).map(e1),tl.value=n}),e.addEventListener("close",()=>{setTimeout(()=>{jo.value==="CONNECTING"&&(jo.value="CLOSED")},1e3)})},{immediate:!0});const Yfe={"text-2xl":""},Zfe={"text-lg":"",op50:""},Qfe=at({__name:"ConnectionOverlay",setup(e){return(t,n)=>j(Gfe)?je("",!0):(se(),ye("div",{key:0,fixed:"","inset-0":"",p2:"","z-10":"","select-none":"",text:"center sm",bg:"overlay","backdrop-blur-sm":"","backdrop-saturate-0":"",onClick:n[0]||(n[0]=(...i)=>j(ht).reconnect&&j(ht).reconnect(...i))},[te("div",{"h-full":"",flex:"~ col gap-2","items-center":"","justify-center":"",class:ot(j(Wd)?"animate-pulse":"")},[te("div",{text:"5xl",class:ot(j(Wd)?"i-carbon:renew animate-spin animate-reverse":"i-carbon-wifi-off")},null,2),te("div",Yfe,Re(j(Wd)?"Connecting...":"Disconnected"),1),te("div",Zfe," Check your terminal or start a new server with `"+Re(j(It)?`vitest --browser=${j(It).config.browser.name}`:"vitest --ui")+"` ",1)],2)]))}}),ede=["aria-label","opacity","disabled","hover"],ri=at({__name:"IconButton",props:{icon:{},title:{},disabled:{type:Boolean},active:{type:Boolean}},setup(e){return(t,n)=>(se(),ye("button",{"aria-label":t.title,role:"button",opacity:t.disabled?10:70,rounded:"",disabled:t.disabled,hover:t.disabled||t.active?"":"bg-active op100",class:ot(["w-1.4em h-1.4em flex",[{"bg-gray-500:35 op100":t.active}]])},[xn(t.$slots,"default",{},()=>[te("span",{class:ot(t.icon),ma:"",block:""},null,2)])],10,ede))}}),tde={h:"full",flex:"~ col"},nde={p:"3","h-10":"",flex:"~ gap-2","items-center":"","bg-header":"",border:"b base"},rde={p:"l3 y2 r2",flex:"~ gap-2","items-center":"","bg-header":"",border:"b-2 base"},ide={class:"pointer-events-none","text-sm":""},ode={key:0},sde={id:"tester-container",relative:""},lde=["data-scale"],J0=20,ade=100,cde=at({__name:"BrowserIframe",setup(e){const t={"small-mobile":[320,568],"large-mobile":[414,896],tablet:[834,1112]};function n(p){const g=t[p];return er.value[0]===g[0]&&er.value[1]===g[1]}const{width:i,height:s}=Rx();async function l(p){er.value=t[p],(It==null?void 0:It.provider)==="webdriverio"&&Yx()}const u=_e(()=>{if((It==null?void 0:It.provider)==="webdriverio"){const[w,L]=er.value;return{width:w,height:L}}const v=i.value*(At.details.size/100)*(At.details.browser/100)-J0,y=s.value-ade;return{width:v,height:y}}),f=_e(()=>{if((It==null?void 0:It.provider)==="webdriverio")return 1;const[p,g]=er.value,{width:v,height:y}=u.value,w=v>p?1:v/p,L=y>g?1:y/g;return Math.min(1,w,L)}),h=_e(()=>{const p=u.value.width,g=er.value[0];return`${Math.trunc((p+J0-g)/2)}px`});return(p,g)=>{const v=ri,y=Dr("tooltip");return se(),ye("div",tde,[te("div",nde,[ct(Ie(v,{title:"Show Navigation Panel","rotate-180":"",icon:"i-carbon:side-panel-close",onClick:g[0]||(g[0]=w=>j(UM)())},null,512),[[no,j(At).navigation<=15],[y,"Show Navigation Panel",void 0,{bottom:!0}]]),g[6]||(g[6]=te("div",{class:"i-carbon-content-delivery-network"},null,-1)),g[7]||(g[7]=te("span",{"pl-1":"","font-bold":"","text-sm":"","flex-auto":"","ws-nowrap":"","overflow-hidden":"",truncate:""},"Browser UI",-1)),ct(Ie(v,{title:"Hide Right Panel",icon:"i-carbon:side-panel-close","rotate-180":"",onClick:g[1]||(g[1]=w=>j(jM)())},null,512),[[no,j(At).details.main>0],[y,"Hide Right Panel",void 0,{bottom:!0}]]),ct(Ie(v,{title:"Show Right Panel",icon:"i-carbon:side-panel-close",onClick:g[2]||(g[2]=w=>j(qM)())},null,512),[[no,j(At).details.main===0],[y,"Show Right Panel",void 0,{bottom:!0}]])]),te("div",rde,[ct(Ie(v,{title:"Small mobile",icon:"i-carbon:mobile",active:n("small-mobile"),onClick:g[3]||(g[3]=w=>l("small-mobile"))},null,8,["active"]),[[y,"Small mobile",void 0,{bottom:!0}]]),ct(Ie(v,{title:"Large mobile",icon:"i-carbon:mobile-add",active:n("large-mobile"),onClick:g[4]||(g[4]=w=>l("large-mobile"))},null,8,["active"]),[[y,"Large mobile",void 0,{bottom:!0}]]),ct(Ie(v,{title:"Tablet",icon:"i-carbon:tablet",active:n("tablet"),onClick:g[5]||(g[5]=w=>l("tablet"))},null,8,["active"]),[[y,"Tablet",void 0,{bottom:!0}]]),te("span",ide,[dt(Re(j(er)[0])+"x"+Re(j(er)[1])+"px ",1),j(f)<1?(se(),ye("span",ode,"("+Re((j(f)*100).toFixed(0))+"%)",1)):je("",!0)])]),te("div",sde,[te("div",{id:"tester-ui",class:"flex h-full justify-center items-center font-light op70","data-scale":j(f),style:tn({"--viewport-width":`${j(er)[0]}px`,"--viewport-height":`${j(er)[1]}px`,"--tester-transform":`scale(${j(f)})`,"--tester-margin-left":j(h)})}," Select a test to run ",12,lde)])])}}}),ude=ni(cde,[["__scopeId","data-v-9fd23e63"]]),Dp=at({__name:"Modal",props:ma({direction:{default:"bottom"}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=ef(e,"modelValue"),n=_e(()=>{switch(e.direction){case"bottom":return"bottom-0 left-0 right-0 border-t";case"top":return"top-0 left-0 right-0 border-b";case"left":return"bottom-0 left-0 top-0 border-r";case"right":return"bottom-0 top-0 right-0 border-l";default:return""}}),i=_e(()=>{switch(e.direction){case"bottom":return"translateY(100%)";case"top":return"translateY(-100%)";case"left":return"translateX(-100%)";case"right":return"translateX(100%)";default:return""}}),s=()=>t.value=!1;return(l,u)=>(se(),ye("div",{class:ot(["fixed inset-0 z-40",t.value?"":"pointer-events-none"])},[te("div",{class:ot(["bg-base inset-0 absolute transition-opacity duration-500 ease-out",t.value?"opacity-50":"opacity-0"]),onClick:s},null,2),te("div",{class:ot(["bg-base border-base absolute transition-all duration-200 ease-out scrolls",[j(n)]]),style:tn(t.value?{}:{transform:j(i)})},[xn(l.$slots,"default")],6)],2))}}),fde={"w-350":"","max-w-screen":"","h-full":"",flex:"","flex-col":""},dde={"p-4":"",relative:"",border:"base b"},hde={op50:"","font-mono":"","text-sm":""},pde={op50:"","font-mono":"","text-sm":""},gde={class:"scrolls",grid:"~ cols-1 rows-[min-content]","p-4":""},mde=["src","alt"],vde={key:1},yde=at({__name:"ScreenshotError",props:{file:{},name:{},url:{}},emits:["close"],setup(e,{emit:t}){const n=t;return Mx("Escape",()=>{n("close")}),(i,s)=>{const l=ri;return se(),ye("div",fde,[te("div",dde,[s[1]||(s[1]=te("p",null,"Screenshot error",-1)),te("p",hde,Re(i.file),1),te("p",pde,Re(i.name),1),Ie(l,{icon:"i-carbon:close",title:"Close",absolute:"","top-5px":"","right-5px":"","text-2xl":"",onClick:s[0]||(s[0]=u=>n("close"))})]),te("div",gde,[i.url?(se(),ye("img",{key:0,src:i.url,alt:`Screenshot error for '${i.name}' test in file '${i.file}'`,border:"base t r b l dotted red-500"},null,8,mde)):(se(),ye("div",vde," Something was wrong, the image cannot be resolved. "))])])}}}),f1=ni(yde,[["__scopeId","data-v-93900314"]]),d1={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/dicom":["dcm"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg","one","onea"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"application/zip+dotlottie":["lottie"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a","m4b"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime","mht","mhtml"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step":["step","stp","stpnc","p21","210"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(d1);var cr=function(e,t,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(e):i?i.value:t.get(e)},Ls,Kl,Bo;class bde{constructor(...t){Ls.set(this,new Map),Kl.set(this,new Map),Bo.set(this,new Map);for(const n of t)this.define(n)}define(t,n=!1){for(let[i,s]of Object.entries(t)){i=i.toLowerCase(),s=s.map(f=>f.toLowerCase()),cr(this,Bo,"f").has(i)||cr(this,Bo,"f").set(i,new Set);const l=cr(this,Bo,"f").get(i);let u=!0;for(let f of s){const h=f.startsWith("*");if(f=h?f.slice(1):f,l==null||l.add(f),u&&cr(this,Kl,"f").set(i,f),u=!1,h)continue;const p=cr(this,Ls,"f").get(f);if(p&&p!=i&&!n)throw new Error(`"${i} -> ${f}" conflicts with "${p} -> ${f}". Pass \`force=true\` to override this definition.`);cr(this,Ls,"f").set(f,i)}}return this}getType(t){if(typeof t!="string")return null;const n=t.replace(/^.*[/\\]/s,"").toLowerCase(),i=n.replace(/^.*\./s,"").toLowerCase(),s=n.length<t.length;return!(i.length<n.length-1)&&s?null:cr(this,Ls,"f").get(i)??null}getExtension(t){var n;return typeof t!="string"?null:(t=(n=t==null?void 0:t.split)==null?void 0:n.call(t,";")[0],(t&&cr(this,Kl,"f").get(t.trim().toLowerCase()))??null)}getAllExtensions(t){return typeof t!="string"?null:cr(this,Bo,"f").get(t.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(const t of cr(this,Bo,"f").values())Object.freeze(t);return this}_getTestState(){return{types:cr(this,Ls,"f"),extensions:cr(this,Kl,"f")}}}Ls=new WeakMap,Kl=new WeakMap,Bo=new WeakMap;const wde=new bde(d1)._freeze();function Pu(e){if(pr)return`/data/${e.path}`;const t=e.contentType??"application/octet-stream";return e.path?`/__vitest_attachment__?path=${encodeURIComponent(e.path)}&contentType=${t}&token=${window.VITEST_API_TOKEN}`:`data:${t};base64,${e.body}`}function h1(e,t){const n=t?wde.getExtension(t):null;return e.replace(/[\x00-\x2C\x2E\x2F\x3A-\x40\x5B-\x60\x7B-\x7F]+/g,"-")+(n?`.${n}`:"")}function xde(e){const t=e.path||e.body;return typeof t=="string"&&(t.startsWith("http://")||t.startsWith("https://"))}const Sde=["href","referrerPolicy"],_de=["src"],kde=at({__name:"AnnotationAttachmentImage",props:{annotation:{}},setup(e){const t=e,n=_e(()=>{const i=t.annotation.attachment,s=i.path||i.body;return typeof s=="string"&&(s.startsWith("http://")||s.startsWith("https://"))?s:Pu(i)});return(i,s)=>{var l;return i.annotation.attachment&&((l=i.annotation.attachment.contentType)!=null&&l.startsWith("image/"))?(se(),ye("a",{key:0,target:"_blank",class:"inline-block mt-2",style:{maxWidth:"600px"},href:j(n),referrerPolicy:j(xde)(i.annotation.attachment)?"no-referrer":void 0},[te("img",{src:j(n)},null,8,_de)],8,Sde)):je("",!0)}}});var ru={exports:{}},Tde=ru.exports,Y0;function ll(){return Y0||(Y0=1,function(e,t){(function(n,i){e.exports=i()})(Tde,function(){var n=navigator.userAgent,i=navigator.platform,s=/gecko\/\d/i.test(n),l=/MSIE \d/.test(n),u=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(n),f=/Edge\/(\d+)/.exec(n),h=l||u||f,p=h&&(l?document.documentMode||6:+(f||u)[1]),g=!f&&/WebKit\//.test(n),v=g&&/Qt\/\d+\.\d+/.test(n),y=!f&&/Chrome\/(\d+)/.exec(n),w=y&&+y[1],L=/Opera\//.test(n),$=/Apple Computer/.test(navigator.vendor),C=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(n),E=/PhantomJS/.test(n),N=$&&(/Mobile\/\w+/.test(n)||navigator.maxTouchPoints>2),O=/Android/.test(n),k=N||O||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(n),z=N||/Mac/.test(i),D=/\bCrOS\b/.test(n),oe=/win/i.test(i),Q=L&&n.match(/Version\/(\d*\.\d*)/);Q&&(Q=Number(Q[1])),Q&&Q>=15&&(L=!1,g=!0);var W=z&&(v||L&&(Q==null||Q<12.11)),q=s||h&&p>=9;function U(r){return new RegExp("(^|\\s)"+r+"(?:$|\\s)\\s*")}var A=function(r,o){var c=r.className,a=U(o).exec(c);if(a){var d=c.slice(a.index+a[0].length);r.className=c.slice(0,a.index)+(d?a[1]+d:"")}};function I(r){for(var o=r.childNodes.length;o>0;--o)r.removeChild(r.firstChild);return r}function P(r,o){return I(r).appendChild(o)}function S(r,o,c,a){var d=document.createElement(r);if(c&&(d.className=c),a&&(d.style.cssText=a),typeof o=="string")d.appendChild(document.createTextNode(o));else if(o)for(var m=0;m<o.length;++m)d.appendChild(o[m]);return d}function R(r,o,c,a){var d=S(r,o,c,a);return d.setAttribute("role","presentation"),d}var B;document.createRange?B=function(r,o,c,a){var d=document.createRange();return d.setEnd(a||r,c),d.setStart(r,o),d}:B=function(r,o,c){var a=document.body.createTextRange();try{a.moveToElementText(r.parentNode)}catch{return a}return a.collapse(!0),a.moveEnd("character",c),a.moveStart("character",o),a};function ie(r,o){if(o.nodeType==3&&(o=o.parentNode),r.contains)return r.contains(o);do if(o.nodeType==11&&(o=o.host),o==r)return!0;while(o=o.parentNode)}function ue(r){var o=r.ownerDocument||r,c;try{c=r.activeElement}catch{c=o.body||null}for(;c&&c.shadowRoot&&c.shadowRoot.activeElement;)c=c.shadowRoot.activeElement;return c}function we(r,o){var c=r.className;U(o).test(c)||(r.className+=(c?" ":"")+o)}function Pe(r,o){for(var c=r.split(" "),a=0;a<c.length;a++)c[a]&&!U(c[a]).test(o)&&(o+=" "+c[a]);return o}var qe=function(r){r.select()};N?qe=function(r){r.selectionStart=0,r.selectionEnd=r.value.length}:h&&(qe=function(r){try{r.select()}catch{}});function Ze(r){return r.display.wrapper.ownerDocument}function Ke(r){return Je(r.display.wrapper)}function Je(r){return r.getRootNode?r.getRootNode():r.ownerDocument}function re(r){return Ze(r).defaultView}function V(r){var o=Array.prototype.slice.call(arguments,1);return function(){return r.apply(null,o)}}function ee(r,o,c){o||(o={});for(var a in r)r.hasOwnProperty(a)&&(c!==!1||!o.hasOwnProperty(a))&&(o[a]=r[a]);return o}function J(r,o,c,a,d){o==null&&(o=r.search(/[^\s\u00a0]/),o==-1&&(o=r.length));for(var m=a||0,b=d||0;;){var x=r.indexOf(" ",m);if(x<0||x>=o)return b+(o-m);b+=x-m,b+=c-b%c,m=x+1}}var ae=function(){this.id=null,this.f=null,this.time=0,this.handler=V(this.onTimeout,this)};ae.prototype.onTimeout=function(r){r.id=0,r.time<=+new Date?r.f():setTimeout(r.handler,r.time-+new Date)},ae.prototype.set=function(r,o){this.f=o;var c=+new Date+r;(!this.id||c<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,r),this.time=c)};function ge(r,o){for(var c=0;c<r.length;++c)if(r[c]==o)return c;return-1}var F=50,G={toString:function(){return"CodeMirror.Pass"}},Y={scroll:!1},fe={origin:"*mouse"},pe={origin:"+move"};function he(r,o,c){for(var a=0,d=0;;){var m=r.indexOf(" ",a);m==-1&&(m=r.length);var b=m-a;if(m==r.length||d+b>=o)return a+Math.min(b,o-d);if(d+=m-a,d+=c-d%c,a=m+1,d>=o)return a}}var Ce=[""];function Ee(r){for(;Ce.length<=r;)Ce.push(ve(Ce)+" ");return Ce[r]}function ve(r){return r[r.length-1]}function be(r,o){for(var c=[],a=0;a<r.length;a++)c[a]=o(r[a],a);return c}function He(r,o,c){for(var a=0,d=c(o);a<r.length&&c(r[a])<=d;)a++;r.splice(a,0,o)}function Me(){}function De(r,o){var c;return Object.create?c=Object.create(r):(Me.prototype=r,c=new Me),o&&ee(o,c),c}var Ve=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function rt(r){return/\w/.test(r)||r>""&&(r.toUpperCase()!=r.toLowerCase()||Ve.test(r))}function st(r,o){return o?o.source.indexOf("\\w")>-1&&rt(r)?!0:o.test(r):rt(r)}function ut(r){for(var o in r)if(r.hasOwnProperty(o)&&r[o])return!1;return!0}var $t=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function lt(r){return r.charCodeAt(0)>=768&&$t.test(r)}function Xt(r,o,c){for(;(c<0?o>0:o<r.length)&<(r.charAt(o));)o+=c;return o}function Bt(r,o,c){for(var a=o>c?-1:1;;){if(o==c)return o;var d=(o+c)/2,m=a<0?Math.ceil(d):Math.floor(d);if(m==o)return r(m)?o:c;r(m)?c=m:o=m+a}}function Dn(r,o,c,a){if(!r)return a(o,c,"ltr",0);for(var d=!1,m=0;m<r.length;++m){var b=r[m];(b.from<c&&b.to>o||o==c&&b.to==o)&&(a(Math.max(b.from,o),Math.min(b.to,c),b.level==1?"rtl":"ltr",m),d=!0)}d||a(o,c,"ltr")}var Hr=null;function Ft(r,o,c){var a;Hr=null;for(var d=0;d<r.length;++d){var m=r[d];if(m.from<o&&m.to>o)return d;m.to==o&&(m.from!=m.to&&c=="before"?a=d:Hr=d),m.from==o&&(m.from!=m.to&&c!="before"?a=d:Hr=d)}return a??Hr}var Fn=function(){var r="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",o="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function c(T){return T<=247?r.charAt(T):1424<=T&&T<=1524?"R":1536<=T&&T<=1785?o.charAt(T-1536):1774<=T&&T<=2220?"r":8192<=T&&T<=8203?"w":T==8204?"b":"L"}var a=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,d=/[stwN]/,m=/[LRr]/,b=/[Lb1n]/,x=/[1n]/;function _(T,H,K){this.level=T,this.from=H,this.to=K}return function(T,H){var K=H=="ltr"?"L":"R";if(T.length==0||H=="ltr"&&!a.test(T))return!1;for(var ne=T.length,Z=[],ce=0;ce<ne;++ce)Z.push(c(T.charCodeAt(ce)));for(var me=0,Se=K;me<ne;++me){var ke=Z[me];ke=="m"?Z[me]=Se:Se=ke}for(var $e=0,Te=K;$e<ne;++$e){var Ne=Z[$e];Ne=="1"&&Te=="r"?Z[$e]="n":m.test(Ne)&&(Te=Ne,Ne=="r"&&(Z[$e]="R"))}for(var We=1,ze=Z[0];We<ne-1;++We){var Qe=Z[We];Qe=="+"&&ze=="1"&&Z[We+1]=="1"?Z[We]="1":Qe==","&&ze==Z[We+1]&&(ze=="1"||ze=="n")&&(Z[We]=ze),ze=Qe}for(var xt=0;xt<ne;++xt){var Qt=Z[xt];if(Qt==",")Z[xt]="N";else if(Qt=="%"){var Mt=void 0;for(Mt=xt+1;Mt<ne&&Z[Mt]=="%";++Mt);for(var Wn=xt&&Z[xt-1]=="!"||Mt<ne&&Z[Mt]=="1"?"1":"N",Cn=xt;Cn<Mt;++Cn)Z[Cn]=Wn;xt=Mt-1}}for(var Wt=0,En=K;Wt<ne;++Wt){var on=Z[Wt];En=="L"&&on=="1"?Z[Wt]="L":m.test(on)&&(En=on)}for(var Vt=0;Vt<ne;++Vt)if(d.test(Z[Vt])){var jt=void 0;for(jt=Vt+1;jt<ne&&d.test(Z[jt]);++jt);for(var zt=(Vt?Z[Vt-1]:K)=="L",An=(jt<ne?Z[jt]:K)=="L",_s=zt==An?zt?"L":"R":K,ji=Vt;ji<jt;++ji)Z[ji]=_s;Vt=jt-1}for(var un=[],Ur,en=0;en<ne;)if(b.test(Z[en])){var dd=en;for(++en;en<ne&&b.test(Z[en]);++en);un.push(new _(0,dd,en))}else{var di=en,No=un.length,Io=H=="rtl"?1:0;for(++en;en<ne&&Z[en]!="L";++en);for(var gn=di;gn<en;)if(x.test(Z[gn])){di<gn&&(un.splice(No,0,new _(1,di,gn)),No+=Io);var ks=gn;for(++gn;gn<en&&x.test(Z[gn]);++gn);un.splice(No,0,new _(2,ks,gn)),No+=Io,di=gn}else++gn;di<en&&un.splice(No,0,new _(1,di,en))}return H=="ltr"&&(un[0].level==1&&(Ur=T.match(/^\s+/))&&(un[0].from=Ur[0].length,un.unshift(new _(0,0,Ur[0].length))),ve(un).level==1&&(Ur=T.match(/\s+$/))&&(ve(un).to-=Ur[0].length,un.push(new _(0,ne-Ur[0].length,ne)))),H=="rtl"?un.reverse():un}}();function tt(r,o){var c=r.order;return c==null&&(c=r.order=Fn(r.text,o)),c}var So=[],Be=function(r,o,c){if(r.addEventListener)r.addEventListener(o,c,!1);else if(r.attachEvent)r.attachEvent("on"+o,c);else{var a=r._handlers||(r._handlers={});a[o]=(a[o]||So).concat(c)}};function oi(r,o){return r._handlers&&r._handlers[o]||So}function ln(r,o,c){if(r.removeEventListener)r.removeEventListener(o,c,!1);else if(r.detachEvent)r.detachEvent("on"+o,c);else{var a=r._handlers,d=a&&a[o];if(d){var m=ge(d,c);m>-1&&(a[o]=d.slice(0,m).concat(d.slice(m+1)))}}}function Pt(r,o){var c=oi(r,o);if(c.length)for(var a=Array.prototype.slice.call(arguments,2),d=0;d<c.length;++d)c[d].apply(null,a)}function Ot(r,o,c){return typeof o=="string"&&(o={type:o,preventDefault:function(){this.defaultPrevented=!0}}),Pt(r,c||o.type,r,o),Sn(o)||o.codemirrorIgnore}function sr(r){var o=r._handlers&&r._handlers.cursorActivity;if(o)for(var c=r.curOp.cursorActivityHandlers||(r.curOp.cursorActivityHandlers=[]),a=0;a<o.length;++a)ge(c,o[a])==-1&&c.push(o[a])}function Hn(r,o){return oi(r,o).length>0}function mr(r){r.prototype.on=function(o,c){Be(this,o,c)},r.prototype.off=function(o,c){ln(this,o,c)}}function an(r){r.preventDefault?r.preventDefault():r.returnValue=!1}function Zo(r){r.stopPropagation?r.stopPropagation():r.cancelBubble=!0}function Sn(r){return r.defaultPrevented!=null?r.defaultPrevented:r.returnValue==!1}function Mi(r){an(r),Zo(r)}function cl(r){return r.target||r.srcElement}function vr(r){var o=r.which;return o==null&&(r.button&1?o=1:r.button&2?o=3:r.button&4&&(o=2)),z&&r.ctrlKey&&o==1&&(o=3),o}var bf=function(){if(h&&p<9)return!1;var r=S("div");return"draggable"in r||"dragDrop"in r}(),Qo;function Qa(r){if(Qo==null){var o=S("span","");P(r,S("span",[o,document.createTextNode("x")])),r.firstChild.offsetHeight!=0&&(Qo=o.offsetWidth<=1&&o.offsetHeight>2&&!(h&&p<8))}var c=Qo?S("span",""):S("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return c.setAttribute("cm-text",""),c}var ul;function Ni(r){if(ul!=null)return ul;var o=P(r,document.createTextNode("AخA")),c=B(o,0,1).getBoundingClientRect(),a=B(o,1,2).getBoundingClientRect();return I(r),!c||c.left==c.right?!1:ul=a.right-c.right<3}var lr=`
|
|
26
26
|
|
|
27
27
|
b`.split(/\n/).length!=3?function(r){for(var o=0,c=[],a=r.length;o<=a;){var d=r.indexOf(`
|
|
28
28
|
`,o);d==-1&&(d=r.length);var m=r.slice(o,r.charAt(d-1)=="\r"?d-1:d),b=m.indexOf("\r");b!=-1?(c.push(m.slice(0,b)),o+=b+1):(c.push(m),o=d+1)}return c}:function(r){return r.split(/\r\n?|\n/)},Ii=window.getSelection?function(r){try{return r.selectionStart!=r.selectionEnd}catch{return!1}}:function(r){var o;try{o=r.ownerDocument.selection.createRange()}catch{}return!o||o.parentElement()!=r?!1:o.compareEndPoints("StartToEnd",o)!=0},ec=function(){var r=S("div");return"oncopy"in r?!0:(r.setAttribute("oncopy","return;"),typeof r.oncopy=="function")}(),yr=null;function wf(r){if(yr!=null)return yr;var o=P(r,S("span","x")),c=o.getBoundingClientRect(),a=B(o,0,1).getBoundingClientRect();return yr=Math.abs(c.left-a.left)>1}var es={},br={};function wr(r,o){arguments.length>2&&(o.dependencies=Array.prototype.slice.call(arguments,2)),es[r]=o}function _o(r,o){br[r]=o}function ts(r){if(typeof r=="string"&&br.hasOwnProperty(r))r=br[r];else if(r&&typeof r.name=="string"&&br.hasOwnProperty(r.name)){var o=br[r.name];typeof o=="string"&&(o={name:o}),r=De(o,r),r.name=o.name}else{if(typeof r=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(r))return ts("application/xml");if(typeof r=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(r))return ts("application/json")}return typeof r=="string"?{name:r}:r||{name:"null"}}function ns(r,o){o=ts(o);var c=es[o.name];if(!c)return ns(r,"text/plain");var a=c(r,o);if(Pi.hasOwnProperty(o.name)){var d=Pi[o.name];for(var m in d)d.hasOwnProperty(m)&&(a.hasOwnProperty(m)&&(a["_"+m]=a[m]),a[m]=d[m])}if(a.name=o.name,o.helperType&&(a.helperType=o.helperType),o.modeProps)for(var b in o.modeProps)a[b]=o.modeProps[b];return a}var Pi={};function rs(r,o){var c=Pi.hasOwnProperty(r)?Pi[r]:Pi[r]={};ee(o,c)}function Br(r,o){if(o===!0)return o;if(r.copyState)return r.copyState(o);var c={};for(var a in o){var d=o[a];d instanceof Array&&(d=d.concat([])),c[a]=d}return c}function fl(r,o){for(var c;r.innerMode&&(c=r.innerMode(o),!(!c||c.mode==r));)o=c.state,r=c.mode;return c||{mode:r,state:o}}function is(r,o,c){return r.startState?r.startState(o,c):!0}var Rt=function(r,o,c){this.pos=this.start=0,this.string=r,this.tabSize=o||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=c};Rt.prototype.eol=function(){return this.pos>=this.string.length},Rt.prototype.sol=function(){return this.pos==this.lineStart},Rt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Rt.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Rt.prototype.eat=function(r){var o=this.string.charAt(this.pos),c;if(typeof r=="string"?c=o==r:c=o&&(r.test?r.test(o):r(o)),c)return++this.pos,o},Rt.prototype.eatWhile=function(r){for(var o=this.pos;this.eat(r););return this.pos>o},Rt.prototype.eatSpace=function(){for(var r=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>r},Rt.prototype.skipToEnd=function(){this.pos=this.string.length},Rt.prototype.skipTo=function(r){var o=this.string.indexOf(r,this.pos);if(o>-1)return this.pos=o,!0},Rt.prototype.backUp=function(r){this.pos-=r},Rt.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=J(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?J(this.string,this.lineStart,this.tabSize):0)},Rt.prototype.indentation=function(){return J(this.string,null,this.tabSize)-(this.lineStart?J(this.string,this.lineStart,this.tabSize):0)},Rt.prototype.match=function(r,o,c){if(typeof r=="string"){var a=function(b){return c?b.toLowerCase():b},d=this.string.substr(this.pos,r.length);if(a(d)==a(r))return o!==!1&&(this.pos+=r.length),!0}else{var m=this.string.slice(this.pos).match(r);return m&&m.index>0?null:(m&&o!==!1&&(this.pos+=m[0].length),m)}},Rt.prototype.current=function(){return this.string.slice(this.start,this.pos)},Rt.prototype.hideFirstChars=function(r,o){this.lineStart+=r;try{return o()}finally{this.lineStart-=r}},Rt.prototype.lookAhead=function(r){var o=this.lineOracle;return o&&o.lookAhead(r)},Rt.prototype.baseToken=function(){var r=this.lineOracle;return r&&r.baseToken(this.pos)};function Oe(r,o){if(o-=r.first,o<0||o>=r.size)throw new Error("There is no line "+(o+r.first)+" in the document.");for(var c=r;!c.lines;)for(var a=0;;++a){var d=c.children[a],m=d.chunkSize();if(o<m){c=d;break}o-=m}return c.lines[o]}function si(r,o,c){var a=[],d=o.line;return r.iter(o.line,c.line+1,function(m){var b=m.text;d==c.line&&(b=b.slice(0,c.ch)),d==o.line&&(b=b.slice(o.ch)),a.push(b),++d}),a}function dl(r,o,c){var a=[];return r.iter(o,c,function(d){a.push(d.text)}),a}function Yn(r,o){var c=o-r.height;if(c)for(var a=r;a;a=a.parent)a.height+=c}function M(r){if(r.parent==null)return null;for(var o=r.parent,c=ge(o.lines,r),a=o.parent;a;o=a,a=a.parent)for(var d=0;a.children[d]!=o;++d)c+=a.children[d].chunkSize();return c+o.first}function X(r,o){var c=r.first;e:do{for(var a=0;a<r.children.length;++a){var d=r.children[a],m=d.height;if(o<m){r=d;continue e}o-=m,c+=d.chunkSize()}return c}while(!r.lines);for(var b=0;b<r.lines.length;++b){var x=r.lines[b],_=x.height;if(o<_)break;o-=_}return c+b}function de(r,o){return o>=r.first&&o<r.first+r.size}function xe(r,o){return String(r.lineNumberFormatter(o+r.firstLineNumber))}function le(r,o,c){if(c===void 0&&(c=null),!(this instanceof le))return new le(r,o,c);this.line=r,this.ch=o,this.sticky=c}function Le(r,o){return r.line-o.line||r.ch-o.ch}function pt(r,o){return r.sticky==o.sticky&&Le(r,o)==0}function Kt(r){return le(r.line,r.ch)}function _n(r,o){return Le(r,o)<0?o:r}function os(r,o){return Le(r,o)<0?r:o}function eg(r,o){return Math.max(r.first,Math.min(o,r.first+r.size-1))}function Xe(r,o){if(o.line<r.first)return le(r.first,0);var c=r.first+r.size-1;return o.line>c?le(c,Oe(r,c).text.length):xS(o,Oe(r,o.line).text.length)}function xS(r,o){var c=r.ch;return c==null||c>o?le(r.line,o):c<0?le(r.line,0):r}function tg(r,o){for(var c=[],a=0;a<o.length;a++)c[a]=Xe(r,o[a]);return c}var tc=function(r,o){this.state=r,this.lookAhead=o},Wr=function(r,o,c,a){this.state=o,this.doc=r,this.line=c,this.maxLookAhead=a||0,this.baseTokens=null,this.baseTokenPos=1};Wr.prototype.lookAhead=function(r){var o=this.doc.getLine(this.line+r);return o!=null&&r>this.maxLookAhead&&(this.maxLookAhead=r),o},Wr.prototype.baseToken=function(r){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=r;)this.baseTokenPos+=2;var o=this.baseTokens[this.baseTokenPos+1];return{type:o&&o.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-r}},Wr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Wr.fromSaved=function(r,o,c){return o instanceof tc?new Wr(r,Br(r.mode,o.state),c,o.lookAhead):new Wr(r,Br(r.mode,o),c)},Wr.prototype.save=function(r){var o=r!==!1?Br(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new tc(o,this.maxLookAhead):o};function ng(r,o,c,a){var d=[r.state.modeGen],m={};ag(r,o.text,r.doc.mode,c,function(T,H){return d.push(T,H)},m,a);for(var b=c.state,x=function(T){c.baseTokens=d;var H=r.state.overlays[T],K=1,ne=0;c.state=!0,ag(r,o.text,H.mode,c,function(Z,ce){for(var me=K;ne<Z;){var Se=d[K];Se>Z&&d.splice(K,1,Z,d[K+1],Se),K+=2,ne=Math.min(Z,Se)}if(ce)if(H.opaque)d.splice(me,K-me,Z,"overlay "+ce),K=me+2;else for(;me<K;me+=2){var ke=d[me+1];d[me+1]=(ke?ke+" ":"")+"overlay "+ce}},m),c.state=b,c.baseTokens=null,c.baseTokenPos=1},_=0;_<r.state.overlays.length;++_)x(_);return{styles:d,classes:m.bgClass||m.textClass?m:null}}function rg(r,o,c){if(!o.styles||o.styles[0]!=r.state.modeGen){var a=hl(r,M(o)),d=o.text.length>r.options.maxHighlightLength&&Br(r.doc.mode,a.state),m=ng(r,o,a);d&&(a.state=d),o.stateAfter=a.save(!d),o.styles=m.styles,m.classes?o.styleClasses=m.classes:o.styleClasses&&(o.styleClasses=null),c===r.doc.highlightFrontier&&(r.doc.modeFrontier=Math.max(r.doc.modeFrontier,++r.doc.highlightFrontier))}return o.styles}function hl(r,o,c){var a=r.doc,d=r.display;if(!a.mode.startState)return new Wr(a,!0,o);var m=SS(r,o,c),b=m>a.first&&Oe(a,m-1).stateAfter,x=b?Wr.fromSaved(a,b,m):new Wr(a,is(a.mode),m);return a.iter(m,o,function(_){xf(r,_.text,x);var T=x.line;_.stateAfter=T==o-1||T%5==0||T>=d.viewFrom&&T<d.viewTo?x.save():null,x.nextLine()}),c&&(a.modeFrontier=x.line),x}function xf(r,o,c,a){var d=r.doc.mode,m=new Rt(o,r.options.tabSize,c);for(m.start=m.pos=a||0,o==""&&ig(d,c.state);!m.eol();)Sf(d,m,c.state),m.start=m.pos}function ig(r,o){if(r.blankLine)return r.blankLine(o);if(r.innerMode){var c=fl(r,o);if(c.mode.blankLine)return c.mode.blankLine(c.state)}}function Sf(r,o,c,a){for(var d=0;d<10;d++){a&&(a[0]=fl(r,c).mode);var m=r.token(o,c);if(o.pos>o.start)return m}throw new Error("Mode "+r.name+" failed to advance stream.")}var og=function(r,o,c){this.start=r.start,this.end=r.pos,this.string=r.current(),this.type=o||null,this.state=c};function sg(r,o,c,a){var d=r.doc,m=d.mode,b;o=Xe(d,o);var x=Oe(d,o.line),_=hl(r,o.line,c),T=new Rt(x.text,r.options.tabSize,_),H;for(a&&(H=[]);(a||T.pos<o.ch)&&!T.eol();)T.start=T.pos,b=Sf(m,T,_.state),a&&H.push(new og(T,b,Br(d.mode,_.state)));return a?H:new og(T,b,_.state)}function lg(r,o){if(r)for(;;){var c=r.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!c)break;r=r.slice(0,c.index)+r.slice(c.index+c[0].length);var a=c[1]?"bgClass":"textClass";o[a]==null?o[a]=c[2]:new RegExp("(?:^|\\s)"+c[2]+"(?:$|\\s)").test(o[a])||(o[a]+=" "+c[2])}return r}function ag(r,o,c,a,d,m,b){var x=c.flattenSpans;x==null&&(x=r.options.flattenSpans);var _=0,T=null,H=new Rt(o,r.options.tabSize,a),K,ne=r.options.addModeClass&&[null];for(o==""&&lg(ig(c,a.state),m);!H.eol();){if(H.pos>r.options.maxHighlightLength?(x=!1,b&&xf(r,o,a,H.pos),H.pos=o.length,K=null):K=lg(Sf(c,H,a.state,ne),m),ne){var Z=ne[0].name;Z&&(K="m-"+(K?Z+" "+K:Z))}if(!x||T!=K){for(;_<H.start;)_=Math.min(H.start,_+5e3),d(_,T);T=K}H.start=H.pos}for(;_<H.pos;){var ce=Math.min(H.pos,_+5e3);d(ce,T),_=ce}}function SS(r,o,c){for(var a,d,m=r.doc,b=c?-1:o-(r.doc.mode.innerMode?1e3:100),x=o;x>b;--x){if(x<=m.first)return m.first;var _=Oe(m,x-1),T=_.stateAfter;if(T&&(!c||x+(T instanceof tc?T.lookAhead:0)<=m.modeFrontier))return x;var H=J(_.text,null,r.options.tabSize);(d==null||a>H)&&(d=x-1,a=H)}return d}function _S(r,o){if(r.modeFrontier=Math.min(r.modeFrontier,o),!(r.highlightFrontier<o-10)){for(var c=r.first,a=o-1;a>c;a--){var d=Oe(r,a).stateAfter;if(d&&(!(d instanceof tc)||a+d.lookAhead<o)){c=a+1;break}}r.highlightFrontier=Math.min(r.highlightFrontier,c)}}var cg=!1,li=!1;function kS(){cg=!0}function TS(){li=!0}function nc(r,o,c){this.marker=r,this.from=o,this.to=c}function pl(r,o){if(r)for(var c=0;c<r.length;++c){var a=r[c];if(a.marker==o)return a}}function CS(r,o){for(var c,a=0;a<r.length;++a)r[a]!=o&&(c||(c=[])).push(r[a]);return c}function ES(r,o,c){var a=c&&window.WeakSet&&(c.markedSpans||(c.markedSpans=new WeakSet));a&&r.markedSpans&&a.has(r.markedSpans)?r.markedSpans.push(o):(r.markedSpans=r.markedSpans?r.markedSpans.concat([o]):[o],a&&a.add(r.markedSpans)),o.marker.attachLine(r)}function AS(r,o,c){var a;if(r)for(var d=0;d<r.length;++d){var m=r[d],b=m.marker,x=m.from==null||(b.inclusiveLeft?m.from<=o:m.from<o);if(x||m.from==o&&b.type=="bookmark"&&(!c||!m.marker.insertLeft)){var _=m.to==null||(b.inclusiveRight?m.to>=o:m.to>o);(a||(a=[])).push(new nc(b,m.from,_?null:m.to))}}return a}function LS(r,o,c){var a;if(r)for(var d=0;d<r.length;++d){var m=r[d],b=m.marker,x=m.to==null||(b.inclusiveRight?m.to>=o:m.to>o);if(x||m.from==o&&b.type=="bookmark"&&(!c||m.marker.insertLeft)){var _=m.from==null||(b.inclusiveLeft?m.from<=o:m.from<o);(a||(a=[])).push(new nc(b,_?null:m.from-o,m.to==null?null:m.to-o))}}return a}function _f(r,o){if(o.full)return null;var c=de(r,o.from.line)&&Oe(r,o.from.line).markedSpans,a=de(r,o.to.line)&&Oe(r,o.to.line).markedSpans;if(!c&&!a)return null;var d=o.from.ch,m=o.to.ch,b=Le(o.from,o.to)==0,x=AS(c,d,b),_=LS(a,m,b),T=o.text.length==1,H=ve(o.text).length+(T?d:0);if(x)for(var K=0;K<x.length;++K){var ne=x[K];if(ne.to==null){var Z=pl(_,ne.marker);Z?T&&(ne.to=Z.to==null?null:Z.to+H):ne.to=d}}if(_)for(var ce=0;ce<_.length;++ce){var me=_[ce];if(me.to!=null&&(me.to+=H),me.from==null){var Se=pl(x,me.marker);Se||(me.from=H,T&&(x||(x=[])).push(me))}else me.from+=H,T&&(x||(x=[])).push(me)}x&&(x=ug(x)),_&&_!=x&&(_=ug(_));var ke=[x];if(!T){var $e=o.text.length-2,Te;if($e>0&&x)for(var Ne=0;Ne<x.length;++Ne)x[Ne].to==null&&(Te||(Te=[])).push(new nc(x[Ne].marker,null,null));for(var We=0;We<$e;++We)ke.push(Te);ke.push(_)}return ke}function ug(r){for(var o=0;o<r.length;++o){var c=r[o];c.from!=null&&c.from==c.to&&c.marker.clearWhenEmpty!==!1&&r.splice(o--,1)}return r.length?r:null}function $S(r,o,c){var a=null;if(r.iter(o.line,c.line+1,function(Z){if(Z.markedSpans)for(var ce=0;ce<Z.markedSpans.length;++ce){var me=Z.markedSpans[ce].marker;me.readOnly&&(!a||ge(a,me)==-1)&&(a||(a=[])).push(me)}}),!a)return null;for(var d=[{from:o,to:c}],m=0;m<a.length;++m)for(var b=a[m],x=b.find(0),_=0;_<d.length;++_){var T=d[_];if(!(Le(T.to,x.from)<0||Le(T.from,x.to)>0)){var H=[_,1],K=Le(T.from,x.from),ne=Le(T.to,x.to);(K<0||!b.inclusiveLeft&&!K)&&H.push({from:T.from,to:x.from}),(ne>0||!b.inclusiveRight&&!ne)&&H.push({from:x.to,to:T.to}),d.splice.apply(d,H),_+=H.length-3}}return d}function fg(r){var o=r.markedSpans;if(o){for(var c=0;c<o.length;++c)o[c].marker.detachLine(r);r.markedSpans=null}}function dg(r,o){if(o){for(var c=0;c<o.length;++c)o[c].marker.attachLine(r);r.markedSpans=o}}function rc(r){return r.inclusiveLeft?-1:0}function ic(r){return r.inclusiveRight?1:0}function kf(r,o){var c=r.lines.length-o.lines.length;if(c!=0)return c;var a=r.find(),d=o.find(),m=Le(a.from,d.from)||rc(r)-rc(o);if(m)return-m;var b=Le(a.to,d.to)||ic(r)-ic(o);return b||o.id-r.id}function hg(r,o){var c=li&&r.markedSpans,a;if(c)for(var d=void 0,m=0;m<c.length;++m)d=c[m],d.marker.collapsed&&(o?d.from:d.to)==null&&(!a||kf(a,d.marker)<0)&&(a=d.marker);return a}function pg(r){return hg(r,!0)}function oc(r){return hg(r,!1)}function MS(r,o){var c=li&&r.markedSpans,a;if(c)for(var d=0;d<c.length;++d){var m=c[d];m.marker.collapsed&&(m.from==null||m.from<o)&&(m.to==null||m.to>o)&&(!a||kf(a,m.marker)<0)&&(a=m.marker)}return a}function gg(r,o,c,a,d){var m=Oe(r,o),b=li&&m.markedSpans;if(b)for(var x=0;x<b.length;++x){var _=b[x];if(_.marker.collapsed){var T=_.marker.find(0),H=Le(T.from,c)||rc(_.marker)-rc(d),K=Le(T.to,a)||ic(_.marker)-ic(d);if(!(H>=0&&K<=0||H<=0&&K>=0)&&(H<=0&&(_.marker.inclusiveRight&&d.inclusiveLeft?Le(T.to,c)>=0:Le(T.to,c)>0)||H>=0&&(_.marker.inclusiveRight&&d.inclusiveLeft?Le(T.from,a)<=0:Le(T.from,a)<0)))return!0}}}function xr(r){for(var o;o=pg(r);)r=o.find(-1,!0).line;return r}function NS(r){for(var o;o=oc(r);)r=o.find(1,!0).line;return r}function IS(r){for(var o,c;o=oc(r);)r=o.find(1,!0).line,(c||(c=[])).push(r);return c}function Tf(r,o){var c=Oe(r,o),a=xr(c);return c==a?o:M(a)}function mg(r,o){if(o>r.lastLine())return o;var c=Oe(r,o),a;if(!Oi(r,c))return o;for(;a=oc(c);)c=a.find(1,!0).line;return M(c)+1}function Oi(r,o){var c=li&&o.markedSpans;if(c){for(var a=void 0,d=0;d<c.length;++d)if(a=c[d],!!a.marker.collapsed){if(a.from==null)return!0;if(!a.marker.widgetNode&&a.from==0&&a.marker.inclusiveLeft&&Cf(r,o,a))return!0}}}function Cf(r,o,c){if(c.to==null){var a=c.marker.find(1,!0);return Cf(r,a.line,pl(a.line.markedSpans,c.marker))}if(c.marker.inclusiveRight&&c.to==o.text.length)return!0;for(var d=void 0,m=0;m<o.markedSpans.length;++m)if(d=o.markedSpans[m],d.marker.collapsed&&!d.marker.widgetNode&&d.from==c.to&&(d.to==null||d.to!=c.from)&&(d.marker.inclusiveLeft||c.marker.inclusiveRight)&&Cf(r,o,d))return!0}function ai(r){r=xr(r);for(var o=0,c=r.parent,a=0;a<c.lines.length;++a){var d=c.lines[a];if(d==r)break;o+=d.height}for(var m=c.parent;m;c=m,m=c.parent)for(var b=0;b<m.children.length;++b){var x=m.children[b];if(x==c)break;o+=x.height}return o}function sc(r){if(r.height==0)return 0;for(var o=r.text.length,c,a=r;c=pg(a);){var d=c.find(0,!0);a=d.from.line,o+=d.from.ch-d.to.ch}for(a=r;c=oc(a);){var m=c.find(0,!0);o-=a.text.length-m.from.ch,a=m.to.line,o+=a.text.length-m.to.ch}return o}function Ef(r){var o=r.display,c=r.doc;o.maxLine=Oe(c,c.first),o.maxLineLength=sc(o.maxLine),o.maxLineChanged=!0,c.iter(function(a){var d=sc(a);d>o.maxLineLength&&(o.maxLineLength=d,o.maxLine=a)})}var ss=function(r,o,c){this.text=r,dg(this,o),this.height=c?c(this):1};ss.prototype.lineNo=function(){return M(this)},mr(ss);function PS(r,o,c,a){r.text=o,r.stateAfter&&(r.stateAfter=null),r.styles&&(r.styles=null),r.order!=null&&(r.order=null),fg(r),dg(r,c);var d=a?a(r):1;d!=r.height&&Yn(r,d)}function OS(r){r.parent=null,fg(r)}var RS={},zS={};function vg(r,o){if(!r||/^\s*$/.test(r))return null;var c=o.addModeClass?zS:RS;return c[r]||(c[r]=r.replace(/\S+/g,"cm-$&"))}function yg(r,o){var c=R("span",null,null,g?"padding-right: .1px":null),a={pre:R("pre",[c],"CodeMirror-line"),content:c,col:0,pos:0,cm:r,trailingSpace:!1,splitSpaces:r.getOption("lineWrapping")};o.measure={};for(var d=0;d<=(o.rest?o.rest.length:0);d++){var m=d?o.rest[d-1]:o.line,b=void 0;a.pos=0,a.addToken=FS,Ni(r.display.measure)&&(b=tt(m,r.doc.direction))&&(a.addToken=BS(a.addToken,b)),a.map=[];var x=o!=r.display.externalMeasured&&M(m);WS(m,a,rg(r,m,x)),m.styleClasses&&(m.styleClasses.bgClass&&(a.bgClass=Pe(m.styleClasses.bgClass,a.bgClass||"")),m.styleClasses.textClass&&(a.textClass=Pe(m.styleClasses.textClass,a.textClass||""))),a.map.length==0&&a.map.push(0,0,a.content.appendChild(Qa(r.display.measure))),d==0?(o.measure.map=a.map,o.measure.cache={}):((o.measure.maps||(o.measure.maps=[])).push(a.map),(o.measure.caches||(o.measure.caches=[])).push({}))}if(g){var _=a.content.lastChild;(/\bcm-tab\b/.test(_.className)||_.querySelector&&_.querySelector(".cm-tab"))&&(a.content.className="cm-tab-wrap-hack")}return Pt(r,"renderLine",r,o.line,a.pre),a.pre.className&&(a.textClass=Pe(a.pre.className,a.textClass||"")),a}function DS(r){var o=S("span","•","cm-invalidchar");return o.title="\\u"+r.charCodeAt(0).toString(16),o.setAttribute("aria-label",o.title),o}function FS(r,o,c,a,d,m,b){if(o){var x=r.splitSpaces?HS(o,r.trailingSpace):o,_=r.cm.state.specialChars,T=!1,H;if(!_.test(o))r.col+=o.length,H=document.createTextNode(x),r.map.push(r.pos,r.pos+o.length,H),h&&p<9&&(T=!0),r.pos+=o.length;else{H=document.createDocumentFragment();for(var K=0;;){_.lastIndex=K;var ne=_.exec(o),Z=ne?ne.index-K:o.length-K;if(Z){var ce=document.createTextNode(x.slice(K,K+Z));h&&p<9?H.appendChild(S("span",[ce])):H.appendChild(ce),r.map.push(r.pos,r.pos+Z,ce),r.col+=Z,r.pos+=Z}if(!ne)break;K+=Z+1;var me=void 0;if(ne[0]==" "){var Se=r.cm.options.tabSize,ke=Se-r.col%Se;me=H.appendChild(S("span",Ee(ke),"cm-tab")),me.setAttribute("role","presentation"),me.setAttribute("cm-text"," "),r.col+=ke}else ne[0]=="\r"||ne[0]==`
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
})();
|
|
24
24
|
</script>
|
|
25
25
|
<!-- !LOAD_METADATA! -->
|
|
26
|
-
<script type="module" src="./assets/index-
|
|
26
|
+
<script type="module" src="./assets/index-DalB9Rpk.js"></script>
|
|
27
27
|
<link rel="stylesheet" href="./assets/index-KbpJLW--.css">
|
|
28
28
|
</head>
|
|
29
29
|
<body>
|
|
@@ -3241,6 +3241,9 @@ async function prepare(options) {
|
|
|
3241
3241
|
});
|
|
3242
3242
|
})()
|
|
3243
3243
|
]);
|
|
3244
|
+
if (!config.browser.trackUnhandledErrors) {
|
|
3245
|
+
getBrowserState().disposeExceptionTracker();
|
|
3246
|
+
}
|
|
3244
3247
|
}
|
|
3245
3248
|
async function cleanup() {
|
|
3246
3249
|
const state = getWorkerState();
|
|
@@ -55,10 +55,14 @@ function catchWindowErrors(errorEvent, prop, cb) {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
function registerUnexpectedErrors() {
|
|
58
|
-
catchWindowErrors('error', 'error', event =>
|
|
58
|
+
const offError = catchWindowErrors('error', 'error', event =>
|
|
59
59
|
reportUnexpectedError('Error', event.error))
|
|
60
|
-
catchWindowErrors('unhandledrejection', 'reason', event =>
|
|
60
|
+
const offRejection = catchWindowErrors('unhandledrejection', 'reason', event =>
|
|
61
61
|
reportUnexpectedError('Unhandled Rejection', event.reason))
|
|
62
|
+
return () => {
|
|
63
|
+
offError()
|
|
64
|
+
offRejection()
|
|
65
|
+
}
|
|
62
66
|
}
|
|
63
67
|
|
|
64
68
|
async function reportUnexpectedError(
|
|
@@ -71,4 +75,4 @@ async function reportUnexpectedError(
|
|
|
71
75
|
}).catch(console.error)
|
|
72
76
|
}
|
|
73
77
|
|
|
74
|
-
registerUnexpectedErrors()
|
|
78
|
+
globalThis.__vitest_browser_runner__.disposeExceptionTracker = registerUnexpectedErrors()
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<link rel="icon" href="{__VITEST_FAVICON__}" type="image/svg+xml">
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>Vitest Browser Tester</title>
|
|
8
|
-
<script type="module" crossorigin src="/__vitest_browser__/tester-
|
|
8
|
+
<script type="module" crossorigin src="/__vitest_browser__/tester-mSVktQ7a.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="/__vitest_browser__/utils-FY_Qin7d.js">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ import pm from 'pixelmatch';
|
|
|
22
22
|
import { WebSocketServer } from 'ws';
|
|
23
23
|
import { performance } from 'node:perf_hooks';
|
|
24
24
|
|
|
25
|
-
var version = "4.0.0-beta.
|
|
25
|
+
var version = "4.0.0-beta.7";
|
|
26
26
|
|
|
27
27
|
const _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
28
28
|
function normalizeWindowsPath(input = "") {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitest/browser",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.7",
|
|
5
5
|
"description": "Browser running for Vitest",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://opencollective.com/vitest",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"playwright": "*",
|
|
68
68
|
"webdriverio": "^7.0.0 || ^8.0.0 || ^9.0.0",
|
|
69
|
-
"vitest": "4.0.0-beta.
|
|
69
|
+
"vitest": "4.0.0-beta.7"
|
|
70
70
|
},
|
|
71
71
|
"peerDependenciesMeta": {
|
|
72
72
|
"playwright": {
|
|
@@ -88,8 +88,8 @@
|
|
|
88
88
|
"sirv": "^3.0.1",
|
|
89
89
|
"tinyrainbow": "^2.0.0",
|
|
90
90
|
"ws": "^8.18.3",
|
|
91
|
-
"@vitest/mocker": "4.0.0-beta.
|
|
92
|
-
"@vitest/utils": "4.0.0-beta.
|
|
91
|
+
"@vitest/mocker": "4.0.0-beta.7",
|
|
92
|
+
"@vitest/utils": "4.0.0-beta.7"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
95
|
"@types/pngjs": "^6.0.5",
|
|
@@ -106,10 +106,10 @@
|
|
|
106
106
|
"playwright-core": "^1.54.1",
|
|
107
107
|
"safaridriver": "^1.0.0",
|
|
108
108
|
"webdriverio": "^9.18.4",
|
|
109
|
-
"@vitest/runner": "4.0.0-beta.
|
|
110
|
-
"
|
|
111
|
-
"@vitest/ws-client": "4.0.0-beta.
|
|
112
|
-
"vitest": "4.0.0-beta.
|
|
109
|
+
"@vitest/runner": "4.0.0-beta.7",
|
|
110
|
+
"vitest": "4.0.0-beta.7",
|
|
111
|
+
"@vitest/ws-client": "4.0.0-beta.7",
|
|
112
|
+
"@vitest/ui": "4.0.0-beta.7"
|
|
113
113
|
},
|
|
114
114
|
"scripts": {
|
|
115
115
|
"typecheck": "tsc -p ./src/client/tsconfig.json --noEmit",
|