File manager - Edit - /home/palg2351/public_html/wp-content/plugins/jetformbuilder/assets/build/admin/pages/jfb-settings.js
Back
(()=>{var e={52:(e,t,a)=>{var n=a(6875);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals),(0,a(611).A)("3f74c29a",n,!1,{})},74:(e,t,a)=>{var n=a(1982);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals),(0,a(611).A)("df5e862a",n,!1,{})},611:(e,t,a)=>{"use strict";function n(e,t){for(var a=[],n={},i=0;i<t.length;i++){var s=t[i],r=s[0],o={id:e+":"+i,css:s[1],media:s[2],sourceMap:s[3]};n[r]?n[r].parts.push(o):a.push(n[r]={id:r,parts:[o]})}return a}a.d(t,{A:()=>h});var i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var s={},r=i&&(document.head||document.getElementsByTagName("head")[0]),o=null,l=0,c=!1,u=function(){},p=null,d="data-vue-ssr-id",_="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,a,i){c=a,p=i||{};var r=n(e,t);return f(r),function(t){for(var a=[],i=0;i<r.length;i++){var o=r[i];(l=s[o.id]).refs--,a.push(l)}for(t?f(r=n(e,t)):r=[],i=0;i<a.length;i++){var l;if(0===(l=a[i]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete s[l.id]}}}}function f(e){for(var t=0;t<e.length;t++){var a=e[t],n=s[a.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](a.parts[i]);for(;i<a.parts.length;i++)n.parts.push(g(a.parts[i]));n.parts.length>a.parts.length&&(n.parts.length=a.parts.length)}else{var r=[];for(i=0;i<a.parts.length;i++)r.push(g(a.parts[i]));s[a.id]={id:a.id,refs:1,parts:r}}}}function m(){var e=document.createElement("style");return e.type="text/css",r.appendChild(e),e}function g(e){var t,a,n=document.querySelector("style["+d+'~="'+e.id+'"]');if(n){if(c)return u;n.parentNode.removeChild(n)}if(_){var i=l++;n=o||(o=m()),t=y.bind(null,n,i,!1),a=y.bind(null,n,i,!0)}else n=m(),t=w.bind(null,n),a=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else a()}}var b,v=(b=[],function(e,t){return b[e]=t,b.filter(Boolean).join("\n")});function y(e,t,a,n){var i=a?"":n.css;if(e.styleSheet)e.styleSheet.cssText=v(t,i);else{var s=document.createTextNode(i),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(s,r[t]):e.appendChild(s)}}function w(e,t){var a=t.css,n=t.media,i=t.sourceMap;if(n&&e.setAttribute("media",n),p.ssrId&&e.setAttribute(d,t.id),i&&(a+="\n/*# sourceURL="+i.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=a;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(a))}}},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a="",n=void 0!==t[5];return t[4]&&(a+="@supports (".concat(t[4],") {")),t[2]&&(a+="@media ".concat(t[2]," {")),n&&(a+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),a+=e(t),n&&(a+="}"),t[2]&&(a+="}"),t[4]&&(a+="}"),a})).join("")},t.i=function(e,a,n,i,s){"string"==typeof e&&(e=[[null,e,void 0]]);var r={};if(n)for(var o=0;o<this.length;o++){var l=this[o][0];null!=l&&(r[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);n&&r[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),a&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=a):u[2]=a),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},1982:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var n=a(6758),i=a.n(n),s=a(935),r=a.n(s)()(i());r.push([e.id,"\n.user-journey-select select.cx-vui-select {\n\tpadding: 6px 24px 6px 12px;\n}\n",""]);const o=r},4700:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var n=a(6758),i=a.n(n),s=a(935),r=a.n(s)()(i());r.push([e.id,".jfb-content{display:flex;flex-wrap:wrap;gap:2em;margin-top:1em}.jfb-content-main{flex:1}",""]);const o=r},5654:(e,t,a)=>{var n=a(9642);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals),(0,a(611).A)("2ac5270a",n,!1,{})},6112:(e,t,a)=>{var n=a(4700);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals),(0,a(611).A)("2d09db88",n,!1,{})},6758:e=>{"use strict";e.exports=function(e){return e[1]}},6875:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var n=a(6758),i=a.n(n),s=a(935),r=a.n(s)()(i());r.push([e.id,".jet-form-builder-page__banner.useful{padding:20px 30px}.jet-form-builder-page__panel.help{width:100%}@media(max-width: 1140px){.jet-form-builder-page__panel.help{width:50%}}.jet-form-builder-page__panel.help .jet-form-builder-page__panel-content{display:flex;flex-direction:column;margin-top:12px;border-top:1px solid #dcdcdd;padding-top:23px}.jet-form-builder-page__panel.help .help-center-link{display:flex;justify-content:flex-start;margin-bottom:22px}.jet-form-builder-page__panel.help .help-center-link:last-child{margin-bottom:0}.jet-form-builder-page__panel.help .help-center-link a{display:flex;justify-content:flex-start;align-items:center;font-size:14px;line-height:18px;color:#007cba;text-decoration:none}.jet-form-builder-page__panel.help .help-center-link a:hover{color:#066ea2;text-decoration:underline}.jet-form-builder-page__panel.help .help-center-link a .help-center-link-icon{margin-right:28px}",""]);const o=r},9642:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var n=a(6758),i=a.n(n),s=a(935),r=a.n(s)()(i());r.push([e.id,"\nspan[data-v-14b2e3f9] {\n\tbackground-color: #007CBA;\n\tpadding: 0.1em 0.3em;\n\ttext-transform: uppercase;\n\tborder-radius: 3px;\n\tcolor: white;\n\tfont-size: 12px;\n\tfont-style: normal;\n\tfont-weight: 700;\n\tline-height: 16px;\n\tletter-spacing: 0;\n\ttext-align: left;\n}\n",""]);const o=r}},t={};function a(n){var i=t[n];if(void 0!==i)return i.exports;var s=t[n]={id:n,exports:{}};return e[n](s,s.exports,a),s.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};a.r(e),a.d(e,{component:()=>_e,displayButton:()=>he,title:()=>de});var t={};a.r(t),a.d(t,{component:()=>xe,title:()=>we});var n={};a.r(n),a.d(n,{component:()=>Oe,title:()=>Ae});var i={};a.r(i),a.d(i,{component:()=>Re,title:()=>Ge});var s={};a.r(s),a.d(s,{component:()=>Xe,displayButton:()=>Qe,title:()=>Ye});var r={};a.r(r),a.d(r,{component:()=>lt,displayButton:()=>ct,title:()=>ot});var o={};a.r(o),a.d(o,{component:()=>vt,displayButton:()=>yt,title:()=>bt});var l=function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",[e._v(e._s(e.__("Pro","jet-form-builder")))])};l._withStripped=!0;const{i18n:c}=JetFBMixins,u={name:"IsPROIcon",mixins:[c],props:{isActive:{type:Boolean,default:!1}}};function p(e,t,a,n,i,s,r,o){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=a,c._compiled=!0),n&&(c.functional=!0),s&&(c._scopeId="data-v-"+s),r?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},c._ssrRegister=l):i&&(l=o?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:c}}a(5654);const d=p(u,l,[],!1,null,"14b2e3f9",null).exports,{__:h}=wp.i18n,f={title:h("HubSpot API","jet-form-builder"),component:{name:"hubspot"},disabled:!0,icon:d},{__:m}=wp.i18n,g={title:m("Address Autocomplete","jet-form-builder"),component:{name:"jfb-address-tab"},disabled:!0,icon:d},{__:b}=wp.i18n,v={title:b("ConvertKit API","jet-form-builder"),component:{name:"convert-kit-tab"},disabled:!0,icon:d},{__:y}=wp.i18n,w={title:y("MailerLite API","jet-form-builder"),component:{name:"mailer-lite-tab"},disabled:!0,icon:d},{__:x}=wp.i18n,j={title:x("Moosend API","jet-form-builder"),component:{name:"moosend"},disabled:!0,icon:d},{__:C}=wp.i18n,k={title:C("Stripe Gateway API","jet-form-builder"),component:{name:"stripe"},disabled:!0,icon:d},{addFilter:S}=wp.hooks,B=[g,f,v,w,j],L=[k],A=e=>e.map((e=>e.component.name));window?.JetFBPageConfig?.is_active||(S("jet.fb.register.settings-page.tabs","jet-form-builder",(e=>{const t=A(e);for(const a of B)t.includes(a.component.name)||e.push(a);return e}),1e3),S("jet.fb.register.gateways","jet-form-builder",(e=>{const t=A(e);for(const a of L)t.includes(a.component.name)||e.push(a);return e}),1e3));var O=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("FormBuilderPage",{attrs:{title:e.__("JetFormBuilder Settings","jet-form-builder")}},[a("div",{staticClass:"jfb-content"},[a("AlertsList"),e._v(" "),a("div",{staticClass:"jfb-content-main"},[a("div",{staticClass:"cx-vui-panel"},[a("CxVuiTabs",{attrs:{"in-panel":!1,value:e.activeTabSlug,layout:"vertical"},on:{input:e.onChangeActiveTab}},e._l(e.tabs,(function(t,n){var i=t.displayButton;void 0===i&&(i=!0);var s=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===t.indexOf(n)&&(a[n]=e[n]);return a}(t,["displayButton"]);return a("CxVuiTabsPanel",{key:s.component.name,attrs:{name:s.component.name,label:s.title,disabled:s.disabled,icon:s.icon},scopedSlots:e._u([s.component.render?{key:"default",fn:function(){return[a("keep-alive",[a(s.component,{ref:"tabComponents",refInFor:!0,tag:"component",attrs:{incoming:e.getIncoming(s.component.name),"inner-slugs":e.activeTabInnerSlugs||[]}})],1),e._v(" "),i?a("cx-vui-button",{attrs:{"button-style":"accent",loading:e.loadingTab[s.component.name]},on:{click:function(t){return e.onSaveTab(n,s.component.name)}},scopedSlots:e._u([{key:"label",fn:function(){return[a("span",[e._v("Save")])]},proxy:!0}],null,!0)}):e._e()]},proxy:!0}:null],null,!0)})})),1)],1)]),e._v(" "),a("SettingsSideBar")],1)])};O._withStripped=!0;var P=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",e._l(e.captcha,(function(t,n){return a("CxVuiCollapseMini",{key:t.component.name,attrs:{"with-panel":"",icon:t.icon,label:e.getTabTitle(t),disabled:t.disabled,"initial-active":e.isActive(t.component.name)},on:{change:function(a){return e.onChangeActive(a,t.component.name)}}},[a("keep-alive",[a(t.component,{ref:"captcha",refInFor:!0,tag:"component",attrs:{incoming:e.getIncomingCaptcha(t.component.name)}})],1),e._v(" "),a("cx-vui-button",{attrs:{"button-style":"accent",loading:e.loadingGateways[t.component.name]},on:{click:function(a){return e.onSaveGateway(n,t.component.name)}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("Save")])])],1)})),1)};P._withStripped=!0;var T=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("cx-vui-input",{attrs:{label:e.label.key,"wrapper-css":["equalwidth"],size:"fullwidth"},model:{value:e.storage.key,callback:function(t){e.$set(e.storage,"key",t)},expression:"storage.key"}}),e._v(" "),a("cx-vui-input",{attrs:{label:e.label.secret,"wrapper-css":["equalwidth"],size:"fullwidth"},model:{value:e.storage.secret,callback:function(t){e.$set(e.storage,"secret",t)},expression:"storage.secret"}}),e._v(" "),a("cx-vui-input",{attrs:{type:"number",min:0,max:1,step:.1,label:e.label.threshold,description:e.help.threshold,"wrapper-css":["equalwidth"],size:"fullwidth"},model:{value:e.storage.threshold,callback:function(t){e.$set(e.storage,"threshold",t)},expression:"storage.threshold"}}),e._v(" "),a("p",{staticClass:"fb-description"},[e._v(e._s(e.help.apiPref)+" "),a("a",{attrs:{href:e.help.apiLink,target:"_blank"}},[e._v(e._s(e.help.apiLinkLabel))])])],1)};T._withStripped=!0;const{__:$}=wp.i18n,q={key:$("Site Key","jet-form-builder"),secret:$("Secret Key","jet-form-builder"),threshold:$("Score Threshold","jet-form-builder")},E={threshold:$("It should be a value between 0 and 1, default 0.5 (1.0 is very likely a good interaction, 0.0 is very likely a bot).","jet-form-builder"),apiPref:$("Register reCAPTCHA v3 keys","jet-form-builder"),apiLinkLabel:$("here","jet-form-builder"),apiLink:"https://www.google.com/recaptcha/admin/create"},M={component:p({name:"google",props:{incoming:{type:[Object,Array],default:()=>({})}},data:()=>({label:q,help:E,storage:{}}),created(){Object.keys(this.incoming)?.length&&(this.storage=JSON.parse(JSON.stringify(this.incoming)))},methods:{getRequestOnSave(){return{data:{...this.storage}}}}},T,[],!1,null,null,null).exports};var J=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("SimpleWrapperComponent",{attrs:{"element-id":"hcaptcha_key"},scopedSlots:e._u([{key:"label",fn:function(){return[e._v(e._s(e.label.key))]},proxy:!0},{key:"description",fn:function(){return[a("p",{staticClass:"fb-description"},[e._v("\n\t\t\t\t\t"+e._s(e.__("You can find it on this page in the first column of Sitekey.","jet-form-builder")+" ")+"\n\t\t\t\t\t"),a("ExternalLink",{attrs:{href:"https://dashboard.hcaptcha.com/sites"}},[e._v("\n\t\t\t\t\t\t"+e._s(e.__("Go to the dashboard of sites","jet-form-builder"))+"\n\t\t\t\t\t")])],1)]},proxy:!0},{key:"default",fn:function(){return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.storage.key,expression:"storage.key"}],staticClass:"cx-vui-input size-fullwidth",attrs:{id:"hcaptcha_key",type:"text"},domProps:{value:e.storage.key},on:{input:function(t){t.target.composing||e.$set(e.storage,"key",t.target.value)}}})]},proxy:!0}])}),e._v(" "),a("SimpleWrapperComponent",{attrs:{"element-id":"hcaptcha_secret"},scopedSlots:e._u([{key:"label",fn:function(){return[e._v(e._s(e.label.secret))]},proxy:!0},{key:"description",fn:function(){return[a("p",{staticClass:"fb-description"},[e._v("\n\t\t\t\t\t"+e._s(e.__("You can find it on the settings page,\nthis will be the first field.","jet-form-builder")+" ")+"\n\t\t\t\t\t"),a("ExternalLink",{attrs:{href:"https://dashboard.hcaptcha.com/settings"}},[e._v("\n\t\t\t\t\t\t"+e._s(e.__("Go to the Settings page","jet-form-builder"))+"\n\t\t\t\t\t")])],1)]},proxy:!0},{key:"default",fn:function(){return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.storage.secret,expression:"storage.secret"}],staticClass:"cx-vui-input size-fullwidth",attrs:{id:"hcaptcha_secret",type:"text"},domProps:{value:e.storage.secret},on:{input:function(t){t.target.composing||e.$set(e.storage,"secret",t.target.value)}}})]},proxy:!0}])})],1)};J._withStripped=!0;const{__:V}=wp.i18n,I={key:V("Site Key","jet-form-builder"),secret:V("Secret Key","jet-form-builder")},{SimpleWrapperComponent:F,ExternalLink:G}=JetFBComponents,{i18n:R}=JetFBMixins,N={component:p({name:"hcaptcha",components:{SimpleWrapperComponent:F,ExternalLink:G},mixins:[R],props:{incoming:{type:[Object,Array],default:()=>({})}},data:()=>({label:I,storage:{}}),created(){Object.keys(this.incoming)?.length&&(this.storage=JSON.parse(JSON.stringify(this.incoming)))},methods:{getRequestOnSave(){return{data:{...this.storage}}}}},J,[],!1,null,null,null).exports};var z=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("SimpleWrapperComponent",{attrs:{"element-id":"friendly_key"},scopedSlots:e._u([{key:"label",fn:function(){return[e._v(e._s(e.label.key))]},proxy:!0},{key:"description",fn:function(){return[a("p",{staticClass:"fb-description"},[e._v("\n\t\t\t\t"+e._s(e.__("It can be found on the page listing your Applications. Or follow this","jet-form-builder")+" ")+"\n\t\t\t\t"),a("ExternalLink",{attrs:{href:"https://docs.friendlycaptcha.com/#/installation?id=_1-generating-a-sitekey"}},[e._v("\n\t\t\t\t\t"+e._s(e.__("guide","jet-form-builder"))+"\n\t\t\t\t")])],1)]},proxy:!0},{key:"default",fn:function(){return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.storage.key,expression:"storage.key"}],staticClass:"cx-vui-input size-fullwidth",attrs:{id:"friendly_key",type:"text"},domProps:{value:e.storage.key},on:{input:function(t){t.target.composing||e.$set(e.storage,"key",t.target.value)}}})]},proxy:!0}])}),e._v(" "),a("cx-vui-input",{attrs:{"element-id":"friendly_secret",label:e.label.secret,description:e.__("It can be found on the page listing your API keys.","jet-form-builder"),"wrapper-css":["equalwidth"],size:"fullwidth"},model:{value:e.storage.secret,callback:function(t){e.$set(e.storage,"secret",t)},expression:"storage.secret"}})],1)};z._withStripped=!0;const{__:U}=wp.i18n,H={key:U("Site Key","jet-form-builder"),secret:U("Secret Key","jet-form-builder")},{SimpleWrapperComponent:K,ExternalLink:W}=JetFBComponents,{i18n:Z}=JetFBMixins,D={component:p({name:"friendly",components:{SimpleWrapperComponent:K,ExternalLink:W},mixins:[Z],props:{incoming:{type:[Object,Array],default:()=>({})}},data:()=>({label:H,storage:{}}),created(){Object.keys(this.incoming)?.length&&(this.storage=JSON.parse(JSON.stringify(this.incoming)))},methods:{getRequestOnSave(){return{data:{...this.storage}}}}},z,[],!1,null,null,null).exports};var Y=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("cx-vui-input",{attrs:{"element-id":"turnstile_key",label:e.label.key,description:e.__("Read the hint to the Secret Key field","jet-form-builder"),"wrapper-css":["equalwidth"],size:"fullwidth"},model:{value:e.storage.key,callback:function(t){e.$set(e.storage,"key",t)},expression:"storage.key"}}),e._v(" "),a("cx-vui-input",{attrs:{"element-id":"turnstile_secret",label:e.label.secret,description:e.__("You can find both keys on your Turnstile Site settings page","jet-form-builder"),"wrapper-css":["equalwidth"],size:"fullwidth"},model:{value:e.storage.secret,callback:function(t){e.$set(e.storage,"secret",t)},expression:"storage.secret"}}),e._v(" "),a("p",{staticClass:"fb-description"},[e._v("\n\t\t"+e._s(e.__("Didn't find it? Here is","jet-form-builder")+" ")+"\n\t\t"),a("ExternalLink",{attrs:{href:"https://developers.cloudflare.com/turnstile/get-started/#get-a-sitekey-and-secret-key"}},[e._v("\n\t\t\t"+e._s(e.__("a more detailed description","jet-form-builder"))+"\n\t\t")])],1)],1)};Y._withStripped=!0;const{__:X}=wp.i18n,Q={key:X("Site Key","jet-form-builder"),secret:X("Secret Key","jet-form-builder")},{i18n:ee}=JetFBMixins,{ExternalLink:te}=JetFBComponents,ae={component:p({name:"turnstile",mixins:[ee],components:{ExternalLink:te},props:{incoming:{type:[Object,Array],default:()=>({})}},data:()=>({label:Q,storage:{}}),created(){Object.keys(this.incoming)?.length&&(this.storage=JSON.parse(JSON.stringify(this.incoming)))},methods:{getRequestOnSave(){return{data:{...this.storage}}}}},Y,[],!1,null,null,null).exports},{applyFilters:ne}=wp.hooks,{SaveTabByAjax:ie,GetIncoming:se}=window.JetFBMixins,{CxVuiCollapseMini:re}=window.JetFBComponents;window.jfbEventBus=window.jfbEventBus||new Vue({});const oe=ne("jet.fb.register.captcha",[M,N,D,ae]);let le=()=>{};const ce={name:"captcha-tab",props:{incoming:{type:Object,default:{}},innerSlugs:Array},components:{CxVuiCollapseMini:re},mixins:[ie],data(){return{captcha:oe,storage:JSON.parse(JSON.stringify(this.incoming)),settings:JSON.parse(JSON.stringify(window.JetFBPageConfig["captcha-tab-config"])),activeGatewaysTabs:[],loadingGateways:{}}},created(){jfbEventBus.$on("request-state",(e=>{const{state:t,slug:a}=e;this.$set(this.loadingGateways,a,"begin"===t)})),jfbEventBus.$on("change-tab",function({slug:e}){if(e!==this.$options.name)return!1;window.location.hash="#"+[this.$options.name,...this.activeGatewaysTabs].join("__")}.bind(this)),this.activeGatewaysTabs=this.innerSlugs,le=_.debounce((()=>{this.saveByAjax(this,this.$options.name)}),1e3)},methods:{getIncomingCaptcha(e){var t;return null!==(t=this.incoming?.[e])&&void 0!==t?t:{}},getTabTitle(e){const{title:t}=e;if(t?.length)return t;const{name:a}=e.component,n=this.settings.find((({value:e})=>e===a));return n?.label||"Undefined captcha title"},onChangeActive(e,t){let[a,...n]=window.location.hash.replace("#","").split("__");e?n.push(t):n=n.filter((a=>t!==a||e)),this.changeGatewaysTabs(n),window.location.hash=[this.$options.name,...n].join("__")},changeGatewaysTabs(e){this.activeGatewaysTabs=e},isActive(e){return Boolean(this.activeGatewaysTabs?.includes(e))},changeVal(e,t){this.$set(this.storage,e,t),le()},onSaveGateway(e,t){const a=this.$refs.captcha[e];this.saveByAjax(a,t)},getAjaxObject(e,t){const a={url:window.ajaxurl,type:"POST",dataType:"json"},n=e.getRequestOnSave();return a.data={action:`jet_fb_save_tab__${this.$options.name}`,...t===this.$options.name?n.data:{[t]:n.data}},window?.JetFBPageConfigPackage?.nonce&&(a.data._nonce=window.JetFBPageConfigPackage.nonce),a},getRequestOnSave(){return{data:{...this.storage}}}}},ue=p(ce,P,[],!1,null,null,null).exports,{__:pe}=wp.i18n,de=pe("Captcha Settings","jet-form-builder"),_e=ue,he=!1;var fe=function(){var e=this,t=e.$createElement;return(e._self._c||t)("cx-vui-input",{attrs:{label:e.label.api_key,"wrapper-css":["equalwidth"],description:e.help.apiPref+' <a href="'+e.help.apiLink+'" target="_blank">'+e.help.apiLinkLabel+"</a>",size:"fullwidth"},model:{value:e.api_key,callback:function(t){e.api_key=t},expression:"api_key"}})};fe._withStripped=!0;const{__:me}=wp.i18n,ge={api_key:me("API Key","jet-form-builder")},be={apiPref:me("How to obtain your MailChimp API Key? More info","jet-form-builder"),apiLinkLabel:me("here","jet-form-builder"),apiLink:"https://mailchimp.com/help/about-api-keys/"},ve=p({name:"mailchimp-tab",props:{incoming:{type:Object,default:{}}},data:()=>({label:ge,help:be,api_key:""}),created(){this.api_key=this.incoming.api_key||""},methods:{getRequestOnSave(){return{data:{api_key:this.api_key}}}}},fe,[],!1,null,null,null).exports,{__:ye}=wp.i18n,we=ye("MailChimp API","jet-form-builder"),xe=ve;var je=function(){var e=this,t=e.$createElement;return(e._self._c||t)("cx-vui-input",{attrs:{label:e.label.api_key,"wrapper-css":["equalwidth"],description:e.help.apiPref+' <a href="'+e.help.apiLink+'" target="_blank">'+e.help.apiLinkLabel+"</a>",size:"fullwidth"},model:{value:e.api_key,callback:function(t){e.api_key=t},expression:"api_key"}})};je._withStripped=!0;const{__:Ce}=wp.i18n,ke={api_key:Ce("API Key","jet-form-builder")},Se={apiPref:Ce("How to obtain your GetResponse API Key? More info","jet-form-builder"),apiLinkLabel:Ce("here","jet-form-builder"),apiLink:"https://app.getresponse.com/api"},Be=p({name:"get-response-tab",props:{incoming:{type:Object,default:{}}},data:()=>({label:ke,help:Se,api_key:""}),created(){this.api_key=this.incoming.api_key||""},methods:{getRequestOnSave(){return{data:{api_key:this.api_key}}}}},je,[],!1,null,null,null).exports,{__:Le}=wp.i18n,Ae=Le("GetResponse API","jet-form-builder"),Oe=Be;var Pe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("cx-vui-switcher",{attrs:{name:"use_gateways","wrapper-css":["equalwidth"],label:e.label.use_gateways,description:e.help.use_gateways,value:e.storage.use_gateways},on:{input:function(t){return e.changeVal("use_gateways",t)}}}),e._v(" "),e.storage.use_gateways?a("cx-vui-switcher",{attrs:{name:"enable_test_mode","wrapper-css":["equalwidth"],description:e.help.enable_test_mode,label:e.label.enable_test_mode,value:e.storage.enable_test_mode},on:{input:function(t){return e.changeVal("enable_test_mode",t)}}}):e._e(),e._v(" "),e.storage.use_gateways?[a("div",{staticClass:"cx-vui-inner-panel"},e._l(e.gateways,(function(t,n){return a("CxVuiCollapseMini",{key:t.component.name,attrs:{"with-panel":"",icon:t.icon,label:t.title,disabled:t.disabled,"initial-active":e.isActive(t.component.name)},on:{change:function(a){return e.onChangeActive(a,t.component.name)}}},[a("keep-alive",[a(t.component,{ref:"gateways",refInFor:!0,tag:"component",attrs:{incoming:e.getIncoming(t.component.name)}})],1),e._v(" "),a("cx-vui-button",{attrs:{"button-style":"accent",loading:e.loadingGateways[t.component.name]},on:{click:function(a){return e.onSaveGateway(n,t.component.name)}}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("Save")])])],1)})),1)]:e._e()],2)};Pe._withStripped=!0;const Te=window.wp.i18n,$e={use_gateways:(0,Te.__)("Enable Gateways","jet-form-builder"),enable_test_mode:(0,Te.__)("Enable Test Mode","jet-form-builder")},qe={enable_test_mode:(0,Te.__)("This option takes precedence over the <code>jet-form-builder/gateways/paypal/sandbox-mode</code> filter. As of right now, works only for PayPal payment system","jet-form-builder"),use_gateways:(0,Te.__)("Activate payment gateways for the forms. This option takes precedence over the <code>jet-form-builder/allow-gateways</code> filter","jet-form-builder")};var Ee=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",[a("cx-vui-input",{attrs:{label:e.label.client_id,"wrapper-css":["equalwidth"],size:"fullwidth"},model:{value:e.storage.client_id,callback:function(t){e.$set(e.storage,"client_id",t)},expression:"storage.client_id"}}),e._v(" "),a("cx-vui-input",{attrs:{label:e.label.secret,"wrapper-css":["equalwidth"],size:"fullwidth"},model:{value:e.storage.secret,callback:function(t){e.$set(e.storage,"secret",t)},expression:"storage.secret"}})],1)};Ee._withStripped=!0;const{__:Me}=wp.i18n,Je={client_id:Me("Client ID","jet-form-builder"),secret:Me("Secret Key","jet-form-builder")},Ve={},Ie=p({name:"paypal",props:{incoming:{type:Object,default:()=>({})}},data:()=>({label:Je,help:Ve,storage:{}}),created(){this.storage=JSON.parse(JSON.stringify(this.incoming))},methods:{getRequestOnSave(){return{data:{...this.storage}}}}},Ee,[],!1,null,null,null).exports,{__:Fe}=wp.i18n,Ge=Fe("PayPal Gateway API","jet-form-builder"),Re=Ie,{applyFilters:Ne}=wp.hooks,{SaveTabByAjax:ze,GetIncoming:Ue}=window.JetFBMixins,{CxVuiCollapseMini:He}=window.JetFBComponents;window.jfbEventBus=window.jfbEventBus||new Vue({});const Ke=Ne("jet.fb.register.gateways",[i]);let We=()=>{};const Ze=p({name:"payments-gateways",props:{incoming:{type:Object,default:()=>({})},innerSlugs:Array},components:{CxVuiCollapseMini:He},mixins:[ze,Ue],data(){return{label:$e,help:qe,storage:JSON.parse(JSON.stringify(this.incoming)),gateways:Ke,loadingGateways:{},activeGatewaysTabs:[]}},created(){jfbEventBus.$on("request-state",(e=>{const{state:t,slug:a}=e;this.$set(this.loadingGateways,a,"begin"===t)})),jfbEventBus.$on("change-tab",function({slug:e}){if(e!==this.$options.name)return!1;window.location.hash="#"+[this.$options.name,...this.activeGatewaysTabs].join("__")}.bind(this)),this.activeGatewaysTabs=this.innerSlugs,We=_.debounce((()=>{this.saveByAjax(this,this.$options.name)}),1e3)},methods:{onChangeActive(e,t){let[a,...n]=window.location.hash.replace("#","").split("__");e?n.push(t):n=n.filter((a=>t!==a||e)),this.changeGatewaysTabs(n),window.location.hash=[this.$options.name,...n].join("__")},changeGatewaysTabs(e){this.activeGatewaysTabs=e},isActive(e){return Boolean(this.activeGatewaysTabs.length&&this.activeGatewaysTabs.includes(e))},changeVal(e,t){this.$set(this.storage,e,t),We()},onSaveGateway(e,t){const a=this.$refs.gateways[e];this.saveByAjax(a,t)},getRequestOnSave(){return{data:{...this.storage}}}}},Pe,[],!1,null,null,null).exports,{__:De}=wp.i18n,Ye=De("Payments Gateways","jet-form-builder"),Xe=Ze,Qe=!1;var et=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("cx-vui-switcher",{attrs:{name:"enable_dev_mode","wrapper-css":["equalwidth"],label:e.loading.enable_dev_mode?e.label.enable_dev_mode+" (loading...)":e.label.enable_dev_mode,description:e.help.enable_dev_mode,value:!!e.storage.hasOwnProperty("enable_dev_mode")&&e.storage.enable_dev_mode,disabled:e.isLoading},on:{input:function(t){return e.changeVal("enable_dev_mode",t)}}}),e._v(" "),a("cx-vui-switcher",{attrs:{name:"clear_on_uninstall","wrapper-css":["equalwidth"],label:e.loading.clear_on_uninstall?e.label.clear_on_uninstall+" (loading...)":e.label.clear_on_uninstall,description:e.help.clear_on_uninstall,value:!!e.storage.hasOwnProperty("clear_on_uninstall")&&e.storage.clear_on_uninstall,disabled:e.isLoading},on:{input:function(t){return e.changeVal("clear_on_uninstall",t)}}}),e._v(" "),a("cx-vui-input",{attrs:{name:"form_records_access_capability","wrapper-css":["equalwidth"],size:"fullwidth",label:e.loading.form_records_access_capability?e.label.form_records_access_capability+" (loading...)":e.label.form_records_access_capability,description:e.help.form_records_access_capability,value:e.storage.hasOwnProperty("form_records_access_capability")?e.storage.form_records_access_capability:"manage_options",disabled:e.isLoading},on:{input:function(t){return e.changeVal("form_records_access_capability",t)}}}),e._v(" "),a("cx-vui-select",{attrs:{name:"ssr_validation_method","wrapper-css":["equalwidth"],size:"fullwidth",label:e.loading.ssr_validation_method?e.label.ssr_validation_method+" (loading...)":e.label.ssr_validation_method,description:e.help.ssr_validation_method,value:e.storage.hasOwnProperty("ssr_validation_method")?e.storage.ssr_validation_method:"rest","options-list":e.selectOptions,disabled:e.isLoading},on:{input:function(t){return e.changeVal("ssr_validation_method",t)}}}),e._v(" "),a("cx-vui-component-wrapper",{attrs:{label:e.__("Form Accessibility","jet-form-builder"),"wrapper-css":["equalwidth"]}}),e._v(" "),a("div",{staticClass:"cx-vui-inner-panel"},[a("cx-vui-switcher",{attrs:{name:"disable_next_button","wrapper-css":["equalwidth"],label:e.loading.disable_next_button?e.label.disable_next_button+" (loading...)":e.label.disable_next_button,description:e.help.disable_next_button,value:!e.storage.hasOwnProperty("disable_next_button")||e.storage.disable_next_button,disabled:e.isLoading},on:{input:function(t){return e.changeVal("disable_next_button",t)}}}),e._v(" "),a("cx-vui-switcher",{attrs:{name:"scroll_on_next","wrapper-css":["equalwidth"],label:e.loading.scroll_on_next?e.label.scroll_on_next+" (loading...)":e.label.scroll_on_next,description:e.help.scroll_on_next,value:!!e.storage.hasOwnProperty("scroll_on_next")&&e.storage.scroll_on_next,disabled:e.isLoading},on:{input:function(t){return e.changeVal("scroll_on_next",t)}}}),e._v(" "),a("cx-vui-switcher",{attrs:{name:"auto_focus","wrapper-css":["equalwidth"],label:e.loading.auto_focus?e.label.auto_focus+" (loading...)":e.label.auto_focus,description:e.help.auto_focus,value:!!e.storage.hasOwnProperty("auto_focus")&&e.storage.auto_focus,disabled:e.isLoading},on:{input:function(t){return e.changeVal("auto_focus",t)}}})],1),e._v(" "),a("cx-vui-component-wrapper",{attrs:{label:e.__("Form Request Args","jet-form-builder"),"wrapper-css":["equalwidth"]}}),e._v(" "),a("cx-vui-input",{attrs:{name:"gfb_request_args_key","wrapper-css":["equalwidth"],size:"fullwidth",label:"Request key",description:"Unique form parameter (key)",value:e.storage.hasOwnProperty("gfb_request_args_key")?e.storage.gfb_request_args_key:"1111",disabled:e.isLoading},on:{input:function(t){return e.changeVal("gfb_request_args_key",t)}}}),e._v(" "),a("cx-vui-input",{attrs:{name:"gfb_request_args_value","wrapper-css":["equalwidth"],size:"fullwidth",label:"Request value",description:"Unique form parameter (value)",value:e.storage.hasOwnProperty("gfb_request_args_value")?e.storage.gfb_request_args_value:"2222",disabled:e.isLoading},on:{input:function(t){return e.changeVal("gfb_request_args_value",t)}}})],1)};et._withStripped=!0;const tt={enable_dev_mode:(0,Te.__)("Enable Dev-Mode","jet-form-builder"),disable_next_button:(0,Te.__)('Disable "Next" button',"jet-form-builder"),clear_on_uninstall:(0,Te.__)("Clear plugin data after the uninstall","jet-form-builder"),scroll_on_next:(0,Te.__)("Scroll to the top on page change","jet-form-builder"),auto_focus:(0,Te.__)("Automatic focus","jet-form-builder"),form_records_access_capability:(0,Te.__)("Form Records Access Capability","jet-form-builder"),ssr_validation_method:(0,Te.__)("Server side validation method","jet-form-builder")},at={enable_dev_mode:(0,Te.__)("With developer mode enabled, errors from the form will be saved.","jet-form-builder"),disable_next_button:(0,Te.__)("If this option is active, the Next button in a multi-step form won't become clickable until all the required fields are completed.","jet-form-builder"),clear_on_uninstall:(0,Te.__)("If this option is active, when the plugin is deleted, all custom sql-tables, all options and files will also be deleted. In particular, those that were uploaded using Media Field.","jet-form-builder"),scroll_on_next:(0,Te.__)("Automatic scrolling to the top of the form when switching between form pages.","jet-form-builder"),auto_focus:(0,Te.__)("Indicates invalid field and prevents the user from going to the next page or submitting the form unless filled.","jet-form-builder"),form_records_access_capability:(0,Te.__)('By default any Form Records available only for users with `manage_options` capability. Here you can overwrite it with any capability you want. More about capabilities <a href="https://wordpress.org/support/article/roles-and-capabilities/" target="_blank">here</a>',"jet-form-builder"),ssr_validation_method:(0,Te.__)("Select how the server-side validation request will be made – via WP REST API, admin-ajax.php, or through the URL of the current page.","jet-form-builder")},{SaveTabByAjax:nt,i18n:it}=window.JetFBMixins,st=p({name:"options-tab",props:{incoming:{type:Object,default:{}}},mixins:[nt,it],data(){return{label:tt,help:at,storage:JSON.parse(JSON.stringify(this.incoming)),isLoading:!1,loading:{},selectOptions:[{value:"rest",label:"Rest API"},{value:"admin_ajax",label:"Admin Ajax"},{value:"self",label:"Self"}]}},created(){jfbEventBus.$on("request-state",this.onChangeState.bind(this))},methods:{getRequestOnSave(){return{data:{...this.storage}}},onChangeState({state:e,slug:t}){"options-tab"===t&&("end"===e&&(this.loading={}),this.$set(this,"isLoading","begin"===e))},changeVal(e,t){this.isLoading||(this.$set(this.storage,e,t),this.$set(this.loading,e,!0),this.saveByAjax(this,this.$options.name))}}},et,[],!1,null,null,null).exports,{__:rt}=wp.i18n,ot=rt("Options","jet-form-builder"),lt=st,ct=!1;var ut=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("cx-vui-switcher",{attrs:{name:"enable_user_journey",label:e.loading.enable_user_journey?e.label.enable_user_journey+" (loading...)":e.label.enable_user_journey,description:e.help.enable_user_journey,"wrapper-css":["equalwidth"],value:!!e.storage.hasOwnProperty("enable_user_journey")&&e.storage.enable_user_journey,disabled:e.isLoading},on:{input:function(t){return e.changeVal("enable_user_journey",t)}}}),e._v(" "),e.storage.enable_user_journey?[a("cx-vui-select",{staticClass:"user-journey-select",attrs:{name:"storage_type",label:e.loading.storage_type?e.label.storage_type+" (loading...)":e.label.storage_type,description:e.help.storage_type,"wrapper-css":["equalwidth"],"options-list":[{value:"local",label:"Local Storage"},{value:"session",label:"Session Storage"}],value:e.storage.hasOwnProperty("storage_type")?e.storage.storage_type:"local",disabled:!e.storage.enable_user_journey||e.isLoading},on:{input:function(t){return e.changeVal("storage_type",t)}}}),e._v(" "),a("cx-vui-component-wrapper",[a("div",{staticClass:"cx-vui-component__label"},[e._v("Please note!")]),e._v(" "),a("div",[a("b",[e._v("Session Storage:")]),e._v(" The information is kept only while this tab or window is open. Reloading the page is fine, but as soon as you close the tab, the data disappears. Other tabs or windows of the site can’t see it. You can still get it back by pressing Ctrl + Shift + T (“Reopen Closed Tab”)")]),e._v(" "),a("div",[a("b",[e._v("Local Storage:")]),e._v(" The information stays much longer—every tab or window of this site can use it, and it remains even after you close and reopen the browser, until you clear it yourself.")])]),e._v(" "),a("cx-vui-select",{staticClass:"user-journey-select",attrs:{name:"clear_after_submit",label:e.loading.clear_after_submit?e.label.clear_after_submit+" (loading...)":e.label.clear_after_submit,description:e.help.clear_after_submit,"wrapper-css":["equalwidth"],"options-list":[{value:"always",label:"After any submit (success or failure)"},{value:"success",label:"After successful submit only"}],value:e.storage.hasOwnProperty("clear_after_submit")?e.storage.clear_after_submit:"success",disabled:!e.storage.enable_user_journey||e.isLoading},on:{input:function(t){return e.changeVal("clear_after_submit",t)}}})]:e._e()],2)};ut._withStripped=!0;const pt={enable_user_journey:(0,Te.__)("Enable User Journey Tracking","jet-form-builder"),storage_type:(0,Te.__)("Storage Type","jet-form-builder"),clear_after_submit:(0,Te.__)("Clear Journey After Submit","jet-form-builder")},dt={enable_user_journey:(0,Te.__)("Track the user’s journey across the website and save it in the browser.","jet-form-builder"),storage_type:(0,Te.__)("Choose where to store the user journey data","jet-form-builder"),clear_after_submit:(0,Te.__)("When to clear the journey data after form submission","jet-form-builder")},{SaveTabByAjax:_t,i18n:ht}=window.JetFBMixins,ft={name:"user-journey-tab",props:{incoming:{type:Object,default:()=>({})}},mixins:[_t,ht],data(){return{label:pt,help:dt,storage:JSON.parse(JSON.stringify(this.incoming)),isLoading:!1,loading:{}}},created(){jfbEventBus.$on("request-state",this.onChangeState.bind(this))},methods:{getRequestOnSave(){return{data:{...this.storage}}},onChangeState({state:e,slug:t}){"user-journey-tab"===t&&("end"===e&&(this.loading={}),this.$set(this,"isLoading","begin"===e))},changeVal(e,t){this.isLoading||(this.$set(this.storage,e,t),this.$set(this.loading,e,!0),this.saveByAjax(this,this.$options.name))}}};a(74);const mt=p(ft,ut,[],!1,null,null,null).exports,{__:gt}=wp.i18n,bt=gt("User Journey","jet-form-builder"),vt=mt,yt=!1;var wt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("SideBarBoxes",{scopedSlots:e._u([{key:"icon-help",fn:function(){return[a("svg",{attrs:{width:"14",height:"21",viewBox:"0 0 14 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M5.25 21H8.75V17.5H5.25V21ZM7 0C3.1325 0 0 3.1325 0 7H3.5C3.5 5.075 5.075 3.5 7 3.5C8.925 3.5 10.5 5.075 10.5 7C10.5 10.5 5.25 10.0625 5.25 15.75H8.75C8.75 11.8125 14 11.375 14 7C14 3.1325 10.8675 0 7 0Z",fill:"#7B7E81"}})])]},proxy:!0},{key:"content-help",fn:function(t){return[a("div",{staticClass:"help-center-link"},[a("a",{attrs:{href:t.link_knowledge,target:"_blank"}},[a("div",{staticClass:"help-center-link-icon"},[a("svg",{attrs:{width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M13.458 11.2552L13.458 1.4115C13.458 1.03064 13.1357 0.708374 12.7549 0.708374L3.14551 0.708374C1.59277 0.708374 0.333008 1.96814 0.333008 3.52087L0.333008 12.8959C0.333008 14.4486 1.59277 15.7084 3.14551 15.7084L12.7549 15.7084C13.1357 15.7084 13.458 15.4154 13.458 15.0052L13.458 14.5365C13.458 14.3314 13.3408 14.1263 13.1943 14.0092C13.0479 13.5404 13.0479 12.2513 13.1943 11.8119C13.3408 11.6947 13.458 11.4896 13.458 11.2552ZM4.08301 4.63416C4.08301 4.54626 4.1416 4.45837 4.25879 4.45837L10.4697 4.45837C10.5576 4.45837 10.6455 4.54626 10.6455 4.63416L10.6455 5.22009C10.6455 5.33728 10.5576 5.39587 10.4697 5.39587L4.25879 5.39587C4.1416 5.39587 4.08301 5.33728 4.08301 5.22009L4.08301 4.63416ZM4.08301 6.50916C4.08301 6.42127 4.1416 6.33337 4.25879 6.33337L10.4697 6.33337C10.5576 6.33337 10.6455 6.42127 10.6455 6.50916L10.6455 7.09509C10.6455 7.21228 10.5576 7.27087 10.4697 7.27087L4.25879 7.27087C4.1416 7.27087 4.08301 7.21228 4.08301 7.09509L4.08301 6.50916ZM11.4951 13.8334L3.14551 13.8334C2.61816 13.8334 2.20801 13.4232 2.20801 12.8959C2.20801 12.3978 2.61816 11.9584 3.14551 11.9584L11.4951 11.9584C11.4365 12.4857 11.4365 13.3353 11.4951 13.8334Z",fill:"#007CBA"}})])]),e._v(" "),a("div",{staticClass:"help-center-link-label"},[e._v(e._s(t.label_knowledge))])])]),e._v(" "),a("div",{staticClass:"help-center-link"},[a("a",{attrs:{href:t.link_community,target:"_blank"}},[a("div",{staticClass:"help-center-link-icon"},[a("svg",{attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M15.5913 8.04564C15.5913 3.87728 12.214 0.5 8.04564 0.5C3.87728 0.5 0.5 3.87728 0.5 8.04564C0.5 11.8185 3.23834 14.9523 6.85903 15.5L6.85903 10.2363L4.94219 10.2363L4.94219 8.04564L6.85903 8.04564L6.85903 6.40264C6.85903 4.51623 7.98479 3.45132 9.68864 3.45132C10.5406 3.45132 11.3925 3.60345 11.3925 3.60345L11.3925 5.45943L10.4493 5.45943C9.50609 5.45943 9.20183 6.03753 9.20183 6.64604L9.20183 8.04564L11.3012 8.04564L10.9665 10.2363L9.20183 10.2363L9.20183 15.5C12.8225 14.9523 15.5913 11.8185 15.5913 8.04564Z",fill:"#007CBA"}})])]),e._v(" "),a("div",{staticClass:"help-center-link-label"},[e._v(e._s(t.label_community))])])]),e._v(" "),a("div",{staticClass:"help-center-link"},[a("a",{attrs:{href:t.link_support,target:"_blank"}},[a("div",{staticClass:"help-center-link-icon"},[a("svg",{attrs:{width:"15",height:"18",viewBox:"0 0 15 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M7.58333 0.666687C3.675 0.666687 0.5 3.84169 0.5 7.75002C0.5 11.6584 3.675 14.8334 7.58333 14.8334H8V17.3334C12.05 15.3834 14.6667 11.5 14.6667 7.75002C14.6667 3.84169 11.4917 0.666687 7.58333 0.666687ZM8.41667 12.75H6.75V11.0834H8.41667V12.75ZM8.41667 9.83335H6.75C6.75 7.12502 9.25 7.33335 9.25 5.66669C9.25 4.75002 8.5 4.00002 7.58333 4.00002C6.66667 4.00002 5.91667 4.75002 5.91667 5.66669H4.25C4.25 3.82502 5.74167 2.33335 7.58333 2.33335C9.425 2.33335 10.9167 3.82502 10.9167 5.66669C10.9167 7.75002 8.41667 7.95835 8.41667 9.83335Z",fill:"#007CBA"}})])]),e._v(" "),a("div",{staticClass:"help-center-link-label"},[e._v(e._s(t.label_support))])])]),e._v(" "),a("div",{staticClass:"help-center-link"},[a("a",{attrs:{href:t.link_git,target:"_blank"}},[a("div",{staticClass:"help-center-link-icon"},[a("svg",{attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.976 0C5.86071 0.000265156 3.83214 0.840676 2.33641 2.33641C0.840676 3.83214 0.000265156 5.86071 0 7.976C0 11.498 2.3 14.483 5.431 15.56C5.823 15.609 5.969 15.364 5.969 15.168V13.798C3.768 14.288 3.279 12.722 3.279 12.722C2.936 11.792 2.398 11.547 2.398 11.547C1.664 11.058 2.446 11.058 2.446 11.058C3.229 11.107 3.67 11.89 3.67 11.89C4.404 13.113 5.529 12.77 5.97 12.575C6.018 12.037 6.263 11.695 6.459 11.499C4.697 11.303 2.838 10.618 2.838 7.535C2.838 6.655 3.131 5.969 3.67 5.382C3.62 5.235 3.327 4.404 3.768 3.327C3.768 3.327 4.453 3.131 5.969 4.159C6.605 3.963 7.291 3.914 7.976 3.914C8.661 3.914 9.346 4.012 9.982 4.159C11.499 3.132 12.184 3.327 12.184 3.327C12.624 4.404 12.33 5.235 12.281 5.431C12.8199 6.01808 13.1171 6.7871 13.113 7.584C13.113 10.667 11.253 11.303 9.493 11.499C9.786 11.743 10.031 12.232 10.031 12.966V15.168C10.031 15.364 10.177 15.608 10.569 15.56C12.155 15.0248 13.5327 14.0046 14.5073 12.6436C15.4818 11.2827 16.004 9.64989 16 7.976C15.951 3.572 12.38 0 7.976 0Z",fill:"#007CBA"}})])]),e._v(" "),a("div",{staticClass:"help-center-link-label"},[e._v(e._s(t.label_git))])])])]}}])})};wt._withStripped=!0;const{SideBarBoxes:xt}=JetFBComponents,jt={name:"SettingsSideBar",components:{SideBarBoxes:xt}};a(52);const Ct=p(jt,wt,[],!1,null,null,null).exports,{applyFilters:kt,doAction:St}=wp.hooks,{SaveTabByAjax:Bt,GetIncoming:Lt,i18n:At}=window.JetFBMixins,{CxVuiTabsPanel:Ot,CxVuiTabs:Pt,AlertsList:Tt,FormBuilderPage:$t}=JetFBComponents;window.jfbEventBus=window.jfbEventBus||new Vue({});const qt=kt("jet.fb.register.settings-page.tabs",[r,o,s,e,t,n]),Et=e=>{window.location.hash="#"+e},Mt={name:"jfb-settings",components:{AlertsList:Tt,CxVuiTabsPanel:Ot,CxVuiTabs:Pt,SettingsSideBar:Ct,FormBuilderPage:$t},data(){const[e,t]=(()=>{const e=qt[0].component.name;if(!window.location.hash)return Et(e),[e];let[t,...a]=window.location.hash.replace("#","").split("__"),n=qt.find((e=>e?.component?.name===t));return n?(Et([n.component.name,...a].join("__")),[n.component.name,a]):(Et(e),[e])})();return{activeTabSlug:e,activeTabInnerSlugs:t,tabs:qt,loadingTab:{},isActivePro:!1}},mixins:[Bt,Lt,At],created(){this.isActivePro=this.getIncoming("is_active"),jfbEventBus.$on("request-state",(e=>{const{state:t,slug:a}=e;this.$set(this.loadingTab,a,"begin"===t)})),jfbEventBus.$on("alert-click-thanks",(({self:e})=>{e.closeAlert()})),jfbEventBus.$on("alert-click-check",(({self:e})=>{e.closeAlert()}))},methods:{onChangeActiveTab(e){const t=new URL(document.URL);t.hash="#"+e,document.location.href=t.href,jfbEventBus.$emit("change-tab",{slug:e})},onSaveTab(e,t){const a=this.$refs.tabComponents[e];this.saveByAjax(a,t)}}};a(6112);const Jt=p(Mt,O,[],!1,null,null,null).exports,{renderCurrentPage:Vt}=window.JetFBActions,{NoticesPlugin:It}=JetFBStore;Vt(Jt,{store:new Vuex.Store({plugins:[It]})})})()})();
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0.09 |
proxy
|
phpinfo
|
Settings