{"version":3,"file":"GridLines.BKfgeo7p.mjs","names":["useRef","horizontalShimmer","hShimmerGradientId","hShimmerGradient","hShimmerStop1","hShimmerStop2","hShimmerStop3","defs","rightGradient"],"sources":["https:/framerusercontent.com/modules/Jo3c6LXq55EMJPFb8fQG/pNpl0de5vpFDLyw1upcQ/GridLines.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";export function withCalcomGrid(Component){return props=>{const containerRef=useRef(null);const gridCheckInterval=useRef(null);const resizeDebounceTimer=useRef(null);const animationFrameRequest=useRef(null);useEffect(()=>{if(!containerRef.current)return;const container=containerRef.current;let gridOverlay=null;// Determine max width based on viewport\nconst getMaxWidth=()=>{const width=window.innerWidth;if(width>=1024)return 1e3// Desktop\n;if(width>=768)return 800// Tablet\n;return 400// Phone\n;};// Function to get or create grid overlay\nconst getOrCreateGridOverlay=()=>{let overlay=container.querySelector(\".calcom-grid-overlay\");if(!overlay){overlay=document.createElement(\"div\");overlay.className=\"calcom-grid-overlay\";overlay.setAttribute(\"data-framer-preserve\",\"true\");overlay.setAttribute(\"data-grid\",\"true\");}return overlay;};const createGrid=()=>{if(!container||!container.offsetWidth||!container.offsetHeight)return;gridOverlay=getOrCreateGridOverlay();const maxWidth=getMaxWidth();const containerWidth=container.offsetWidth;const containerHeight=container.offsetHeight;const centerX=containerWidth/2;// Check if we're on mobile viewport (810px and below)\nconst isMobile=window.innerWidth<=810;// Clear existing grid content efficiently\nwhile(gridOverlay.firstChild){gridOverlay.removeChild(gridOverlay.firstChild);}// Calculate grid boundaries - ensure they're within container bounds\nconst gridLeft=Math.max(0,centerX-maxWidth/2);const gridRight=Math.min(containerWidth,centerX+maxWidth/2);// Find all direct child sections (excluding the grid overlay)\nconst sections=Array.from(container.children).filter(child=>child!==gridOverlay&&!child.classList.contains(\"calcom-grid-overlay\")&&child.offsetHeight>0);// Check if sections have exclusion attributes - batch DOM reads\nconst containerRect=container.getBoundingClientRect();const sectionData=sections.map((section,index)=>({element:section,index,isExcluded:section.hasAttribute(\"data-grid-exclude\"),rect:section.getBoundingClientRect(),containerRect}));// Check if the first section is excluded (for top fade logic)\nconst isTopSectionExcluded=sectionData.length>0&&sectionData[0].isExcluded;// Detect dark mode - Balanced colors for optimal visibility\nconst isDarkMode=window.matchMedia&&window.matchMedia(\"(prefers-color-scheme: dark)\").matches;const lineColor=isDarkMode?\"#3F3F46\":\"#D4D4D8\";const lineOpacity=isDarkMode?\"0.3\":\"0.6\";const horizontalLineOpacity=isDarkMode?\"0.6\":\"0.75\";// Create SVG for lines\nconst svg=document.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\");svg.style.cssText=`\n                    position: absolute;\n                    top: 0;\n                    left: 0;\n                    width: 100%;\n                    height: 100%;\n                    pointer-events: none;\n                    z-index: 0;\n                    opacity: 1;\n                    transform: translateZ(0);\n                `;svg.setAttribute(\"width\",containerWidth.toString());svg.setAttribute(\"height\",containerHeight.toString());// Subtle animation keyframes - Apple-like refinement\nconst style=document.createElement(\"style\");style.textContent=`\n                    @keyframes gridShimmer {\n                        0% { opacity: 0; transform: translateZ(0); }\n                        50% { opacity: 0.15; transform: translateZ(0); }\n                        100% { opacity: 0; transform: translateZ(0); }\n                    }\n                    @keyframes gridBeamVertical {\n                        0% {\n                            transform: translate3d(0, -100px, 0);\n                            opacity: 0;\n                        }\n                        10% {\n                            opacity: 0;\n                        }\n                        25% {\n                            opacity: 1;\n                        }\n                        75% {\n                            opacity: 1;\n                        }\n                        90% {\n                            opacity: 0;\n                        }\n                        100% {\n                            transform: translate3d(0, ${containerHeight+100}px, 0);\n                            opacity: 0;\n                        }\n                    }\n                    .grid-shimmer-beam {\n                        mix-blend-mode: plus-lighter;\n                        filter: blur(0.5px);\n                        opacity: 0.8;\n                        will-change: transform, opacity;\n                        backface-visibility: hidden;\n                    }\n                    /* Ensure grid overlay always stays behind content */\n                    .calcom-grid-overlay {\n                        z-index: 0 !important;\n                        position: absolute !important;\n                        pointer-events: none !important;\n                        mix-blend-mode: normal !important;\n                        opacity: 1 !important;\n                        will-change: transform;\n                    }\n                    .calcom-grid-overlay svg {\n                        z-index: 0 !important;\n                    }\n                `;if(!document.head.querySelector(\"#gridAnimationStyles\")){style.id=\"gridAnimationStyles\";document.head.appendChild(style);}// Function to create plus sign\nconst createPlusSign=(x,y)=>{const group=document.createElementNS(\"http://www.w3.org/2000/svg\",\"g\");// Horizontal line of plus\nconst hLine=document.createElementNS(\"http://www.w3.org/2000/svg\",\"line\");hLine.setAttribute(\"x1\",(x-4).toString());hLine.setAttribute(\"y1\",y.toString());hLine.setAttribute(\"x2\",(x+4).toString());hLine.setAttribute(\"y2\",y.toString());hLine.setAttribute(\"stroke\",lineColor);hLine.setAttribute(\"stroke-opacity\",lineOpacity);hLine.setAttribute(\"stroke-width\",\"1.5\");hLine.setAttribute(\"stroke-linecap\",\"round\");// Vertical line of plus\nconst vLine=document.createElementNS(\"http://www.w3.org/2000/svg\",\"line\");vLine.setAttribute(\"x1\",x.toString());vLine.setAttribute(\"y1\",(y-4).toString());vLine.setAttribute(\"x2\",x.toString());vLine.setAttribute(\"y2\",(y+4).toString());vLine.setAttribute(\"stroke\",lineColor);vLine.setAttribute(\"stroke-opacity\",lineOpacity);vLine.setAttribute(\"stroke-width\",\"1.5\");vLine.setAttribute(\"stroke-linecap\",\"round\");group.appendChild(hLine);group.appendChild(vLine);return group;};// Collect all Y positions where we need horizontal lines (only between sections)\nconst horizontalLinePositions=[];if(sectionData.length>1){// Only add lines between sections, not at top or bottom\nfor(let i=0;i<sectionData.length-1;i++){const currentSection=sectionData[i];const nextSection=sectionData[i+1];// Only add horizontal line if:\n// - Current section is not excluded OR\n// - Next section is not excluded\nif(!currentSection.isExcluded||!nextSection.isExcluded){const sectionBottom=currentSection.rect.bottom-currentSection.containerRect.top;horizontalLinePositions.push(sectionBottom);}}}// Create vertical line gradients with extreme masking at top/bottom\nconst leftGradientId=\"fadeVerticalLeft\";const leftGradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");leftGradient.setAttribute(\"id\",leftGradientId);leftGradient.setAttribute(\"x1\",\"0%\");leftGradient.setAttribute(\"y1\",\"0%\");leftGradient.setAttribute(\"x2\",\"0%\");leftGradient.setAttribute(\"y2\",\"100%\");// Calculate gradient stops based on horizontal line positions\nconst gradientStops=[];// Fixed pixel distances for better control\nconst topFadeDistance=100// pixels\n;const bottomFadeDistance=120// pixels\n;const intersectionFadeDistance=20// pixels\n;// Apply top fade with adjusted opacity based on whether top section is excluded\nconst topFadePercent=topFadeDistance/containerHeight*100;if(isTopSectionExcluded){// Small fade at top when top section is excluded\ngradientStops.push({offset:0,opacity:\"0.7\"});gradientStops.push({offset:topFadePercent*.3,opacity:\"0.85\"});gradientStops.push({offset:topFadePercent*.6,opacity:\"0.95\"});gradientStops.push({offset:topFadePercent,opacity:\"1\"});}else{// Normal larger fade at top when top section is NOT excluded\ngradientStops.push({offset:0,opacity:\"0\"});gradientStops.push({offset:topFadePercent*.2,opacity:\"0.1\"});gradientStops.push({offset:topFadePercent*.5,opacity:\"0.4\"});gradientStops.push({offset:topFadePercent*.8,opacity:\"0.7\"});gradientStops.push({offset:topFadePercent,opacity:\"1\"});}// Add fading around each horizontal line (increased fade distance)\nhorizontalLinePositions.forEach(yPos=>{const offsetPercent=yPos/containerHeight*100;const fadePercent=intersectionFadeDistance*1.5/containerHeight*100// Increased fade distance\n;// Stronger fade around intersections\ngradientStops.push({offset:offsetPercent-fadePercent,opacity:\"1\"});gradientStops.push({offset:offsetPercent-fadePercent*.6,opacity:\"0.5\"});gradientStops.push({offset:offsetPercent-fadePercent*.3,opacity:\"0.15\"});gradientStops.push({offset:offsetPercent,opacity:\"0\"});gradientStops.push({offset:offsetPercent+fadePercent*.3,opacity:\"0.15\"});gradientStops.push({offset:offsetPercent+fadePercent*.6,opacity:\"0.5\"});gradientStops.push({offset:offsetPercent+fadePercent,opacity:\"1\"});});// Extreme fade at bottom (fixed pixel distance from bottom)\nconst bottomFadeStartPercent=(containerHeight-bottomFadeDistance)/containerHeight*100;gradientStops.push({offset:Math.max(50,bottomFadeStartPercent),opacity:\"1\"});gradientStops.push({offset:Math.max(50,bottomFadeStartPercent+(100-bottomFadeStartPercent)*.2),opacity:\"0.7\"});gradientStops.push({offset:Math.max(50,bottomFadeStartPercent+(100-bottomFadeStartPercent)*.4),opacity:\"0.5\"});gradientStops.push({offset:Math.max(50,bottomFadeStartPercent+(100-bottomFadeStartPercent)*.6),opacity:\"0.3\"});gradientStops.push({offset:Math.max(50,bottomFadeStartPercent+(100-bottomFadeStartPercent)*.8),opacity:\"0.15\"});gradientStops.push({offset:Math.max(50,bottomFadeStartPercent+(100-bottomFadeStartPercent)*.95),opacity:\"0.05\"});gradientStops.push({offset:100,opacity:\"0\"});// Add stops to gradient\ngradientStops.forEach((stop,index)=>{const stopEl=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stopEl.setAttribute(\"offset\",`${Math.max(0,Math.min(100,stop.offset))}%`);stopEl.setAttribute(\"stop-color\",lineColor);// Apply line opacity correctly - when stop opacity is 1, use lineOpacity, otherwise scale proportionally\nconst finalOpacity=parseFloat(stop.opacity)===1?lineOpacity:(parseFloat(stop.opacity)*parseFloat(lineOpacity)).toString();stopEl.setAttribute(\"stop-opacity\",finalOpacity);leftGradient.appendChild(stopEl);});// Add gradient to defs\nlet defs=svg.querySelector(\"defs\");if(!defs){defs=document.createElementNS(\"http://www.w3.org/2000/svg\",\"defs\");svg.appendChild(defs);}defs.appendChild(leftGradient);// Create shimmer gradient for animation\nconst shimmerGradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");shimmerGradient.setAttribute(\"id\",\"shimmerGradient\");shimmerGradient.setAttribute(\"x1\",\"0%\");shimmerGradient.setAttribute(\"y1\",\"0%\");shimmerGradient.setAttribute(\"x2\",\"0%\");shimmerGradient.setAttribute(\"y2\",\"100%\");const shimmerStop1=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");shimmerStop1.setAttribute(\"offset\",\"0%\");shimmerStop1.setAttribute(\"stop-color\",lineColor);shimmerStop1.setAttribute(\"stop-opacity\",\"0\");const shimmerStop2=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");shimmerStop2.setAttribute(\"offset\",\"20%\");shimmerStop2.setAttribute(\"stop-color\",lineColor);shimmerStop2.setAttribute(\"stop-opacity\",\"0.2\");const shimmerStop3=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");shimmerStop3.setAttribute(\"offset\",\"50%\");shimmerStop3.setAttribute(\"stop-color\",lineColor);shimmerStop3.setAttribute(\"stop-opacity\",\"0.4\");const shimmerStop4=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");shimmerStop4.setAttribute(\"offset\",\"80%\");shimmerStop4.setAttribute(\"stop-color\",lineColor);shimmerStop4.setAttribute(\"stop-opacity\",\"0.2\");const shimmerStop5=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");shimmerStop5.setAttribute(\"offset\",\"100%\");shimmerStop5.setAttribute(\"stop-color\",lineColor);shimmerStop5.setAttribute(\"stop-opacity\",\"0\");shimmerGradient.appendChild(shimmerStop1);shimmerGradient.appendChild(shimmerStop2);shimmerGradient.appendChild(shimmerStop3);shimmerGradient.appendChild(shimmerStop4);shimmerGradient.appendChild(shimmerStop5);defs.appendChild(shimmerGradient);// Create same gradient for right line\nconst rightGradient=leftGradient.cloneNode(true);rightGradient.setAttribute(\"id\",\"fadeVerticalRight\");defs.appendChild(rightGradient);// Create vertical line segments (excluding sections marked with data-grid-exclude)\n// Skip vertical lines entirely on mobile\nconst verticalSegments=[];if(!isMobile){sectionData.forEach((section,index)=>{const sectionTop=section.rect.top-section.containerRect.top;const sectionBottom=section.rect.bottom-section.containerRect.top;if(!section.isExcluded){// Add segment for visible section\nverticalSegments.push({start:Math.max(0,sectionTop),end:Math.min(containerHeight,sectionBottom),isFirst:index===0,isLast:index===sectionData.length-1});}});}// Draw vertical line segments\nif(verticalSegments.length===0||isMobile){// If all sections are excluded or we're on mobile, don't draw any vertical lines\n}else{// Draw segments for non-excluded sections with proper gradient\nverticalSegments.forEach((segment,segIndex)=>{// Create a segment-specific gradient that maps to the segment's position\nconst segmentGradientId=`segGradient_${segIndex}`;const segmentGradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");segmentGradient.setAttribute(\"id\",segmentGradientId);segmentGradient.setAttribute(\"x1\",\"0%\");segmentGradient.setAttribute(\"y1\",\"0%\");segmentGradient.setAttribute(\"x2\",\"0%\");segmentGradient.setAttribute(\"y2\",\"100%\");// Calculate the gradient stops for this specific segment\nconst segmentHeight=segment.end-segment.start;const segmentStops=[];// Map the main gradient stops to this segment's position\ngradientStops.forEach(stop=>{const absolutePosition=stop.offset/100*containerHeight;if(absolutePosition>=segment.start&&absolutePosition<=segment.end){// This stop falls within our segment\nconst relativePosition=(absolutePosition-segment.start)/segmentHeight*100;segmentStops.push({offset:relativePosition,opacity:stop.opacity});}});// Ensure we have start and end stops\nif(segmentStops.length===0||segmentStops[0].offset>0){// Find the opacity at segment start\nconst startPos=segment.start/containerHeight*100;let startOpacity=\"1\";for(let i=gradientStops.length-1;i>=0;i--){if(gradientStops[i].offset<=startPos){startOpacity=gradientStops[i].opacity;break;}}segmentStops.unshift({offset:0,opacity:startOpacity});}if(segmentStops[segmentStops.length-1].offset<100){// Find the opacity at segment end\nconst endPos=segment.end/containerHeight*100;let endOpacity=\"1\";for(let i=0;i<gradientStops.length;i++){if(gradientStops[i].offset>=endPos){endOpacity=gradientStops[i].opacity;break;}}segmentStops.push({offset:100,opacity:endOpacity});}// Add stops to segment gradient\nsegmentStops.forEach(stop=>{const stopEl=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stopEl.setAttribute(\"offset\",`${Math.max(0,Math.min(100,stop.offset))}%`);stopEl.setAttribute(\"stop-color\",lineColor);const finalOpacity=parseFloat(stop.opacity)===1?lineOpacity:(parseFloat(stop.opacity)*parseFloat(lineOpacity)).toString();stopEl.setAttribute(\"stop-opacity\",finalOpacity);segmentGradient.appendChild(stopEl);});defs.appendChild(segmentGradient);// Draw left line segment\nconst leftLine=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");leftLine.setAttribute(\"x\",(gridLeft-.5).toString());leftLine.setAttribute(\"y\",segment.start.toString());leftLine.setAttribute(\"width\",\"1\");leftLine.setAttribute(\"height\",segmentHeight.toString());leftLine.setAttribute(\"fill\",`url(#${segmentGradientId})`);svg.appendChild(leftLine);});}// Store animation IDs for reuse\nconst segmentAnimIds=[];// Decide which line gets beams for each segment (left or right, not both)\nconst segmentBeamSide=[];// Create vertical beam animations for each segment\nif(verticalSegments.length>0){verticalSegments.forEach((segment,segIndex)=>{// 75% chance of beam appearing, evenly distributed between left and right\nconst random=Math.random();if(random<.375){segmentBeamSide[segIndex]=\"left\";}else if(random<.75){segmentBeamSide[segIndex]=\"right\";}else{segmentBeamSide[segIndex]=\"none\";}});// Create unique animations for each vertical segment\nverticalSegments.forEach((segment,segIndex)=>{const segmentAnimId=`vertBeam_${segIndex}_${Date.now()}`;segmentAnimIds[segIndex]=segmentAnimId// Store for reuse\n;const segmentHeight=segment.end-segment.start;// Create segment-specific animation with shorter fade\nif(!document.head.querySelector(`#${segmentAnimId}`)){const segmentStyle=document.createElement(\"style\");segmentStyle.id=segmentAnimId;segmentStyle.textContent=`\n                                @keyframes ${segmentAnimId} {\n                                    0% {\n                                        transform: translate3d(0, -30px, 0);\n                                        opacity: 0;\n                                    }\n                                    8% {\n                                        opacity: 0;\n                                    }\n                                    15% {\n                                        opacity: 1;\n                                    }\n                                    70% {\n                                        opacity: 1;\n                                    }\n                                    85% {\n                                        opacity: 0;\n                                    }\n                                    100% {\n                                        transform: translate3d(0, ${segmentHeight+30}px, 0);\n                                        opacity: 0;\n                                    }\n                                }\n                            `;document.head.appendChild(segmentStyle);}// Create beams only if this segment should have one\nif(segmentBeamSide[segIndex]!==\"none\"){// Create shimmer gradient for this segment\nconst leftShimmerGradientId=`leftVerticalShimmer_${segIndex}`;const leftShimmerGradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");leftShimmerGradient.setAttribute(\"id\",leftShimmerGradientId);leftShimmerGradient.setAttribute(\"x1\",\"0%\");leftShimmerGradient.setAttribute(\"y1\",\"0%\");leftShimmerGradient.setAttribute(\"x2\",\"0%\");leftShimmerGradient.setAttribute(\"y2\",\"100%\");const lvStop1=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");lvStop1.setAttribute(\"offset\",\"0%\");lvStop1.setAttribute(\"stop-color\",isDarkMode?\"#ffffff\":\"#6666aa\");lvStop1.setAttribute(\"stop-opacity\",\"0\");const lvStop2=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");lvStop2.setAttribute(\"offset\",\"50%\");lvStop2.setAttribute(\"stop-color\",isDarkMode?\"#ffffff\":\"#8888bb\");lvStop2.setAttribute(\"stop-opacity\",\"0.16\");const lvStop3=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");lvStop3.setAttribute(\"offset\",\"100%\");lvStop3.setAttribute(\"stop-color\",isDarkMode?\"#ffffff\":\"#6666aa\");lvStop3.setAttribute(\"stop-opacity\",\"0\");leftShimmerGradient.appendChild(lvStop1);leftShimmerGradient.appendChild(lvStop2);leftShimmerGradient.appendChild(lvStop3);defs.appendChild(leftShimmerGradient);// Create left beam for this segment if it's assigned to left\nif(segmentBeamSide[segIndex]===\"left\"){const leftShimmer=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");leftShimmer.setAttribute(\"x\",(gridLeft-1).toString());leftShimmer.setAttribute(\"y\",segment.start.toString());leftShimmer.setAttribute(\"width\",\"2\");leftShimmer.setAttribute(\"height\",\"60\");leftShimmer.setAttribute(\"fill\",`url(#${leftShimmerGradientId})`);leftShimmer.setAttribute(\"class\",\"grid-shimmer-beam\");leftShimmer.style.pointerEvents=\"none\";// Create clipping for this specific segment\nconst clipPathId=`leftBeamClip_${segIndex}_${Date.now()}`;const clipPath=document.createElementNS(\"http://www.w3.org/2000/svg\",\"clipPath\");clipPath.setAttribute(\"id\",clipPathId);const clipRect=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");clipRect.setAttribute(\"x\",(gridLeft-2).toString());clipRect.setAttribute(\"y\",segment.start.toString());clipRect.setAttribute(\"width\",\"4\");clipRect.setAttribute(\"height\",segmentHeight.toString());clipPath.appendChild(clipRect);defs.appendChild(clipPath);leftShimmer.setAttribute(\"clip-path\",`url(#${clipPathId})`);leftShimmer.style.animation=`${segmentAnimId} 12s ease-in-out infinite`;leftShimmer.style.animationDelay=`-${Math.random()*12}s`;svg.appendChild(leftShimmer);}}// Close the if block for beam creation\n});}// Draw right vertical line segments (same logic as left)\n// Skip on mobile\nif(verticalSegments.length>0&&!isMobile){verticalSegments.forEach((segment,segIndex)=>{// Use the same gradient as left side (already created)\nconst segmentGradientId=`segGradient_${segIndex}`;// Draw right line segment\nconst rightLine=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");rightLine.setAttribute(\"x\",(gridRight-.5).toString());rightLine.setAttribute(\"y\",segment.start.toString());rightLine.setAttribute(\"width\",\"1\");rightLine.setAttribute(\"height\",(segment.end-segment.start).toString());rightLine.setAttribute(\"fill\",`url(#${segmentGradientId})`);svg.appendChild(rightLine);// Create right beam only if assigned\nif(segmentBeamSide&&segmentBeamSide[segIndex]===\"right\"){// Create right beam for this segment using same animation\nconst rightShimmerGradientId=`rightVerticalShimmer_${segIndex}`;const rightShimmerGradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");rightShimmerGradient.setAttribute(\"id\",rightShimmerGradientId);rightShimmerGradient.setAttribute(\"x1\",\"0%\");rightShimmerGradient.setAttribute(\"y1\",\"0%\");rightShimmerGradient.setAttribute(\"x2\",\"0%\");rightShimmerGradient.setAttribute(\"y2\",\"100%\");const rvStop1=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");rvStop1.setAttribute(\"offset\",\"0%\");rvStop1.setAttribute(\"stop-color\",isDarkMode?\"#ffffff\":\"#6666aa\");rvStop1.setAttribute(\"stop-opacity\",\"0\");const rvStop2=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");rvStop2.setAttribute(\"offset\",\"50%\");rvStop2.setAttribute(\"stop-color\",isDarkMode?\"#ffffff\":\"#8888bb\");rvStop2.setAttribute(\"stop-opacity\",\"0.16\");const rvStop3=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");rvStop3.setAttribute(\"offset\",\"100%\");rvStop3.setAttribute(\"stop-color\",isDarkMode?\"#ffffff\":\"#6666aa\");rvStop3.setAttribute(\"stop-opacity\",\"0\");rightShimmerGradient.appendChild(rvStop1);rightShimmerGradient.appendChild(rvStop2);rightShimmerGradient.appendChild(rvStop3);defs.appendChild(rightShimmerGradient);// Create the right beam shimmer\nconst rightShimmer=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");rightShimmer.setAttribute(\"x\",(gridRight-1).toString());rightShimmer.setAttribute(\"y\",segment.start.toString());rightShimmer.setAttribute(\"width\",\"2\");rightShimmer.setAttribute(\"height\",\"60\");rightShimmer.setAttribute(\"fill\",`url(#${rightShimmerGradientId})`);rightShimmer.setAttribute(\"class\",\"grid-shimmer-beam\");rightShimmer.style.pointerEvents=\"none\";// Create clipping for this specific segment\nconst clipPathId=`rightBeamClip_${segIndex}_${Date.now()}`;const clipPath=document.createElementNS(\"http://www.w3.org/2000/svg\",\"clipPath\");clipPath.setAttribute(\"id\",clipPathId);const clipRect=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");clipRect.setAttribute(\"x\",(gridRight-2).toString());clipRect.setAttribute(\"y\",segment.start.toString());clipRect.setAttribute(\"width\",\"4\");clipRect.setAttribute(\"height\",(segment.end-segment.start).toString());clipPath.appendChild(clipRect);defs.appendChild(clipPath);rightShimmer.setAttribute(\"clip-path\",`url(#${clipPathId})`);// Use the same animation created for left beam but with different timing\nconst segmentAnimId=segmentAnimIds[segIndex];rightShimmer.style.animation=`${segmentAnimId} 12s ease-in-out infinite`;rightShimmer.style.animationDelay=`-${Math.random()*12}s`;svg.appendChild(rightShimmer);}// Close the if block for right beam\n});}// Draw horizontal line segments with more extreme gradient masking\nhorizontalLinePositions.forEach((yPos,index)=>{// On mobile, draw simple full-width lines without fading but WITH shimmer\nif(isMobile){// Draw simple horizontal line across the full width\nconst horizontalLine=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");horizontalLine.setAttribute(\"x\",\"0\");horizontalLine.setAttribute(\"y\",(yPos-.5).toString());horizontalLine.setAttribute(\"width\",containerWidth.toString());horizontalLine.setAttribute(\"height\",\"1\");horizontalLine.setAttribute(\"fill\",lineColor);horizontalLine.style.opacity=horizontalLineOpacity;svg.appendChild(horizontalLine);// Add horizontal shimmer beam for mobile\nconst horizontalShimmer=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");horizontalShimmer.setAttribute(\"x\",\"0\");horizontalShimmer.setAttribute(\"y\",(yPos-1).toString());horizontalShimmer.setAttribute(\"width\",\"60\");horizontalShimmer.setAttribute(\"height\",\"2\");// Create horizontal shimmer gradient for mobile\nconst hShimmerGradientId=`hShimmerMobile_${yPos}`;const hShimmerGradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");hShimmerGradient.setAttribute(\"id\",hShimmerGradientId);hShimmerGradient.setAttribute(\"x1\",\"0%\");hShimmerGradient.setAttribute(\"y1\",\"0%\");hShimmerGradient.setAttribute(\"x2\",\"100%\");hShimmerGradient.setAttribute(\"y2\",\"0%\");const hShimmerStop1=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");hShimmerStop1.setAttribute(\"offset\",\"0%\");hShimmerStop1.setAttribute(\"stop-color\",lineColor);hShimmerStop1.setAttribute(\"stop-opacity\",\"0\");const hShimmerStop2=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");hShimmerStop2.setAttribute(\"offset\",\"50%\");hShimmerStop2.setAttribute(\"stop-color\",isDarkMode?\"#ffffff\":\"#8888bb\");hShimmerStop2.setAttribute(\"stop-opacity\",\"0.16\");const hShimmerStop3=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");hShimmerStop3.setAttribute(\"offset\",\"100%\");hShimmerStop3.setAttribute(\"stop-color\",lineColor);hShimmerStop3.setAttribute(\"stop-opacity\",\"0\");hShimmerGradient.appendChild(hShimmerStop1);hShimmerGradient.appendChild(hShimmerStop2);hShimmerGradient.appendChild(hShimmerStop3);// Add gradient to defs\nlet defs=svg.querySelector(\"defs\");if(!defs){defs=document.createElementNS(\"http://www.w3.org/2000/svg\",\"defs\");svg.appendChild(defs);}defs.appendChild(hShimmerGradient);horizontalShimmer.setAttribute(\"fill\",`url(#${hShimmerGradientId})`);horizontalShimmer.setAttribute(\"class\",\"grid-shimmer-beam\");horizontalShimmer.style.pointerEvents=\"none\";// Randomly show horizontal beam (75% chance per line)\nif(Math.random()>.25){horizontalShimmer.style.animation=`horizontalBeamMobile 12s ease-in-out infinite`;horizontalShimmer.style.animationDelay=`-${Math.random()*12}s`;svg.appendChild(horizontalShimmer);}// Add horizontal beam animation style for mobile (full width)\nif(!document.head.querySelector(\"#horizontalBeamMobileStyle\")){const hBeamStyle=document.createElement(\"style\");hBeamStyle.id=\"horizontalBeamMobileStyle\";hBeamStyle.textContent=`\n                                @keyframes horizontalBeamMobile {\n                                    0% {\n                                        transform: translateX(-80px);\n                                        opacity: 0;\n                                    }\n                                    8% {\n                                        opacity: 0;\n                                    }\n                                    20% {\n                                        opacity: 1;\n                                    }\n                                    80% {\n                                        opacity: 1;\n                                    }\n                                    92% {\n                                        opacity: 0;\n                                    }\n                                    100% {\n                                        transform: translateX(${containerWidth+80}px);\n                                        opacity: 0;\n                                    }\n                                }\n                            `;document.head.appendChild(hBeamStyle);}return;// Skip the rest of the desktop logic for this line\n}// Desktop logic: Create unique gradient for this line with more extreme masking\nconst gradientId=`fadeH_${yPos}`;const gradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");gradient.setAttribute(\"id\",gradientId);gradient.setAttribute(\"x1\",\"0%\");gradient.setAttribute(\"y1\",\"0%\");gradient.setAttribute(\"x2\",\"100%\");gradient.setAttribute(\"y2\",\"0%\");// Tighter gradient stops - fade happens closer to plus signs\nconst stop1=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stop1.setAttribute(\"offset\",\"0%\");stop1.setAttribute(\"stop-color\",lineColor);stop1.setAttribute(\"stop-opacity\",\"0\");const stop2=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stop2.setAttribute(\"offset\",\"4%\");stop2.setAttribute(\"stop-color\",lineColor);stop2.setAttribute(\"stop-opacity\",\"0.2\");const stop3=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stop3.setAttribute(\"offset\",\"7%\");stop3.setAttribute(\"stop-color\",lineColor);stop3.setAttribute(\"stop-opacity\",\"0.6\");const stop4=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stop4.setAttribute(\"offset\",\"10%\");stop4.setAttribute(\"stop-color\",lineColor);stop4.setAttribute(\"stop-opacity\",\"1\");const stop5=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stop5.setAttribute(\"offset\",\"90%\");stop5.setAttribute(\"stop-color\",lineColor);stop5.setAttribute(\"stop-opacity\",\"1\");const stop6=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stop6.setAttribute(\"offset\",\"93%\");stop6.setAttribute(\"stop-color\",lineColor);stop6.setAttribute(\"stop-opacity\",\"0.6\");const stop7=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stop7.setAttribute(\"offset\",\"96%\");stop7.setAttribute(\"stop-color\",lineColor);stop7.setAttribute(\"stop-opacity\",\"0.2\");const stop8=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stop8.setAttribute(\"offset\",\"100%\");stop8.setAttribute(\"stop-color\",lineColor);stop8.setAttribute(\"stop-opacity\",\"0\");gradient.appendChild(stop1);gradient.appendChild(stop2);gradient.appendChild(stop3);gradient.appendChild(stop4);gradient.appendChild(stop5);gradient.appendChild(stop6);gradient.appendChild(stop7);gradient.appendChild(stop8);// Add gradient to defs\nlet defs=svg.querySelector(\"defs\");if(!defs){defs=document.createElementNS(\"http://www.w3.org/2000/svg\",\"defs\");svg.appendChild(defs);}defs.appendChild(gradient);// Draw horizontal line segments with masking around plus signs\n// Left segment (from edge to left plus) - only if there's enough space\nif(gridLeft>50){const leftSegment=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");leftSegment.setAttribute(\"x\",\"0\");leftSegment.setAttribute(\"y\",(yPos-.5).toString());leftSegment.setAttribute(\"width\",(gridLeft-50).toString());leftSegment.setAttribute(\"height\",\"1\");leftSegment.setAttribute(\"fill\",`url(#${gradientId})`);leftSegment.style.opacity=horizontalLineOpacity;svg.appendChild(leftSegment);}// Middle segment (between plus signs) with gradient on both ends\nconst middleGradientId=`fadeH_middle_${yPos}`;const middleGradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");middleGradient.setAttribute(\"id\",middleGradientId);middleGradient.setAttribute(\"x1\",\"0%\");middleGradient.setAttribute(\"y1\",\"0%\");middleGradient.setAttribute(\"x2\",\"100%\");middleGradient.setAttribute(\"y2\",\"0%\");// Gradient that fades in from left and out to right (matching outer segments)\nconst mStop1=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");mStop1.setAttribute(\"offset\",\"0%\");mStop1.setAttribute(\"stop-color\",lineColor);mStop1.setAttribute(\"stop-opacity\",\"0\");const mStop2=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");mStop2.setAttribute(\"offset\",\"2.5%\");mStop2.setAttribute(\"stop-color\",lineColor);mStop2.setAttribute(\"stop-opacity\",\"0.4\");const mStop3=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");mStop3.setAttribute(\"offset\",\"5%\");mStop3.setAttribute(\"stop-color\",lineColor);mStop3.setAttribute(\"stop-opacity\",\"0.7\");const mStop4=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");mStop4.setAttribute(\"offset\",\"7.5%\");mStop4.setAttribute(\"stop-color\",lineColor);mStop4.setAttribute(\"stop-opacity\",\"1\");const mStop5=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");mStop5.setAttribute(\"offset\",\"92.5%\");mStop5.setAttribute(\"stop-color\",lineColor);mStop5.setAttribute(\"stop-opacity\",\"1\");const mStop6=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");mStop6.setAttribute(\"offset\",\"95%\");mStop6.setAttribute(\"stop-color\",lineColor);mStop6.setAttribute(\"stop-opacity\",\"0.7\");const mStop7=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");mStop7.setAttribute(\"offset\",\"97.5%\");mStop7.setAttribute(\"stop-color\",lineColor);mStop7.setAttribute(\"stop-opacity\",\"0.4\");const mStop8=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");mStop8.setAttribute(\"offset\",\"100%\");mStop8.setAttribute(\"stop-color\",lineColor);mStop8.setAttribute(\"stop-opacity\",\"0\");middleGradient.appendChild(mStop1);middleGradient.appendChild(mStop2);middleGradient.appendChild(mStop3);middleGradient.appendChild(mStop4);middleGradient.appendChild(mStop5);middleGradient.appendChild(mStop6);middleGradient.appendChild(mStop7);middleGradient.appendChild(mStop8);defs.appendChild(middleGradient);const middleSegment=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");middleSegment.setAttribute(\"x\",(gridLeft+50).toString());middleSegment.setAttribute(\"y\",(yPos-.5).toString());middleSegment.setAttribute(\"width\",(gridRight-gridLeft-100).toString());middleSegment.setAttribute(\"height\",\"1\");middleSegment.setAttribute(\"fill\",`url(#${middleGradientId})`);middleSegment.style.opacity=horizontalLineOpacity;svg.appendChild(middleSegment);// Add subtle horizontal shimmer beam\nconst horizontalShimmer=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");horizontalShimmer.setAttribute(\"x\",gridLeft.toString());horizontalShimmer.setAttribute(\"y\",(yPos-1).toString());horizontalShimmer.setAttribute(\"width\",\"60\");horizontalShimmer.setAttribute(\"height\",\"2\");// Create horizontal shimmer gradient\nconst hShimmerGradientId=`hShimmer_${yPos}`;const hShimmerGradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");hShimmerGradient.setAttribute(\"id\",hShimmerGradientId);hShimmerGradient.setAttribute(\"x1\",\"0%\");hShimmerGradient.setAttribute(\"y1\",\"0%\");hShimmerGradient.setAttribute(\"x2\",\"100%\");hShimmerGradient.setAttribute(\"y2\",\"0%\");const hShimmerStop1=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");hShimmerStop1.setAttribute(\"offset\",\"0%\");hShimmerStop1.setAttribute(\"stop-color\",lineColor);hShimmerStop1.setAttribute(\"stop-opacity\",\"0\");const hShimmerStop2=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");hShimmerStop2.setAttribute(\"offset\",\"50%\");hShimmerStop2.setAttribute(\"stop-color\",isDarkMode?\"#ffffff\":\"#8888bb\");hShimmerStop2.setAttribute(\"stop-opacity\",\"0.16\");const hShimmerStop3=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");hShimmerStop3.setAttribute(\"offset\",\"100%\");hShimmerStop3.setAttribute(\"stop-color\",lineColor);hShimmerStop3.setAttribute(\"stop-opacity\",\"0\");hShimmerGradient.appendChild(hShimmerStop1);hShimmerGradient.appendChild(hShimmerStop2);hShimmerGradient.appendChild(hShimmerStop3);defs.appendChild(hShimmerGradient);horizontalShimmer.setAttribute(\"fill\",`url(#${hShimmerGradientId})`);horizontalShimmer.setAttribute(\"class\",\"grid-shimmer-beam\");horizontalShimmer.style.pointerEvents=\"none\";// Randomly show horizontal beam (75% chance per line)\nif(Math.random()>.25){horizontalShimmer.style.animation=`horizontalBeam 12s ease-in-out infinite`;horizontalShimmer.style.animationDelay=`-${Math.random()*12}s`;svg.appendChild(horizontalShimmer);}// Add horizontal beam animation style\nif(!document.head.querySelector(\"#horizontalBeamStyle\")){const hBeamStyle=document.createElement(\"style\");hBeamStyle.id=\"horizontalBeamStyle\";hBeamStyle.textContent=`\n                            @keyframes horizontalBeam {\n                                0% { \n                                    transform: translateX(-80px); \n                                    opacity: 0;\n                                }\n                                8% { \n                                    opacity: 0;\n                                }\n                                20% { \n                                    opacity: 1;\n                                }\n                                80% { \n                                    opacity: 1;\n                                }\n                                92% { \n                                    opacity: 0;\n                                }\n                                100% { \n                                    transform: translateX(${gridRight-gridLeft+80}px); \n                                    opacity: 0;\n                                }\n                            }\n                        `;document.head.appendChild(hBeamStyle);}// Right segment (from right plus to edge)\nconst rightGradientId=`fadeH_right_${yPos}`;const rightGradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");rightGradient.setAttribute(\"id\",rightGradientId);rightGradient.setAttribute(\"x1\",\"0%\");rightGradient.setAttribute(\"y1\",\"0%\");rightGradient.setAttribute(\"x2\",\"100%\");rightGradient.setAttribute(\"y2\",\"0%\");// Mirror gradient for right side (matching left side fade)\nconst rStop1=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");rStop1.setAttribute(\"offset\",\"0%\");rStop1.setAttribute(\"stop-color\",lineColor);rStop1.setAttribute(\"stop-opacity\",\"0\");const rStop2=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");rStop2.setAttribute(\"offset\",\"4%\");rStop2.setAttribute(\"stop-color\",lineColor);rStop2.setAttribute(\"stop-opacity\",\"0.2\");const rStop3=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");rStop3.setAttribute(\"offset\",\"7%\");rStop3.setAttribute(\"stop-color\",lineColor);rStop3.setAttribute(\"stop-opacity\",\"0.6\");const rStop4=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");rStop4.setAttribute(\"offset\",\"10%\");rStop4.setAttribute(\"stop-color\",lineColor);rStop4.setAttribute(\"stop-opacity\",\"1\");rightGradient.appendChild(rStop1);rightGradient.appendChild(rStop2);rightGradient.appendChild(rStop3);rightGradient.appendChild(rStop4);defs.appendChild(rightGradient);if(containerWidth-gridRight>50){const rightSegment=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");rightSegment.setAttribute(\"x\",(gridRight+50).toString());rightSegment.setAttribute(\"y\",(yPos-.5).toString());rightSegment.setAttribute(\"width\",(containerWidth-gridRight-50).toString());rightSegment.setAttribute(\"height\",\"1\");rightSegment.setAttribute(\"fill\",`url(#${rightGradientId})`);rightSegment.style.opacity=horizontalLineOpacity;svg.appendChild(rightSegment);}// Add plus signs at intersections (only on desktop)\nif(!isMobile){const leftPlus=createPlusSign(gridLeft,yPos);const rightPlus=createPlusSign(gridRight,yPos);// Add subtle pulse animation to plus signs (30% chance)\nif(Math.random()>.7){leftPlus.style.animation=\"gridShimmer 8s ease-in-out infinite\";leftPlus.style.animationDelay=`-${Math.random()*8}s`;}if(Math.random()>.7){rightPlus.style.animation=\"gridShimmer 8s ease-in-out infinite\";rightPlus.style.animationDelay=`-${Math.random()*8}s`;}svg.appendChild(leftPlus);svg.appendChild(rightPlus);}});gridOverlay.appendChild(svg);// Apply styles to grid overlay\ngridOverlay.style.cssText=`\n                    position: absolute;\n                    top: 0;\n                    left: 0;\n                    width: 100%;\n                    height: 100%;\n                    pointer-events: none;\n                    z-index: 0;\n                    opacity: 1;\n                `;// Add grid to container if not present\nif(!container.contains(gridOverlay)){// Insert as first child\nif(container.firstChild){container.insertBefore(gridOverlay,container.firstChild);}else{container.appendChild(gridOverlay);}}// Ensure all non-grid children have higher z-index\nArray.from(container.children).forEach(child=>{if(child!==gridOverlay&&!child.classList.contains(\"calcom-grid-overlay\")){const element=child;if(!element.style.zIndex||parseInt(element.style.zIndex)<1){element.style.zIndex=\"1\";}// Ensure proper positioning for z-index\nconst computedStyle=window.getComputedStyle(element);if(computedStyle.position===\"static\"){element.style.position=\"relative\";}}});};// Ensure container has proper positioning\nif(!container.style.position||container.style.position===\"static\"){container.style.position=\"relative\";}// Initial grid creation\ncreateGrid();// Check for grid periodically to handle Framer optimization\nconst checkAndRestoreGrid=()=>{const existingGrid=container.querySelector(\".calcom-grid-overlay\");if(!existingGrid){createGrid();}};// Check every 500ms for the first 10 seconds after mount\ngridCheckInterval.current=setInterval(()=>{checkAndRestoreGrid();},500);// Stop checking after 10 seconds to avoid performance issues\nsetTimeout(()=>{if(gridCheckInterval.current){clearInterval(gridCheckInterval.current);gridCheckInterval.current=null;}},1e4);// Debounced grid recreation on resize to prevent stutter during animations\nconst resizeObserver=new ResizeObserver(entries=>{// Cancel any pending animation frame\nif(animationFrameRequest.current){cancelAnimationFrame(animationFrameRequest.current);animationFrameRequest.current=null;}// Clear existing debounce timer\nif(resizeDebounceTimer.current){clearTimeout(resizeDebounceTimer.current);}// Check if we're on mobile - if so, use immediate updates\nconst isMobile=window.innerWidth<=810;// On mobile or for significant size changes, update immediately\n// On desktop, debounce to prevent animation stutter\nif(isMobile){createGrid();}else{// Debounce grid updates on desktop to prevent stutter during animations\nresizeDebounceTimer.current=setTimeout(()=>{animationFrameRequest.current=requestAnimationFrame(()=>{createGrid();animationFrameRequest.current=null;});resizeDebounceTimer.current=null;},150)// Delay long enough for most animations to complete\n;}});resizeObserver.observe(container);// Handle window resize for breakpoint changes\nconst handleResize=()=>{requestAnimationFrame(()=>{createGrid();});};window.addEventListener(\"resize\",handleResize,{passive:true});// Listen for visibility changes (Framer optimization often happens on tab switch)\nconst handleVisibilityChange=()=>{if(!document.hidden){setTimeout(()=>{checkAndRestoreGrid();},100);}};document.addEventListener(\"visibilitychange\",handleVisibilityChange,{passive:true});// Add MutationObserver to detect grid removal with debouncing\nconst mutationObserver=new MutationObserver(mutations=>{let gridRemoved=false;mutations.forEach(mutation=>{if(mutation.type===\"childList\"){mutation.removedNodes.forEach(node=>{if(node instanceof HTMLElement&&node.classList.contains(\"calcom-grid-overlay\")){gridRemoved=true;}});}});if(gridRemoved||!container.querySelector(\".calcom-grid-overlay\")){// Only recreate if not already scheduled and not on mobile\nconst isMobile=window.innerWidth<=810;if(!resizeDebounceTimer.current||isMobile||gridRemoved){requestAnimationFrame(()=>{createGrid();});}}});mutationObserver.observe(container,{childList:true,subtree:false});// Handle dark/light mode changes\nconst darkModeMediaQuery=window.matchMedia(\"(prefers-color-scheme: dark)\");const handleColorSchemeChange=()=>{createGrid();};// Add listener for color scheme changes\nif(darkModeMediaQuery.addEventListener){darkModeMediaQuery.addEventListener(\"change\",handleColorSchemeChange,{passive:true});}else{// Fallback for older browsers\ndarkModeMediaQuery.addListener(handleColorSchemeChange);}// Cleanup\nreturn()=>{if(gridCheckInterval.current){clearInterval(gridCheckInterval.current);}if(resizeDebounceTimer.current){clearTimeout(resizeDebounceTimer.current);}if(animationFrameRequest.current){cancelAnimationFrame(animationFrameRequest.current);}resizeObserver.disconnect();mutationObserver.disconnect();window.removeEventListener(\"resize\",handleResize);document.removeEventListener(\"visibilitychange\",handleVisibilityChange);// Remove color scheme listener\nif(darkModeMediaQuery.removeEventListener){darkModeMediaQuery.removeEventListener(\"change\",handleColorSchemeChange);}else{darkModeMediaQuery.removeListener(handleColorSchemeChange);}// Clean up grid overlay\nconst overlay=container.querySelector(\".calcom-grid-overlay\");if(overlay){overlay.remove();}};},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:containerRef});};}// This version shows vertical grid lines and plus signs on ALL devices including mobile\n// NOTE: Mobile modifications - vertical lines always drawn, plus signs always shown\n// FIXED: Plus signs now appear on mobile devices too\nexport function withCalcomGridAllDevices(Component){return props=>{const containerRef=useRef(null);const gridCheckInterval=useRef(null);const resizeDebounceTimer=useRef(null);const animationFrameRequest=useRef(null);useEffect(()=>{if(!containerRef.current)return;const container=containerRef.current;let gridOverlay=null;// Determine max width based on viewport\nconst getMaxWidth=()=>{const width=window.innerWidth;if(width>=1024)return 1e3// Desktop\n;if(width>=768)return 800// Tablet\n;return 400// Phone\n;};// Function to get or create grid overlay\nconst getOrCreateGridOverlay=()=>{let overlay=container.querySelector(\".calcom-grid-overlay\");if(!overlay){overlay=document.createElement(\"div\");overlay.className=\"calcom-grid-overlay\";overlay.setAttribute(\"data-framer-preserve\",\"true\");overlay.setAttribute(\"data-grid\",\"true\");}return overlay;};const createGrid=()=>{if(!container||!container.offsetWidth||!container.offsetHeight)return;gridOverlay=getOrCreateGridOverlay();const maxWidth=getMaxWidth();const containerWidth=container.offsetWidth;const containerHeight=container.offsetHeight;const centerX=containerWidth/2;// Clear existing grid content efficiently\nwhile(gridOverlay.firstChild){gridOverlay.removeChild(gridOverlay.firstChild);}// Calculate grid boundaries - ensure they're within container bounds\nconst gridLeft=Math.max(0,centerX-maxWidth/2);const gridRight=Math.min(containerWidth,centerX+maxWidth/2);// Find all direct child sections (excluding the grid overlay)\nconst sections=Array.from(container.children).filter(child=>child!==gridOverlay&&!child.classList.contains(\"calcom-grid-overlay\")&&child.offsetHeight>0);// Check if sections have exclusion attributes - batch DOM reads\nconst containerRect=container.getBoundingClientRect();const sectionData=sections.map((section,index)=>({element:section,index,isExcluded:section.hasAttribute(\"data-grid-exclude\"),rect:section.getBoundingClientRect(),containerRect}));// Check if the first section is excluded (for top fade logic)\nconst isTopSectionExcluded=sectionData.length>0&&sectionData[0].isExcluded;// Detect dark mode - Balanced colors for optimal visibility\nconst isDarkMode=window.matchMedia&&window.matchMedia(\"(prefers-color-scheme: dark)\").matches;const lineColor=isDarkMode?\"#3F3F46\":\"#D4D4D8\";const lineOpacity=isDarkMode?\"0.3\":\"0.6\";const horizontalLineOpacity=isDarkMode?\"0.6\":\"0.75\";// Create SVG for lines\nconst svg=document.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\");svg.style.cssText=`\n                    position: absolute;\n                    top: 0;\n                    left: 0;\n                    width: 100%;\n                    height: 100%;\n                    pointer-events: none;\n                    z-index: 0;\n                    opacity: 1;\n                    transform: translateZ(0);\n                `;svg.setAttribute(\"width\",containerWidth.toString());svg.setAttribute(\"height\",containerHeight.toString());// Subtle animation keyframes - Apple-like refinement\nconst style=document.createElement(\"style\");style.textContent=`\n                    @keyframes gridShimmer {\n                        0% { opacity: 0; transform: translateZ(0); }\n                        50% { opacity: 0.15; transform: translateZ(0); }\n                        100% { opacity: 0; transform: translateZ(0); }\n                    }\n                    @keyframes gridBeamVertical {\n                        0% {\n                            transform: translate3d(0, -100px, 0);\n                            opacity: 0;\n                        }\n                        10% {\n                            opacity: 0;\n                        }\n                        25% {\n                            opacity: 1;\n                        }\n                        75% {\n                            opacity: 1;\n                        }\n                        90% {\n                            opacity: 0;\n                        }\n                        100% {\n                            transform: translate3d(0, ${containerHeight+100}px, 0);\n                            opacity: 0;\n                        }\n                    }\n                    .grid-shimmer-beam {\n                        mix-blend-mode: plus-lighter;\n                        filter: blur(0.5px);\n                        opacity: 0.8;\n                        will-change: transform, opacity;\n                        backface-visibility: hidden;\n                    }\n                    /* Ensure grid overlay always stays behind content */\n                    .calcom-grid-overlay {\n                        z-index: 0 !important;\n                        position: absolute !important;\n                        pointer-events: none !important;\n                        mix-blend-mode: normal !important;\n                        opacity: 1 !important;\n                        will-change: transform;\n                    }\n                    .calcom-grid-overlay svg {\n                        z-index: 0 !important;\n                    }\n                `;if(!document.head.querySelector(\"#gridAnimationStyles\")){style.id=\"gridAnimationStyles\";document.head.appendChild(style);}// Function to create plus sign\nconst createPlusSign=(x,y)=>{const group=document.createElementNS(\"http://www.w3.org/2000/svg\",\"g\");// Horizontal line of plus\nconst hLine=document.createElementNS(\"http://www.w3.org/2000/svg\",\"line\");hLine.setAttribute(\"x1\",(x-4).toString());hLine.setAttribute(\"y1\",y.toString());hLine.setAttribute(\"x2\",(x+4).toString());hLine.setAttribute(\"y2\",y.toString());hLine.setAttribute(\"stroke\",lineColor);hLine.setAttribute(\"stroke-opacity\",lineOpacity);hLine.setAttribute(\"stroke-width\",\"1.5\");hLine.setAttribute(\"stroke-linecap\",\"round\");// Vertical line of plus\nconst vLine=document.createElementNS(\"http://www.w3.org/2000/svg\",\"line\");vLine.setAttribute(\"x1\",x.toString());vLine.setAttribute(\"y1\",(y-4).toString());vLine.setAttribute(\"x2\",x.toString());vLine.setAttribute(\"y2\",(y+4).toString());vLine.setAttribute(\"stroke\",lineColor);vLine.setAttribute(\"stroke-opacity\",lineOpacity);vLine.setAttribute(\"stroke-width\",\"1.5\");vLine.setAttribute(\"stroke-linecap\",\"round\");group.appendChild(hLine);group.appendChild(vLine);return group;};// Collect all Y positions where we need horizontal lines (only between sections)\nconst horizontalLinePositions=[];if(sectionData.length>1){// Only add lines between sections, not at top or bottom\nfor(let i=0;i<sectionData.length-1;i++){const currentSection=sectionData[i];const nextSection=sectionData[i+1];// Only add horizontal line if:\n// - Current section is not excluded OR\n// - Next section is not excluded\nif(!currentSection.isExcluded||!nextSection.isExcluded){const sectionBottom=currentSection.rect.bottom-currentSection.containerRect.top;horizontalLinePositions.push(sectionBottom);}}}// Create vertical line gradients with extreme masking at top/bottom\nconst leftGradientId=\"fadeVerticalLeft\";const leftGradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");leftGradient.setAttribute(\"id\",leftGradientId);leftGradient.setAttribute(\"x1\",\"0%\");leftGradient.setAttribute(\"y1\",\"0%\");leftGradient.setAttribute(\"x2\",\"0%\");leftGradient.setAttribute(\"y2\",\"100%\");// Calculate gradient stops based on horizontal line positions\nconst gradientStops=[];// Fixed pixel distances for better control\nconst topFadeDistance=100// pixels\n;const bottomFadeDistance=120// pixels\n;const intersectionFadeDistance=20// pixels\n;// Apply top fade with adjusted opacity based on whether top section is excluded\nconst topFadePercent=topFadeDistance/containerHeight*100;if(isTopSectionExcluded){// Small fade at top when top section is excluded\ngradientStops.push({offset:0,opacity:\"0.7\"});gradientStops.push({offset:topFadePercent*.3,opacity:\"0.85\"});gradientStops.push({offset:topFadePercent*.6,opacity:\"0.95\"});gradientStops.push({offset:topFadePercent,opacity:\"1\"});}else{// Normal larger fade at top when top section is NOT excluded\ngradientStops.push({offset:0,opacity:\"0\"});gradientStops.push({offset:topFadePercent*.2,opacity:\"0.1\"});gradientStops.push({offset:topFadePercent*.5,opacity:\"0.4\"});gradientStops.push({offset:topFadePercent*.8,opacity:\"0.7\"});gradientStops.push({offset:topFadePercent,opacity:\"1\"});}// Add fading around each horizontal line (increased fade distance)\nhorizontalLinePositions.forEach(yPos=>{const offsetPercent=yPos/containerHeight*100;const fadePercent=intersectionFadeDistance*1.5/containerHeight*100// Increased fade distance\n;// Stronger fade around intersections\ngradientStops.push({offset:offsetPercent-fadePercent,opacity:\"1\"});gradientStops.push({offset:offsetPercent-fadePercent*.6,opacity:\"0.5\"});gradientStops.push({offset:offsetPercent-fadePercent*.3,opacity:\"0.15\"});gradientStops.push({offset:offsetPercent,opacity:\"0\"});gradientStops.push({offset:offsetPercent+fadePercent*.3,opacity:\"0.15\"});gradientStops.push({offset:offsetPercent+fadePercent*.6,opacity:\"0.5\"});gradientStops.push({offset:offsetPercent+fadePercent,opacity:\"1\"});});// Extreme fade at bottom (fixed pixel distance from bottom)\nconst bottomFadeStartPercent=(containerHeight-bottomFadeDistance)/containerHeight*100;gradientStops.push({offset:Math.max(50,bottomFadeStartPercent),opacity:\"1\"});gradientStops.push({offset:Math.max(50,bottomFadeStartPercent+(100-bottomFadeStartPercent)*.2),opacity:\"0.7\"});gradientStops.push({offset:Math.max(50,bottomFadeStartPercent+(100-bottomFadeStartPercent)*.4),opacity:\"0.5\"});gradientStops.push({offset:Math.max(50,bottomFadeStartPercent+(100-bottomFadeStartPercent)*.6),opacity:\"0.3\"});gradientStops.push({offset:Math.max(50,bottomFadeStartPercent+(100-bottomFadeStartPercent)*.8),opacity:\"0.15\"});gradientStops.push({offset:Math.max(50,bottomFadeStartPercent+(100-bottomFadeStartPercent)*.95),opacity:\"0.05\"});gradientStops.push({offset:100,opacity:\"0\"});// Add stops to gradient\ngradientStops.forEach((stop,index)=>{const stopEl=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stopEl.setAttribute(\"offset\",`${Math.max(0,Math.min(100,stop.offset))}%`);stopEl.setAttribute(\"stop-color\",lineColor);// Apply line opacity correctly - when stop opacity is 1, use lineOpacity, otherwise scale proportionally\nconst finalOpacity=parseFloat(stop.opacity)===1?lineOpacity:(parseFloat(stop.opacity)*parseFloat(lineOpacity)).toString();stopEl.setAttribute(\"stop-opacity\",finalOpacity);leftGradient.appendChild(stopEl);});// Add gradient to defs\nlet defs=svg.querySelector(\"defs\");if(!defs){defs=document.createElementNS(\"http://www.w3.org/2000/svg\",\"defs\");svg.appendChild(defs);}defs.appendChild(leftGradient);// Create shimmer gradient for animation\nconst shimmerGradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");shimmerGradient.setAttribute(\"id\",\"shimmerGradient\");shimmerGradient.setAttribute(\"x1\",\"0%\");shimmerGradient.setAttribute(\"y1\",\"0%\");shimmerGradient.setAttribute(\"x2\",\"0%\");shimmerGradient.setAttribute(\"y2\",\"100%\");const shimmerStop1=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");shimmerStop1.setAttribute(\"offset\",\"0%\");shimmerStop1.setAttribute(\"stop-color\",lineColor);shimmerStop1.setAttribute(\"stop-opacity\",\"0\");const shimmerStop2=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");shimmerStop2.setAttribute(\"offset\",\"20%\");shimmerStop2.setAttribute(\"stop-color\",lineColor);shimmerStop2.setAttribute(\"stop-opacity\",\"0.2\");const shimmerStop3=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");shimmerStop3.setAttribute(\"offset\",\"50%\");shimmerStop3.setAttribute(\"stop-color\",lineColor);shimmerStop3.setAttribute(\"stop-opacity\",\"0.4\");const shimmerStop4=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");shimmerStop4.setAttribute(\"offset\",\"80%\");shimmerStop4.setAttribute(\"stop-color\",lineColor);shimmerStop4.setAttribute(\"stop-opacity\",\"0.2\");const shimmerStop5=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");shimmerStop5.setAttribute(\"offset\",\"100%\");shimmerStop5.setAttribute(\"stop-color\",lineColor);shimmerStop5.setAttribute(\"stop-opacity\",\"0\");shimmerGradient.appendChild(shimmerStop1);shimmerGradient.appendChild(shimmerStop2);shimmerGradient.appendChild(shimmerStop3);shimmerGradient.appendChild(shimmerStop4);shimmerGradient.appendChild(shimmerStop5);defs.appendChild(shimmerGradient);// Create same gradient for right line\nconst rightGradient=leftGradient.cloneNode(true);rightGradient.setAttribute(\"id\",\"fadeVerticalRight\");defs.appendChild(rightGradient);// Create vertical line segments (excluding sections marked with data-grid-exclude)\n// IMPORTANT: No mobile check here - vertical lines will always be drawn with gradients\nconst verticalSegments=[];// Always create vertical segments regardless of device (including mobile)\nsectionData.forEach((section,index)=>{const sectionTop=section.rect.top-section.containerRect.top;const sectionBottom=section.rect.bottom-section.containerRect.top;if(!section.isExcluded){// Add segment for visible section\nverticalSegments.push({start:Math.max(0,sectionTop),end:Math.min(containerHeight,sectionBottom),isFirst:index===0,isLast:index===sectionData.length-1});}});// Draw vertical line segments\nif(verticalSegments.length===0){// If all sections are excluded, don't draw any vertical lines\n}else{// Draw segments for non-excluded sections with proper gradient\nverticalSegments.forEach((segment,segIndex)=>{// Create a segment-specific gradient that maps to the segment's position\nconst segmentGradientId=`segGradient_${segIndex}`;const segmentGradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");segmentGradient.setAttribute(\"id\",segmentGradientId);segmentGradient.setAttribute(\"x1\",\"0%\");segmentGradient.setAttribute(\"y1\",\"0%\");segmentGradient.setAttribute(\"x2\",\"0%\");segmentGradient.setAttribute(\"y2\",\"100%\");// Calculate the gradient stops for this specific segment\nconst segmentHeight=segment.end-segment.start;const segmentStops=[];// Map the main gradient stops to this segment's position\ngradientStops.forEach(stop=>{const absolutePosition=stop.offset/100*containerHeight;if(absolutePosition>=segment.start&&absolutePosition<=segment.end){// This stop falls within our segment\nconst relativePosition=(absolutePosition-segment.start)/segmentHeight*100;segmentStops.push({offset:relativePosition,opacity:stop.opacity});}});// Ensure we have start and end stops\nif(segmentStops.length===0||segmentStops[0].offset>0){// Find the opacity at segment start\nconst startPos=segment.start/containerHeight*100;let startOpacity=\"1\";for(let i=gradientStops.length-1;i>=0;i--){if(gradientStops[i].offset<=startPos){startOpacity=gradientStops[i].opacity;break;}}segmentStops.unshift({offset:0,opacity:startOpacity});}if(segmentStops[segmentStops.length-1].offset<100){// Find the opacity at segment end\nconst endPos=segment.end/containerHeight*100;let endOpacity=\"1\";for(let i=0;i<gradientStops.length;i++){if(gradientStops[i].offset>=endPos){endOpacity=gradientStops[i].opacity;break;}}segmentStops.push({offset:100,opacity:endOpacity});}// Add stops to segment gradient\nsegmentStops.forEach(stop=>{const stopEl=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stopEl.setAttribute(\"offset\",`${Math.max(0,Math.min(100,stop.offset))}%`);stopEl.setAttribute(\"stop-color\",lineColor);const finalOpacity=parseFloat(stop.opacity)===1?lineOpacity:(parseFloat(stop.opacity)*parseFloat(lineOpacity)).toString();stopEl.setAttribute(\"stop-opacity\",finalOpacity);segmentGradient.appendChild(stopEl);});defs.appendChild(segmentGradient);// Draw left line segment\nconst leftLine=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");leftLine.setAttribute(\"x\",(gridLeft-.5).toString());leftLine.setAttribute(\"y\",segment.start.toString());leftLine.setAttribute(\"width\",\"1\");leftLine.setAttribute(\"height\",segmentHeight.toString());leftLine.setAttribute(\"fill\",`url(#${segmentGradientId})`);svg.appendChild(leftLine);});}// Store animation IDs for reuse\nconst segmentAnimIds=[];// Decide which line gets beams for each segment (left or right, not both)\nconst segmentBeamSide=[];// Create vertical beam animations for each segment\nif(verticalSegments.length>0){verticalSegments.forEach((segment,segIndex)=>{// 75% chance of beam appearing, evenly distributed between left and right\nconst random=Math.random();if(random<.375){segmentBeamSide[segIndex]=\"left\";}else if(random<.75){segmentBeamSide[segIndex]=\"right\";}else{segmentBeamSide[segIndex]=\"none\";}});// Create unique animations for each vertical segment\nverticalSegments.forEach((segment,segIndex)=>{const segmentAnimId=`vertBeam_${segIndex}_${Date.now()}`;segmentAnimIds[segIndex]=segmentAnimId// Store for reuse\n;const segmentHeight=segment.end-segment.start;// Create segment-specific animation with shorter fade\nif(!document.head.querySelector(`#${segmentAnimId}`)){const segmentStyle=document.createElement(\"style\");segmentStyle.id=segmentAnimId;segmentStyle.textContent=`\n                                @keyframes ${segmentAnimId} {\n                                    0% {\n                                        transform: translate3d(0, -30px, 0);\n                                        opacity: 0;\n                                    }\n                                    8% {\n                                        opacity: 0;\n                                    }\n                                    15% {\n                                        opacity: 1;\n                                    }\n                                    70% {\n                                        opacity: 1;\n                                    }\n                                    85% {\n                                        opacity: 0;\n                                    }\n                                    100% {\n                                        transform: translate3d(0, ${segmentHeight+30}px, 0);\n                                        opacity: 0;\n                                    }\n                                }\n                            `;document.head.appendChild(segmentStyle);}// Create beams only if this segment should have one\nif(segmentBeamSide[segIndex]!==\"none\"){// Create shimmer gradient for this segment\nconst leftShimmerGradientId=`leftVerticalShimmer_${segIndex}`;const leftShimmerGradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");leftShimmerGradient.setAttribute(\"id\",leftShimmerGradientId);leftShimmerGradient.setAttribute(\"x1\",\"0%\");leftShimmerGradient.setAttribute(\"y1\",\"0%\");leftShimmerGradient.setAttribute(\"x2\",\"0%\");leftShimmerGradient.setAttribute(\"y2\",\"100%\");const lvStop1=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");lvStop1.setAttribute(\"offset\",\"0%\");lvStop1.setAttribute(\"stop-color\",isDarkMode?\"#ffffff\":\"#6666aa\");lvStop1.setAttribute(\"stop-opacity\",\"0\");const lvStop2=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");lvStop2.setAttribute(\"offset\",\"50%\");lvStop2.setAttribute(\"stop-color\",isDarkMode?\"#ffffff\":\"#8888bb\");lvStop2.setAttribute(\"stop-opacity\",\"0.16\");const lvStop3=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");lvStop3.setAttribute(\"offset\",\"100%\");lvStop3.setAttribute(\"stop-color\",isDarkMode?\"#ffffff\":\"#6666aa\");lvStop3.setAttribute(\"stop-opacity\",\"0\");leftShimmerGradient.appendChild(lvStop1);leftShimmerGradient.appendChild(lvStop2);leftShimmerGradient.appendChild(lvStop3);defs.appendChild(leftShimmerGradient);// Create left beam for this segment if it's assigned to left\nif(segmentBeamSide[segIndex]===\"left\"){const leftShimmer=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");leftShimmer.setAttribute(\"x\",(gridLeft-1).toString());leftShimmer.setAttribute(\"y\",segment.start.toString());leftShimmer.setAttribute(\"width\",\"2\");leftShimmer.setAttribute(\"height\",\"60\");leftShimmer.setAttribute(\"fill\",`url(#${leftShimmerGradientId})`);leftShimmer.setAttribute(\"class\",\"grid-shimmer-beam\");leftShimmer.style.pointerEvents=\"none\";// Create clipping for this specific segment\nconst clipPathId=`leftBeamClip_${segIndex}_${Date.now()}`;const clipPath=document.createElementNS(\"http://www.w3.org/2000/svg\",\"clipPath\");clipPath.setAttribute(\"id\",clipPathId);const clipRect=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");clipRect.setAttribute(\"x\",(gridLeft-2).toString());clipRect.setAttribute(\"y\",segment.start.toString());clipRect.setAttribute(\"width\",\"4\");clipRect.setAttribute(\"height\",segmentHeight.toString());clipPath.appendChild(clipRect);defs.appendChild(clipPath);leftShimmer.setAttribute(\"clip-path\",`url(#${clipPathId})`);leftShimmer.style.animation=`${segmentAnimId} 12s ease-in-out infinite`;leftShimmer.style.animationDelay=`-${Math.random()*12}s`;svg.appendChild(leftShimmer);}}// Close the if block for beam creation\n});}// Draw right vertical line segments (same logic as left)\n// No mobile check - always draw vertical lines\nif(verticalSegments.length>0){verticalSegments.forEach((segment,segIndex)=>{// Use the same gradient as left side (already created)\nconst segmentGradientId=`segGradient_${segIndex}`;// Draw right line segment\nconst rightLine=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");rightLine.setAttribute(\"x\",(gridRight-.5).toString());rightLine.setAttribute(\"y\",segment.start.toString());rightLine.setAttribute(\"width\",\"1\");rightLine.setAttribute(\"height\",(segment.end-segment.start).toString());rightLine.setAttribute(\"fill\",`url(#${segmentGradientId})`);svg.appendChild(rightLine);// Create right beam only if assigned\nif(segmentBeamSide&&segmentBeamSide[segIndex]===\"right\"){// Create right beam for this segment using same animation\nconst rightShimmerGradientId=`rightVerticalShimmer_${segIndex}`;const rightShimmerGradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");rightShimmerGradient.setAttribute(\"id\",rightShimmerGradientId);rightShimmerGradient.setAttribute(\"x1\",\"0%\");rightShimmerGradient.setAttribute(\"y1\",\"0%\");rightShimmerGradient.setAttribute(\"x2\",\"0%\");rightShimmerGradient.setAttribute(\"y2\",\"100%\");const rvStop1=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");rvStop1.setAttribute(\"offset\",\"0%\");rvStop1.setAttribute(\"stop-color\",isDarkMode?\"#ffffff\":\"#6666aa\");rvStop1.setAttribute(\"stop-opacity\",\"0\");const rvStop2=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");rvStop2.setAttribute(\"offset\",\"50%\");rvStop2.setAttribute(\"stop-color\",isDarkMode?\"#ffffff\":\"#8888bb\");rvStop2.setAttribute(\"stop-opacity\",\"0.16\");const rvStop3=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");rvStop3.setAttribute(\"offset\",\"100%\");rvStop3.setAttribute(\"stop-color\",isDarkMode?\"#ffffff\":\"#6666aa\");rvStop3.setAttribute(\"stop-opacity\",\"0\");rightShimmerGradient.appendChild(rvStop1);rightShimmerGradient.appendChild(rvStop2);rightShimmerGradient.appendChild(rvStop3);defs.appendChild(rightShimmerGradient);// Create the right beam shimmer\nconst rightShimmer=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");rightShimmer.setAttribute(\"x\",(gridRight-1).toString());rightShimmer.setAttribute(\"y\",segment.start.toString());rightShimmer.setAttribute(\"width\",\"2\");rightShimmer.setAttribute(\"height\",\"60\");rightShimmer.setAttribute(\"fill\",`url(#${rightShimmerGradientId})`);rightShimmer.setAttribute(\"class\",\"grid-shimmer-beam\");rightShimmer.style.pointerEvents=\"none\";// Create clipping for this specific segment\nconst clipPathId=`rightBeamClip_${segIndex}_${Date.now()}`;const clipPath=document.createElementNS(\"http://www.w3.org/2000/svg\",\"clipPath\");clipPath.setAttribute(\"id\",clipPathId);const clipRect=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");clipRect.setAttribute(\"x\",(gridRight-2).toString());clipRect.setAttribute(\"y\",segment.start.toString());clipRect.setAttribute(\"width\",\"4\");clipRect.setAttribute(\"height\",(segment.end-segment.start).toString());clipPath.appendChild(clipRect);defs.appendChild(clipPath);rightShimmer.setAttribute(\"clip-path\",`url(#${clipPathId})`);// Use the same animation created for left beam but with different timing\nconst segmentAnimId=segmentAnimIds[segIndex];rightShimmer.style.animation=`${segmentAnimId} 12s ease-in-out infinite`;rightShimmer.style.animationDelay=`-${Math.random()*12}s`;svg.appendChild(rightShimmer);}// Close the if block for right beam\n});}// Draw horizontal line segments with more extreme gradient masking\n// For withCalcomGridAllDevices: Always use desktop rendering (never use mobile-specific code)\nconst isMobile=false// Always false in AllDevices version to use desktop rendering on all devices\n;horizontalLinePositions.forEach((yPos,index)=>{// On mobile, draw simple full-width lines without fading but WITH shimmer\nif(isMobile){// This will never execute in AllDevices version\n// Draw simple horizontal line across the full width\nconst horizontalLine=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");horizontalLine.setAttribute(\"x\",\"0\");horizontalLine.setAttribute(\"y\",(yPos-.5).toString());horizontalLine.setAttribute(\"width\",containerWidth.toString());horizontalLine.setAttribute(\"height\",\"1\");horizontalLine.setAttribute(\"fill\",lineColor);horizontalLine.style.opacity=horizontalLineOpacity;svg.appendChild(horizontalLine);// Add horizontal shimmer beam for mobile\nconst horizontalShimmer=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");horizontalShimmer.setAttribute(\"x\",\"0\");horizontalShimmer.setAttribute(\"y\",(yPos-1).toString());horizontalShimmer.setAttribute(\"width\",\"60\");horizontalShimmer.setAttribute(\"height\",\"2\");// Create horizontal shimmer gradient for mobile\nconst hShimmerGradientId=`hShimmerMobile_${yPos}`;const hShimmerGradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");hShimmerGradient.setAttribute(\"id\",hShimmerGradientId);hShimmerGradient.setAttribute(\"x1\",\"0%\");hShimmerGradient.setAttribute(\"y1\",\"0%\");hShimmerGradient.setAttribute(\"x2\",\"100%\");hShimmerGradient.setAttribute(\"y2\",\"0%\");const hShimmerStop1=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");hShimmerStop1.setAttribute(\"offset\",\"0%\");hShimmerStop1.setAttribute(\"stop-color\",lineColor);hShimmerStop1.setAttribute(\"stop-opacity\",\"0\");const hShimmerStop2=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");hShimmerStop2.setAttribute(\"offset\",\"50%\");hShimmerStop2.setAttribute(\"stop-color\",isDarkMode?\"#ffffff\":\"#8888bb\");hShimmerStop2.setAttribute(\"stop-opacity\",\"0.16\");const hShimmerStop3=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");hShimmerStop3.setAttribute(\"offset\",\"100%\");hShimmerStop3.setAttribute(\"stop-color\",lineColor);hShimmerStop3.setAttribute(\"stop-opacity\",\"0\");hShimmerGradient.appendChild(hShimmerStop1);hShimmerGradient.appendChild(hShimmerStop2);hShimmerGradient.appendChild(hShimmerStop3);// Add gradient to defs\nlet defs=svg.querySelector(\"defs\");if(!defs){defs=document.createElementNS(\"http://www.w3.org/2000/svg\",\"defs\");svg.appendChild(defs);}defs.appendChild(hShimmerGradient);horizontalShimmer.setAttribute(\"fill\",`url(#${hShimmerGradientId})`);horizontalShimmer.setAttribute(\"class\",\"grid-shimmer-beam\");horizontalShimmer.style.pointerEvents=\"none\";// Randomly show horizontal beam (75% chance per line)\nif(Math.random()>.25){horizontalShimmer.style.animation=`horizontalBeamMobile 12s ease-in-out infinite`;horizontalShimmer.style.animationDelay=`-${Math.random()*12}s`;svg.appendChild(horizontalShimmer);}// Add horizontal beam animation style for mobile (full width)\nif(!document.head.querySelector(\"#horizontalBeamMobileStyle\")){const hBeamStyle=document.createElement(\"style\");hBeamStyle.id=\"horizontalBeamMobileStyle\";hBeamStyle.textContent=`\n                                @keyframes horizontalBeamMobile {\n                                    0% {\n                                        transform: translateX(-80px);\n                                        opacity: 0;\n                                    }\n                                    8% {\n                                        opacity: 0;\n                                    }\n                                    20% {\n                                        opacity: 1;\n                                    }\n                                    80% {\n                                        opacity: 1;\n                                    }\n                                    92% {\n                                        opacity: 0;\n                                    }\n                                    100% {\n                                        transform: translateX(${containerWidth+80}px);\n                                        opacity: 0;\n                                    }\n                                }\n                            `;document.head.appendChild(hBeamStyle);}// In AllDevices version, this mobile block never executes since isMobile is always false\n// Desktop rendering will be used instead (with gradient fading and plus signs)\nreturn;// Skip the rest of the desktop logic for this line\n}// Desktop logic: Create unique gradient for this line with more extreme masking\nconst gradientId=`fadeH_${yPos}`;const gradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");gradient.setAttribute(\"id\",gradientId);gradient.setAttribute(\"x1\",\"0%\");gradient.setAttribute(\"y1\",\"0%\");gradient.setAttribute(\"x2\",\"100%\");gradient.setAttribute(\"y2\",\"0%\");// Tighter gradient stops - fade happens closer to plus signs\nconst stop1=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stop1.setAttribute(\"offset\",\"0%\");stop1.setAttribute(\"stop-color\",lineColor);stop1.setAttribute(\"stop-opacity\",\"0\");const stop2=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stop2.setAttribute(\"offset\",\"4%\");stop2.setAttribute(\"stop-color\",lineColor);stop2.setAttribute(\"stop-opacity\",\"0.2\");const stop3=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stop3.setAttribute(\"offset\",\"7%\");stop3.setAttribute(\"stop-color\",lineColor);stop3.setAttribute(\"stop-opacity\",\"0.6\");const stop4=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stop4.setAttribute(\"offset\",\"10%\");stop4.setAttribute(\"stop-color\",lineColor);stop4.setAttribute(\"stop-opacity\",\"1\");const stop5=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stop5.setAttribute(\"offset\",\"90%\");stop5.setAttribute(\"stop-color\",lineColor);stop5.setAttribute(\"stop-opacity\",\"1\");const stop6=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stop6.setAttribute(\"offset\",\"93%\");stop6.setAttribute(\"stop-color\",lineColor);stop6.setAttribute(\"stop-opacity\",\"0.6\");const stop7=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stop7.setAttribute(\"offset\",\"96%\");stop7.setAttribute(\"stop-color\",lineColor);stop7.setAttribute(\"stop-opacity\",\"0.2\");const stop8=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");stop8.setAttribute(\"offset\",\"100%\");stop8.setAttribute(\"stop-color\",lineColor);stop8.setAttribute(\"stop-opacity\",\"0\");gradient.appendChild(stop1);gradient.appendChild(stop2);gradient.appendChild(stop3);gradient.appendChild(stop4);gradient.appendChild(stop5);gradient.appendChild(stop6);gradient.appendChild(stop7);gradient.appendChild(stop8);// Add gradient to defs\nlet defs=svg.querySelector(\"defs\");if(!defs){defs=document.createElementNS(\"http://www.w3.org/2000/svg\",\"defs\");svg.appendChild(defs);}defs.appendChild(gradient);// Draw horizontal line segments with masking around plus signs\n// Left segment (from edge to left plus) - only if there's enough space\nif(gridLeft>50){const leftSegment=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");leftSegment.setAttribute(\"x\",\"0\");leftSegment.setAttribute(\"y\",(yPos-.5).toString());leftSegment.setAttribute(\"width\",(gridLeft-50).toString());leftSegment.setAttribute(\"height\",\"1\");leftSegment.setAttribute(\"fill\",`url(#${gradientId})`);leftSegment.style.opacity=horizontalLineOpacity;svg.appendChild(leftSegment);}// Middle segment (between plus signs) with gradient on both ends\nconst middleGradientId=`fadeH_middle_${yPos}`;const middleGradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");middleGradient.setAttribute(\"id\",middleGradientId);middleGradient.setAttribute(\"x1\",\"0%\");middleGradient.setAttribute(\"y1\",\"0%\");middleGradient.setAttribute(\"x2\",\"100%\");middleGradient.setAttribute(\"y2\",\"0%\");// Gradient that fades in from left and out to right (matching outer segments)\nconst mStop1=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");mStop1.setAttribute(\"offset\",\"0%\");mStop1.setAttribute(\"stop-color\",lineColor);mStop1.setAttribute(\"stop-opacity\",\"0\");const mStop2=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");mStop2.setAttribute(\"offset\",\"2.5%\");mStop2.setAttribute(\"stop-color\",lineColor);mStop2.setAttribute(\"stop-opacity\",\"0.4\");const mStop3=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");mStop3.setAttribute(\"offset\",\"5%\");mStop3.setAttribute(\"stop-color\",lineColor);mStop3.setAttribute(\"stop-opacity\",\"0.7\");const mStop4=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");mStop4.setAttribute(\"offset\",\"7.5%\");mStop4.setAttribute(\"stop-color\",lineColor);mStop4.setAttribute(\"stop-opacity\",\"1\");const mStop5=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");mStop5.setAttribute(\"offset\",\"92.5%\");mStop5.setAttribute(\"stop-color\",lineColor);mStop5.setAttribute(\"stop-opacity\",\"1\");const mStop6=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");mStop6.setAttribute(\"offset\",\"95%\");mStop6.setAttribute(\"stop-color\",lineColor);mStop6.setAttribute(\"stop-opacity\",\"0.7\");const mStop7=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");mStop7.setAttribute(\"offset\",\"97.5%\");mStop7.setAttribute(\"stop-color\",lineColor);mStop7.setAttribute(\"stop-opacity\",\"0.4\");const mStop8=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");mStop8.setAttribute(\"offset\",\"100%\");mStop8.setAttribute(\"stop-color\",lineColor);mStop8.setAttribute(\"stop-opacity\",\"0\");middleGradient.appendChild(mStop1);middleGradient.appendChild(mStop2);middleGradient.appendChild(mStop3);middleGradient.appendChild(mStop4);middleGradient.appendChild(mStop5);middleGradient.appendChild(mStop6);middleGradient.appendChild(mStop7);middleGradient.appendChild(mStop8);defs.appendChild(middleGradient);const middleSegment=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");middleSegment.setAttribute(\"x\",(gridLeft+50).toString());middleSegment.setAttribute(\"y\",(yPos-.5).toString());middleSegment.setAttribute(\"width\",(gridRight-gridLeft-100).toString());middleSegment.setAttribute(\"height\",\"1\");middleSegment.setAttribute(\"fill\",`url(#${middleGradientId})`);middleSegment.style.opacity=horizontalLineOpacity;svg.appendChild(middleSegment);// Add subtle horizontal shimmer beam\nconst horizontalShimmer=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");horizontalShimmer.setAttribute(\"x\",gridLeft.toString());horizontalShimmer.setAttribute(\"y\",(yPos-1).toString());horizontalShimmer.setAttribute(\"width\",\"60\");horizontalShimmer.setAttribute(\"height\",\"2\");// Create horizontal shimmer gradient\nconst hShimmerGradientId=`hShimmer_${yPos}`;const hShimmerGradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");hShimmerGradient.setAttribute(\"id\",hShimmerGradientId);hShimmerGradient.setAttribute(\"x1\",\"0%\");hShimmerGradient.setAttribute(\"y1\",\"0%\");hShimmerGradient.setAttribute(\"x2\",\"100%\");hShimmerGradient.setAttribute(\"y2\",\"0%\");const hShimmerStop1=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");hShimmerStop1.setAttribute(\"offset\",\"0%\");hShimmerStop1.setAttribute(\"stop-color\",lineColor);hShimmerStop1.setAttribute(\"stop-opacity\",\"0\");const hShimmerStop2=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");hShimmerStop2.setAttribute(\"offset\",\"50%\");hShimmerStop2.setAttribute(\"stop-color\",isDarkMode?\"#ffffff\":\"#8888bb\");hShimmerStop2.setAttribute(\"stop-opacity\",\"0.16\");const hShimmerStop3=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");hShimmerStop3.setAttribute(\"offset\",\"100%\");hShimmerStop3.setAttribute(\"stop-color\",lineColor);hShimmerStop3.setAttribute(\"stop-opacity\",\"0\");hShimmerGradient.appendChild(hShimmerStop1);hShimmerGradient.appendChild(hShimmerStop2);hShimmerGradient.appendChild(hShimmerStop3);defs.appendChild(hShimmerGradient);horizontalShimmer.setAttribute(\"fill\",`url(#${hShimmerGradientId})`);horizontalShimmer.setAttribute(\"class\",\"grid-shimmer-beam\");horizontalShimmer.style.pointerEvents=\"none\";// Randomly show horizontal beam (75% chance per line)\nif(Math.random()>.25){horizontalShimmer.style.animation=`horizontalBeam 12s ease-in-out infinite`;horizontalShimmer.style.animationDelay=`-${Math.random()*12}s`;svg.appendChild(horizontalShimmer);}// Add horizontal beam animation style\nif(!document.head.querySelector(\"#horizontalBeamStyle\")){const hBeamStyle=document.createElement(\"style\");hBeamStyle.id=\"horizontalBeamStyle\";hBeamStyle.textContent=`\n                            @keyframes horizontalBeam {\n                                0% {\n                                    transform: translateX(-80px);\n                                    opacity: 0;\n                                }\n                                8% {\n                                    opacity: 0;\n                                }\n                                20% {\n                                    opacity: 1;\n                                }\n                                80% {\n                                    opacity: 1;\n                                }\n                                92% {\n                                    opacity: 0;\n                                }\n                                100% {\n                                    transform: translateX(${gridRight-gridLeft+80}px);\n                                    opacity: 0;\n                                }\n                            }\n                        `;document.head.appendChild(hBeamStyle);}// Right segment (from right plus to edge)\nconst rightGradientId=`fadeH_right_${yPos}`;const rightGradient=document.createElementNS(\"http://www.w3.org/2000/svg\",\"linearGradient\");rightGradient.setAttribute(\"id\",rightGradientId);rightGradient.setAttribute(\"x1\",\"0%\");rightGradient.setAttribute(\"y1\",\"0%\");rightGradient.setAttribute(\"x2\",\"100%\");rightGradient.setAttribute(\"y2\",\"0%\");// Mirror gradient for right side (matching left side fade)\nconst rStop1=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");rStop1.setAttribute(\"offset\",\"0%\");rStop1.setAttribute(\"stop-color\",lineColor);rStop1.setAttribute(\"stop-opacity\",\"0\");const rStop2=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");rStop2.setAttribute(\"offset\",\"4%\");rStop2.setAttribute(\"stop-color\",lineColor);rStop2.setAttribute(\"stop-opacity\",\"0.2\");const rStop3=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");rStop3.setAttribute(\"offset\",\"7%\");rStop3.setAttribute(\"stop-color\",lineColor);rStop3.setAttribute(\"stop-opacity\",\"0.6\");const rStop4=document.createElementNS(\"http://www.w3.org/2000/svg\",\"stop\");rStop4.setAttribute(\"offset\",\"10%\");rStop4.setAttribute(\"stop-color\",lineColor);rStop4.setAttribute(\"stop-opacity\",\"1\");rightGradient.appendChild(rStop1);rightGradient.appendChild(rStop2);rightGradient.appendChild(rStop3);rightGradient.appendChild(rStop4);defs.appendChild(rightGradient);if(containerWidth-gridRight>50){const rightSegment=document.createElementNS(\"http://www.w3.org/2000/svg\",\"rect\");rightSegment.setAttribute(\"x\",(gridRight+50).toString());rightSegment.setAttribute(\"y\",(yPos-.5).toString());rightSegment.setAttribute(\"width\",(containerWidth-gridRight-50).toString());rightSegment.setAttribute(\"height\",\"1\");rightSegment.setAttribute(\"fill\",`url(#${rightGradientId})`);rightSegment.style.opacity=horizontalLineOpacity;svg.appendChild(rightSegment);}// Add plus signs at intersections (only on desktop)\nif(!isMobile){const leftPlus=createPlusSign(gridLeft,yPos);const rightPlus=createPlusSign(gridRight,yPos);// Add subtle pulse animation to plus signs (30% chance)\nif(Math.random()>.7){leftPlus.style.animation=\"gridShimmer 8s ease-in-out infinite\";leftPlus.style.animationDelay=`-${Math.random()*8}s`;}if(Math.random()>.7){rightPlus.style.animation=\"gridShimmer 8s ease-in-out infinite\";rightPlus.style.animationDelay=`-${Math.random()*8}s`;}svg.appendChild(leftPlus);svg.appendChild(rightPlus);}});gridOverlay.appendChild(svg);// Apply styles to grid overlay\ngridOverlay.style.cssText=`\n                    position: absolute;\n                    top: 0;\n                    left: 0;\n                    width: 100%;\n                    height: 100%;\n                    pointer-events: none;\n                    z-index: 0;\n                    opacity: 1;\n                `;// Add grid to container if not present\nif(!container.contains(gridOverlay)){// Insert as first child\nif(container.firstChild){container.insertBefore(gridOverlay,container.firstChild);}else{container.appendChild(gridOverlay);}}// Ensure all non-grid children have higher z-index\nArray.from(container.children).forEach(child=>{if(child!==gridOverlay&&!child.classList.contains(\"calcom-grid-overlay\")){const element=child;if(!element.style.zIndex||parseInt(element.style.zIndex)<1){element.style.zIndex=\"1\";}// Ensure proper positioning for z-index\nconst computedStyle=window.getComputedStyle(element);if(computedStyle.position===\"static\"){element.style.position=\"relative\";}}});};// Ensure container has proper positioning\nif(!container.style.position||container.style.position===\"static\"){container.style.position=\"relative\";}// Initial grid creation\ncreateGrid();// Check for grid periodically to handle Framer optimization\nconst checkAndRestoreGrid=()=>{const existingGrid=container.querySelector(\".calcom-grid-overlay\");if(!existingGrid){createGrid();}};// Check every 500ms for the first 10 seconds after mount\ngridCheckInterval.current=setInterval(()=>{checkAndRestoreGrid();},500);// Stop checking after 10 seconds to avoid performance issues\nsetTimeout(()=>{if(gridCheckInterval.current){clearInterval(gridCheckInterval.current);gridCheckInterval.current=null;}},1e4);// Debounced grid recreation on resize to prevent stutter during animations\nconst resizeObserver=new ResizeObserver(entries=>{// Cancel any pending animation frame\nif(animationFrameRequest.current){cancelAnimationFrame(animationFrameRequest.current);animationFrameRequest.current=null;}// Clear existing debounce timer\nif(resizeDebounceTimer.current){clearTimeout(resizeDebounceTimer.current);}// Check if we're on mobile - if so, use immediate updates\nconst isMobile=window.innerWidth<=810;// On mobile or for significant size changes, update immediately\n// On desktop, debounce to prevent animation stutter\nif(isMobile){createGrid();}else{// Debounce grid updates on desktop to prevent stutter during animations\nresizeDebounceTimer.current=setTimeout(()=>{animationFrameRequest.current=requestAnimationFrame(()=>{createGrid();animationFrameRequest.current=null;});resizeDebounceTimer.current=null;},150)// Delay long enough for most animations to complete\n;}});resizeObserver.observe(container);// Handle window resize for breakpoint changes\nconst handleResize=()=>{requestAnimationFrame(()=>{createGrid();});};window.addEventListener(\"resize\",handleResize,{passive:true});// Listen for visibility changes (Framer optimization often happens on tab switch)\nconst handleVisibilityChange=()=>{if(!document.hidden){setTimeout(()=>{checkAndRestoreGrid();},100);}};document.addEventListener(\"visibilitychange\",handleVisibilityChange,{passive:true});// Add MutationObserver to detect grid removal with debouncing\nconst mutationObserver=new MutationObserver(mutations=>{let gridRemoved=false;mutations.forEach(mutation=>{if(mutation.type===\"childList\"){mutation.removedNodes.forEach(node=>{if(node instanceof HTMLElement&&node.classList.contains(\"calcom-grid-overlay\")){gridRemoved=true;}});}});if(gridRemoved||!container.querySelector(\".calcom-grid-overlay\")){// Only recreate if not already scheduled and not on mobile\nconst isMobile=window.innerWidth<=810;if(!resizeDebounceTimer.current||isMobile||gridRemoved){requestAnimationFrame(()=>{createGrid();});}}});mutationObserver.observe(container,{childList:true,subtree:false});// Handle dark/light mode changes\nconst darkModeMediaQuery=window.matchMedia(\"(prefers-color-scheme: dark)\");const handleColorSchemeChange=()=>{createGrid();};// Add listener for color scheme changes\nif(darkModeMediaQuery.addEventListener){darkModeMediaQuery.addEventListener(\"change\",handleColorSchemeChange,{passive:true});}else{// Fallback for older browsers\ndarkModeMediaQuery.addListener(handleColorSchemeChange);}// Cleanup\nreturn()=>{if(gridCheckInterval.current){clearInterval(gridCheckInterval.current);}if(resizeDebounceTimer.current){clearTimeout(resizeDebounceTimer.current);}if(animationFrameRequest.current){cancelAnimationFrame(animationFrameRequest.current);}resizeObserver.disconnect();mutationObserver.disconnect();window.removeEventListener(\"resize\",handleResize);document.removeEventListener(\"visibilitychange\",handleVisibilityChange);// Remove color scheme listener\nif(darkModeMediaQuery.removeEventListener){darkModeMediaQuery.removeEventListener(\"change\",handleColorSchemeChange);}else{darkModeMediaQuery.removeListener(handleColorSchemeChange);}// Clean up grid overlay\nconst overlay=container.querySelector(\".calcom-grid-overlay\");if(overlay){overlay.remove();}};},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:containerRef});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withCalcomGridAllDevices\":{\"type\":\"reactHoc\",\"name\":\"withCalcomGridAllDevices\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCalcomGrid\":{\"type\":\"reactHoc\",\"name\":\"withCalcomGrid\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GridLines.map"],"mappings":"2MAA+E,SAAgB,EAAe,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAaA,EAAO,KAAK,CAAO,EAAkBA,EAAO,KAAK,CAAO,EAAoBA,EAAO,KAAK,CAAO,EAAsBA,EAAO,KAAK,CAwQxL,OAxQyL,MAAc,CAAC,GAAG,CAAC,EAAa,QAAQ,OAAO,IAAM,EAAU,EAAa,QAAY,EAAY,KAC3X,MAAgB,CAAC,IAAM,EAAM,EAAO,WAEzC,OAFuD,GAAO,KAAY,IACvE,GAAO,IAAW,IACd,KAEF,MAA2B,CAAC,IAAI,EAAQ,EAAU,cAAc,uBAAuB,CAA0L,OAArL,IAAS,EAAQ,SAAS,cAAc,MAAM,CAAC,EAAQ,UAAU,sBAAsB,EAAQ,aAAa,uBAAuB,OAAO,CAAC,EAAQ,aAAa,YAAY,OAAO,EAAS,GAAgB,MAAe,CAAC,GAAG,CAAC,GAAW,CAAC,EAAU,aAAa,CAAC,EAAU,aAAa,OAAO,EAAY,GAAwB,CAAC,IAAM,EAAS,GAAa,CAAO,EAAe,EAAU,YAAkB,EAAgB,EAAU,aAAmB,EAAQ,EAAe,EACrjB,EAAS,EAAO,YAAY,IA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