{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/UawSXgwFUFKQChf1HVmq/O76LChFlOFBTndCxmzVe/Grid_BG.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";export default function SquareGrid(){const numSquares=15// Number of squares per row/column\n;const totalSquares=numSquares*numSquares;const randomSquares=new Set;// Randomly select 10 unique squares\nwhile(randomSquares.size<10){const randomIndex=Math.floor(Math.random()*totalSquares);const rowIndex=Math.floor(randomIndex/numSquares);const colIndex=randomIndex%numSquares;randomSquares.add(`${rowIndex}-${colIndex}`);}return /*#__PURE__*/_jsx(\"svg\",{viewBox:`0 0 ${numSquares} ${numSquares}`,width:\"100%\",height:\"auto\",xmlns:\"http://www.w3.org/2000/svg\",style:{display:\"block\"},children:Array.from({length:numSquares}).map((_,rowIndex)=>Array.from({length:numSquares}).map((_,colIndex)=>{const key=`${rowIndex}-${colIndex}`;const fillColor=randomSquares.has(key)?\"#FAFAFA\":\"none\";return /*#__PURE__*/_jsx(\"rect\",{x:colIndex,y:rowIndex,width:\"1\",height:\"1\",fill:fillColor,stroke:\"#F8F8F8\",strokeWidth:\".01\"},key);}))});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SquareGrid\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Grid_BG.map"],
  "mappings": "yCAA0D,SAARA,GAA6B,CACrC,IAAMC,EAAc,IAAI,IAClE,KAAMA,EAAc,KAAK,IAAG,CAAC,IAAMC,EAAY,KAAK,MAAM,KAAK,OAAO,EAAE,GAAY,EAAQC,EAAS,KAAK,MAAMD,EAAY,EAAU,EAAQE,EAASF,EAAY,GAAWD,EAAc,IAAI,GAAGE,CAAQ,IAAIC,CAAQ,EAAE,CAAE,CAAC,OAAoBC,EAAK,MAAM,CAAC,QAAQ,YAAkC,MAAM,OAAO,OAAO,OAAO,MAAM,6BAA6B,MAAM,CAAC,QAAQ,OAAO,EAAE,SAAS,MAAM,KAAK,CAAC,OAAO,EAAU,CAAC,EAAE,IAAI,CAACC,EAAEH,IAAW,MAAM,KAAK,CAAC,OAAO,EAAU,CAAC,EAAE,IAAI,CAACG,EAAEF,IAAW,CAAC,IAAMG,EAAI,GAAGJ,CAAQ,IAAIC,CAAQ,GAASI,EAAUP,EAAc,IAAIM,CAAG,EAAE,UAAU,OAAO,OAAoBF,EAAK,OAAO,CAAC,EAAED,EAAS,EAAED,EAAS,MAAM,IAAI,OAAO,IAAI,KAAKK,EAAU,OAAO,UAAU,YAAY,KAAK,EAAED,CAAG,CAAE,CAAC,CAAC,CAAC,CAAC,CAAE",
  "names": ["SquareGrid", "randomSquares", "randomIndex", "rowIndex", "colIndex", "p", "_", "key", "fillColor"]
}
