diff --git a/README.md b/README.md
index 17aa89d..44c5afd 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
 **Requires at least:** 5.0  
 **Requires PHP:** 7.2  
 **Tested up to:** 6.5  
-**Stable tag:** 1.6.23  
+**Stable tag:** 1.6.24  
 **License:** GPLv2 or later  
 **License URI:** https://www.gnu.org/licenses/gpl-2.0.html  
 
@@ -236,6 +236,8 @@ weForms is the most beginner friendly and fastest WordPress contact form plugin
 17. Event registration form displayed on the site
 
 ## Changelog ##
+### Version 1.6.24 ( 05 July, 2024 ) ###
+* Fix: Updates remote url for pollyfill.io to secured CloudFlare URL.
 
 ### Version 1.6.23 ( 19 March, 2024 ) ###
 * Fix: Adds wpdb->prepare to fix SQL injection vulnerabilities.
diff --git a/assets/js/spa-app.js b/assets/js/spa-app.js
index ebfb4d9..7cd83b7 100644
--- a/assets/js/spa-app.js
+++ b/assets/js/spa-app.js
@@ -1,6 +1,12 @@
 'use strict';
 
-var _typeof30 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
+var _typeof31 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
+
+var _typeof30 = typeof Symbol === "function" && _typeof31(Symbol.iterator) === "symbol" ? function (obj) {
+    return typeof obj === "undefined" ? "undefined" : _typeof31(obj);
+} : function (obj) {
+    return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof31(obj);
+};
 
 var _typeof29 = typeof Symbol === "function" && _typeof30(Symbol.iterator) === "symbol" ? function (obj) {
     return typeof obj === "undefined" ? "undefined" : _typeof30(obj);
diff --git a/assets/js/spa-app.min.js b/assets/js/spa-app.min.js
index 7e42b21..6607eaa 100644
--- a/assets/js/spa-app.min.js
+++ b/assets/js/spa-app.min.js
@@ -1 +1 @@
-"use strict";var _typeof30="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof29="function"==typeof Symbol&&"symbol"===_typeof30(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof30(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof30(t)},_typeof28="function"==typeof Symbol&&"symbol"===_typeof29(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof29(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof29(t)},_typeof27="function"==typeof Symbol&&"symbol"===_typeof28(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof28(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof28(t)},_typeof26="function"==typeof Symbol&&"symbol"===_typeof27(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof27(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof27(t)},_typeof25="function"==typeof Symbol&&"symbol"===_typeof26(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof26(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof26(t)},_typeof24="function"==typeof Symbol&&"symbol"===_typeof25(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof25(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof25(t)},_typeof23="function"==typeof Symbol&&"symbol"===_typeof24(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof24(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof24(t)},_typeof22="function"==typeof Symbol&&"symbol"===_typeof23(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof23(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof23(t)},_typeof21="function"==typeof Symbol&&"symbol"===_typeof22(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof22(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof22(t)},_typeof20="function"==typeof Symbol&&"symbol"===_typeof21(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof21(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof21(t)},_typeof19="function"==typeof Symbol&&"symbol"===_typeof20(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof20(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof20(t)},_typeof18="function"==typeof Symbol&&"symbol"===_typeof19(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof19(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof19(t)},_typeof17="function"==typeof Symbol&&"symbol"===_typeof18(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof18(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof18(t)},_typeof16="function"==typeof Symbol&&"symbol"===_typeof17(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof17(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof17(t)},_typeof15="function"==typeof Symbol&&"symbol"===_typeof16(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof16(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof16(t)},_typeof14="function"==typeof Symbol&&"symbol"===_typeof15(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof15(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof15(t)},_typeof13="function"==typeof Symbol&&"symbol"===_typeof14(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof14(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof14(t)},_typeof12="function"==typeof Symbol&&"symbol"===_typeof13(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof13(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof13(t)},_typeof11="function"==typeof Symbol&&"symbol"===_typeof12(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof12(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof12(t)},_typeof10="function"==typeof Symbol&&"symbol"===_typeof11(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof11(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof11(t)},_typeof9="function"==typeof Symbol&&"symbol"===_typeof10(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof10(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof10(t)},_typeof8="function"==typeof Symbol&&"symbol"===_typeof9(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof9(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof9(t)},_typeof7="function"==typeof Symbol&&"symbol"===_typeof8(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof8(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof8(t)},_typeof6="function"==typeof Symbol&&"symbol"===_typeof7(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof7(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof7(t)},_typeof5="function"==typeof Symbol&&"symbol"===_typeof6(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof6(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof6(t)},_typeof4="function"==typeof Symbol&&"symbol"===_typeof5(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof5(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof5(t)},_typeof3="function"==typeof Symbol&&"symbol"===_typeof4(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof4(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof4(t)},_typeof2="function"==typeof Symbol&&"symbol"===_typeof3(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof3(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof3(t)},_typeof="function"==typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof2(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof2(t)};!function(s){Vue.component("wpuf-table",{template:"#tmpl-wpuf-component-table",mixins:[weForms.mixins.Loading,weForms.mixins.Paginate,weForms.mixins.BulkAction],props:{has_export:String,action:String,delete:String,id:[String,Number],status:[String]},data:function(){return{loading:!1,columns:[],items:[],ajaxAction:this.action,nonce:weForms.nonce,index:"id",bulkDeleteAction:this.delete?this.delete:"weforms_form_entry_trash_bulk"}},created:function(){this.fetchData()},computed:{columnLength:function(){return Object.keys(this.columns).length}},methods:{fetchData:function(){var e=this;this.loading=!0,wp.ajax.send(e.action,{data:{id:e.id,page:e.currentPage,status:e.status,_wpnonce:weForms.nonce},success:function(t){e.loading=!1,e.columns=t.columns,e.items=t.entries,e.form_title=t.form_title,e.totalItems=t.pagination.total,e.perPage=t.pagination.per_page,e.totalPage=t.pagination.pages,e.$emit("ajaxsuccess",t)},error:function(t){e.loading=!1,alert(t)}})},handleBulkAction:function(){if("-1"!==this.bulkAction){if("delete"===this.bulkAction){if(!this.checkedItems.length)return void alert("Please select atleast one entry to delete.");confirm("Are you sure to delete the entries?")&&this.deleteBulk()}if("restore"===this.bulkAction){if(!this.checkedItems.length)return void alert("Please select atleast one entry to restore.");this.restoreBulk()}}else alert("Please chose a bulk action to perform")},restore:function(t){var e=this;e.loading=!0,wp.ajax.send("weforms_form_entry_restore",{data:{entry_id:t,_wpnonce:weForms.nonce},success:function(t){e.loading=!1,e.fetchData()},error:function(t){e.loading=!1,alert(t)}})},deletePermanently:function(t){if(confirm("Are you sure to delete this entry?")){var e=this;e.loading=!0,wp.ajax.send("weforms_form_entry_delete",{data:{entry_id:t,_wpnonce:weForms.nonce},success:function(t){e.loading=!1,e.fetchData()},error:function(t){e.loading=!1,alert(t)}})}}},watch:{id:function(){this.fetchData()},status:function(){this.currentPage=1,this.bulkAction=-1,this.fetchData()}}}),weForms.routeComponents.Entries={template:"#tmpl-wpuf-entries",data:function(){return{selected:0,forms:{},form_title:"Loading...",status:"publish",total:0,totalTrash:0}},created:function(){this.get_forms()},methods:{get_forms:function(){var e=this;wp.ajax.send("weforms_form_list",{data:{_wpnonce:weForms.nonce,page:e.currentPage,posts_per_page:-1,filter:"entries"},success:function(t){Object.keys(t.forms).length?(e.forms=t.forms,e.selected=e.forms[Object.keys(e.forms)[0]].id):e.form_title="No entry found"},error:function(t){alert(t)}})}}},weForms.routeComponents.FormEditComponent={template:"#tmpl-wpuf-form-builder",mixins:wpuf_form_builder_mixins(wpuf_mixins.root),data:function(){return{is_form_saving:!1,is_form_saved:!1,is_form_switcher:!1,post_title_editing:!1,loading:!1,activeTab:"editor",activeSettingsTab:"form",activePaymentTab:"paypal"}},watch:{loading:function(t){t?(NProgress.configure({parent:"#wpadminbar"}),NProgress.start()):NProgress.done()},form_fields:{handler:function(){window.weFormsBuilderisDirty=!0},deep:!0},notifications:{handler:function(){window.weFormsBuilderisDirty=!0},deep:!0},integrations:{handler:function(){window.weFormsBuilderisDirty=!0},deep:!0},settings:{handler:function(){window.weFormsBuilderisDirty=!0},deep:!0},payment:{handler:function(){window.weFormsBuilderisDirty=!0},deep:!0}},created:function(){this.set_current_panel("form-fields"),this.fetchForm(),this.$store.commit("panel_add_show_prop"),wpuf_form_builder.event_hub=new Vue},computed:{current_panel:function(){return this.$store.state.current_panel},post:function(){return this.$store.state.post},form_fields_count:function(){return this.$store.state.form_fields.length},form_fields:function(){return this.$store.state.form_fields},notifications:function(){return this.$store.state.notifications},integrations:function(){return this.$store.state.integrations},settings:function(){return this.$store.state.settings},payment:function(){return this.$store.state.payment}},mounted:function(){var t=new window.Clipboard(".form-id");s(".form-id").tooltip();var e=this;this.started=!0,t.on("success",function(t){s(t.trigger).attr("data-original-title","Copied!").tooltip("show"),setTimeout(function(){s(t.trigger).tooltip("hide").attr("data-original-title",e.i18n.copy_shortcode)},1e3),t.clearSelection()}),this.initSharingClipBoard(),setTimeout(function(){window.weFormsBuilderisDirty=!1},500),window.onbeforeunload=function(){if(window.weFormsBuilderisDirty)return e.i18n.unsaved_changes}},methods:{makeActive:function(t){this.activeTab=t},isActiveTab:function(t){return this.activeTab===t},isActiveSettingsTab:function(t){return this.activeSettingsTab===t},makeActiveSettingsTab:function(t){this.activeSettingsTab=t},isActivePaymentTab:function(t){return this.activePaymentTab===t},makeActivePaymentTab:function(t){this.activePaymentTab=t},fetchForm:function(){var e=this;e.loading=!0,wp.ajax.send("weforms_get_form",{data:{form_id:this.$route.params.id,_wpnonce:weForms.nonce},success:function(t){e.$store.commit("set_form_post",t.post),e.$store.commit("set_form_fields",t.form_fields),e.$store.commit("set_form_notification",t.notifications),e.$store.commit("set_form_settings",t.settings),void 0!==t.integrations.length?e.$store.commit("set_form_integrations",{}):e.$store.commit("set_form_integrations",t.integrations)},error:function(t){alert(t)},complete:function(){e.loading=!1}})},set_current_panel:function(t){this.$store.commit("set_current_panel",t)},save_form_builder:function(){var e=this;!_.isFunction(this.validate_form_before_submit)||this.validate_form_before_submit()?(e.is_form_saving=!0,e.set_current_panel("form-fields"),wp.ajax.send("wpuf_form_builder_save_form",{data:{form_data:s("#wpuf-form-builder").weSerialize(),form_fields:JSON.stringify(e.form_fields),notifications:JSON.stringify(e.notifications),settings:JSON.stringify(e.settings),payment:JSON.stringify(e.payment),integrations:JSON.stringify(e.integrations)},success:function(t){t.form_fields&&e.$store.commit("set_form_fields",t.form_fields),e.is_form_saving=!1,e.is_form_saved=!0,setTimeout(function(){window.weFormsBuilderisDirty=!1},500),toastr.success(e.i18n.saved_form_data)},error:function(){e.is_form_saving=!1}})):this.warn({text:this.validation_error_msg})},save_settings:function(){toastr.options.preventDuplicates=!0,this.save_form_builder()},shareForm:function(t,e){var o=this;if("on"===o.settings.sharing_on){var n=t+"?weforms="+btoa(o.getSharingHash()+"_"+Math.floor(Date.now()/1e3)+"_"+e.ID);swal({title:o.i18n.shareYourForm,html:"<p>"+o.i18n.shareYourFormText+'</p> <p><input onClick="this.setSelectionRange(0, this.value.length)" type="text" class="regular-text" value="'+n+'"/> <button class="anonymous-share-btn button button-primary" title="Copy URL" data-clipboard-text="'+n+'"><i class="fa fa-clipboard" aria-hidden="true"></i></button></p>',showCloseButton:!0,showCancelButton:!0,confirmButtonClass:"btn btn-success",cancelButtonClass:"btn btn-danger",confirmButtonColor:"#d54e21",confirmButtonText:o.i18n.disableSharing,cancelButtonText:o.i18n.close,focusCancel:!0}).then(function(){swal({title:o.i18n.areYouSure,html:"<p>"+o.i18n.areYouSureDesc+"</p>",type:"info",confirmButtonColor:"#d54e21",showCancelButton:!0,confirmButtonText:o.i18n.disable,cancelButtonText:o.i18n.cancel}).then(function(){o.disableSharing()})})}else swal({title:o.i18n.shareYourForm,html:o.i18n.shareYourFormDesc,type:"info",showCancelButton:!0,confirmButtonText:"Enable",cancelButtonText:"Cancel"}).then(function(){o.enableSharing(t,e)})},enableSharing:function(t,e){this.settings.sharing_on="on",this.save_settings(),this.shareForm(t,e)},disableSharing:function(){this.settings.sharing_on=!1,this.save_settings()},getSharingHash:function(){return this.settings.sharing_hash||(this.settings.sharing_hash=this.makeRandomString(8),this.save_settings()),this.settings.sharing_hash},makeRandomString:function(t){t=t||8;for(var e="",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=0;n<t;n++)e+=o.charAt(Math.floor(Math.random()*o.length));return e},initSharingClipBoard:function(t){var e=new window.Clipboard(".anonymous-share-btn");s(".anonymous-share-btn").tooltip(),e.on("success",function(t){s(t.trigger).attr("data-original-title","Copied!").tooltip("show"),setTimeout(function(){s(t.trigger).tooltip("hide").attr("data-original-title","Copy URL")},1e3),t.clearSelection()})}}},weForms.routeComponents.FormEntries={props:{id:[String,Number]},template:"#tmpl-wpuf-form-entries",data:function(){return{selected:0,form_title:"Loading...",status:"publish",total:0,totalTrash:0}}},weForms.routeComponents.FormEntriesSingle={template:"#tmpl-wpuf-form-entry-single",mixins:[weForms.mixins.Loading,weForms.mixins.Cookie],data:function(){return{loading:!1,hideEmpty:!0,hasEmpty:!1,show_payment_data:!1,entry:{form_fields:{},meta_data:{},payment_data:{}},form_settings:{},respondent_points:0,answers:{},countries:weForms.countries}},created:function(){this.hideEmpty=this.hideEmptyStatus(),this.fetchData()},computed:{hasFormFields:function(){return Object.keys(this.entry.form_fields).length}},methods:{fetchData:function(){var e=this;this.loading=!0,wp.ajax.send("weforms_form_entry_details",{data:{entry_id:e.$route.params.entryid,form_id:e.$route.params.id,_wpnonce:weForms.nonce},success:function(t){e.loading=!1,e.entry=t,e.hasEmpty=t.has_empty,e.form_settings=t.form_settings,e.respondent_points=t.respondent_points,e.answers=t.answers},error:function(t){e.loading=!1,alert(t)}})},trashEntry:function(){var e=this;confirm(weForms.confirm)&&wp.ajax.send("weforms_form_entry_trash",{data:{entry_id:e.$route.params.entryid,_wpnonce:weForms.nonce},success:function(){e.loading=!1,e.$router.push({name:"formEntries",params:{id:e.$route.params.id}})},error:function(t){e.loading=!1,alert(t)}})},hideEmptyStatus:function(){return"false"!==this.getCookie("weFormsEntryHideEmpty")},findCountry:function(e){return this.countries.find(function(t){return t.code===e})},getCountryName:function(t){if(this.findCountry(t))return this.findCountry(t).name},getAddressFieldValue:function(t){var e=t.match(/Country Select:(\s([A-Z])\w+)/g);if(null===e)return t;var o=e[0].substring(15,e[0].length).trim(),n=this.getCountryName(o),i=o;return t.replace(i,n)}},watch:{hideEmpty:function(t){this.setCookie("weFormsEntryHideEmpty",t,356)}}},Vue.component("form-list-table",{template:"#tmpl-wpuf-form-list-table",mixins:[weForms.mixins.Loading,weForms.mixins.Paginate,weForms.mixins.BulkAction],data:function(){return{loading:!1,index:"ID",items:[],bulkDeleteAction:"weforms_form_delete_bulk"}},created:function(){this.fetchData()},computed:{is_pro:function(){return"true"===weForms.is_pro},has_payment:function(){return"true"===weForms.has_payment}},methods:{fetchData:function(){var e=this;this.loading=!0,wp.ajax.send("weforms_form_list",{data:{_wpnonce:weForms.nonce,page:e.currentPage},success:function(t){e.loading=!1,e.items=t.forms,e.totalItems=t.meta.total,e.totalPage=t.meta.pages},error:function(t){e.loading=!1,alert(t)}})},deleteForm:function(e){var o=this;confirm("Are you sure?")&&(o.loading=!0,wp.ajax.send("weforms_form_delete",{data:{form_id:this.items[e].id,_wpnonce:weForms.nonce},success:function(t){o.items.splice(e,1),o.loading=!1},error:function(t){alert(t),o.loading=!1}}))},duplicate:function(t,e){var o=this;this.loading=!0,wp.ajax.send("weforms_form_duplicate",{data:{form_id:t,_wpnonce:weForms.nonce},success:function(t){o.items.splice(0,0,t),o.loading=!1},error:function(t){alert(t),o.loading=!1}})},handleBulkAction:function(){if("-1"!==this.bulkAction){if("delete"===this.bulkAction){if(!this.checkedItems.length)return void alert("Please select atleast one form to delete.");confirm("Are you sure to delete the forms?")&&this.deleteBulk()}}else alert("Please chose a bulk action to perform")},isPendingForm:function(t){return Math.round((new Date).getTime()/1e3)<Math.round(new Date(t).getTime()/1e3)},isExpiredForm:function(t){var e=Math.round((new Date).getTime()/1e3);return Math.round(new Date(t).getTime()/1e3)<e},isOpenForm:function(t,e){var o=Math.round((new Date).getTime()/1e3),n=Math.round(new Date(t).getTime()/1e3),i=Math.round(new Date(e).getTime()/1e3);return n<o&&o<i},isFormStatusClosed:function(t,e){return!("true"!==t.schedule_form||!this.isPendingForm(t.schedule_start))||(!("true"!==t.schedule_form||!this.isExpiredForm(t.schedule_end))||("true"===t.limit_entries&&e>=t.limit_number||void 0))},formatTime:function(t){var e=new Date(t);return e.toLocaleString("en-us",{month:"short"})+" "+e.getDate()+", "+e.getFullYear()}}}),weForms.routeComponents.FormPayments={props:{id:[String,Number]},template:"#tmpl-wpuf-form-payments",data:function(){return{form_title:"Loading..."}}},weForms.routeComponents.Home={template:"#tmpl-wpuf-home-page",data:function(){return{showTemplateModal:!1}},methods:{displayModal:function(){this.showTemplateModal=!0},closeModal:function(){this.showTemplateModal=!1}}},weForms.routeComponents.Tools={template:"#tmpl-wpuf-tools",mixins:[weForms.mixins.Tabs,weForms.mixins.Loading],data:function(){return{activeTab:"export",exportType:"all",loading:!1,forms:[],importButton:"Import",currentStatus:0,responseMessage:"",logs:[],ximport:{current:"",title:"",action:"",message:"",type:"updated",refs:{}}}},computed:{isInitial:function(){return 0===this.currentStatus},isSaving:function(){return 1===this.currentStatus},isSuccess:function(){return 2===this.currentStatus},isFailed:function(){return 3===this.currentStatus},hasRefs:function(){return Object.keys(this.ximport.refs).length},hasLogs:function(){return Object.keys(this.logs).length}},created:function(){this.fetchData(),this.fetchLogs()},methods:{fetchLogs:function(e){var o=this;o.startLoading(e),wp.ajax.send("weforms_read_logs",{data:{_wpnonce:weForms.nonce},success:function(t){o.stopLoading(e),o.logs=t},error:function(){o.stopLoading(e),o.logs=[]}})},deleteLogs:function(e){var o=this;confirm("Are you sure to clear the log file?")&&(o.startLoading(e),wp.ajax.send("weforms_delete_logs",{data:{_wpnonce:weForms.nonce},success:function(t){o.logs=[],o.stopLoading(e),o.fetchLogs()},error:function(t){o.logs=[],o.stopLoading(e),o.fetchLogs()}}))},stopLoading:function(t){(t=s(t)).is("button")?t.removeClass("updating-message").find("span").show():t.is("span")&&t.show().parent().removeClass("updating-message")},startLoading:function(t){(t=s(t)).is("button")?t.addClass("updating-message").find("span").hide():t.is("span")&&t.hide().parent().addClass("updating-message")},fetchData:function(){var e=this;this.loading=!0,wp.ajax.send("weforms_form_names",{data:{_wpnonce:weForms.nonce},success:function(t){e.loading=!1,e.forms=t},error:function(t){e.loading=!1,alert(t)}})},importForm:function(t,e,o){if(e.length){var n=new FormData,i=this;n.append(t,e[0],e[0].name),n.append("action","weforms_import_form"),n.append("_wpnonce",weForms.nonce),i.currentStatus=1,s.ajax({type:"POST",url:window.ajaxurl,data:n,processData:!1,contentType:!1,success:function(t){i.responseMessage=t.data,t.success?i.currentStatus=2:i.currentStatus=3,s(o.target).val("")},error:function(t){console.log(t),i.currentStatus=3},complete:function(){s(o.target).val("")}})}},importx:function(t,e){var o=s(t),n=this;n.ximport.current=e,o.addClass("updating-message").text(o.data("importing")),wp.ajax.send("weforms_import_xforms_"+e,{data:{_wpnonce:weForms.nonce},success:function(t){n.ximport.title=t.title,n.ximport.message=t.message,n.ximport.action=t.action,n.ximport.refs=t.refs},error:function(t){alert(t.message)},complete:function(){o.removeClass("updating-message").text(o.data("original"))}})},replaceX:function(t,e){var o=s(t),n=this;o.addClass("updating-message"),wp.ajax.send("weforms_import_xreplace_"+n.ximport.current,{data:{type:e,_wpnonce:weForms.nonce},success:function(t){"replace"===o.data("type")&&alert(t)},error:function(t){alert(t)},complete:function(){n.ximport.current="",n.ximport.title=""}})}}},weForms.routeComponents.Transactions={template:"#tmpl-wpuf-transactions",data:function(){return{selected:0,no_transactions:!1,forms:{},form_title:"Loading..."}},created:function(){this.get_forms()},methods:{get_forms:function(){var e=this;wp.ajax.send("weforms_form_list",{data:{_wpnonce:weForms.nonce,page:e.currentPage,filter:"transactions"},success:function(t){Object.keys(t.forms).length?(e.forms=t.forms,e.selected=e.forms[Object.keys(e.forms)[0]].id):(e.form_title="No transaction found",e.no_transactions=!0)},error:function(t){alert(t)}})}}},weForms.routeComponents.Help={template:"#tmpl-wpuf-weforms-page-help"},weForms.routeComponents.Privacy={template:"#tmpl-wpuf-weforms-page-privacy"},weForms.routeComponents.Premium={template:"#tmpl-wpuf-weforms-premium",data:function(){return{showModal:!1}}},weForms.routeComponents.Settings={template:"#tmpl-wpuf-weforms-settings",mixins:[weForms.mixins.Loading,weForms.mixins.Cookie],data:function(){return{loading:!1,settings:{email_gateway:"wordpress",credit:!1,permission:"manage_options",gateways:{sendgrid:"",mailgun:"",sparkpost:""},recaptcha:{type:"v2",key:"",secret:""}},activeTab:"general"}},computed:{is_pro:function(){return"true"===weForms.is_pro}},created:function(){this.fetchSettings(),this.getCookie("weforms_settings_active_tab")&&(this.activeTab=this.getCookie("weforms_settings_active_tab"))},methods:{makeActive:function(t){this.activeTab=t},isActiveTab:function(t){return this.activeTab===t},fetchSettings:function(){var t=this;t.loading=!0,wp.ajax.send("weforms_get_settings",{data:{_wpnonce:weForms.nonce},success:function(o){void 0!==o&&(s.each(t.settings,function(t,e){void 0===o[t]&&(o[t]=e)}),t.settings=o)},complete:function(){t.loading=!1}})},saveSettings:function(t){s(t).addClass("updating-message"),wp.ajax.send("weforms_save_settings",{data:{settings:JSON.stringify(this.settings),_wpnonce:weForms.nonce},success:function(t){toastr.options.timeOut=1e3,toastr.success("Settings has been updated"),weForms.settings=t},error:function(t){console.log(t)},complete:function(){s(t).removeClass("updating-message")}})},post:function(t,e,o){o=o||function(){},(e=e||{})._wpnonce=weForms.nonce,wp.ajax.send(t,{data:e,success:function(t){o(t)},error:function(t){console.log(t)},complete:function(){}})}},watch:{activeTab:function(t){this.setCookie("weforms_settings_active_tab",t,"365")}}},Array.prototype.hasOwnProperty("swap")||(Array.prototype.swap=function(t,e){this.splice(e,0,this.splice(t,1)[0])}),Vue.component("datepicker",{template:'<input type="text" v-bind:value="value" />',props:["value"],mounted:function(){s(this.$el).datetimepicker({dateFormat:"yy-mm-dd",timeFormat:"HH:mm:ss",onClose:this.onClose})},methods:{onClose:function(t){this.$emit("input",t)}}}),Vue.component("weforms-colorpicker",{template:'<input type="text" v-bind:value="value" />',props:["value"],mounted:function(){s(this.$el).wpColorPicker({change:this.onChange})},methods:{onChange:function(t,e){this.$emit("input",e.color.toString())}}});var t=new Vuex.Store({state:{post:{},form_fields:[],panel_sections:wpuf_form_builder.panel_sections,field_settings:wpuf_form_builder.field_settings,notifications:[],settings:{},integrations:{},current_panel:"form-fields",editing_field_id:0},mutations:{set_form_fields:function(t,e){Vue.set(t,"form_fields",e)},set_form_post:function(t,e){Vue.set(t,"post",e)},set_form_notification:function(t,e){Vue.set(t,"notifications",e)},set_form_integrations:function(t,e){Vue.set(t,"integrations",e)},set_form_settings:function(t,e){Vue.set(t,"settings",e)},set_current_panel:function(t,e){"field-options"!==t.current_panel&&"field-options"===e&&t.form_fields.length&&(t.editing_field_id=t.form_fields[0].id),"form-fields"===(t.current_panel=e)&&(t.editing_field_id=0)},panel_add_show_prop:function(o){o.panel_sections.map(function(t,e){t.hasOwnProperty("show")||Vue.set(o.panel_sections[e],"show",!0)})},panel_toggle:function(t,e){t.panel_sections[e].show=!t.panel_sections[e].show},open_field_settings:function(t,e){var o=t.form_fields.filter(function(t){return parseInt(e)===parseInt(t.id)});"field-options"===t.current_panel&&o[0].id===t.editing_field_id||o.length&&(t.editing_field_id=0,t.current_panel="field-options",setTimeout(function(){t.editing_field_id=o[0].id},400))},update_editing_form_field:function(t,e){var o=0;for(o=0;o<t.form_fields.length;o++)if(t.form_fields[o].id===parseInt(e.editing_field_id)&&(t.form_fields[o][e.field_name]=e.value),"column_field"===t.form_fields[o].template){var n=t.form_fields[o].inner_fields;for(var i in n)if(n.hasOwnProperty(i))for(var r=0;r<n[i].length;)n[i][r].id===parseInt(e.editing_field_id)&&(n[i][r][e.field_name]=e.value),r++}},add_form_field_element:function(t,e){t.form_fields.splice(e.toIndex,0,e.field),Vue.nextTick(function(){var t=s("#form-preview-stage .wpuf-form .field-items").eq(e.toIndex);t&&!function(t){"function"==typeof jQuery&&t instanceof jQuery&&(t=t[0]);var e=t.getBoundingClientRect();return 0<=e.top&&0<=e.left&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}(t.get(0))&&s("#builder-stage section").scrollTo(t,800,{offset:-50})})},swap_form_field_elements:function(t,e){t.form_fields.swap(e.fromIndex,e.toIndex)},clone_form_field_element:function(t,e){var o=_.find(t.form_fields,function(t){return parseInt(t.id)===parseInt(e.field_id)}),n=s.extend(!0,{},o),i=parseInt(e.index)+1;n.id=e.new_id,n.name=n.name+"_copy",n.is_new=!0,t.form_fields.splice(i,0,n)},delete_form_field_element:function(t,e){t.current_panel="form-fields",t.form_fields.splice(e,1)},set_panel_section_fields:function(t,e){_.find(t.panel_sections,function(t){return t.id===e.id}).fields=e.fields},addNotification:function(t,e){t.notifications.push(_.clone(e))},deleteNotification:function(t,e){t.notifications.splice(e,1)},cloneNotification:function(t,e){var o=s.extend(!0,{},t.notifications[e]);e=parseInt(e)+1,t.notifications.splice(e,0,o)},updateNotificationProperty:function(t,e){t.notifications[e.index][e.property]=e.value},updateNotification:function(t,e){t.notifications[e.index]=e.value},updateIntegration:function(t,e){Vue.set(t.integrations,e.index,e.value)},add_column_inner_field_element:function(t,e){var o=t.form_fields.findIndex(function(t){return t.id===e.toWhichColumnField});(void 0===t.form_fields[o].inner_fields[e.toWhichColumn]&&(t.form_fields[o].inner_fields[e.toWhichColumn]=[]),void 0!==t.form_fields[o].inner_fields[e.toWhichColumn])&&(t.form_fields[o].inner_fields[e.toWhichColumn].filter(function(t){return t.name===e.field.name}).length<=0&&t.form_fields[o].inner_fields[e.toWhichColumn].splice(e.toIndex,0,e.field))},move_column_inner_fields:function(e,o){var n=e.form_fields.findIndex(function(t){return t.id===o.field_id}),i=o.inner_fields,r=[];Object.keys(i).forEach(function(t){"column-1"===o.move_to&&(i[t].forEach(function(t){r.push(t)}),e.form_fields[n].inner_fields[t].splice(0,i[t].length)),"column-2"===o.move_to&&("column-2"!==t&&"column-3"!==t||(i[t].forEach(function(t){r.push(t)}),e.form_fields[n].inner_fields[t].splice(0,i[t].length)))}),0!==r.length&&r.forEach(function(t){e.form_fields[n].inner_fields[o.move_to].splice(0,0,t)})},swap_column_field_elements:function(t,e){var o=t.form_fields.findIndex(function(t){return t.id===e.field_id}),n=t.form_fields[o].inner_fields[e.fromColumn][e.fromIndex];e.fromColumn!==e.toColumn?(t.form_fields[o].inner_fields[e.toColumn].splice(e.toIndex,0,n),t.form_fields[o].inner_fields[e.fromColumn].splice(e.fromIndex,1)):t.form_fields[o].inner_fields[e.toColumn].swap(e.fromIndex,e.toIndex)},open_column_field_settings:function(t,e){var o=e.column_field;"field-options"===t.current_panel&&o.id===t.editing_field_id||o&&(t.editing_field_id=0,t.current_panel="field-options",t.editing_field_type="column_field",t.editing_column_field_id=e.field_id,t.edting_field_column=e.column,t.editing_inner_field_index=e.index,setTimeout(function(){t.editing_field_id=o.id},400))},clone_column_field_element:function(t,e){var o=t.form_fields.findIndex(function(t){return t.id===e.field_id}),n=_.find(t.form_fields[o].inner_fields[e.toColumn],function(t){return parseInt(t.id)===parseInt(e.column_field_id)}),i=s.extend(!0,{},n),r=parseInt(e.index)+1;i.id=e.new_id,i.name=i.name+"_copy",i.is_new=!0,t.form_fields[o].inner_fields[e.toColumn].splice(r,0,i)},delete_column_field_element:function(t,e){var o=t.form_fields.findIndex(function(t){return t.id===e.field_id});t.current_panel="form-fields",t.form_fields[o].inner_fields[e.fromColumn].splice(e.index,1)}}});weForms.routeComponents.FormHome={template:'<div><router-view class="child"></router-view></div>'},weForms.routeComponents.SingleForm={template:"#tmpl-wpuf-form-editor"},weForms.routeComponents.FormEntriesHome={template:'<div><router-view class="grand-child"></router-view></div>'},function t(e){for(var o=0;o<e.length;o++)"object"===_typeof(e[o].children)?(t(e[o].children),void 0!==e[o].component&&(e[o].component=weForms.routeComponents[e[o].component])):e[o].component=weForms.routeComponents[e[o].component]}(weForms.routes);var e=new VueRouter({routes:weForms.routes,scrollBehavior:function(t,e,o){return o||{x:0,y:0}}});window.weFormsBuilderisDirty=!1,e.beforeEach(function(t,e,o){if(window.weFormsBuilderisDirty){if(!confirm(wpuf_form_builder.i18n.unsaved_changes+" "+wpuf_form_builder.i18n.areYouSureToLeave))return o(e.path),!1;window.weFormsBuilderisDirty=!1}o()}),weForms.validators={is_recaptcha_v2:function(){return"v2"===weForms.settings.recaptcha.type}};new Vue({router:e,store:t}).$mount("#wpuf-contact-form-app");var n=s("#toplevel_page_weforms");n.on("click","a",function(){var t=s(this);s("ul.wp-submenu li",n).removeClass("current"),t.hasClass("wp-has-submenu")?s("li.wp-first-item",n).addClass("current"):t.parents("li").addClass("current")}),s(function(){var t=window.location.href,o=t.substr(t.indexOf("admin.php"));s("ul.wp-submenu a",n).each(function(t,e){s(e).attr("href")!==o||s(e).parent().addClass("current")})})}(jQuery);
\ No newline at end of file
+"use strict";var _typeof31="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof30="function"==typeof Symbol&&"symbol"===_typeof31(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof31(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof31(t)},_typeof29="function"==typeof Symbol&&"symbol"===_typeof30(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof30(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof30(t)},_typeof28="function"==typeof Symbol&&"symbol"===_typeof29(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof29(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof29(t)},_typeof27="function"==typeof Symbol&&"symbol"===_typeof28(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof28(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof28(t)},_typeof26="function"==typeof Symbol&&"symbol"===_typeof27(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof27(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof27(t)},_typeof25="function"==typeof Symbol&&"symbol"===_typeof26(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof26(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof26(t)},_typeof24="function"==typeof Symbol&&"symbol"===_typeof25(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof25(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof25(t)},_typeof23="function"==typeof Symbol&&"symbol"===_typeof24(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof24(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof24(t)},_typeof22="function"==typeof Symbol&&"symbol"===_typeof23(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof23(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof23(t)},_typeof21="function"==typeof Symbol&&"symbol"===_typeof22(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof22(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof22(t)},_typeof20="function"==typeof Symbol&&"symbol"===_typeof21(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof21(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof21(t)},_typeof19="function"==typeof Symbol&&"symbol"===_typeof20(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof20(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof20(t)},_typeof18="function"==typeof Symbol&&"symbol"===_typeof19(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof19(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof19(t)},_typeof17="function"==typeof Symbol&&"symbol"===_typeof18(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof18(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof18(t)},_typeof16="function"==typeof Symbol&&"symbol"===_typeof17(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof17(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof17(t)},_typeof15="function"==typeof Symbol&&"symbol"===_typeof16(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof16(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof16(t)},_typeof14="function"==typeof Symbol&&"symbol"===_typeof15(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof15(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof15(t)},_typeof13="function"==typeof Symbol&&"symbol"===_typeof14(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof14(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof14(t)},_typeof12="function"==typeof Symbol&&"symbol"===_typeof13(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof13(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof13(t)},_typeof11="function"==typeof Symbol&&"symbol"===_typeof12(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof12(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof12(t)},_typeof10="function"==typeof Symbol&&"symbol"===_typeof11(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof11(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof11(t)},_typeof9="function"==typeof Symbol&&"symbol"===_typeof10(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof10(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof10(t)},_typeof8="function"==typeof Symbol&&"symbol"===_typeof9(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof9(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof9(t)},_typeof7="function"==typeof Symbol&&"symbol"===_typeof8(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof8(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof8(t)},_typeof6="function"==typeof Symbol&&"symbol"===_typeof7(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof7(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof7(t)},_typeof5="function"==typeof Symbol&&"symbol"===_typeof6(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof6(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof6(t)},_typeof4="function"==typeof Symbol&&"symbol"===_typeof5(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof5(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof5(t)},_typeof3="function"==typeof Symbol&&"symbol"===_typeof4(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof4(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof4(t)},_typeof2="function"==typeof Symbol&&"symbol"===_typeof3(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof3(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof3(t)},_typeof="function"==typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(t){return void 0===t?"undefined":_typeof2(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":_typeof2(t)};!function(s){Vue.component("wpuf-table",{template:"#tmpl-wpuf-component-table",mixins:[weForms.mixins.Loading,weForms.mixins.Paginate,weForms.mixins.BulkAction],props:{has_export:String,action:String,delete:String,id:[String,Number],status:[String]},data:function(){return{loading:!1,columns:[],items:[],ajaxAction:this.action,nonce:weForms.nonce,index:"id",bulkDeleteAction:this.delete?this.delete:"weforms_form_entry_trash_bulk"}},created:function(){this.fetchData()},computed:{columnLength:function(){return Object.keys(this.columns).length}},methods:{fetchData:function(){var e=this;this.loading=!0,wp.ajax.send(e.action,{data:{id:e.id,page:e.currentPage,status:e.status,_wpnonce:weForms.nonce},success:function(t){e.loading=!1,e.columns=t.columns,e.items=t.entries,e.form_title=t.form_title,e.totalItems=t.pagination.total,e.perPage=t.pagination.per_page,e.totalPage=t.pagination.pages,e.$emit("ajaxsuccess",t)},error:function(t){e.loading=!1,alert(t)}})},handleBulkAction:function(){if("-1"!==this.bulkAction){if("delete"===this.bulkAction){if(!this.checkedItems.length)return void alert("Please select atleast one entry to delete.");confirm("Are you sure to delete the entries?")&&this.deleteBulk()}if("restore"===this.bulkAction){if(!this.checkedItems.length)return void alert("Please select atleast one entry to restore.");this.restoreBulk()}}else alert("Please chose a bulk action to perform")},restore:function(t){var e=this;e.loading=!0,wp.ajax.send("weforms_form_entry_restore",{data:{entry_id:t,_wpnonce:weForms.nonce},success:function(t){e.loading=!1,e.fetchData()},error:function(t){e.loading=!1,alert(t)}})},deletePermanently:function(t){if(confirm("Are you sure to delete this entry?")){var e=this;e.loading=!0,wp.ajax.send("weforms_form_entry_delete",{data:{entry_id:t,_wpnonce:weForms.nonce},success:function(t){e.loading=!1,e.fetchData()},error:function(t){e.loading=!1,alert(t)}})}}},watch:{id:function(){this.fetchData()},status:function(){this.currentPage=1,this.bulkAction=-1,this.fetchData()}}}),weForms.routeComponents.Entries={template:"#tmpl-wpuf-entries",data:function(){return{selected:0,forms:{},form_title:"Loading...",status:"publish",total:0,totalTrash:0}},created:function(){this.get_forms()},methods:{get_forms:function(){var e=this;wp.ajax.send("weforms_form_list",{data:{_wpnonce:weForms.nonce,page:e.currentPage,posts_per_page:-1,filter:"entries"},success:function(t){Object.keys(t.forms).length?(e.forms=t.forms,e.selected=e.forms[Object.keys(e.forms)[0]].id):e.form_title="No entry found"},error:function(t){alert(t)}})}}},weForms.routeComponents.FormEditComponent={template:"#tmpl-wpuf-form-builder",mixins:wpuf_form_builder_mixins(wpuf_mixins.root),data:function(){return{is_form_saving:!1,is_form_saved:!1,is_form_switcher:!1,post_title_editing:!1,loading:!1,activeTab:"editor",activeSettingsTab:"form",activePaymentTab:"paypal"}},watch:{loading:function(t){t?(NProgress.configure({parent:"#wpadminbar"}),NProgress.start()):NProgress.done()},form_fields:{handler:function(){window.weFormsBuilderisDirty=!0},deep:!0},notifications:{handler:function(){window.weFormsBuilderisDirty=!0},deep:!0},integrations:{handler:function(){window.weFormsBuilderisDirty=!0},deep:!0},settings:{handler:function(){window.weFormsBuilderisDirty=!0},deep:!0},payment:{handler:function(){window.weFormsBuilderisDirty=!0},deep:!0}},created:function(){this.set_current_panel("form-fields"),this.fetchForm(),this.$store.commit("panel_add_show_prop"),wpuf_form_builder.event_hub=new Vue},computed:{current_panel:function(){return this.$store.state.current_panel},post:function(){return this.$store.state.post},form_fields_count:function(){return this.$store.state.form_fields.length},form_fields:function(){return this.$store.state.form_fields},notifications:function(){return this.$store.state.notifications},integrations:function(){return this.$store.state.integrations},settings:function(){return this.$store.state.settings},payment:function(){return this.$store.state.payment}},mounted:function(){var t=new window.Clipboard(".form-id");s(".form-id").tooltip();var e=this;this.started=!0,t.on("success",function(t){s(t.trigger).attr("data-original-title","Copied!").tooltip("show"),setTimeout(function(){s(t.trigger).tooltip("hide").attr("data-original-title",e.i18n.copy_shortcode)},1e3),t.clearSelection()}),this.initSharingClipBoard(),setTimeout(function(){window.weFormsBuilderisDirty=!1},500),window.onbeforeunload=function(){if(window.weFormsBuilderisDirty)return e.i18n.unsaved_changes}},methods:{makeActive:function(t){this.activeTab=t},isActiveTab:function(t){return this.activeTab===t},isActiveSettingsTab:function(t){return this.activeSettingsTab===t},makeActiveSettingsTab:function(t){this.activeSettingsTab=t},isActivePaymentTab:function(t){return this.activePaymentTab===t},makeActivePaymentTab:function(t){this.activePaymentTab=t},fetchForm:function(){var e=this;e.loading=!0,wp.ajax.send("weforms_get_form",{data:{form_id:this.$route.params.id,_wpnonce:weForms.nonce},success:function(t){e.$store.commit("set_form_post",t.post),e.$store.commit("set_form_fields",t.form_fields),e.$store.commit("set_form_notification",t.notifications),e.$store.commit("set_form_settings",t.settings),void 0!==t.integrations.length?e.$store.commit("set_form_integrations",{}):e.$store.commit("set_form_integrations",t.integrations)},error:function(t){alert(t)},complete:function(){e.loading=!1}})},set_current_panel:function(t){this.$store.commit("set_current_panel",t)},save_form_builder:function(){var e=this;!_.isFunction(this.validate_form_before_submit)||this.validate_form_before_submit()?(e.is_form_saving=!0,e.set_current_panel("form-fields"),wp.ajax.send("wpuf_form_builder_save_form",{data:{form_data:s("#wpuf-form-builder").weSerialize(),form_fields:JSON.stringify(e.form_fields),notifications:JSON.stringify(e.notifications),settings:JSON.stringify(e.settings),payment:JSON.stringify(e.payment),integrations:JSON.stringify(e.integrations)},success:function(t){t.form_fields&&e.$store.commit("set_form_fields",t.form_fields),e.is_form_saving=!1,e.is_form_saved=!0,setTimeout(function(){window.weFormsBuilderisDirty=!1},500),toastr.success(e.i18n.saved_form_data)},error:function(){e.is_form_saving=!1}})):this.warn({text:this.validation_error_msg})},save_settings:function(){toastr.options.preventDuplicates=!0,this.save_form_builder()},shareForm:function(t,e){var o=this;if("on"===o.settings.sharing_on){var n=t+"?weforms="+btoa(o.getSharingHash()+"_"+Math.floor(Date.now()/1e3)+"_"+e.ID);swal({title:o.i18n.shareYourForm,html:"<p>"+o.i18n.shareYourFormText+'</p> <p><input onClick="this.setSelectionRange(0, this.value.length)" type="text" class="regular-text" value="'+n+'"/> <button class="anonymous-share-btn button button-primary" title="Copy URL" data-clipboard-text="'+n+'"><i class="fa fa-clipboard" aria-hidden="true"></i></button></p>',showCloseButton:!0,showCancelButton:!0,confirmButtonClass:"btn btn-success",cancelButtonClass:"btn btn-danger",confirmButtonColor:"#d54e21",confirmButtonText:o.i18n.disableSharing,cancelButtonText:o.i18n.close,focusCancel:!0}).then(function(){swal({title:o.i18n.areYouSure,html:"<p>"+o.i18n.areYouSureDesc+"</p>",type:"info",confirmButtonColor:"#d54e21",showCancelButton:!0,confirmButtonText:o.i18n.disable,cancelButtonText:o.i18n.cancel}).then(function(){o.disableSharing()})})}else swal({title:o.i18n.shareYourForm,html:o.i18n.shareYourFormDesc,type:"info",showCancelButton:!0,confirmButtonText:"Enable",cancelButtonText:"Cancel"}).then(function(){o.enableSharing(t,e)})},enableSharing:function(t,e){this.settings.sharing_on="on",this.save_settings(),this.shareForm(t,e)},disableSharing:function(){this.settings.sharing_on=!1,this.save_settings()},getSharingHash:function(){return this.settings.sharing_hash||(this.settings.sharing_hash=this.makeRandomString(8),this.save_settings()),this.settings.sharing_hash},makeRandomString:function(t){t=t||8;for(var e="",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=0;n<t;n++)e+=o.charAt(Math.floor(Math.random()*o.length));return e},initSharingClipBoard:function(t){var e=new window.Clipboard(".anonymous-share-btn");s(".anonymous-share-btn").tooltip(),e.on("success",function(t){s(t.trigger).attr("data-original-title","Copied!").tooltip("show"),setTimeout(function(){s(t.trigger).tooltip("hide").attr("data-original-title","Copy URL")},1e3),t.clearSelection()})}}},weForms.routeComponents.FormEntries={props:{id:[String,Number]},template:"#tmpl-wpuf-form-entries",data:function(){return{selected:0,form_title:"Loading...",status:"publish",total:0,totalTrash:0}}},weForms.routeComponents.FormEntriesSingle={template:"#tmpl-wpuf-form-entry-single",mixins:[weForms.mixins.Loading,weForms.mixins.Cookie],data:function(){return{loading:!1,hideEmpty:!0,hasEmpty:!1,show_payment_data:!1,entry:{form_fields:{},meta_data:{},payment_data:{}},form_settings:{},respondent_points:0,answers:{},countries:weForms.countries}},created:function(){this.hideEmpty=this.hideEmptyStatus(),this.fetchData()},computed:{hasFormFields:function(){return Object.keys(this.entry.form_fields).length}},methods:{fetchData:function(){var e=this;this.loading=!0,wp.ajax.send("weforms_form_entry_details",{data:{entry_id:e.$route.params.entryid,form_id:e.$route.params.id,_wpnonce:weForms.nonce},success:function(t){e.loading=!1,e.entry=t,e.hasEmpty=t.has_empty,e.form_settings=t.form_settings,e.respondent_points=t.respondent_points,e.answers=t.answers},error:function(t){e.loading=!1,alert(t)}})},trashEntry:function(){var e=this;confirm(weForms.confirm)&&wp.ajax.send("weforms_form_entry_trash",{data:{entry_id:e.$route.params.entryid,_wpnonce:weForms.nonce},success:function(){e.loading=!1,e.$router.push({name:"formEntries",params:{id:e.$route.params.id}})},error:function(t){e.loading=!1,alert(t)}})},hideEmptyStatus:function(){return"false"!==this.getCookie("weFormsEntryHideEmpty")},findCountry:function(e){return this.countries.find(function(t){return t.code===e})},getCountryName:function(t){if(this.findCountry(t))return this.findCountry(t).name},getAddressFieldValue:function(t){var e=t.match(/Country Select:(\s([A-Z])\w+)/g);if(null===e)return t;var o=e[0].substring(15,e[0].length).trim(),n=this.getCountryName(o),i=o;return t.replace(i,n)}},watch:{hideEmpty:function(t){this.setCookie("weFormsEntryHideEmpty",t,356)}}},Vue.component("form-list-table",{template:"#tmpl-wpuf-form-list-table",mixins:[weForms.mixins.Loading,weForms.mixins.Paginate,weForms.mixins.BulkAction],data:function(){return{loading:!1,index:"ID",items:[],bulkDeleteAction:"weforms_form_delete_bulk"}},created:function(){this.fetchData()},computed:{is_pro:function(){return"true"===weForms.is_pro},has_payment:function(){return"true"===weForms.has_payment}},methods:{fetchData:function(){var e=this;this.loading=!0,wp.ajax.send("weforms_form_list",{data:{_wpnonce:weForms.nonce,page:e.currentPage},success:function(t){e.loading=!1,e.items=t.forms,e.totalItems=t.meta.total,e.totalPage=t.meta.pages},error:function(t){e.loading=!1,alert(t)}})},deleteForm:function(e){var o=this;confirm("Are you sure?")&&(o.loading=!0,wp.ajax.send("weforms_form_delete",{data:{form_id:this.items[e].id,_wpnonce:weForms.nonce},success:function(t){o.items.splice(e,1),o.loading=!1},error:function(t){alert(t),o.loading=!1}}))},duplicate:function(t,e){var o=this;this.loading=!0,wp.ajax.send("weforms_form_duplicate",{data:{form_id:t,_wpnonce:weForms.nonce},success:function(t){o.items.splice(0,0,t),o.loading=!1},error:function(t){alert(t),o.loading=!1}})},handleBulkAction:function(){if("-1"!==this.bulkAction){if("delete"===this.bulkAction){if(!this.checkedItems.length)return void alert("Please select atleast one form to delete.");confirm("Are you sure to delete the forms?")&&this.deleteBulk()}}else alert("Please chose a bulk action to perform")},isPendingForm:function(t){return Math.round((new Date).getTime()/1e3)<Math.round(new Date(t).getTime()/1e3)},isExpiredForm:function(t){var e=Math.round((new Date).getTime()/1e3);return Math.round(new Date(t).getTime()/1e3)<e},isOpenForm:function(t,e){var o=Math.round((new Date).getTime()/1e3),n=Math.round(new Date(t).getTime()/1e3),i=Math.round(new Date(e).getTime()/1e3);return n<o&&o<i},isFormStatusClosed:function(t,e){return!("true"!==t.schedule_form||!this.isPendingForm(t.schedule_start))||(!("true"!==t.schedule_form||!this.isExpiredForm(t.schedule_end))||("true"===t.limit_entries&&e>=t.limit_number||void 0))},formatTime:function(t){var e=new Date(t);return e.toLocaleString("en-us",{month:"short"})+" "+e.getDate()+", "+e.getFullYear()}}}),weForms.routeComponents.FormPayments={props:{id:[String,Number]},template:"#tmpl-wpuf-form-payments",data:function(){return{form_title:"Loading..."}}},weForms.routeComponents.Home={template:"#tmpl-wpuf-home-page",data:function(){return{showTemplateModal:!1}},methods:{displayModal:function(){this.showTemplateModal=!0},closeModal:function(){this.showTemplateModal=!1}}},weForms.routeComponents.Tools={template:"#tmpl-wpuf-tools",mixins:[weForms.mixins.Tabs,weForms.mixins.Loading],data:function(){return{activeTab:"export",exportType:"all",loading:!1,forms:[],importButton:"Import",currentStatus:0,responseMessage:"",logs:[],ximport:{current:"",title:"",action:"",message:"",type:"updated",refs:{}}}},computed:{isInitial:function(){return 0===this.currentStatus},isSaving:function(){return 1===this.currentStatus},isSuccess:function(){return 2===this.currentStatus},isFailed:function(){return 3===this.currentStatus},hasRefs:function(){return Object.keys(this.ximport.refs).length},hasLogs:function(){return Object.keys(this.logs).length}},created:function(){this.fetchData(),this.fetchLogs()},methods:{fetchLogs:function(e){var o=this;o.startLoading(e),wp.ajax.send("weforms_read_logs",{data:{_wpnonce:weForms.nonce},success:function(t){o.stopLoading(e),o.logs=t},error:function(){o.stopLoading(e),o.logs=[]}})},deleteLogs:function(e){var o=this;confirm("Are you sure to clear the log file?")&&(o.startLoading(e),wp.ajax.send("weforms_delete_logs",{data:{_wpnonce:weForms.nonce},success:function(t){o.logs=[],o.stopLoading(e),o.fetchLogs()},error:function(t){o.logs=[],o.stopLoading(e),o.fetchLogs()}}))},stopLoading:function(t){(t=s(t)).is("button")?t.removeClass("updating-message").find("span").show():t.is("span")&&t.show().parent().removeClass("updating-message")},startLoading:function(t){(t=s(t)).is("button")?t.addClass("updating-message").find("span").hide():t.is("span")&&t.hide().parent().addClass("updating-message")},fetchData:function(){var e=this;this.loading=!0,wp.ajax.send("weforms_form_names",{data:{_wpnonce:weForms.nonce},success:function(t){e.loading=!1,e.forms=t},error:function(t){e.loading=!1,alert(t)}})},importForm:function(t,e,o){if(e.length){var n=new FormData,i=this;n.append(t,e[0],e[0].name),n.append("action","weforms_import_form"),n.append("_wpnonce",weForms.nonce),i.currentStatus=1,s.ajax({type:"POST",url:window.ajaxurl,data:n,processData:!1,contentType:!1,success:function(t){i.responseMessage=t.data,t.success?i.currentStatus=2:i.currentStatus=3,s(o.target).val("")},error:function(t){console.log(t),i.currentStatus=3},complete:function(){s(o.target).val("")}})}},importx:function(t,e){var o=s(t),n=this;n.ximport.current=e,o.addClass("updating-message").text(o.data("importing")),wp.ajax.send("weforms_import_xforms_"+e,{data:{_wpnonce:weForms.nonce},success:function(t){n.ximport.title=t.title,n.ximport.message=t.message,n.ximport.action=t.action,n.ximport.refs=t.refs},error:function(t){alert(t.message)},complete:function(){o.removeClass("updating-message").text(o.data("original"))}})},replaceX:function(t,e){var o=s(t),n=this;o.addClass("updating-message"),wp.ajax.send("weforms_import_xreplace_"+n.ximport.current,{data:{type:e,_wpnonce:weForms.nonce},success:function(t){"replace"===o.data("type")&&alert(t)},error:function(t){alert(t)},complete:function(){n.ximport.current="",n.ximport.title=""}})}}},weForms.routeComponents.Transactions={template:"#tmpl-wpuf-transactions",data:function(){return{selected:0,no_transactions:!1,forms:{},form_title:"Loading..."}},created:function(){this.get_forms()},methods:{get_forms:function(){var e=this;wp.ajax.send("weforms_form_list",{data:{_wpnonce:weForms.nonce,page:e.currentPage,filter:"transactions"},success:function(t){Object.keys(t.forms).length?(e.forms=t.forms,e.selected=e.forms[Object.keys(e.forms)[0]].id):(e.form_title="No transaction found",e.no_transactions=!0)},error:function(t){alert(t)}})}}},weForms.routeComponents.Help={template:"#tmpl-wpuf-weforms-page-help"},weForms.routeComponents.Privacy={template:"#tmpl-wpuf-weforms-page-privacy"},weForms.routeComponents.Premium={template:"#tmpl-wpuf-weforms-premium",data:function(){return{showModal:!1}}},weForms.routeComponents.Settings={template:"#tmpl-wpuf-weforms-settings",mixins:[weForms.mixins.Loading,weForms.mixins.Cookie],data:function(){return{loading:!1,settings:{email_gateway:"wordpress",credit:!1,permission:"manage_options",gateways:{sendgrid:"",mailgun:"",sparkpost:""},recaptcha:{type:"v2",key:"",secret:""}},activeTab:"general"}},computed:{is_pro:function(){return"true"===weForms.is_pro}},created:function(){this.fetchSettings(),this.getCookie("weforms_settings_active_tab")&&(this.activeTab=this.getCookie("weforms_settings_active_tab"))},methods:{makeActive:function(t){this.activeTab=t},isActiveTab:function(t){return this.activeTab===t},fetchSettings:function(){var t=this;t.loading=!0,wp.ajax.send("weforms_get_settings",{data:{_wpnonce:weForms.nonce},success:function(o){void 0!==o&&(s.each(t.settings,function(t,e){void 0===o[t]&&(o[t]=e)}),t.settings=o)},complete:function(){t.loading=!1}})},saveSettings:function(t){s(t).addClass("updating-message"),wp.ajax.send("weforms_save_settings",{data:{settings:JSON.stringify(this.settings),_wpnonce:weForms.nonce},success:function(t){toastr.options.timeOut=1e3,toastr.success("Settings has been updated"),weForms.settings=t},error:function(t){console.log(t)},complete:function(){s(t).removeClass("updating-message")}})},post:function(t,e,o){o=o||function(){},(e=e||{})._wpnonce=weForms.nonce,wp.ajax.send(t,{data:e,success:function(t){o(t)},error:function(t){console.log(t)},complete:function(){}})}},watch:{activeTab:function(t){this.setCookie("weforms_settings_active_tab",t,"365")}}},Array.prototype.hasOwnProperty("swap")||(Array.prototype.swap=function(t,e){this.splice(e,0,this.splice(t,1)[0])}),Vue.component("datepicker",{template:'<input type="text" v-bind:value="value" />',props:["value"],mounted:function(){s(this.$el).datetimepicker({dateFormat:"yy-mm-dd",timeFormat:"HH:mm:ss",onClose:this.onClose})},methods:{onClose:function(t){this.$emit("input",t)}}}),Vue.component("weforms-colorpicker",{template:'<input type="text" v-bind:value="value" />',props:["value"],mounted:function(){s(this.$el).wpColorPicker({change:this.onChange})},methods:{onChange:function(t,e){this.$emit("input",e.color.toString())}}});var t=new Vuex.Store({state:{post:{},form_fields:[],panel_sections:wpuf_form_builder.panel_sections,field_settings:wpuf_form_builder.field_settings,notifications:[],settings:{},integrations:{},current_panel:"form-fields",editing_field_id:0},mutations:{set_form_fields:function(t,e){Vue.set(t,"form_fields",e)},set_form_post:function(t,e){Vue.set(t,"post",e)},set_form_notification:function(t,e){Vue.set(t,"notifications",e)},set_form_integrations:function(t,e){Vue.set(t,"integrations",e)},set_form_settings:function(t,e){Vue.set(t,"settings",e)},set_current_panel:function(t,e){"field-options"!==t.current_panel&&"field-options"===e&&t.form_fields.length&&(t.editing_field_id=t.form_fields[0].id),"form-fields"===(t.current_panel=e)&&(t.editing_field_id=0)},panel_add_show_prop:function(o){o.panel_sections.map(function(t,e){t.hasOwnProperty("show")||Vue.set(o.panel_sections[e],"show",!0)})},panel_toggle:function(t,e){t.panel_sections[e].show=!t.panel_sections[e].show},open_field_settings:function(t,e){var o=t.form_fields.filter(function(t){return parseInt(e)===parseInt(t.id)});"field-options"===t.current_panel&&o[0].id===t.editing_field_id||o.length&&(t.editing_field_id=0,t.current_panel="field-options",setTimeout(function(){t.editing_field_id=o[0].id},400))},update_editing_form_field:function(t,e){var o=0;for(o=0;o<t.form_fields.length;o++)if(t.form_fields[o].id===parseInt(e.editing_field_id)&&(t.form_fields[o][e.field_name]=e.value),"column_field"===t.form_fields[o].template){var n=t.form_fields[o].inner_fields;for(var i in n)if(n.hasOwnProperty(i))for(var r=0;r<n[i].length;)n[i][r].id===parseInt(e.editing_field_id)&&(n[i][r][e.field_name]=e.value),r++}},add_form_field_element:function(t,e){t.form_fields.splice(e.toIndex,0,e.field),Vue.nextTick(function(){var t=s("#form-preview-stage .wpuf-form .field-items").eq(e.toIndex);t&&!function(t){"function"==typeof jQuery&&t instanceof jQuery&&(t=t[0]);var e=t.getBoundingClientRect();return 0<=e.top&&0<=e.left&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}(t.get(0))&&s("#builder-stage section").scrollTo(t,800,{offset:-50})})},swap_form_field_elements:function(t,e){t.form_fields.swap(e.fromIndex,e.toIndex)},clone_form_field_element:function(t,e){var o=_.find(t.form_fields,function(t){return parseInt(t.id)===parseInt(e.field_id)}),n=s.extend(!0,{},o),i=parseInt(e.index)+1;n.id=e.new_id,n.name=n.name+"_copy",n.is_new=!0,t.form_fields.splice(i,0,n)},delete_form_field_element:function(t,e){t.current_panel="form-fields",t.form_fields.splice(e,1)},set_panel_section_fields:function(t,e){_.find(t.panel_sections,function(t){return t.id===e.id}).fields=e.fields},addNotification:function(t,e){t.notifications.push(_.clone(e))},deleteNotification:function(t,e){t.notifications.splice(e,1)},cloneNotification:function(t,e){var o=s.extend(!0,{},t.notifications[e]);e=parseInt(e)+1,t.notifications.splice(e,0,o)},updateNotificationProperty:function(t,e){t.notifications[e.index][e.property]=e.value},updateNotification:function(t,e){t.notifications[e.index]=e.value},updateIntegration:function(t,e){Vue.set(t.integrations,e.index,e.value)},add_column_inner_field_element:function(t,e){var o=t.form_fields.findIndex(function(t){return t.id===e.toWhichColumnField});(void 0===t.form_fields[o].inner_fields[e.toWhichColumn]&&(t.form_fields[o].inner_fields[e.toWhichColumn]=[]),void 0!==t.form_fields[o].inner_fields[e.toWhichColumn])&&(t.form_fields[o].inner_fields[e.toWhichColumn].filter(function(t){return t.name===e.field.name}).length<=0&&t.form_fields[o].inner_fields[e.toWhichColumn].splice(e.toIndex,0,e.field))},move_column_inner_fields:function(e,o){var n=e.form_fields.findIndex(function(t){return t.id===o.field_id}),i=o.inner_fields,r=[];Object.keys(i).forEach(function(t){"column-1"===o.move_to&&(i[t].forEach(function(t){r.push(t)}),e.form_fields[n].inner_fields[t].splice(0,i[t].length)),"column-2"===o.move_to&&("column-2"!==t&&"column-3"!==t||(i[t].forEach(function(t){r.push(t)}),e.form_fields[n].inner_fields[t].splice(0,i[t].length)))}),0!==r.length&&r.forEach(function(t){e.form_fields[n].inner_fields[o.move_to].splice(0,0,t)})},swap_column_field_elements:function(t,e){var o=t.form_fields.findIndex(function(t){return t.id===e.field_id}),n=t.form_fields[o].inner_fields[e.fromColumn][e.fromIndex];e.fromColumn!==e.toColumn?(t.form_fields[o].inner_fields[e.toColumn].splice(e.toIndex,0,n),t.form_fields[o].inner_fields[e.fromColumn].splice(e.fromIndex,1)):t.form_fields[o].inner_fields[e.toColumn].swap(e.fromIndex,e.toIndex)},open_column_field_settings:function(t,e){var o=e.column_field;"field-options"===t.current_panel&&o.id===t.editing_field_id||o&&(t.editing_field_id=0,t.current_panel="field-options",t.editing_field_type="column_field",t.editing_column_field_id=e.field_id,t.edting_field_column=e.column,t.editing_inner_field_index=e.index,setTimeout(function(){t.editing_field_id=o.id},400))},clone_column_field_element:function(t,e){var o=t.form_fields.findIndex(function(t){return t.id===e.field_id}),n=_.find(t.form_fields[o].inner_fields[e.toColumn],function(t){return parseInt(t.id)===parseInt(e.column_field_id)}),i=s.extend(!0,{},n),r=parseInt(e.index)+1;i.id=e.new_id,i.name=i.name+"_copy",i.is_new=!0,t.form_fields[o].inner_fields[e.toColumn].splice(r,0,i)},delete_column_field_element:function(t,e){var o=t.form_fields.findIndex(function(t){return t.id===e.field_id});t.current_panel="form-fields",t.form_fields[o].inner_fields[e.fromColumn].splice(e.index,1)}}});weForms.routeComponents.FormHome={template:'<div><router-view class="child"></router-view></div>'},weForms.routeComponents.SingleForm={template:"#tmpl-wpuf-form-editor"},weForms.routeComponents.FormEntriesHome={template:'<div><router-view class="grand-child"></router-view></div>'},function t(e){for(var o=0;o<e.length;o++)"object"===_typeof(e[o].children)?(t(e[o].children),void 0!==e[o].component&&(e[o].component=weForms.routeComponents[e[o].component])):e[o].component=weForms.routeComponents[e[o].component]}(weForms.routes);var e=new VueRouter({routes:weForms.routes,scrollBehavior:function(t,e,o){return o||{x:0,y:0}}});window.weFormsBuilderisDirty=!1,e.beforeEach(function(t,e,o){if(window.weFormsBuilderisDirty){if(!confirm(wpuf_form_builder.i18n.unsaved_changes+" "+wpuf_form_builder.i18n.areYouSureToLeave))return o(e.path),!1;window.weFormsBuilderisDirty=!1}o()}),weForms.validators={is_recaptcha_v2:function(){return"v2"===weForms.settings.recaptcha.type}};new Vue({router:e,store:t}).$mount("#wpuf-contact-form-app");var n=s("#toplevel_page_weforms");n.on("click","a",function(){var t=s(this);s("ul.wp-submenu li",n).removeClass("current"),t.hasClass("wp-has-submenu")?s("li.wp-first-item",n).addClass("current"):t.parents("li").addClass("current")}),s(function(){var t=window.location.href,o=t.substr(t.indexOf("admin.php"));s("ul.wp-submenu a",n).each(function(t,e){s(e).attr("href")!==o||s(e).parent().addClass("current")})})}(jQuery);
\ No newline at end of file
diff --git a/languages/weforms.pot b/languages/weforms.pot
index e91929f..d0b01c2 100644
--- a/languages/weforms.pot
+++ b/languages/weforms.pot
@@ -2,9 +2,9 @@
 # This file is distributed under the GPL2 or later.
 msgid ""
 msgstr ""
-"Project-Id-Version: weForms 1.6.23\n"
+"Project-Id-Version: weForms 1.6.24\n"
 "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
-"POT-Creation-Date: 2024-03-19 17:48:05+00:00\n"
+"POT-Creation-Date: 2024-07-05 22:32:48+00:00\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff --git a/package.json b/package.json
index 05e77c3..693dfc5 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
 {
   "name": "weForms",
   "author": "BoldGrid",
-  "version": "1.6.23",
+  "version": "1.6.24",
   "license": "GPL-2.0",
   "repository": {
     "type": "git",
diff --git a/readme.txt b/readme.txt
index cfe6018..4df8d56 100644
--- a/readme.txt
+++ b/readme.txt
@@ -4,7 +4,7 @@ Tags: forms, contact form, contact form plugin, custom form, form builder, form,
 Requires at least: 5.0
 Requires PHP: 7.2
 Tested up to: 6.5
-Stable tag: 1.6.23
+Stable tag: 1.6.24
 License: GPLv2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 
@@ -236,6 +236,8 @@ weForms is the most beginner friendly and fastest WordPress contact form plugin
 17. Event registration form displayed on the site
 
 == Changelog ==
+= Version 1.6.24 ( 05 July, 2024 ) =
+* Fix: Updates remote url for pollyfill.io to secured CloudFlare URL.
 
 = Version 1.6.23 ( 19 March, 2024 ) =
 * Fix: Adds wpdb->prepare to fix SQL injection vulnerabilities.
diff --git a/weforms.php b/weforms.php
index 74e09c9..b723a3b 100644
--- a/weforms.php
+++ b/weforms.php
@@ -5,7 +5,7 @@
  * Plugin URI: https://weformspro.com/
  * Author: weForms
  * Author URI: https://weformspro.com/
- * Version: 1.6.23
+ * Version: 1.6.24
  * License: GPL2 or later
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
  * Text Domain: weforms
@@ -55,7 +55,7 @@ final class WeForms {
      *
      * @var string
      */
-    public $version = '1.6.23';
+    public $version = '1.6.24';
 
     /**
      * Form field value seperator
