Viewing File: /usr/local/cpanel/base/frontend/jupiter/tools/index.min.js

define(["angular","cjt/core","cjt/modules","ngSanitize","cjt/modules","app/views/sslStatus","uiBootstrap","angular-chosen","cjt/services/alertService","cjt/services/cpanel/nvDataService"],(function(e,t){"use strict";return function(){return e.module("App",["ngSanitize","ui.bootstrap","cjt2.cpanel","angular-growl","localytics.directives","cpanel.tools.views.sslStatus","cpanel.tools.service.nginxService","cpanel.tools.service.wordPressService"]),require(["cjt/bootstrap","cjt/util/locale","app/views/applicationListController","app/views/statisticsController","app/views/themesController","app/views/nginxController","app/views/accountsController","app/services/wordPressService","cjt/services/cpanel/nvDataService"],(function(t,r){var o=e.module("App");o.value("PAGE",PAGE),o.config(["$httpProvider",function(e){e.useApplyAsync(!0)}]),o.run(["wordPressService","alertService","nvDataService","PAGE","$rootScope",function(e,t,o,n,s){var a=document.getElementById("dismissHordeIcon");void 0!==a&&a&&a.addEventListener("click",(function(){var e=document.getElementById("cpHordeBanner");void 0!==e&&e&&(e.style.display="none",o.setObject({hide_horde_deprecation_banner:"1"}).catch((function(e){console.error(e)})))})),document.addEventListener("wordPressInstallPoll",(function(){s.$apply((function(){var o;t.add({type:"info",message:r.maketext("Your WordPress site is being created."),closeable:!0,replace:!0}),o=setInterval((function(){e.startPolling().then((function(e){"success"===e.data.install_status&&(clearInterval(o),o=null,t.add({type:"success",message:r.maketext("Your website is ready. Start adding content and personalizing “[output,strong,_1]” using [output,url,_2,WordPress Toolkit,title,WordPress Toolkit interface].",n.domain,n.wpToolkitUrl),closeable:!0,replace:!0,autoClose:1e4}))})).catch((function(e){clearInterval(o),o=null,t.add({type:"danger",message:r.maketext("Something went wrong. Your website failed to create. Try creating your website manually using [output,url,_1,WordPress Toolkit,title,WordPress Toolkit interface].",n.wpToolkitUrl),closeable:!0,replace:!0})}))}),5e3)}))}))}]),t("#content","App")}))}}));
Back to Directory File Manager