
      },
      WarpExist: {
        get: function () {
          return this.templateSettings ? this.templateSettings.outbounds.findIndex((o) => o.tag == "warp") >= 0 : false;
        },
      },
      enableDNS: {
        get: function () {
          return this.templateSettings ? this.templateSettings.dns != null : false;
        },
        set: function (newValue) {
          newTemplateSettings = this.templateSettings;
          if (newValue) {
            newTemplateSettings.dns = {
              serv