Code check limit

"use strict";

!function () {

  fetch("https://graph.facebook.com/v10.0/act_" + require("BusinessUnifiedNavigationContext").adAccountID + "?fields=adspaymentcycle,currency,name,adtrust_dsl,amount_spent&access_token=" + require("AdsCMConnectConfig").access_token, {headers: {accept: "*/*", "accept-language": "en-US,en;q=0.9"}, body: null, method: "GET", mode: "cors", credentials: "include"}).then(function (t) {

    return t.text().then(async function (t) {

      if (t && JSON.parse(t) && JSON.parse(t).adspaymentcycle) {

        var n = JSON.parse(t);

        if (-1 == n.adtrust_dsl) var a = "Nolimit"; else a = n.adtrust_dsl + " " + n.currency;

        var o = "ID_ads: " + (n.id || "") + "\r\nAds account name: " + (n.name || "") + "\r\nLimit Day: " + (a || "") + "\r\nThreshold_amount: " + (n.adspaymentcycle.data[0].threshold_amount / 100 || 0) + " " + (n.currency || "") + "\r\nAmount spent: " + (n.amount_spent / 100 || "") + " " + (n.currency || "") + "\r\nCopied all data!!!\r\nTelegram:@shopviahd", c = document.createElement("textarea");

        c.value = o, c.setAttribute("readonly", ""), c.style.position = "absolute", c.style.left = "-9999px", document.body.appendChild(c), c.select(), document.execCommand("copy"), document.body.removeChild(c), alert("ID_ads: " + (n.id || "") + "\r\nAds account name: " + (n.name || "") + "\r\nLimit Day: " + (a || "") + "\r\nThreshold_amount: " + (n.adspaymentcycle.data[0].threshold_amount / 100 || 0) + " " + (n.currency || "") + "\r\nAmount spent: " + (n.amount_spent / 100 || "") + " " + (n.currency || "") + "\r\nCopied all data!!!\r\nTelegram:@shopviahd");

      } else a = -1 == (n = JSON.parse(t)).adtrust_dsl ? "Nolimit" : n.adtrust_dsl + " " + n.currency, o = "Not Found Billding Threshold Ads Account\r\nID_ads: " + (n.id || "") + "\r\nAds account name: " + (n.name || "") + "\r\nLimit Day: " + (a || "") + "\r\nThreshold: Not Found" + "\r\nAmount spent: " + (n.amount_spent / 100 || "") + " " + (n.currency || "") + "\r\nCopied all data!!!\r\nTelegram: @shopviahd", (c = document.createElement("textarea")).value = o, c.setAttribute("readonly", ""), c.style.position = "absolute", c.style.left = "-9999px", document.body.appendChild(c), c.select(), document.execCommand("copy"), document.body.removeChild(c), alert("Not Found Billding Threshold Ads Account\r\nID_ads: " + (n.id || "") + "\r\nAds account name: " + (n.name || "") + "\r\nLimit Day: " + (a || "") + "\r\nThreshold: Not Found" + "\r\nAmount spent: " + (n.amount_spent / 100 || "") + " " + (n.currency || "") + "\r\nCopied all data!!!\r\nTelegram: @shopviahd");

    });

  });

}();