From 8b6bf5fe6e05e3bfa5a5e691e38a12d977af46e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=E1=BB=91ng=20Th=C3=A0nh=20=C4=90=E1=BA=A1t?= <84076965+tongthanhdat009@users.noreply.github.com> Date: Mon, 20 Apr 2026 14:08:38 +0700 Subject: [PATCH] feat(cms): add management for partnerships, history, accreditation, admissions, and policies pages Implement a singleton page content system to manage static informational pages. This includes: - New controllers, models, and data files for Partnerships, History, Accreditation, Admissions, and Policies. - Admin routes and views for updating page content. - Public API endpoints for fetching page data. - Migration scripts for initializing page data. - Updated admin navigation layout to include a dropdown for "About" sections. - Audit action constants for tracking updates to these pages. --- constants/auditAction.js | 5 + controllers/_createPageContentController.js | 113 +++ controllers/accreditationController.js | 11 + controllers/admissionsController.js | 11 + controllers/historyPageController.js | 11 + controllers/partnershipsController.js | 11 + controllers/policiesController.js | 11 + data/accreditation.json | 88 +++ data/admissions.json | 139 ++++ data/history.json | 97 +++ data/partnerships.json | 127 ++++ data/policies.json | 178 +++++ models/_createSingletonPageModel.js | 28 + models/accreditationPage.js | 7 + models/admissionsPage.js | 7 + models/historyPage.js | 7 + models/partnerships.js | 7 + models/policiesPage.js | 7 + public/js/page-content-editor.js | 571 ++++++++++++++ public/uploads/accreditation/QAHE.png | Bin 0 -> 30029 bytes public/uploads/accreditation/head.png | Bin 0 -> 12481 bytes public/uploads/accreditation/ico.png | Bin 0 -> 16800 bytes public/uploads/accreditation/ukrlp.png | Bin 0 -> 48588 bytes public/uploads/admissions/hero-students.png | Bin 0 -> 1062059 bytes public/uploads/history/2023.png | Bin 0 -> 202182 bytes public/uploads/history/2024.png | Bin 0 -> 201813 bytes public/uploads/history/2025.png | Bin 0 -> 169529 bytes public/uploads/history/2026.png | Bin 0 -> 199718 bytes .../history/ai-enhanced-learning-platform.png | Bin 0 -> 600619 bytes .../ENG_main_2022-05-20-070029_kstp.jpg | Bin 0 -> 189821 bytes .../partnerships/hero-campus-corporate.png | Bin 0 -> 581131 bytes public/uploads/partnerships/horizons.jpg | Bin 0 -> 14825 bytes .../uploads/partnerships/royalcosmetics.png | Bin 0 -> 59191 bytes public/uploads/partnerships/swiss.jpg | Bin 0 -> 15529 bytes public/uploads/partnerships/tech-logo.png | Bin 0 -> 117908 bytes public/uploads/partnerships/uldp.jpg | Bin 0 -> 25116 bytes routes/admin.js | 31 + routes/index.js | 10 + scripts/2026_04_20_122800_partnerships.js | 8 + scripts/2026_04_20_122810_history.js | 8 + scripts/2026_04_20_122820_accreditation.js | 8 + scripts/2026_04_20_122830_admissions.js | 8 + scripts/2026_04_20_122840_policies.js | 8 + scripts/_migrate-singleton-page.js | 38 + utils/pageContentConfig.js | 703 ++++++++++++++++++ views/admin/pageContent/index.ejs | 73 ++ views/admin/pageContent/partials/tab-pane.ejs | 12 + views/layouts/main.ejs | 18 +- 48 files changed, 2357 insertions(+), 4 deletions(-) create mode 100644 controllers/_createPageContentController.js create mode 100644 controllers/accreditationController.js create mode 100644 controllers/admissionsController.js create mode 100644 controllers/historyPageController.js create mode 100644 controllers/partnershipsController.js create mode 100644 controllers/policiesController.js create mode 100644 data/accreditation.json create mode 100644 data/admissions.json create mode 100644 data/history.json create mode 100644 data/partnerships.json create mode 100644 data/policies.json create mode 100644 models/_createSingletonPageModel.js create mode 100644 models/accreditationPage.js create mode 100644 models/admissionsPage.js create mode 100644 models/historyPage.js create mode 100644 models/partnerships.js create mode 100644 models/policiesPage.js create mode 100644 public/js/page-content-editor.js create mode 100644 public/uploads/accreditation/QAHE.png create mode 100644 public/uploads/accreditation/head.png create mode 100644 public/uploads/accreditation/ico.png create mode 100644 public/uploads/accreditation/ukrlp.png create mode 100644 public/uploads/admissions/hero-students.png create mode 100644 public/uploads/history/2023.png create mode 100644 public/uploads/history/2024.png create mode 100644 public/uploads/history/2025.png create mode 100644 public/uploads/history/2026.png create mode 100644 public/uploads/history/ai-enhanced-learning-platform.png create mode 100644 public/uploads/partnerships/ENG_main_2022-05-20-070029_kstp.jpg create mode 100644 public/uploads/partnerships/hero-campus-corporate.png create mode 100644 public/uploads/partnerships/horizons.jpg create mode 100644 public/uploads/partnerships/royalcosmetics.png create mode 100644 public/uploads/partnerships/swiss.jpg create mode 100644 public/uploads/partnerships/tech-logo.png create mode 100644 public/uploads/partnerships/uldp.jpg create mode 100644 scripts/2026_04_20_122800_partnerships.js create mode 100644 scripts/2026_04_20_122810_history.js create mode 100644 scripts/2026_04_20_122820_accreditation.js create mode 100644 scripts/2026_04_20_122830_admissions.js create mode 100644 scripts/2026_04_20_122840_policies.js create mode 100644 scripts/_migrate-singleton-page.js create mode 100644 utils/pageContentConfig.js create mode 100644 views/admin/pageContent/index.ejs create mode 100644 views/admin/pageContent/partials/tab-pane.ejs diff --git a/constants/auditAction.js b/constants/auditAction.js index a7a8fd8..248ce86 100644 --- a/constants/auditAction.js +++ b/constants/auditAction.js @@ -22,6 +22,11 @@ const AUDIT_ACTIONS = Object.freeze({ // About Us UPDATE_ABOUT_US: "UPDATE_ABOUT_US", + UPDATE_PARTNERSHIPS: "UPDATE_PARTNERSHIPS", + UPDATE_HISTORY: "UPDATE_HISTORY", + UPDATE_ACCREDITATION: "UPDATE_ACCREDITATION", + UPDATE_ADMISSIONS: "UPDATE_ADMISSIONS", + UPDATE_POLICIES: "UPDATE_POLICIES", // Header UPDATE_HEADER: "UPDATE_HEADER", diff --git a/controllers/_createPageContentController.js b/controllers/_createPageContentController.js new file mode 100644 index 0000000..16d9684 --- /dev/null +++ b/controllers/_createPageContentController.js @@ -0,0 +1,113 @@ +const { addBaseUrlToImages } = require("../utils/imageHelper"); +const jsonHelper = require("../utils/jsonHelper"); +const writeAuditLog = require("../audit/writeAuditLog"); +const diffObject = require("../audit/diffObject"); + +function createPageContentController({ + model, + modelName, + auditAction, + editorConfig, +}) { + return { + async index(req, res) { + try { + const doc = await model.getSingle(); + const data = doc.toObject(); + const frontendUrl = process.env.FRONTEND_URL || "http://localhost:3000"; + const backendUrl = + process.env.BACKEND_URL ?? `${req.protocol}://${req.get("host")}`; + + res.render("admin/pageContent/index", { + layout: "layouts/main", + title: editorConfig.title, + subtitle: editorConfig.subtitle, + data, + editorConfig, + activeTab: req.query.tab || editorConfig.tabs[0].key, + frontendUrl, + backendUrl, + previewUrl: `${frontendUrl}${editorConfig.previewPath}`, + currentPath: req.path, + user: req.session.user, + }); + } catch (error) { + console.error(`${editorConfig.key} index error:`, error); + req.flash("error_msg", `Error loading ${editorConfig.title}`); + return req.session.save(() => res.redirect("/admin/dashboard")); + } + }, + + async update(req, res) { + try { + const payload = + typeof req.body.pageJson === "string" + ? JSON.parse(req.body.pageJson) + : req.body.pageJson || {}; + + const activeTab = req.body.activeTab || editorConfig.tabs[0].key; + const doc = await model.getSingle(); + const beforeData = JSON.parse(JSON.stringify(doc.toObject())); + + doc.set(payload); + Object.keys(payload).forEach((key) => doc.markModified(key)); + await doc.save(); + + const afterData = JSON.parse(JSON.stringify(doc.toObject())); + const changes = diffObject(beforeData, afterData); + + if (changes.length > 0) { + await writeAuditLog({ + model: modelName, + documentId: doc._id, + action: auditAction, + before: beforeData, + after: afterData, + changes, + req, + }); + } + + const finalData = await model + .findOne() + .select("-_id -__v -createdAt -updatedAt") + .lean(); + jsonHelper.writeJsonFile(editorConfig.dataFile, finalData); + + req.flash("success_msg", `${editorConfig.title} updated successfully`); + return req.session.save(() => + res.redirect(`${editorConfig.routeBase}?tab=${activeTab}`), + ); + } catch (error) { + console.error(`${editorConfig.key} update error:`, error); + req.flash( + "error_msg", + `Error updating ${editorConfig.title}: ${error.message}`, + ); + return req.session.save(() => + res.redirect( + `${editorConfig.routeBase}?tab=${req.body.activeTab || ""}`, + ), + ); + } + }, + + async api(req, res) { + try { + const doc = await model.getSingle(); + const rawData = doc.toObject(); + const backendUrl = + process.env.BACKEND_URL ?? `${req.protocol}://${req.get("host")}`; + const processed = addBaseUrlToImages(rawData, backendUrl); + return res.json(processed); + } catch (error) { + console.error(`${editorConfig.key} api error:`, error); + return res + .status(500) + .json({ error: `Error loading ${editorConfig.key} data` }); + } + }, + }; +} + +module.exports = createPageContentController; diff --git a/controllers/accreditationController.js b/controllers/accreditationController.js new file mode 100644 index 0000000..facd256 --- /dev/null +++ b/controllers/accreditationController.js @@ -0,0 +1,11 @@ +const AccreditationPage = require("../models/accreditationPage"); +const AUDIT_ACTIONS = require("../constants/auditAction"); +const pageContentConfig = require("../utils/pageContentConfig"); +const createPageContentController = require("./_createPageContentController"); + +module.exports = createPageContentController({ + model: AccreditationPage, + modelName: "AccreditationPage", + auditAction: AUDIT_ACTIONS.UPDATE_ACCREDITATION, + editorConfig: pageContentConfig.accreditation, +}); diff --git a/controllers/admissionsController.js b/controllers/admissionsController.js new file mode 100644 index 0000000..589f5e4 --- /dev/null +++ b/controllers/admissionsController.js @@ -0,0 +1,11 @@ +const AdmissionsPage = require("../models/admissionsPage"); +const AUDIT_ACTIONS = require("../constants/auditAction"); +const pageContentConfig = require("../utils/pageContentConfig"); +const createPageContentController = require("./_createPageContentController"); + +module.exports = createPageContentController({ + model: AdmissionsPage, + modelName: "AdmissionsPage", + auditAction: AUDIT_ACTIONS.UPDATE_ADMISSIONS, + editorConfig: pageContentConfig.admissions, +}); diff --git a/controllers/historyPageController.js b/controllers/historyPageController.js new file mode 100644 index 0000000..78c0179 --- /dev/null +++ b/controllers/historyPageController.js @@ -0,0 +1,11 @@ +const HistoryPage = require("../models/historyPage"); +const AUDIT_ACTIONS = require("../constants/auditAction"); +const pageContentConfig = require("../utils/pageContentConfig"); +const createPageContentController = require("./_createPageContentController"); + +module.exports = createPageContentController({ + model: HistoryPage, + modelName: "HistoryPage", + auditAction: AUDIT_ACTIONS.UPDATE_HISTORY, + editorConfig: pageContentConfig.history, +}); diff --git a/controllers/partnershipsController.js b/controllers/partnershipsController.js new file mode 100644 index 0000000..f8211a7 --- /dev/null +++ b/controllers/partnershipsController.js @@ -0,0 +1,11 @@ +const PartnershipsPage = require("../models/partnerships"); +const AUDIT_ACTIONS = require("../constants/auditAction"); +const pageContentConfig = require("../utils/pageContentConfig"); +const createPageContentController = require("./_createPageContentController"); + +module.exports = createPageContentController({ + model: PartnershipsPage, + modelName: "PartnershipsPage", + auditAction: AUDIT_ACTIONS.UPDATE_PARTNERSHIPS, + editorConfig: pageContentConfig.partnerships, +}); diff --git a/controllers/policiesController.js b/controllers/policiesController.js new file mode 100644 index 0000000..aa08391 --- /dev/null +++ b/controllers/policiesController.js @@ -0,0 +1,11 @@ +const PoliciesPage = require("../models/policiesPage"); +const AUDIT_ACTIONS = require("../constants/auditAction"); +const pageContentConfig = require("../utils/pageContentConfig"); +const createPageContentController = require("./_createPageContentController"); + +module.exports = createPageContentController({ + model: PoliciesPage, + modelName: "PoliciesPage", + auditAction: AUDIT_ACTIONS.UPDATE_POLICIES, + editorConfig: pageContentConfig.policies, +}); diff --git a/data/accreditation.json b/data/accreditation.json new file mode 100644 index 0000000..d29513d --- /dev/null +++ b/data/accreditation.json @@ -0,0 +1,88 @@ +{ + "trustBanner": { + "icon": "fa-shield-check", + "text": "All our programs are rigorously evaluated and internationally recognized.", + "links": [ + { + "label": "Verify Status", + "href": "#accreditations-grid", + "icon": "fa-magnifying-glass" + }, + { + "label": "View Legal Disclaimers", + "href": "#accreditations-grid", + "icon": "" + } + ] + }, + "hero": { + "badge": "Excellence Assured", + "title": "ACCREDITATION AND RECOGNITION", + "description": "At the London Academy of Management and Sciences (LAMS), we are committed to maintaining the highest academic standards and delivering quality education that aligns with international benchmarks. Our accreditations reflect our dedication to excellence, credibility, and continuous improvement in higher education and professional learning." + }, + "grid": { + "tabs": ["All", "Registry", "Certification", "Accreditation", "Quality Assurance"], + "items": [ + { + "id": "ukrlp", + "icon": "fa-graduation-cap", + "image": "/uploads/accreditation/ukrlp.png", + "status": "Active", + "category": "Registry", + "title": "UKRLP", + "description": "The UK Register of Learning Providers is a national register in the United Kingdom for verified organizations delivering education and training. Inclusion confirms a validation process and official listing as a recognized learning provider, supporting transparency and enabling stakeholders to verify provider details.", + "scopeLabel": "Scope", + "scope": "All Programs", + "validUntilLabel": "Valid Until", + "validUntil": "Ongoing", + "buttonLabel": "View Certificate", + "certificateHref": "#" + }, + { + "id": "ico", + "icon": "fa-check-double", + "image": "/uploads/accreditation/ico.png", + "status": "Active", + "category": "Certification", + "title": "ICO", + "description": "The International Certification Organization is an international certification body that assesses educational institutions against quality management, operational, and governance standards. ICO certification indicates alignment with internationally accepted frameworks and compliance with structured quality and administrative practices.", + "scopeLabel": "Scope", + "scope": "Quality Management", + "validUntilLabel": "Valid Until", + "validUntil": "Ongoing", + "buttonLabel": "View Certificate", + "certificateHref": "#" + }, + { + "id": "head", + "icon": "fa-building-columns", + "image": "/uploads/accreditation/head.png", + "status": "Active", + "category": "Accreditation", + "title": "HEAD", + "description": "The Higher Education Accreditation Division is an independent accreditation body focused on evaluating higher education institutions. HEAD assesses academic quality, institutional governance, curriculum design, and internal quality assurance mechanisms, reflecting adherence to established standards for higher education delivery and institutional effectiveness.", + "scopeLabel": "Scope", + "scope": "Higher Education", + "validUntilLabel": "Valid Until", + "validUntil": "Ongoing", + "buttonLabel": "View Certificate", + "certificateHref": "#" + }, + { + "id": "qahe", + "icon": "fa-award", + "image": "/uploads/accreditation/QAHE.png", + "status": "Active", + "category": "Quality Assurance", + "title": "QAHE", + "description": "Quality Assurance in Higher Education is an international quality assurance agency that evaluates institutions based on academic standards, teaching and learning processes, assessment practices, and institutional management systems. QAHE accreditation signifies that an institution meets defined benchmarks for quality assurance and continuous improvement within the higher education sector.", + "scopeLabel": "Scope", + "scope": "Quality Assurance", + "validUntilLabel": "Valid Until", + "validUntil": "Ongoing", + "buttonLabel": "View Certificate", + "certificateHref": "#" + } + ] + } +} diff --git a/data/admissions.json b/data/admissions.json new file mode 100644 index 0000000..de5f987 --- /dev/null +++ b/data/admissions.json @@ -0,0 +1,139 @@ +{ + "hero": { + "badge": "Your Path Starts Here", + "title": "Admissions & Transparent Tuition", + "description": "We believe high-quality education should be accessible to everyone. Explore our straightforward admissions process and flexible payment models designed to fit your life.", + "primaryCta": { + "label": "Start Application", + "href": "#apply" + }, + "secondaryCta": { + "label": "View Tuition", + "href": "#tuition-breakdown" + }, + "image": "/uploads/admissions/hero-students.png", + "imageAlt": "Diverse adult students studying online" + }, + "process": { + "id": "admissions-process", + "title": "Admissions Process", + "description": "Our streamlined process gets you from application to enrolled in days, not months. No application fees, no standardized tests.", + "steps": [ + { + "number": "1", + "title": "Submit Application", + "description": "Fill out our online form in under 15 minutes. Basic personal and educational history required.", + "active": true + }, + { + "number": "2", + "title": "Send Transcripts", + "description": "Request official transcripts from previous institutions for credit evaluation.", + "active": false + }, + { + "number": "3", + "title": "Choose Payment Plan", + "description": "Select between our monthly subscription or pay-per-course model.", + "active": false + } + ] + }, + "eligibility": { + "id": "eligibility", + "title": "Eligibility & Transfer Credits", + "cards": [ + { + "title": "Basic Eligibility", + "icon": "fa-check-circle", + "items": [ + "High school diploma or equivalent", + "Minimum 2.0 GPA for transfer students", + "English proficiency if applicable" + ] + }, + { + "title": "Transfer Policy", + "icon": "fa-exchange-alt", + "items": [ + "Up to 90 credits accepted for Bachelor's", + "Free unofficial evaluation within 48 hours", + "Credit for prior learning and certifications" + ] + } + ] + }, + "tuition": { + "id": "tuition-breakdown", + "title": "Tuition Breakdown", + "chartTitle": "Savings vs. Traditional University", + "chartDescription": "Estimated total cost for a 4-year degree", + "series": [ + { + "label": "Traditional University", + "color": "#0F172A", + "values": [25000, 50000, 75000, 100000] + }, + { + "label": "LAMS", + "color": "#c49b27", + "values": [3588, 7176, 10764, 14352] + } + ] + }, + "keyDates": { + "id": "key-dates", + "title": "Key Dates & Deadlines", + "columns": ["Term", "Application Deadline", "Classes Start"], + "rows": [ + { + "term": "Fall Term 1", + "applicationDeadline": "August 15, 2026", + "classesStart": "September 1, 2026" + }, + { + "term": "Fall Term 2", + "applicationDeadline": "October 15, 2026", + "classesStart": "November 1, 2026" + }, + { + "term": "Spring Term 1", + "applicationDeadline": "December 15, 2026", + "classesStart": "January 5, 2027" + } + ] + }, + "calculator": { + "title": "Affordability Calculator", + "description": "Estimate your monthly investment.", + "modelOptions": ["Subscription", "Per Course"], + "paceLabel": "Target Pace", + "minPaceLabel": "Relaxed", + "maxPaceLabel": "Accelerated", + "resultLabel": "Estimated Monthly Payment", + "monthlyAmount": "$299", + "monthlySuffix": "/mo", + "noteIcon": "fa-bolt", + "note": "Flat rate, unlimited courses", + "cta": { + "label": "Apply Now", + "href": "#apply" + } + }, + "scholarships": { + "title": "Scholarships & Aid", + "icon": "fa-award", + "items": [ + { + "title": "Working Adult Grant", + "amount": "Up to $1,500", + "description": "For students employed full-time while studying." + }, + { + "title": "Military Discount", + "amount": "15% Off", + "description": "Active duty, veterans, and spouses." + } + ] + } +} diff --git a/data/history.json b/data/history.json new file mode 100644 index 0000000..4ee68e8 --- /dev/null +++ b/data/history.json @@ -0,0 +1,97 @@ +{ + "highlight": { + "icon": "fa-trophy", + "text": "2025 Milestone Reached: A Rapidly Growing Global Community!", + "linkLabel": "Read Full Story", + "href": "#timeline-content" + }, + "hero": { + "badge": "Our Journey", + "title": "Building the Future of Education.", + "description": "From our humble beginnings to becoming a global leader in online education, explore the key moments that define our legacy." + }, + "filters": { + "yearLabel": "Decade / Year", + "categoryLabel": "Category", + "buttonLabel": "Apply Filters", + "yearOptions": ["All Years", "2020 - Present", "2010 - 2019", "2005 - 2009"], + "categoryOptions": [ + "All Categories", + "Academic Programs", + "Global Expansion", + "Technology & Innovation", + "Student Experience", + "Awards & Recognition" + ] + }, + "timeline": { + "loadMoreLabel": "Load Earlier Milestones", + "items": [ + { + "id": "student-experience-innovation", + "year": "2026", + "yearRange": "2020 - Present", + "category": "Student Experience", + "categoryLabel": "Student Experience", + "title": "Innovation in Student Experience", + "description": "Enhanced student support through integrated digital services, academic advising, and career development platforms.", + "image": "/uploads/history/2026.png", + "imageAlt": "", + "stats": [], + "featured": true + }, + { + "id": "international-partnerships-expansion", + "year": "2025", + "yearRange": "2020 - Present", + "category": "Global Expansion", + "categoryLabel": "Global", + "title": "Expansion of International Partnerships", + "description": "Established collaborations with academic institutions and industry partners across regions, enabling dual qualifications and cross-border learning opportunities.", + "image": "/uploads/history/2025.png", + "imageAlt": "", + "stats": [], + "featured": false + }, + { + "id": "academic-programmes-expansion", + "year": "2024", + "yearRange": "2020 - Present", + "category": "Academic Programs", + "categoryLabel": "Academic", + "title": "Expansion of Academic Programmes", + "description": "Launched a portfolio of undergraduate and postgraduate programmes designed to meet global market demands and emerging industry needs.", + "image": "/uploads/history/2024.png", + "imageAlt": "", + "stats": [], + "featured": false + }, + { + "id": "ai-enhanced-learning-platform", + "year": "2024", + "yearRange": "2020 - Present", + "category": "Technology & Innovation", + "categoryLabel": "Technology", + "title": "Launch of AI-Enhanced Learning Platform", + "description": "Introduced an adaptive digital learning system that personalises study pathways and enhances student engagement and outcomes.", + "image": "/uploads/history/ai-enhanced-learning-platform.png", + "imageAlt": "Abstract artificial intelligence and digital learning visualization", + "stats": [], + "featured": false + }, + { + "id": "strategic-academic-framework", + "year": "2023", + "yearRange": "2020 - Present", + "category": "Academic Programs", + "categoryLabel": "Academic", + "title": "Strategic Academic Framework Introduced", + "description": "Established a future-focused academic model aligned with international standards, integrating applied learning, digital competencies, and global perspectives.", + "image": "/uploads/history/2023.png", + "imageAlt": "", + "stats": [], + "featured": false + } + ] + } +} diff --git a/data/partnerships.json b/data/partnerships.json new file mode 100644 index 0000000..1de440f --- /dev/null +++ b/data/partnerships.json @@ -0,0 +1,127 @@ +{ + "hero": { + "badge": "Global NetworkGlobal NetworkGlobal Netwo", + "title": "Industry & Academic Partnerships.Industry & Academic Partnerships.Industry & Academic Part", + "description": "Connecting our students with leading organizations for real-world experience, research opportunities, and career advancement.Connecting our students with leading organizations for real-world experience, research opportun", + "linkLabel": "Explore DirectoryExplore DirectoryExplor", + "image": "/uploads/partnerships/kVI17_2B.webp", + "imageAlt": "Modern university campus and corporate office buildingModern university campus and corporate office buildingModern unive" + }, + "directory": { + "heading": "Partner DirectoryPartner DirectoryPartner DirectoryPartner DirectoryPa", + "description": "Discover the organizations shaping the future of education with us.Discover the organizations shaping the future of education with us.Discover the organizations shaping the future ", + "tabs": [ + "All PartnersAll PartnersAll Pa", + "IndustryIndustryIndustryIndust", + "AcademicAcademicAcademicAcadem", + "CommunityCommunityCommunityCom", + "hehehehehehehehehehehehehehehe", + "hehehehehehehhehehehehehehhehe" + ], + "loadMoreLabel": "Load More PartnersLoad More PartnersLoad", + "partners": [ + { + "id": "techvanguardtechvanguardtechvanguardtechvanguardte", + "name": "TechvanguardTechvanguardTechvanguardTechvanguardTechvanguardTechvanguardTechvanguardTechva", + "category": "IndustryIndustryIndustryIndust", + "summary": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIn", + "logo": "/uploads/partnerships/tech-logo.png", + "logoAlt": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustry", + "about": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIn", + "collabType": "IndustryIndustryIndustryIndustryIndustry", + "benefits": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIn" + }, + { + "id": "IndustryIndustryIndustryIndustryIndustryIndustryIn", + "name": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIn", + "category": "IndustryIndustryIndustryIndust", + "summary": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIn", + "logo": "/uploads/partnerships/royalcosmetics.png", + "logoAlt": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustry", + "about": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustry", + "collabType": "Industry Partner", + "benefits": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndust" + }, + { + "id": "IndustryIndustryIndustryIndustryIndustryIndustryIn", + "name": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIn", + "category": "IndustryIndustryIndustryIndust", + "summary": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIn", + "logo": "/uploads/partnerships/swiss.jpg", + "logoAlt": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustry", + "about": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustry", + "collabType": "IndustryIndustryIndustryIndustryIndustry", + "benefits": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndust" + }, + { + "id": "IndustryIndustryIndustryIndustryIndustryIndustryIn", + "name": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIn", + "category": "IndustryIndustryIndustryIndust", + "summary": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIn", + "logo": "/uploads/partnerships/uldp.jpg", + "logoAlt": "Université Libérale de Paris logo", + "about": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustry", + "collabType": "IndustryIndustryIndustryIndustryIndustry", + "benefits": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndust" + }, + { + "id": "IndustryIndustryIndustryIndustryIndustryIndustryIn", + "name": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIn", + "category": "IndustryIndustryIndustryIndust", + "summary": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIn", + "logo": "/uploads/partnerships/ENG_main_2022-05-20-070029_kstp.jpg", + "logoAlt": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustry", + "about": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustry", + "collabType": "IndustryIndustryIndustryIndustryIndustry", + "benefits": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndust" + }, + { + "id": "IndustryIndustryIndustryIndustryIndustryIndustryIn", + "name": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIn", + "category": "IndustryIndustryIndustryIndust", + "summary": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIn", + "logo": "/uploads/partnerships/horizons.jpg", + "logoAlt": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustry", + "about": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustry", + "collabType": "IndustryIndustryIndustryIndustryIndustry", + "benefits": "IndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryInIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndustryIndust" + } + ] + }, + "cta": { + "heading": "Join the ecosystem.Join the ecosystem.Join the ecosystem.Join the ecosystem.Join", + "description": "Partner with London Academy of Management and Sciences to build talent pipelines, collaborate on research, and shape the next generation of leaders.Partner with London Academy of Management and Sciences to build talent p", + "buttonLabel": "Become a partnerBecome a partnerBecome a" + }, + "inquiryForm": { + "title": "Partnership InquiryPartnership InquiryPartnership InquiryPar", + "fields": { + "firstName": { + "label": "Partnership InquiryPartnership", + "placeholder": "Partnership InquiryPartnership InquiryPa" + }, + "lastName": { + "label": "Partnership InquiryPartnership", + "placeholder": "Partnership InquiryPartnership InquiryPa" + }, + "organization": { + "label": "Partnership InquiryPartnership InquiryPa", + "placeholder": "Partnership InquiryPartnership InquiryPartnership InquiryPar" + }, + "partnershipType": { + "label": "Partnership InquiryPartnership InquiryPa", + "options": [ + "Partnership InquiryPartnership InquiryPartnership ", + "Partnership InquiryPartnership InquiryPartnership ", + "Partnership InquiryPartnership InquiryPartnership ", + "Partnership InquiryPartnership InquiryPartnership " + ] + }, + "message": { + "label": "Partnership InquiryPartnership", + "placeholder": "Partnership InquiryPartnership InquiryPartnership InquiryPartnership InquiryPart" + } + }, + "submitLabel": "Partnership InquiryPartnership InquiryPa" + } +} \ No newline at end of file diff --git a/data/policies.json b/data/policies.json new file mode 100644 index 0000000..7aaf2d3 --- /dev/null +++ b/data/policies.json @@ -0,0 +1,178 @@ +{ + "hero": { + "badge": "Policies", + "icon": "fa-scale-balanced", + "titlePrefix": "Our Commitment to", + "titleHighlight": "Transparency", + "description": "Review our policies, terms of service, and commitments to privacy and accessibility. We believe in clear, straightforward communication with our academic community.", + "lastUpdated": "Last updated: September 15, 2025" + }, + "sidebar": { + "heading": "Policies", + "helperText": "Need clarification on a policy?", + "contactLabel": "Contact Policy Team", + "contactHref": "/contact" + }, + "policies": [ + { + "id": "privacy", + "navLabel": "Privacy Policy", + "title": "Privacy Policy", + "effectiveDate": "Effective Date: September 15, 2025", + "intro": "At LAMS, we are committed to protecting your privacy and ensuring the security of your personal information. This Privacy Policy outlines how we collect, use, and safeguard the data of our students, applicants, and website visitors.", + "sections": [ + { + "type": "list", + "heading": "1. Information We Collect", + "intro": "We collect information that you provide directly to us when you apply for admission, enroll in courses, request information, or contact our support teams. This may include:", + "items": [ + "Personal identification information such as name, address, email address, phone number, date of birth, and government-issued ID numbers where required.", + "Academic records such as transcripts, previous educational history, standardized test scores, and current academic performance data.", + "Financial information such as payment details, financial aid applications, and billing history." + ] + }, + { + "type": "list", + "heading": "2. How We Use Your Information", + "intro": "Your information is primarily used to provide educational services and manage your student journey. Specific uses include:", + "items": [ + "Processing admissions applications and enrollment.", + "Delivering course materials, grades, and academic advising.", + "Processing tuition payments and administering financial aid.", + "Communicating important university updates and policy changes." + ] + }, + { + "type": "text", + "heading": "3. Data Sharing and Third Parties", + "paragraphs": [ + { + "text": "We do not sell your personal information. We may share your data with trusted third-party service providers who assist us in operating our university, including learning management systems and payment processors. These partners are bound by strict confidentiality agreements. For more details, refer to our Vendor Data Processing Addendum.", + "links": [ + { + "label": "Vendor Data Processing Addendum", + "href": "#" + } + ] + }, + { + "text": "If you have questions about this policy, please contact our Data Protection Officer at privacy@LAMS.edu.", + "links": [ + { + "label": "privacy@LAMS.edu", + "href": "mailto:privacy@LAMS.edu" + } + ] + } + ] + } + ] + }, + { + "id": "terms", + "navLabel": "Terms of Use", + "title": "Terms of Use", + "effectiveDate": "Effective Date: January 1, 2025", + "intro": "Welcome to LAMS. By accessing our website, student portal, or utilizing our educational services, you agree to be bound by these Terms of Use and our Privacy Policy.", + "sections": [ + { + "type": "text", + "heading": "1. Academic Integrity", + "paragraphs": [ + { + "text": "As a student of LAMS, you are expected to uphold the highest standards of academic honesty. Plagiarism, cheating, and the unauthorized sharing of course materials are strictly prohibited and may result in disciplinary action." + } + ] + }, + { + "type": "text", + "heading": "2. Account Security", + "paragraphs": [ + { + "text": "You are responsible for maintaining the confidentiality of your student portal credentials. You must immediately notify the IT Helpdesk of any unauthorized use of your account." + } + ] + }, + { + "type": "cards", + "cards": [ + { + "icon": "fa-book-open", + "title": "Course Materials", + "description": "All course content provided via the learning management system is the intellectual property of LAMS or its licensors. It is for personal educational use only." + }, + { + "icon": "fa-credit-card", + "title": "Subscription Terms", + "description": "Monthly subscriptions automatically renew unless canceled prior to the billing cycle. See the Financial Policies for refund criteria.", + "link": { + "label": "Financial Policies", + "href": "#" + } + } + ] + } + ] + }, + { + "id": "accessibility", + "navLabel": "Accessibility Statement", + "title": "Accessibility Statement", + "effectiveDate": "Effective Date: September 15, 2025", + "intro": "LAMS is committed to providing digital learning experiences that are accessible to all students, applicants, faculty, and visitors.", + "sections": [ + { + "type": "list", + "heading": "1. Our Accessibility Commitments", + "items": [ + "We design learning materials and digital services with accessibility in mind.", + "We review core student journeys for keyboard access, screen reader support, and readable contrast.", + "We provide reasonable accommodations through our student support and advising teams." + ] + }, + { + "type": "text", + "heading": "2. Requesting Support", + "paragraphs": [ + { + "text": "If you encounter an accessibility barrier, contact our support team so we can review the issue and provide an appropriate path forward.", + "links": [ + { + "label": "contact our support team", + "href": "/contact" + } + ] + } + ] + } + ] + }, + { + "id": "cookies", + "navLabel": "Cookie Preferences", + "title": "Cookie Preferences", + "effectiveDate": "Effective Date: September 15, 2025", + "intro": "We use cookies and similar technologies to operate our website, understand usage patterns, and improve the student experience.", + "sections": [ + { + "type": "list", + "heading": "1. Cookie Categories", + "items": [ + "Essential cookies keep core services such as authentication and security running.", + "Analytics cookies help us understand aggregate site usage and improve content.", + "Preference cookies remember non-sensitive choices such as language and display settings." + ] + }, + { + "type": "text", + "heading": "2. Managing Preferences", + "paragraphs": [ + { + "text": "You can manage cookies through your browser settings. Some essential cookies cannot be disabled because they are required for secure access to student services." + } + ] + } + ] + } + ] +} diff --git a/models/_createSingletonPageModel.js b/models/_createSingletonPageModel.js new file mode 100644 index 0000000..dd5f920 --- /dev/null +++ b/models/_createSingletonPageModel.js @@ -0,0 +1,28 @@ +const mongoose = require("mongoose"); +const jsonHelper = require("../utils/jsonHelper"); + +function createSingletonPageModel(modelName, collectionName, dataFileName) { + const schema = new mongoose.Schema( + {}, + { + strict: false, + timestamps: true, + collection: collectionName, + }, + ); + + schema.statics.getSingle = async function getSingle() { + let doc = await this.findOne(); + + if (!doc) { + const defaultData = jsonHelper.readJsonFile(dataFileName) || {}; + doc = await this.create(defaultData); + } + + return doc; + }; + + return mongoose.model(modelName, schema); +} + +module.exports = createSingletonPageModel; diff --git a/models/accreditationPage.js b/models/accreditationPage.js new file mode 100644 index 0000000..76cd648 --- /dev/null +++ b/models/accreditationPage.js @@ -0,0 +1,7 @@ +const createSingletonPageModel = require("./_createSingletonPageModel"); + +module.exports = createSingletonPageModel( + "AccreditationPage", + "accreditation_pages", + "accreditation", +); diff --git a/models/admissionsPage.js b/models/admissionsPage.js new file mode 100644 index 0000000..d0634b3 --- /dev/null +++ b/models/admissionsPage.js @@ -0,0 +1,7 @@ +const createSingletonPageModel = require("./_createSingletonPageModel"); + +module.exports = createSingletonPageModel( + "AdmissionsPage", + "admissions_pages", + "admissions", +); diff --git a/models/historyPage.js b/models/historyPage.js new file mode 100644 index 0000000..8d56d22 --- /dev/null +++ b/models/historyPage.js @@ -0,0 +1,7 @@ +const createSingletonPageModel = require("./_createSingletonPageModel"); + +module.exports = createSingletonPageModel( + "HistoryPage", + "history_pages", + "history", +); diff --git a/models/partnerships.js b/models/partnerships.js new file mode 100644 index 0000000..470202f --- /dev/null +++ b/models/partnerships.js @@ -0,0 +1,7 @@ +const createSingletonPageModel = require("./_createSingletonPageModel"); + +module.exports = createSingletonPageModel( + "PartnershipsPage", + "partnerships_pages", + "partnerships", +); diff --git a/models/policiesPage.js b/models/policiesPage.js new file mode 100644 index 0000000..07c9f0a --- /dev/null +++ b/models/policiesPage.js @@ -0,0 +1,7 @@ +const createSingletonPageModel = require("./_createSingletonPageModel"); + +module.exports = createSingletonPageModel( + "PoliciesPage", + "policies_pages", + "policies", +); diff --git a/public/js/page-content-editor.js b/public/js/page-content-editor.js new file mode 100644 index 0000000..dd01282 --- /dev/null +++ b/public/js/page-content-editor.js @@ -0,0 +1,571 @@ +(function () { + const config = window.pageEditorConfig; + const initialData = window.pageEditorData; + const backendUrl = (window.pageEditorBackendUrl || "").replace(/\/$/, ""); + const form = document.getElementById("pageContentForm"); + const pageJsonInput = document.getElementById("pageJson"); + const activeTabInput = document.getElementById("activeTabInput"); + + if (!config || !initialData || !form || !pageJsonInput || !activeTabInput) { + return; + } + + const state = JSON.parse(JSON.stringify(initialData)); + const iconOptions = Array.from( + new Set( + (config.tabs || []) + .flatMap((tab) => collectIcons(tab.schema)) + .filter(Boolean), + ), + ); + + ensureIconDatalist(iconOptions); + renderAllSections(); + + document.querySelectorAll("[data-tab-key]").forEach((tabTrigger) => { + tabTrigger.addEventListener("shown.bs.tab", function () { + activeTabInput.value = this.dataset.tabKey; + }); + }); + + form.addEventListener("submit", function () { + pageJsonInput.value = JSON.stringify(state); + }); + + form.addEventListener("reset", function () { + window.setTimeout(function () { + Object.keys(state).forEach((key) => delete state[key]); + Object.assign(state, JSON.parse(JSON.stringify(initialData))); + renderAllSections(); + }, 0); + }); + + function renderAllSections() { + config.tabs.forEach((tab) => renderSection(tab.key)); + } + + function renderSection(tabKey) { + const tab = config.tabs.find((item) => item.key === tabKey); + const container = document.querySelector( + `.page-editor-section[data-section-key="${tabKey}"]`, + ); + + if (!tab || !container) return; + + container.innerHTML = ""; + renderField(tab.schema, container, state, tab.schema.key, tabKey); + } + + function renderField(schema, container, parent, key, tabKey) { + if (schema.type === "object") { + if (!isObject(parent[key])) { + parent[key] = {}; + } + + const groupWrapper = document.createElement("div"); + groupWrapper.className = "row g-3"; + container.appendChild(groupWrapper); + + (schema.fields || []).forEach((field) => { + renderField(field, groupWrapper, parent[key], field.key, tabKey); + }); + return; + } + + if (schema.type === "array") { + if (!Array.isArray(parent[key])) { + parent[key] = []; + } + + const col = createCol(schema.colClass || "col-12"); + const card = document.createElement("div"); + card.className = "border rounded-3 bg-light-subtle p-3"; + + const header = document.createElement("div"); + header.className = "d-flex justify-content-between align-items-center mb-3"; + header.innerHTML = ` +
?L{QF2Q-d1A_Fh@4ubX9h!4~D037}W$#ym? zoIx?}uk+&ZJ!L60rG|{vs#pd%c=CC(>TwVZq3++eN4Dja5upT!zx^-tmTTsdFdTgZ zS`^z^DyQuc!5Q{RM9GeQcEJG{_DXQ`p!wbjj(I?%j$$&^emW@;^~c+kig`u?1nQ+n zj}nIjn^jBH;|lpI^J?6CbilYx=y= zIsHEwyms%56j6I$KiWh*-3s96FD=3>5`P5@t(Qe6#9@!XW@**y6>Ft%!*Xe@Fm(LCEz@naQz<7tTloM6SUp&yGS3wrc2nY;Rede%g* z28MdE@-$S93mV+MYf=15$F1}oiaG|?2NH1LY8_g)h=CRfGh49p?sqt%!(r7BBU8q& z!uZE*J1Ym~`c2)?N$eFX25_tqEM>QOoxtza(}=Z(Yplll$m$1mjavB|KQl=Mce|P2 znC}q#rNmNNxghE#Vh4BqPCL!%1qbt$2?FBAEDAOVD6I^$yDluR50r>xXg@5>xx-k! z{Im8vBrHx(%;s12nlqXVy0rb=P&RA}vlMin;}`H%r`4nzMs1oVj zifLY2=6MO|HB-P@3f|xX48mCMdZfu#!@wLo4nE^P0MKv@^c?RJH(c9=*CAUMD_B`en7e{#oqOBXyeWoiGz|i5!Jq7>!|FU>f4< z?gohkfq9HOEN4q@N^yoWB4Gg>%5+@V0Ls*iN7w*q;&B^Bs37f yVrZq+ie&lUHSE;#aSP zOxVQ*S9Ze?eRE&_LdmaT{%6`LgyNdg>WR@(!8=x$b9*8xz_7F%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