//// [awaitUsingDeclarations.1.ts]
import "@swc/helpers/_/_await_async_generator";
import { _ as _ts_add_disposable_resource } from "@swc/helpers/_/_ts_add_disposable_resource";
import { _ as _ts_dispose_resources } from "@swc/helpers/_/_ts_dispose_resources";
import "@swc/helpers/_/_wrap_async_generator";
let env = {
    stack: [],
    error: void 0,
    hasError: !1
};
try {
    _ts_add_disposable_resource(env, {
        async [Symbol.asyncDispose] () {}
    }, !0);
    {
        let env = {
            stack: [],
            error: void 0,
            hasError: !1
        };
        try {
            _ts_add_disposable_resource(env, {
                async [Symbol.asyncDispose] () {}
            }, !0);
        } catch (e) {
            env.error = e, env.hasError = !0;
        } finally{
            let result = _ts_dispose_resources(env);
            result && await result;
        }
    }
    switch(Math.random()){
        case 0:
            let env1 = {
                stack: [],
                error: void 0,
                hasError: !1
            };
            try {
                _ts_add_disposable_resource(env1, {
                    async [Symbol.asyncDispose] () {}
                }, !0);
                break;
            } catch (e) {
                env1.error = e, env1.hasError = !0;
            } finally{
                let result = _ts_dispose_resources(env1);
                result && await result;
            }
        case 1:
            let env2 = {
                stack: [],
                error: void 0,
                hasError: !1
            };
            try {
                _ts_add_disposable_resource(env2, {
                    async [Symbol.asyncDispose] () {}
                }, !0);
            } catch (e) {
                env2.error = e, env2.hasError = !0;
            } finally{
                let result = _ts_dispose_resources(env2);
                result && await result;
            }
    }
    {
        let env3 = {
            stack: [],
            error: void 0,
            hasError: !1
        };
        try {
            _ts_add_disposable_resource(env3, {
                async [Symbol.asyncDispose] () {}
            }, !0);
        } catch (e) {
            env3.error = e, env3.hasError = !0;
        } finally{
            let result = _ts_dispose_resources(env3);
            result && await result;
        }
    }
    try {
        let env = {
            stack: [],
            error: void 0,
            hasError: !1
        };
        try {
            _ts_add_disposable_resource(env, {
                async [Symbol.asyncDispose] () {}
            }, !0);
        } catch (e) {
            env.error = e, env.hasError = !0;
        } finally{
            let result = _ts_dispose_resources(env);
            result && await result;
        }
    } catch (unused) {
        let env = {
            stack: [],
            error: void 0,
            hasError: !1
        };
        try {
            _ts_add_disposable_resource(env, {
                async [Symbol.asyncDispose] () {}
            }, !0);
        } catch (e) {
            env.error = e, env.hasError = !0;
        } finally{
            let result = _ts_dispose_resources(env);
            result && await result;
        }
    } finally{
        let env = {
            stack: [],
            error: void 0,
            hasError: !1
        };
        try {
            _ts_add_disposable_resource(env, {
                async [Symbol.asyncDispose] () {}
            }, !0);
        } catch (e) {
            env.error = e, env.hasError = !0;
        } finally{
            let result = _ts_dispose_resources(env);
            result && await result;
        }
    }
    {
        let env = {
            stack: [],
            error: void 0,
            hasError: !1
        };
        try {
            _ts_add_disposable_resource(env, {
                async [Symbol.asyncDispose] () {}
            }, !0);
        } catch (e) {
            env.error = e, env.hasError = !0;
        } finally{
            let result = _ts_dispose_resources(env);
            result && await result;
        }
    }
    for(;;){
        let env = {
            stack: [],
            error: void 0,
            hasError: !1
        };
        try {
            _ts_add_disposable_resource(env, {
                async [Symbol.asyncDispose] () {}
            }, !0);
            break;
        } catch (e) {
            env.error = e, env.hasError = !0;
        } finally{
            let result = _ts_dispose_resources(env);
            result && await result;
        }
    }
    for(;;){
        let env = {
            stack: [],
            error: void 0,
            hasError: !1
        };
        try {
            _ts_add_disposable_resource(env, {
                async [Symbol.asyncDispose] () {}
            }, !0);
            break;
        } catch (e) {
            env.error = e, env.hasError = !0;
        } finally{
            let result = _ts_dispose_resources(env);
            result && await result;
        }
    }
    for(;;){
        let env = {
            stack: [],
            error: void 0,
            hasError: !1
        };
        try {
            _ts_add_disposable_resource(env, {
                async [Symbol.asyncDispose] () {}
            }, !0);
            break;
        } catch (e) {
            env.error = e, env.hasError = !0;
        } finally{
            let result = _ts_dispose_resources(env);
            result && await result;
        }
    }
    for(let x in {}){
        let env = {
            stack: [],
            error: void 0,
            hasError: !1
        };
        try {
            _ts_add_disposable_resource(env, {
                async [Symbol.asyncDispose] () {}
            }, !0);
        } catch (e) {
            env.error = e, env.hasError = !0;
        } finally{
            let result = _ts_dispose_resources(env);
            result && await result;
        }
    }
    for (let x of []){
        let env = {
            stack: [],
            error: void 0,
            hasError: !1
        };
        try {
            _ts_add_disposable_resource(env, {
                async [Symbol.asyncDispose] () {}
            }, !0);
        } catch (e) {
            env.error = e, env.hasError = !0;
        } finally{
            let result = _ts_dispose_resources(env);
            result && await result;
        }
    }
} catch (e) {
    env.error = e, env.hasError = !0;
} finally{
    let result = _ts_dispose_resources(env);
    result && await result;
}
