{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/4nhuFitcTUFctzrp2NK0/STyZCgAzcfQgdUYfDnkw/Cms.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{useEffect,useState}from\"react\";// Learn more: https://www.framer.com/developers/overrides/\nconst useStore=createStore({solution:null,useCase:null,solutionAlias:{},role:\"eJ2597CQ4\",roleVariant:\"Education\",resultVariant:\"withoutUseCase\"});export function withTagColor(Component){return props=>{const tagColor=props.text===\"Flow\"?\"#229E2C\":props.text===\"Agent\"?\"#621CDA\":\"#0062FF\";return /*#__PURE__*/_jsx(\"p\",{...props,className:\"framer-text\",style:{width:\"max-content\",fontSize:\"14px\",fontFamily:\"Plus Jakarta Sans, sans-serif\",fontWeight:400,color:tagColor,height:\"fit-content\",lineHeight:\"1em\",margin:\"0px\",padding:\"0px\"},children:props.text});};}export function withID(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,id:props.text});};}export function selectFilter(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props});};}export function withFunction(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,role:store.role,variant:store.resultVariant});};}export function switchFunctionEducation(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>{setStore({...store,role:props.role,roleVariant:\"Education\"});}});};}export function switchFunctionBusiness(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>{setStore({...store,role:props.role,roleVariant:\"Business\"});}});};}export function withRoleSelectionVariant(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,variant:store.roleVariant});};}export function switchFunction(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>{setStore({...store,function:props.text});},variant:store.function});};}export function selectUseCase(Component){return props=>{const[store,setStore]=useStore();const[state,setState]=useState(\"default\");useEffect(()=>{if(store.useCase===props.value)setState(\"selected\");else setState(\"default\");},[store.useCase]);return /*#__PURE__*/_jsx(Component,{...props,variant:state,onClick:()=>{setStore({...store,useCase:props.value,resultVariant:\"withUseCase\"});}});};}export function selectAllUseCase(Component){return props=>{const[store,setStore]=useStore();const[state,setState]=useState(\"default\");useEffect(()=>{if(store.useCase===props.value)setState(\"selected\");else setState(\"default\");},[store.useCase]);return /*#__PURE__*/_jsx(Component,{...props,variant:state,onClick:()=>{setStore({...store,useCase:props.value,resultVariant:\"withoutUseCase\"});}});};}export function selectCategory(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,variant:props.value===store.solution?\"selected\":\"default\",onClick:()=>setStore({...store,solution:props.value})});};}export function withFilter(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,useCase:store.useCase??props.useCase,variant:store.resultVariant});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withTagColor\":{\"type\":\"reactHoc\",\"name\":\"withTagColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"switchFunctionBusiness\":{\"type\":\"reactHoc\",\"name\":\"switchFunctionBusiness\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"switchFunction\":{\"type\":\"reactHoc\",\"name\":\"switchFunction\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"selectUseCase\":{\"type\":\"reactHoc\",\"name\":\"selectUseCase\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFilter\":{\"type\":\"reactHoc\",\"name\":\"withFilter\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"selectCategory\":{\"type\":\"reactHoc\",\"name\":\"selectCategory\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"switchFunctionEducation\":{\"type\":\"reactHoc\",\"name\":\"switchFunctionEducation\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withID\":{\"type\":\"reactHoc\",\"name\":\"withID\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFunction\":{\"type\":\"reactHoc\",\"name\":\"withFunction\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"selectAllUseCase\":{\"type\":\"reactHoc\",\"name\":\"selectAllUseCase\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRoleSelectionVariant\":{\"type\":\"reactHoc\",\"name\":\"withRoleSelectionVariant\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"selectFilter\":{\"type\":\"reactHoc\",\"name\":\"selectFilter\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Cms.map"],
  "mappings": "gGACA,IAAMA,EAASC,EAAY,CAAC,SAAS,KAAK,QAAQ,KAAK,cAAc,CAAC,EAAE,KAAK,YAAY,YAAY,YAAY,cAAc,gBAAgB,CAAC,EAAS,SAASC,EAAaC,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMC,EAASD,EAAM,OAAO,OAAO,UAAUA,EAAM,OAAO,QAAQ,UAAU,UAAU,OAAoBE,EAAK,IAAI,CAAC,GAAGF,EAAM,UAAU,cAAc,MAAM,CAAC,MAAM,cAAc,SAAS,OAAO,WAAW,gCAAgC,WAAW,IAAI,MAAMC,EAAS,OAAO,cAAc,WAAW,MAAM,OAAO,MAAM,QAAQ,KAAK,EAAE,SAASD,EAAM,IAAI,CAAC,CAAE,CAAE,CAAowC,SAASG,EAAcC,EAAU,CAAC,OAAOC,GAAO,CAAC,GAAK,CAACC,EAAMC,CAAQ,EAAEC,EAAS,EAAO,CAACC,EAAMC,CAAQ,EAAEC,EAAS,SAAS,EAAE,OAAAC,EAAU,IAAI,CAAIN,EAAM,UAAUD,EAAM,MAAMK,EAAS,UAAU,EAAOA,EAAS,SAAS,CAAE,EAAE,CAACJ,EAAM,OAAO,CAAC,EAAsBO,EAAKT,EAAU,CAAC,GAAGC,EAAM,QAAQI,EAAM,QAAQ,IAAI,CAACF,EAAS,CAAC,GAAGD,EAAM,QAAQD,EAAM,MAAM,cAAc,aAAa,CAAC,CAAE,CAAC,CAAC,CAAE,CAAE,CAAQ,SAASS,EAAiBV,EAAU,CAAC,OAAOC,GAAO,CAAC,GAAK,CAACC,EAAMC,CAAQ,EAAEC,EAAS,EAAO,CAACC,EAAMC,CAAQ,EAAEC,EAAS,SAAS,EAAE,OAAAC,EAAU,IAAI,CAAIN,EAAM,UAAUD,EAAM,MAAMK,EAAS,UAAU,EAAOA,EAAS,SAAS,CAAE,EAAE,CAACJ,EAAM,OAAO,CAAC,EAAsBO,EAAKT,EAAU,CAAC,GAAGC,EAAM,QAAQI,EAAM,QAAQ,IAAI,CAACF,EAAS,CAAC,GAAGD,EAAM,QAAQD,EAAM,MAAM,cAAc,gBAAgB,CAAC,CAAE,CAAC,CAAC,CAAE,CAAE,CAAoQ,SAASU,EAAWC,EAAU,CAAC,OAAOC,GAAO,CAAC,GAAK,CAACC,EAAMC,CAAQ,EAAEC,EAAS,EAAE,OAAoBC,EAAKL,EAAU,CAAC,GAAGC,EAAM,QAAQC,EAAM,SAASD,EAAM,QAAQ,QAAQC,EAAM,aAAa,CAAC,CAAE,CAAE",
  "names": ["useStore", "createStore", "withTagColor", "Component", "props", "tagColor", "p", "selectUseCase", "Component", "props", "store", "setStore", "useStore", "state", "setState", "ye", "ue", "p", "selectAllUseCase", "withFilter", "Component", "props", "store", "setStore", "useStore", "p"]
}
