/**
* PDA v1.1.2
* (c) 2024 Product Designer App
* @license GPLv3
* Require
* Free version
* Unminify code for Dev
**/
var pdappAPI = {
    tool: {
        getData: function (r) {
            return new Promise(function (o, e) {
                let t = {
                    method: "GET",
                    url: r,
                    dataType: "json",
                    success: function (r) {
                        0 == r
                            ? e({ msg: "403 Forbidden", error: 1 })
                            : (void 0 === r.error && (r.error = 1),
                              0 === r.error ? o({ msg: r.msg, data: r.data }) : e({ msg: r.msg, error: r.error }));
                    },
                    error: function (r, o, t) {
                        e({ msg: t, error: 1 });
                    },
                };
                jQuery.ajax(t);
            });
        },
    },
};