"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cacheManager=exports.CACHE_KEY=void 0;const reactiveCache_1=require("../modules/corecompiler/original/json/reactiveCache");var CACHE_KEY;!function(e){e.PROJECT_CONFIG="project.config",e.RAW_APP_JSON="raw|app.json",e.APP_JSON="app.json",e.EXT_JSON="ext.json",e.PAGE_JSON="page.json",e.COMPILED_APP_JSON="compiled.app.json",e.COMPILED_PAGE_JSON="compiled.page.json",e.GAME_JSON="game.json",e.PLUGIN_JSON="plugin.json",e.SITE_MAP_JSON="sitemap.json",e.THEME_JSON="theme.json",e.PLUGIN_THEME_JSON="plugin|theme.json",e.APP_JSON_THEME_LOCATION="app.json.themeLocation",e.APP_JSON_USING_COMPONENTS="app.json.usingComponents"}(CACHE_KEY||(exports.CACHE_KEY=CACHE_KEY={}));let cache={};exports.cacheManager={get:(e,c)=>{if(cache[e.projectPath])return cache[e.projectPath][c]},set:(e,c,a)=>{cache[e.projectPath]||(cache[e.projectPath]={}),cache[e.projectPath][c]=a},clean:()=>{cache={},(0,reactiveCache_1.cleanReactiveCache)()},remove:e=>{for(const c in cache)cache[c]&&delete cache[c][e]}};