STRATO-apps/wordpress_03/app/wp-content/plugins/fluentform/assets/js/fluent_forms_global.js
SHA-256: 359907685f8f5252bb54450cecb22647ce33572610b25239f03e24f83a6bd694
(()=>{"use strict";var t,e={2762:()=>{},12940:()=>{},13826:()=>{},16449:()=>{},18415:()=>{},22219:()=>{},27250:()=>{},33289:()=>{},43582:()=>{},45337:()=>{},62152:()=>{},62466:()=>{},64223:()=>{},66548:()=>{},68882:()=>{function t(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o="".concat(window.fluent_forms_global_var.rest.url,"/").concat(e),s={"X-WP-Nonce":window.fluent_forms_global_var.rest.nonce};return-1!==["PUT","PATCH","DELETE"].indexOf(t.toUpperCase())&&(s["X-HTTP-Method-Override"]=t,t="POST"),i.query_timestamp=Date.now(),new Promise(function(r,n){window.jQuery.ajax({url:o,type:t,data:i,headers:s}).then(function(t){return r(t)}).fail(function(o){o.responseJSON&&"rest_cookie_invalid_nonce"==o.responseJSON.code?window.FluentFormsGlobal.$get({action:"fluentform_renew_rest_nonce"}).then(function(o){o.nonce&&(window.fluent_forms_global_var.rest.nonce=o.nonce,t=t.toLowerCase(),window.FluentFormsGlobal.$rest[t](e,i).then(function(t){r(t)}).fail(function(t){return n(t.responseJSON)}))}):n(o.responseJSON)})})}function e(t){return e="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},e(t)}function i(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,s(o.key),o)}}function o(t,e,i){return(e=s(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function s(t){var i=function(t,i){if("object"!=e(t)||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var s=o.call(t,i||"default");if("object"!=e(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(t)}(t,"string");return"symbol"==e(i)?i:i+""}const r=new(function(){return t=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),o(this,"getForms","forms"),o(this,"storeForms",this.getForms),o(this,"getTemplates",this.getForms+"/templates"),o(this,"findForm",this.getForms+"/{param}"),o(this,"updateForm",this.findForm),o(this,"deleteForm",this.findForm),o(this,"duplicateForm",this.findForm+"/duplicate"),o(this,"convertForm",this.findForm+"/convert"),o(this,"getFormResources",this.findForm+"/resources"),o(this,"getFormPages",this.findForm+"/pages"),o(this,"getFormFields",this.findForm+"/fields"),o(this,"getFormShortcodes",this.findForm+"/shortcodes"),o(this,"findFormShortCodePage",this.findForm+"/findShortCodePage"),o(this,"getFormEditHistory",this.findForm+"/editHistory"),o(this,"clearFormEditHistory",this.findForm+"/clearHistory"),o(this,"getFormSettings","settings/{param}"),o(this,"storeFormSettings",this.getFormSettings),o(this,"deleteFormSettings",this.getFormSettings),o(this,"getPresetSettings",this.getFormSettings+"/preset"),o(this,"savePresetSettings",this.getFormSettings+"/save-preset"),o(this,"getGeneralFormSettings",this.getFormSettings+"/general"),o(this,"storeGeneralFormSettings",this.getGeneralFormSettings),o(this,"getFormSettingsCustomizer",this.getFormSettings+"/customizer"),o(this,"storeFormSettingsCustomizer",this.getFormSettingsCustomizer),o(this,"storeEntryColumns",this.getFormSettings+"/entry-columns"),o(this,"getFormSettingsConversationalDesign",this.getFormSettings+"/conversational-design"),o(this,"storeFormSettingsConversationalDesign",this.getFormSettings+"/store-conversational-design"),o(this,"getSubmissions","submissions"),o(this,"getSubmissionsResources",this.getSubmissions+"/resources"),o(this,"handleSubmissionsBulkActions",this.getSubmissions+"/bulk-actions"),o(this,"getAllSubmissions",this.getSubmissions+"/all"),o(this,"printSubmissions",this.getSubmissions+"/print"),o(this,"findSubmission",this.getSubmissions+"/{param}"),o(this,"deleteSubmission",this.findSubmission),o(this,"updateSubmissionStatus",this.findSubmission+"/status"),o(this,"toggleSubmissionIsFavorite",this.findSubmission+"/is-favorite"),o(this,"getSubmissionLogs",this.findSubmission+"/logs"),o(this,"deleteSubmissionLogs",this.findSubmission+"/logs"),o(this,"getSubmissionNotes",this.findSubmission+"/notes"),o(this,"storeSubmissionNote",this.findSubmission+"/notes"),o(this,"getSubmissionUsers",this.findSubmission+"/submission-users"),o(this,"updateSubmissionUser",this.findSubmission+"/update-submission-user"),o(this,"getLogs","logs"),o(this,"getLogFilters",this.getLogs+"/filters"),o(this,"deleteLogs",this.getLogs),o(this,"integrations","integrations"),o(this,"getGlobalIntegration",this.integrations),o(this,"updateGlobalIntegration",this.integrations),o(this,"updateGlobalIntegrationStatus",this.integrations+"/update-status"),o(this,"findIntegration",this.integrations+"/{param}"),o(this,"getFormIntegrationSettings",this.findIntegration),o(this,"updateFormIntegrationSettings",this.findIntegration),o(this,"deleteFormIntegration",this.findIntegration),o(this,"getIntegrations",this.findIntegration+"/form-integrations"),o(this,"getFormIntegrationList",this.findIntegration+"/integration-list-id"),o(this,"getGlobalSettings","global-settings"),o(this,"storeGlobalSettings",this.getGlobalSettings),o(this,"getRoles","roles"),o(this,"storeRoles",this.getRoles),o(this,"getManagers","managers"),o(this,"storeManager",this.getManagers),o(this,"deleteManager",this.storeManager),o(this,"getUsers",this.getManagers+"/users"),o(this,"analytics","analytics"),o(this,"getFormAnalytics",this.analytics+"/{param}"),o(this,"resetFormAnalytics",this.analytics+"/{param}/reset/"),o(this,"report","report"),o(this,"selectFormsForReport",this.report+"/select-forms"),o(this,"formsReport",this.report+"/forms"),o(this,"formReport",this.formsReport+"/{param}"),o(this,"submissionsReport",this.report+"/submissions"),o(this,"submissionsAnalysisReport",this.report+"/submissions-analysis"),o(this,"netRevenueReport",this.report+"/net-revenue"),o(this,"reportOverviewChart",this.report+"/overview-chart"),o(this,"reportRevenueChart",this.report+"/revenue-chart"),o(this,"reportCompletionRate",this.report+"/completion-rate"),o(this,"reportFormStats",this.report+"/form-stats"),o(this,"reportHeatmapData",this.report+"/heatmap-data"),o(this,"reportCountryHeatmap",this.report+"/country-heatmap"),o(this,"reportApiLogs",this.report+"/api-logs"),o(this,"reportTopPerformingForms",this.report+"/top-performing-forms"),o(this,"reportSubscriptions",this.report+"/subscriptions"),o(this,"reportPaymentTypes",this.report+"/payment-types"),o(this,"inventory","inventory"),o(this,"getInventoryList",this.inventory),o(this,"storeInventory",this.inventory),o(this,"noticeAction","notice"),o(this,"globalSearch","global-search")},e=[{key:"get",value:function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];var s=this[t];if(!s)throw"".concat(t,":Route Not Found");var r=0;return s.replace(/{param}/g,function(){var t=i[r];return r++,t})}}],e&&i(t.prototype,e),s&&i(t,s),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,s}()),n={get:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return window.FluentFormsGlobal.request("GET",t,e)},post:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return window.FluentFormsGlobal.request("POST",t,e)},delete:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return window.FluentFormsGlobal.request("DELETE",t,e)},put:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return window.FluentFormsGlobal.request("PUT",t,e)},patch:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return window.FluentFormsGlobal.request("PATCH",t,e)},route:function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];return r.get.apply(r,[t].concat(i))}};function a(t){return a="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},a(t)}function u(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,h(o.key),o)}}function l(t,e,i){return(e=h(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function h(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,e||"default");if("object"!=a(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}jQuery(function(t){t.ajaxSetup({success:function(t,e,i){var o=i.getResponseHeader("X-WP-Nonce");o&&(window.fluent_forms_global_var.rest.nonce=o)}})}),setInterval(function(){FluentFormsGlobal.$rest.get("forms/ping")},6e4),function(e){var i=function(){return i=function i(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),l(this,"request",t),l(this,"$rest",n),this.fluent_forms_global_var=window.fluent_forms_global_var,this.url=fluent_forms_global_var.ajaxurl,e.ajaxSetup({data:{fluent_forms_admin_nonce:this.fluent_forms_global_var.fluent_forms_admin_nonce}}),jQuery(".update-nag,.notice, #wpbody-content > .updated, #wpbody-content > .error").not(".fluentform-admin-notice").remove()},o=[{key:"$get",value:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return i=i||this.url,e.get(i,t)}},{key:"$post",value:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return i=i||this.url,e.post(i,t)}}],o&&u(i.prototype,o),s&&u(i,s),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,o,s}();window.FluentFormsGlobal=new i}(jQuery)},69174:()=>{},72602:()=>{},79709:()=>{},81804:()=>{},82008:()=>{},86097:()=>{},97006:()=>{}},i={};function o(t){var s=i[t];if(void 0!==s)return s.exports;var r=i[t]={exports:{}};return e[t](r,r.exports,o),r.exports}o.m=e,t=[],o.O=(e,i,s,r)=>{if(!i){var n=1/0;for(h=0;h<t.length;h++){for(var[i,s,r]=t[h],a=!0,u=0;u<i.length;u++)(!1&r||n>=r)&&Object.keys(o.O).every(t=>o.O[t](i[u]))?i.splice(u--,1):(a=!1,r<n&&(n=r));if(a){t.splice(h--,1);var l=s();void 0!==l&&(e=l)}}return e}r=r||0;for(var h=t.length;h>0&&t[h-1][2]>r;h--)t[h]=t[h-1];t[h]=[i,s,r]},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t={22:0,291:0,866:0,114:0,182:0,957:0,665:0,485:0,778:0,417:0,972:0,237:0,973:0,717:0,734:0,100:0,205:0,917:0,743:0,728:0,766:0,382:0};o.O.j=e=>0===t[e];var e=(e,i)=>{var s,r,[n,a,u]=i,l=0;if(n.some(e=>0!==t[e])){for(s in a)o.o(a,s)&&(o.m[s]=a[s]);if(u)var h=u(o)}for(e&&e(i);l<n.length;l++)r=n[l],o.o(t,r)&&t[r]&&t[r][0](),t[r]=0;return o.O(h)},i=self.webpackChunk=self.webpackChunk||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})(),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(68882)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(33289)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(66548)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(13826)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(72602)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(22219)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(45337)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(82008)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(27250)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(18415)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(97006)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(62152)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(79709)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(81804)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(64223)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(16449)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(2762)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(86097)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(43582)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(12940)),o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(69174));var s=o.O(void 0,[291,866,114,182,957,665,485,778,417,972,237,973,717,734,100,205,917,743,728,766,382],()=>o(62466));s=o.O(s)})();