"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Functional_1 = require("../../../../../Class/Functional");
const _ids_1 = require("../../../../_ids");
class Location extends Functional_1.Functional {
    constructor(system) {
        super({
            i: ['any'],
            o: ['url'],
        }, {}, system, _ids_1.ID_LOCATION);
    }
    async f({ any }, done) {
        const { api: { location: { toString }, }, } = this.__system;
        const url = await toString();
        done({ url });
    }
}
exports.default = Location;
//# sourceMappingURL=index.js.map