{"version":3,"file":"shared-lib.B0ZTs0FR.mjs","names":["useRef","useState","metadata","siteMetadata","metadataVersion","__FramerMetadata__","metadata","siteMetadata"],"sources":["https:/framerusercontent.com/modules/uHx7K2lFzohetQu3kS9p/fJy28siilBzmR5asN50p/StarryBackground.js","https:/framerusercontent.com/modules/tbpRl7o2e3UKaRL7oZhD/2BHZWq13iLu1B5P7I3f1/siteMetadata.js","https:/framerusercontent.com/modules/mrl7Gul7RBd1L5DTSGds/6ZPf3pWHPRlDwgTLL8X5/augiA20Il.js","https:/framerusercontent.com/modules/hf6q0meMXpgRAmaqsOj6/WjF0tTogbVifJMJ6DFqT/LlYvOwIrr.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState,startTransition}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{motion}from\"framer-motion\";/**\n * A background component that shows dots perfectly aligned in a grid and they pulse slightly like a sky full of stars.\n * \n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function StarryBackground(props){const{dotColor=\"#FFFFFF\",backgroundColor=\"#000000\",dotSize=2,dotSpacing=30,pulseIntensity=.5,pulseSpeed=1,style}=props;const containerRef=useRef(null);const[dots,setDots]=useState([]);const isStatic=useIsStaticRenderer();useEffect(()=>{if(!containerRef.current)return;const generateDots=()=>{const{width,height}=containerRef.current.getBoundingClientRect();const newDots=[];const cols=Math.floor(width/dotSpacing);const rows=Math.floor(height/dotSpacing);// Add extra rows and columns to ensure coverage\nfor(let i=0;i<=cols;i++){for(let j=0;j<=rows;j++){newDots.push({x:i*dotSpacing,y:j*dotSpacing,delay:Math.random()*2// Random delay for each dot\n});}}startTransition(()=>setDots(newDots));};generateDots();const handleResize=()=>{generateDots();};window.addEventListener(\"resize\",handleResize);return()=>window.removeEventListener(\"resize\",handleResize);},[dotSpacing]);return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{position:\"relative\",width:\"100%\",height:\"100%\",backgroundColor,overflow:\"hidden\",...style},children:dots.map((dot,index)=>/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",left:dot.x,top:dot.y,width:dotSize,height:dotSize,borderRadius:\"50%\",backgroundColor:dotColor,transform:\"translate(-50%, -50%)\"},animate:isStatic?{}:{opacity:[.2+pulseIntensity*.3,.5+pulseIntensity*.5,.2+pulseIntensity*.3]},transition:{duration:3/pulseSpeed,ease:\"easeInOut\",repeat:Infinity,delay:dot.delay}},index))});}addPropertyControls(StarryBackground,{backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#000000\"},dotColor:{type:ControlType.Color,title:\"Dot Color\",defaultValue:\"#FFFFFF\"},dotSize:{type:ControlType.Number,title:\"Dot Size\",defaultValue:2,min:1,max:10,step:.5,unit:\"px\"},dotSpacing:{type:ControlType.Number,title:\"Dot Spacing\",defaultValue:30,min:10,max:100,step:5,unit:\"px\"},pulseIntensity:{type:ControlType.Number,title:\"Pulse Intensity\",defaultValue:.5,min:0,max:1,step:.1},pulseSpeed:{type:ControlType.Number,title:\"Pulse Speed\",defaultValue:1,min:.1,max:3,step:.1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StarryBackground\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StarryBackground.map","// Generated by Framer (9eb3b99)\nexport default function metadata(params,activeLocale){return{customHTMLBodyEnd:'<script defer=\"\" data-domain=\"cedric.design\" src=\"https://plausible.io/js/script.js\"></script>\\n',description:\"Play the EMEC Wordle to guess the theme for CCiL's English Ministry Easter Camp 2026!\",favicon:\"https://framerusercontent.com/assets/1vPgiK0OPRFYNIHd83Fk2NULjKM.png\",robots:\"max-image-preview:large\",title:\"EMEC 2026 Wordle\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (94ad37d)\nimport siteMetadata from\"https://framerusercontent.com/modules/tbpRl7o2e3UKaRL7oZhD/2BHZWq13iLu1B5P7I3f1/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"72rtr7\",mediaQuery:\"(min-width: 1200px)\"},{hash:\"kzoobj\",mediaQuery:\"(min-width: 810px) and (max-width: 1199.98px)\"},{hash:\"1p1616b\",mediaQuery:\"(max-width: 809.98px)\"}],description:siteMetadata(params,activeLocale).description,elements:{},robots:\"max-image-preview:large\",serializationId:\"framer-Br8zf\",title:siteMetadata(params,activeLocale).title||\"Home\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (9eb3b99)\nimport siteMetadata from\"https://framerusercontent.com/modules/tbpRl7o2e3UKaRL7oZhD/2BHZWq13iLu1B5P7I3f1/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"jpp0za\",mediaQuery:\"(min-width: 1200px)\"},{hash:\"vkll1g\",mediaQuery:\"(min-width: 810px) and (max-width: 1199.98px)\"},{hash:\"yjmvph\",mediaQuery:\"(max-width: 809.98px)\"}],description:siteMetadata(params,activeLocale).description,elements:{},framerSearch:{index:false},robots:\"noindex\",serializationId:\"framer-eyAj2\",title:\"404 Error\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type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