Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > > extendify > src > Launch > lib
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__tests__ | Directory | - | - | |
blocks.js | File | 417 bytes | September 12 2024 19:49:54. | |
fonts-helpers.js | File | 1876 bytes | April 22 2025 21:31:24. | |
linkPages.js | File | 6552 bytes | May 12 2025 16:42:28. | |
logo.js | File | 1331 bytes | May 12 2025 16:42:28. | |
pages.js | File | 2281 bytes | July 16 2025 19:39:24. | |
preview-helpers.js | File | 1636 bytes | February 04 2025 00:18:34. | |
util.js | File | 1848 bytes | May 12 2025 16:42:28. | |
wp.js | File | 10283 bytes | July 16 2025 19:39:24. |
import { ContentGathering, state as contentGatheringState, } from '@launch/pages/ContentGathering'; import { HomeSelect, state as homeSelectState } from '@launch/pages/HomeSelect'; import { ObjectiveSelection, state as objectiveSelectionState, } from '@launch/pages/ObjectiveSelection'; import { PagesSelect, state as pagesSelectState, } from '@launch/pages/PagesSelect'; import { SiteInformation, state as siteInfoState, } from '@launch/pages/SiteInformation'; import { SitePrep, state as sitePrepState } from '@launch/pages/SitePrep'; import { SiteQuestions, state as siteQuestionsState, } from '@launch/pages/SiteQuestions'; import { SiteStructure, state as siteStructureState, } from '@launch/pages/SiteStructure'; import { useUserSelectionStore } from '@launch/state/user-selections'; const showSiteQuestions = window.extSharedData?.showSiteQuestions ?? false; // This is the default pages array // You can add pre-fetch functions to start fetching data for the next page // Supports both [] and single fetcher functions const initialPagesList = { 'website-objective': { component: ObjectiveSelection, state: objectiveSelectionState, condition: () => !showSiteQuestions, }, 'site-information': { component: SiteInformation, state: siteInfoState, }, 'site-prep': { component: SitePrep, state: sitePrepState, }, 'site-questions': { component: SiteQuestions, state: siteQuestionsState, condition: () => showSiteQuestions, }, 'site-structure': { component: SiteStructure, state: siteStructureState, condition: ({ siteObjective }) => siteObjective !== 'landing-page' || !showSiteQuestions, }, 'content-fetching': { component: ContentGathering, state: contentGatheringState, }, layout: { component: HomeSelect, state: homeSelectState, }, 'page-select': { component: PagesSelect, state: pagesSelectState, condition: ({ siteStructure }) => siteStructure === 'multi-page', }, }; export const getPages = () => { const { siteStructure, siteObjective } = useUserSelectionStore?.getState() ?? {}; const conditionData = { siteStructure, siteObjective }; return Object.entries(initialPagesList).filter( ([_, page]) => !page.condition || page.condition(conditionData), ); }; export const pages = getPages();
SILENT KILLER Tool