(()=>{"use strict";var e={d:(t,i)=>{for(var a in i)e.o(i,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:i[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{component:()=>c,title:()=>s});var i=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("cx-vui-input",{attrs:{label:e.label.api_key,"wrapper-css":["equalwidth"],size:"fullwidth"},model:{value:e.api_key,callback:function(t){e.api_key=t},expression:"api_key"}}),e._v(" "),i("cx-vui-input",{attrs:{label:e.label.api_url,"wrapper-css":["equalwidth"],size:"fullwidth"},model:{value:e.api_url,callback:function(t){e.api_url=t},expression:"api_url"}}),e._v(" "),i("p",{staticClass:"fb-description"},[e._v(e._s(e.help.apiPref)+" "),i("a",{attrs:{href:e.help.apiLink,target:"_blank"}},[e._v(e._s(e.help.apiLinkLabel))])])],1)};i._withStripped=!0;const{__:a}=wp.i18n,r={api_key:a("API Key","jet-form-builder"),api_url:a("API URL","jet-form-builder")},n={apiPref:a("How to obtain your ActiveCampaign API URL and Key? More info"),apiLinkLabel:a("here"),apiLink:"https://help.activecampaign.com/hc/en-us/articles/207317590-Getting-started-with-the-API"};var l=function(e,t){var i,a=e;if(t&&(a.render=t,a.staticRenderFns=[],a._compiled=!0),i)if(a.functional){a._injectStyles=i;var r=a.render;a.render=function(e,t){return i.call(t),r(e,t)}}else{var n=a.beforeCreate;a.beforeCreate=n?[].concat(n,i):[i]}return{exports:e,options:a}}({name:"active-campaign-tab",props:{incoming:{type:Object,default:{}}},data:()=>({label:r,help:n,api_key:"",api_url:""}),created(){this.api_key=this.incoming.api_key||"",this.api_url=this.incoming.api_url||""},methods:{getRequestOnSave(){return{data:{api_key:this.api_key,api_url:this.api_url}}}}},i);const p=l.exports,{__:o}=wp.i18n,s=o("ActiveCampaign API","jet-form-builder"),c=p,{addFilter:u}=wp.hooks;u("jet.fb.register.settings-page.tabs","jet-form-builder/active-campaign",(e=>(e.push(t),e)))})();