{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/i3NB1pmMm91Ui5zPo8Tz/aG84B4DbOvIspX1Rwe4z/TallyScoreDisplay.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export function TallyScoreDisplay({fontColor,fontSize,totalScore}){const[score,setScore]=useState(null);useEffect(()=>{const urlParams=new URLSearchParams(window.location.search);const scoreValue=urlParams.get(\"score\");if(scoreValue){setScore(scoreValue);}},[]);if(!score){return null;}return /*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:\"Hanken Grotesk, sans-serif\",color:fontColor,fontSize:fontSize},children:[\"Your score is \",/*#__PURE__*/_jsx(\"span\",{style:{fontWeight:\"800\"},children:score}),\" out of \",/*#__PURE__*/_jsx(\"span\",{style:{fontWeight:\"800\"},children:totalScore})]});}addPropertyControls(TallyScoreDisplay,{fontColor:{type:ControlType.Color,title:\"Font Color\",defaultValue:\"#000000\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:20},totalScore:{type:ControlType.Number,title:\"Total Possible Score\",defaultValue:54}});\nexport const __FramerMetadata__ = {\"exports\":{\"TallyScoreDisplay\":{\"type\":\"reactComponent\",\"name\":\"TallyScoreDisplay\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TallyScoreDisplay.map"],
  "mappings": "uHAA0J,SAASA,EAAkB,CAAC,UAAAC,EAAU,SAAAC,EAAS,WAAAC,CAAU,EAAE,CAAC,GAAK,CAACC,EAAMC,CAAQ,EAAEC,EAAS,IAAI,EAAgK,OAA9JC,EAAU,IAAI,CAA6D,IAAMC,EAAlD,IAAI,gBAAgBC,EAAO,SAAS,MAAM,EAA6B,IAAI,OAAO,EAAKD,GAAYH,EAASG,CAAU,CAAG,EAAE,CAAC,CAAC,EAAMJ,EAAwCM,EAAM,MAAM,CAAC,MAAM,CAAC,WAAW,6BAA6B,MAAMT,EAAU,SAASC,CAAQ,EAAE,SAAS,CAAC,iBAA8BS,EAAK,OAAO,CAAC,MAAM,CAAC,WAAW,KAAK,EAAE,SAASP,CAAK,CAAC,EAAE,WAAwBO,EAAK,OAAO,CAAC,MAAM,CAAC,WAAW,KAAK,EAAE,SAASR,CAAU,CAAC,CAAC,CAAC,CAAC,EAA7S,IAA+S,CAACS,EAAoBZ,EAAkB,CAAC,UAAU,CAAC,KAAKa,EAAY,MAAM,MAAM,aAAa,aAAa,SAAS,EAAE,SAAS,CAAC,KAAKA,EAAY,OAAO,MAAM,YAAY,aAAa,EAAE,EAAE,WAAW,CAAC,KAAKA,EAAY,OAAO,MAAM,uBAAuB,aAAa,EAAE,CAAC,CAAC",
  "names": ["TallyScoreDisplay", "fontColor", "fontSize", "totalScore", "score", "setScore", "ye", "ue", "scoreValue", "window", "u", "p", "addPropertyControls", "ControlType"]
}
