  }
   }), s.session.on("change", function (e) {
      enableSaveDiscardBtns(!0)
   }), s.loadUrl = function (e) {
      $("pathInput").value = e, enableSaveDiscardBtns(!1), n = d(t = e), a = "text/" + n, "plain" !== n && s.getSession().setMode("ace/mode/" + n), r(t)
   }, s.save = function () {
      enableSaveDiscardBtns(!1),
         function (e, t, n) {
            setLoading(!0, "Saving '" + e + "'..."), (l = new XMLHttpRequest).onload = i;
            var o = new FormData;
            o.append("data",