{"version":3,"file":"LiquidGlass.Cgu6nwO2.mjs","names":["useRef","useId"],"sources":["https:/framerusercontent.com/modules/y8TXXoM4viLSlG7TuvGL/KUOP7w3D7yJ6AoPwPGU2/LiquidGlass.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useId,useRef}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";/* Port of upstream.codes' marketing Liquid Glass (apps/upstream-web/src/components/\n   marketing/liquid-glass.ts, glass-layers.tsx, glass-tuning.ts and the glass rules in\n   marketing.css). The lens, slices and refraction filter below are that code verbatim;\n   keep them in step with upstream.\n\n   Place it as the first, absolutely filled child of a rounded box. The box must not\n   be a backdrop root (no fill, filter, opacity, mask or backdrop-filter of its own),\n   or the glass would only see the box. *//* ---- liquid-glass.ts ---------------------------------------------------------- *//* Liquid Glass after iOS 27, without backdrop blur. Every layer is the page behind\n   the glass, filtered; nothing is painted over it. The layers' masks and the\n   refraction map come from one lens profile, rendered as nine slices: fixed\n   corners and stretched edges keep them exact while the glass resizes, so they\n   never need to switch off mid-animation.\n   Refraction needs SVG filters in backdrop-filter, which only Chromium renders;\n   WebKit and Gecko would drop the whole backdrop, so they keep the glass without\n   the bend. */const SVG_NS=\"http://www.w3.org/2000/svg\";const PROFILE_STEPS=128;// Steepest the shift may fall per pixel inward. Past 1 the lens folds content; the\n// margin keeps neighbouring samples apart after 8-bit quantisation of the map.\nconst MAX_FALL=.8;// A resizing radius (compact spring, mobile menu) rebuilds at most this often.\nconst REBUILD_INTERVAL=100;// Slice order shared by masks and the refraction filter.\nconst SLICES=[\"tl\",\"tr\",\"bl\",\"br\",\"t\",\"b\",\"l\",\"r\"];/** Defaults measured from Apple's iOS 27 press images. */const GLASS_DEFAULTS={bezel:15,thickness:22,sideBezel:27,sideThickness:44,refractiveIndex:1.5,hairline:1,hairlineSides:.15,shadeWidth:1,glowReach:8,glowBottom:.5};const LAYERS=[\"highlight\",\"shade\",\"glow\"];function smoothstep(from,to,value){const t=Math.min(1,Math.max(0,(value-from)/(to-from)));return t*t*(3-2*t);}/** Slope of the convex squircle y = (1 - (1 - x)^4)^(1/4), flat once x reaches 1. */function squircleSlope(x){const clamped=Math.min(Math.max(x,.001),1);return(1-clamped)**3*(1-(1-clamped)**4)**-.75;}/** Lateral shift across one rim cross-section, from the outer edge inward. */function refractionProfile(bezel,thickness,refractiveIndex){const profile=new Float32Array(PROFILE_STEPS+1);for(let step=0;step<=PROFILE_STEPS;step++){const x=Math.max(step/PROFILE_STEPS,.001);const height=(1-(1-x)**4)**.25;// A straight-down view ray meets the tilted surface, refracts (Snell), and\n// travels through the remaining depth to the backdrop.\nconst incidence=Math.atan(thickness/bezel*squircleSlope(x));const refracted=Math.asin(Math.sin(incidence)/refractiveIndex);profile[step]=thickness*height*Math.tan(incidence-refracted);}// Keep the lens one-to-one. Where the shift falls faster than the rim moves inward,\n// neighbouring pixels sample in reverse order and content folds into mirrored\n// echoes. Capping the fall compresses content toward the rim instead.\nconst fallPerStep=MAX_FALL*bezel/PROFILE_STEPS;for(let step=PROFILE_STEPS-1;step>=0;step--){profile[step]=Math.min(profile[step]??0,(profile[step+1]??0)+fallPerStep);}let max=0;for(const shift of profile)max=Math.max(max,shift);return{profile,max};}/**\n * Renders a rounded square of side 2r + 1. Its corners are the glass's corners and\n * its centre row and column are its straight edges, so any size can be assembled\n * from eight slices.\n */function createGlassSlices(cornerRadius,pixelRatio=1,options={}){const{bezel=GLASS_DEFAULTS.bezel,thickness=GLASS_DEFAULTS.thickness,sideBezel=GLASS_DEFAULTS.sideBezel,sideThickness=GLASS_DEFAULTS.sideThickness,refractiveIndex=GLASS_DEFAULTS.refractiveIndex,hairline=GLASS_DEFAULTS.hairline,hairlineSides=GLASS_DEFAULTS.hairlineSides,shadeWidth=GLASS_DEFAULTS.shadeWidth,glowReach=GLASS_DEFAULTS.glowReach,glowBottom=GLASS_DEFAULTS.glowBottom}=options;const radius=Math.max(1,Math.floor(cornerRadius));const side=radius*2+1;const size=side*pixelRatio;// Like real glass, the rounded ends bend light far more than the long straight edges,\n// which keep content crossing them straight. Each has its own lens profile, blended\n// around the curve.\nconst rim=Math.min(bezel,radius);const sideRim=Math.min(sideBezel,radius);const edges=refractionProfile(rim,thickness,refractiveIndex);const ends=refractionProfile(sideRim,sideThickness,refractiveIndex);const max=Math.max(edges.max,ends.max);const shiftAt=(lens,width,inset)=>inset<width?lens.profile[Math.round(inset/width*PROFILE_STEPS)]??0:0;const refraction=new Uint8ClampedArray(size*size*4);const masks={highlight:new Uint8ClampedArray(size*size*4),shade:new Uint8ClampedArray(size*size*4),glow:new Uint8ClampedArray(size*size*4)};const half=side/2;const straight=half-radius;for(let row=0;row<size;row++){for(let column=0;column<size;column++){const x=(column+.5)/pixelRatio-half;const y=(row+.5)/pixelRatio-half;// Signed distance to the rounded square; `inset` is depth inside its edge.\nconst qx=Math.abs(x)-straight;const qy=Math.abs(y)-straight;const cornerX=Math.max(qx,0);const cornerY=Math.max(qy,0);const corner=Math.hypot(cornerX,cornerY);const inset=radius-corner-Math.min(Math.max(qx,qy),0);const nx=(corner>0?cornerX/corner:qx>qy?1:0)*(Math.sign(x)||1);const ny=(corner>0?cornerY/corner:qx>qy?0:1)*(Math.sign(y)||1);const index=(row*size+column)*4;let dx=0;let dy=0;if(inset>0&&max>0){const side=nx*nx;const shift=shiftAt(edges,rim,inset)*(1-side)+shiftAt(ends,sideRim,inset)*side;// Convex glass bends rays toward the centre, so the rim shows backdrop from further in.\ndx=-nx*shift/max;dy=-ny*shift/max;}refraction[index]=128+dx*127;refraction[index+1]=128+dy*127;refraction[index+2]=128;refraction[index+3]=255;if(inset<=0)continue;// Proportions measured from Apple's iOS 27 press images: every edge feature is\n// about a point wide, and only the glow reaches further in.\nconst cover=Math.min(1,inset*pixelRatio+.5);const vertical=ny*ny;// A one-point hairline where the rim meets the air, lit from above and below.\nmasks.highlight[index+3]=255*cover*(1-smoothstep(.6*hairline,1.6*hairline,inset))*(hairlineSides+(1-hairlineSides)*Math.abs(ny)**1.5);// The darkened edge, on the sides only and about a point and a half wide.\nmasks.shade[index+3]=255*cover*(1-smoothstep(.8*shadeWidth,2*shadeWidth,inset))*nx*nx;// Light gathered just inside the top and bottom rims, fading over about five points.\nmasks.glow[index+3]=255*cover*smoothstep(.8,1.6,inset)*(1-smoothstep(1.6,Math.max(glowReach,1.7),inset))*vertical*(ny<0?1:glowBottom);}}// feDisplacementMap moves by scale * (channel - 0.5); a full swing is ±127/255.\nreturn{radius,size,pixelRatio,refraction,masks,scale:max*255/127};}/** Device-pixel rectangles of the eight slices, in SLICES order. */function sliceRects(slices){const corner=slices.radius*slices.pixelRatio;const edge=slices.pixelRatio;const far=corner+edge;return[[0,0,corner,corner],[far,0,corner,corner],[0,far,corner,corner],[far,far,corner,corner],[corner,0,edge,corner],[corner,far,edge,corner],[0,corner,corner,edge],[far,corner,corner,edge]];}function sliceUrls(pixels,slices){const source=document.createElement(\"canvas\");source.width=slices.size;source.height=slices.size;source.getContext(\"2d\")?.putImageData(new ImageData(new Uint8ClampedArray(pixels),slices.size,slices.size),0,0);const piece=document.createElement(\"canvas\");const context=piece.getContext(\"2d\");return sliceRects(slices).map(([x,y,width,height])=>{piece.width=width;piece.height=height;context?.drawImage(source,x,y,width,height,0,0,width,height);return piece.toDataURL();});}// A build is a pure function of radius, pixel ratio and options, and the nav flips\n// between a few sizes (full, compact, open menu), so repeat builds come from here\n// instead of re-rendering the lens and re-encoding 32 slices mid-animation.\nconst builds=new Map;const BUILD_CACHE_SIZE=6;function buildGlass(radius,pixelRatio,options){const key=`${radius}:${pixelRatio}:${JSON.stringify(options)}`;const cached=builds.get(key);if(cached){// Most recently used last, so eviction takes the build that has gone longest unused.\nbuilds.delete(key);builds.set(key,cached);return cached;}const slices=createGlassSlices(radius,pixelRatio,options);const built={slices,masks:{highlight:sliceUrls(slices.masks.highlight,slices),shade:sliceUrls(slices.masks.shade,slices),glow:sliceUrls(slices.masks.glow,slices)},refraction:sliceUrls(slices.refraction,slices)};builds.set(key,built);if(builds.size>BUILD_CACHE_SIZE)builds.delete(builds.keys().next().value??\"\");return built;}/** CSS mask layers that assemble the slices over any box. */function maskStyles(urls,radius){const r=`${radius}px`;const span=`calc(100% - ${radius*2}px)`;return{image:urls.map(url=>`url(\"${url}\")`).join(\", \"),position:`0 0, 100% 0, 0 100%, 100% 100%, ${r} 0, ${r} 100%, 0 ${r}, 100% ${r}`,size:`${r} ${r}, ${r} ${r}, ${r} ${r}, ${r} ${r}, ${span} ${r}, ${span} ${r}, ${r} ${span}, ${r} ${span}`};}function supportsBackdropRefraction(){const brands=navigator.userAgentData?.brands;return Boolean(brands?.some(({brand})=>brand===\"Chromium\"));}/** An SVG filter that assembles refraction slices into a displacement map. */function createRefractionFilter(id){const svg=document.createElementNS(SVG_NS,\"svg\");svg.setAttribute(\"aria-hidden\",\"true\");svg.setAttribute(\"width\",\"0\");svg.setAttribute(\"height\",\"0\");// display: none would disable the filter; keep it rendered but out of flow.\nsvg.style.position=\"absolute\";const filter=document.createElementNS(SVG_NS,\"filter\");filter.id=id;filter.setAttribute(\"x\",\"0\");filter.setAttribute(\"y\",\"0\");filter.setAttribute(\"filterUnits\",\"userSpaceOnUse\");filter.setAttribute(\"primitiveUnits\",\"userSpaceOnUse\");filter.setAttribute(\"color-interpolation-filters\",\"sRGB\");// Uncovered map pixels stay neutral rather than displacing by half the scale.\nconst neutral=document.createElementNS(SVG_NS,\"feFlood\");neutral.setAttribute(\"flood-color\",\"rgb(128, 128, 128)\");neutral.setAttribute(\"result\",\"neutral\");const merge=document.createElementNS(SVG_NS,\"feMerge\");merge.setAttribute(\"result\",\"map\");const neutralNode=document.createElementNS(SVG_NS,\"feMergeNode\");neutralNode.setAttribute(\"in\",\"neutral\");const images=SLICES.map(name=>{const image=document.createElementNS(SVG_NS,\"feImage\");image.setAttribute(\"preserveAspectRatio\",\"none\");image.setAttribute(\"result\",`slice-${name}`);return image;});const mergeNodes=SLICES.map(name=>{const node=document.createElementNS(SVG_NS,\"feMergeNode\");node.setAttribute(\"in\",`slice-${name}`);return node;});const displacement=document.createElementNS(SVG_NS,\"feDisplacementMap\");displacement.setAttribute(\"in\",\"SourceGraphic\");displacement.setAttribute(\"in2\",\"map\");displacement.setAttribute(\"xChannelSelector\",\"R\");displacement.setAttribute(\"yChannelSelector\",\"G\");svg.append(filter);document.body.append(svg);// The filter runs every frame the page moves beneath the glass, so it only carries\n// the primitives the current box needs. A capsule's corners and top and bottom edges\n// tile it completely, leaving the side slices empty and the neutral fill unseen.\nlet structure=\"\";const restructure=(used,covered)=>{const key=`${used.join()}:${covered}`;if(key===structure)return;structure=key;const keep=items=>items.filter((_,index)=>used[index]);merge.replaceChildren(...covered?[]:[neutralNode],...keep(mergeNodes));filter.replaceChildren(...covered?[]:[neutral],...keep(images),merge,displacement);};return{setSlices(urls,scale){images.forEach((image,index)=>image.setAttribute(\"href\",urls[index]??\"\"));displacement.setAttribute(\"scale\",scale.toFixed(2));},/** Places the slices over the current box; cheap enough for every resize. */fit(width,height,radius){const span=Math.max(0,width-radius*2);const tall=Math.max(0,height-radius*2);const rects=[[0,0,radius,radius],[width-radius,0,radius,radius],[0,height-radius,radius,radius],[width-radius,height-radius,radius,radius],[radius,0,span,radius],[radius,height-radius,span,radius],[0,radius,radius,tall],[width-radius,radius,radius,tall]];restructure(rects.map(([,,w=0,h=0])=>w>0&&h>0),tall===0);filter.setAttribute(\"width\",String(width));filter.setAttribute(\"height\",String(height));images.forEach((image,index)=>{const[x=0,y=0,w=0,h=0]=rects[index]??[];image.setAttribute(\"x\",String(x));image.setAttribute(\"y\",String(y));image.setAttribute(\"width\",String(w));image.setAttribute(\"height\",String(h));});},remove(){svg.remove();}};}/**\n * Builds the glass for an element: masks for its `[data-glass-layer]` children in\n * every browser, marking it `data-glass=\"ready\"`, and rim refraction in Chromium,\n * marking it `data-refraction`. Returns a cleanup function.\n */function attachLiquidGlass(element,filterId,options={}){const refraction=supportsBackdropRefraction()?createRefractionFilter(filterId):null;const pixelRatio=Math.min(Math.ceil(devicePixelRatio),2);let radius=0;let box=\"\";let lastBuild=-Infinity;let timer=0;const build=target=>{lastBuild=performance.now();const built=buildGlass(target,pixelRatio,options);radius=built.slices.radius;for(const layer of LAYERS){const node=element.querySelector(`[data-glass-layer=\"${layer}\"]`);if(!node)continue;const mask=maskStyles(built.masks[layer],radius);for(const prefix of[\"-webkit-\",\"\"]){node.style.setProperty(`${prefix}mask-image`,mask.image);node.style.setProperty(`${prefix}mask-position`,mask.position);node.style.setProperty(`${prefix}mask-size`,mask.size);node.style.setProperty(`${prefix}mask-repeat`,\"no-repeat\");}}refraction?.setSlices(built.refraction,built.slices.scale);element.dataset.glass=\"ready\";if(refraction)element.dataset.refraction=\"true\";};const layout=(force=false)=>{window.clearTimeout(timer);timer=0;const width=element.offsetWidth;const height=element.offsetHeight;if(!width||!height)return;// Resize callbacks also arrive for unchanged boxes; skip the style read then.\nconst next=`${width}:${height}`;if(!force&&next===box)return;box=next;const target=Math.floor(Math.min(parseFloat(getComputedStyle(element).borderTopLeftRadius)||0,width/2,height/2));if(target>=1&&target!==radius){const wait=lastBuild+REBUILD_INTERVAL-performance.now();if(wait<=0)build(target);else timer=window.setTimeout(()=>layout(true),wait);}if(radius)refraction?.fit(width,height,radius);};const onTransitionEnd=event=>{if(event.target===element&&event.propertyName.includes(\"radius\"))layout(true);};const observer=new ResizeObserver(()=>layout());observer.observe(element);element.addEventListener(\"transitionend\",onTransitionEnd);return()=>{window.clearTimeout(timer);observer.disconnect();element.removeEventListener(\"transitionend\",onTransitionEnd);delete element.dataset.glass;delete element.dataset.refraction;refraction?.remove();};}function useLiquidGlass(ref,filterId,options){// Options arrive as fresh objects each render; rebuild only when a value changes.\nconst key=JSON.stringify(options??{});useEffect(()=>{const element=ref.current;if(!element)return;return attachLiquidGlass(element,filterId,JSON.parse(key));},[ref,filterId,key]);}/* ---- glass-tuning.ts geometry ------------------------------------------------- */const GEOMETRY={nav:GLASS_DEFAULTS,// The nav's capsule lens scaled to a 30px selector pill, so the rim bends what\n// passes under it while the label resting in the centre stays flat and crisp.\npill:{...GLASS_DEFAULTS,bezel:7,thickness:10,sideBezel:12,sideThickness:19,glowReach:4},// A thicker bevel than the nav's. Rims can't be wider than the corner radius\n// (16–20px on cards), so the rims fill it and depth carries the rest.\ncard:{...GLASS_DEFAULTS,bezel:27,thickness:34,sideBezel:29,sideThickness:52,hairline:1.5,glowReach:12}};/* ---- marketing.css and marketing-light.css ------------------------------------- */// Safari ignores custom properties in -webkit-backdrop-filter, so its values stay\n// literal; --glass-body repeats them for the Chromium-only refraction rule.\nconst CSS=`\n.liquid-glass-root {\n  position: relative;\n  display: block;\n  width: 100%;\n  height: 100%;\n  pointer-events: none;\n}\n.liquid-glass-frame {\n  position: absolute;\n  left: 0;\n  top: 0;\n  display: block;\n  width: 100%;\n  height: 100%;\n  transform-origin: 0 0;\n  pointer-events: none;\n  transition: border-radius 200ms cubic-bezier(0.22, 1, 0.36, 1);\n}\n.liquid-glass-root[data-follow] {\n  position: absolute;\n  left: 0;\n  top: 0;\n  width: 0;\n  height: 0;\n}\n.liquid-glass-root[data-follow] .liquid-glass-frame {\n  width: 0;\n  height: 0;\n  transition: none;\n}\n.liquid-glass {\n  position: absolute;\n  inset: 0;\n  border-radius: inherit;\n  pointer-events: none;\n}\n.liquid-glass-frame:not([data-glass=\"ready\"]) [data-glass-layer] { display: none; }\n.liquid-glass-body {\n  --glass-body: blur(1.5px) saturate(80%) contrast(0.53) brightness(0.43);\n  -webkit-backdrop-filter: blur(1.5px) saturate(80%) contrast(0.53) brightness(0.43);\n  backdrop-filter: blur(1.5px) saturate(80%) contrast(0.53) brightness(0.43);\n  transition: backdrop-filter 300ms ease, background-color 300ms ease;\n}\n/* Scrolled content sits under darker glass, as iOS 27 toolbars do. */\n.liquid-glass-frame[data-surface=\"nav\"][data-compact=\"true\"] .liquid-glass-body {\n  --glass-body: blur(1.5px) saturate(80%) contrast(0.48) brightness(0.38);\n  -webkit-backdrop-filter: blur(1.5px) saturate(80%) contrast(0.48) brightness(0.38);\n  backdrop-filter: blur(1.5px) saturate(80%) contrast(0.48) brightness(0.38);\n}\n/* Cards take clear glass: the rim bends and lights the page, but the body only\n   diffuses it, with no darkening or tint. */\n.liquid-glass-frame[data-surface=\"card\"] .liquid-glass-body {\n  --glass-body: blur(1.5px);\n  -webkit-backdrop-filter: blur(1.5px);\n  backdrop-filter: blur(1.5px);\n  background-color: transparent;\n}\n/* Light glass diffuses and lifts the page behind it into a pale body, washed with the\n   site's surface colour and edged all round by a fine hairline, as on iOS 27 light\n   bars; the side band brightens instead of darkening. */\n.liquid-glass-frame[data-tone=\"light\"][data-surface=\"nav\"] .liquid-glass-body {\n  --glass-body: blur(2px) saturate(80%) contrast(0.3) brightness(1.73);\n  -webkit-backdrop-filter: blur(2px) saturate(80%) contrast(0.3) brightness(1.73);\n  backdrop-filter: blur(2px) saturate(80%) contrast(0.3) brightness(1.73);\n  background-color: color-mix(in srgb, #f7f7f8 40%, transparent);\n}\n.liquid-glass-frame[data-tone=\"light\"][data-surface=\"nav\"][data-compact=\"true\"] .liquid-glass-body {\n  --glass-body: blur(2px) saturate(80%) contrast(0.25) brightness(1.58);\n  -webkit-backdrop-filter: blur(2px) saturate(80%) contrast(0.25) brightness(1.58);\n  backdrop-filter: blur(2px) saturate(80%) contrast(0.25) brightness(1.58);\n  background-color: color-mix(in srgb, #f7f7f8 30%, transparent);\n}\n/* Light cards take a faint surface wash so text holds over the brightest shader. */\n.liquid-glass-frame[data-tone=\"light\"][data-surface=\"card\"] .liquid-glass-body {\n  --glass-body: contrast(1.02) brightness(1.02);\n  -webkit-backdrop-filter: contrast(1.02) brightness(1.02);\n  backdrop-filter: contrast(1.02) brightness(1.02);\n  background-color: color-mix(in srgb, #f7f7f8 28%, transparent);\n}\n/* The current page sits on a lighter, raised pill, like the selected iOS 27 tab\n   (upstream's .marketing-nav-well). It lies over the labels, which it lifts and bends. */\n.liquid-glass-frame[data-surface=\"pill\"] .liquid-glass-body {\n  --glass-body: brightness(1.45);\n  -webkit-backdrop-filter: brightness(1.45);\n  backdrop-filter: brightness(1.45);\n  background-color: rgba(255, 255, 255, 0.08);\n}\n/* Lifted, the pill clears into a lens over the labels it carries. */\n.liquid-glass-frame[data-surface=\"pill\"][data-compact=\"true\"] .liquid-glass-body {\n  background-color: rgba(255, 255, 255, 0.02);\n}\n.liquid-glass-frame[data-tone=\"light\"][data-surface=\"pill\"] .liquid-glass-body {\n  --glass-body: brightness(0.92);\n  -webkit-backdrop-filter: brightness(0.92);\n  backdrop-filter: brightness(0.92);\n}\n.liquid-glass-frame[data-surface][data-tone][data-compact][data-refraction=\"true\"] .liquid-glass-body {\n  backdrop-filter: var(--glass-body) var(--glass-refraction);\n}\n.liquid-glass-shade { -webkit-backdrop-filter: brightness(1.33); backdrop-filter: brightness(1.33); }\n.liquid-glass-glow { -webkit-backdrop-filter: saturate(110%) brightness(1.3); backdrop-filter: saturate(110%) brightness(1.3); }\n.liquid-glass-highlight { -webkit-backdrop-filter: contrast(1.1) brightness(2); backdrop-filter: contrast(1.1) brightness(2); }\n.liquid-glass-frame[data-tone=\"light\"] .liquid-glass-shade { -webkit-backdrop-filter: brightness(1.08); backdrop-filter: brightness(1.08); }\n.liquid-glass-frame[data-tone=\"light\"] .liquid-glass-glow { -webkit-backdrop-filter: brightness(1.02); backdrop-filter: brightness(1.02); }\n.liquid-glass-frame[data-tone=\"light\"] .liquid-glass-highlight { -webkit-backdrop-filter: contrast(1.11) brightness(0.95); backdrop-filter: contrast(1.11) brightness(0.95); }\n@media (prefers-contrast: more) {\n  .liquid-glass-shade { -webkit-backdrop-filter: brightness(0.1); backdrop-filter: brightness(0.1); }\n  .liquid-glass-frame[data-tone=\"light\"] .liquid-glass-shade { -webkit-backdrop-filter: brightness(0.6); backdrop-filter: brightness(0.6); }\n}\n@media (prefers-reduced-transparency: reduce) {\n  .liquid-glass { display: none; }\n  .liquid-glass-frame[data-surface=\"nav\"] { background: #131317; }\n  .liquid-glass-frame[data-tone=\"light\"][data-surface=\"nav\"] { background: #ffffff; }\n  .liquid-glass-frame[data-surface=\"pill\"] { background: rgba(255, 255, 255, 0.10); }\n}\n@media (forced-colors: active) {\n  .liquid-glass { display: none; }\n}\n`;/* ---- Framer variant transitions ----------------------------------------------- */// Frames without movement before the glass stops following its target.\nconst SETTLE_FRAMES=10;/**\n * Framer animates variant changes with FLIP, scaling the box from its old size, and\n * Chromium drops the masks of backdrop-filtered layers under a scaling ancestor, so\n * the rim, side band and glow wash over the whole glass. Following glass sits outside\n * the target instead, and tracks its on-screen box with real dimensions every frame\n * it moves, as upstream's WebKit nav animates its real size.\n */function useFollowTarget(root,frame,follow,enabled){useEffect(()=>{const origin=root.current;const glass=frame.current;const element=follow?.current;if(!enabled||!origin||!glass||!element)return;const target=element.tagName===\"NAV\"?element:element.querySelector(\"nav\")??element;let raf=0;let still=0;let last=\"\";const tick=()=>{raf=0;const box=target.getBoundingClientRect();const base=origin.getBoundingClientRect();const style=getComputedStyle(target);const scale=target.offsetWidth?box.width/target.offsetWidth:1;// FLIP divides the radius by the scale; multiply back for the on-screen corner.\nconst radius=(parseFloat(style.borderTopLeftRadius)||0)*scale;const opacity=parseFloat(style.opacity);const next=[box.left-base.left,box.top-base.top,box.width,box.height,radius,opacity,style.visibility].join();if(next===last)still++;else{last=next;still=0;glass.style.left=`${box.left-base.left}px`;glass.style.top=`${box.top-base.top}px`;glass.style.width=`${box.width}px`;glass.style.height=`${box.height}px`;glass.style.borderRadius=`${radius}px`;// The target's entrance fade must reach the glass as well.\norigin.style.opacity=opacity<1?String(opacity):\"\";origin.style.visibility=style.visibility===\"hidden\"?\"hidden\":\"\";}if(still<SETTLE_FRAMES)raf=requestAnimationFrame(tick);};const wake=()=>{still=0;if(!raf)raf=requestAnimationFrame(tick);};// Layout changes start a transition; style writes carry its frames.\nconst resize=new ResizeObserver(wake);resize.observe(target);const mutation=new MutationObserver(wake);mutation.observe(target,{attributes:true,attributeFilter:[\"style\",\"class\"]});window.addEventListener(\"resize\",wake);wake();return()=>{resize.disconnect();mutation.disconnect();window.removeEventListener(\"resize\",wake);cancelAnimationFrame(raf);};},[root,frame,follow,enabled]);}/**\n * Liquid Glass\n *\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 68\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function LiquidGlass(props){const{radius=999,compact=false,follow,style}=props;const kind=String(props.surface).toLowerCase();const surface=kind===\"card\"||kind===\"pill\"?kind:\"nav\";const tone=String(props.tone).toLowerCase()===\"light\"?\"light\":\"dark\";const root=useRef(null);const frame=useRef(null);const filterId=`liquid-glass-${useId().replace(/[^\\w-]/g,\"\")}`;useLiquidGlass(frame,filterId,GEOMETRY[surface]);// The canvas zooms the whole page, so only follow a target on the live site.\nuseFollowTarget(root,frame,follow,!useIsStaticRenderer());return /*#__PURE__*/_jsxs(\"span\",{ref:root,\"aria-hidden\":\"true\",className:\"liquid-glass-root\",\"data-follow\":follow?\"\":undefined,style:style,children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/_jsxs(\"span\",{ref:frame,className:\"liquid-glass-frame\",\"data-surface\":surface,\"data-tone\":tone,\"data-compact\":surface!==\"card\"&&compact,style:{...follow?{}:{borderRadius:radius},\"--glass-refraction\":`url(#${filterId})`},children:[/*#__PURE__*/_jsx(\"span\",{className:\"liquid-glass liquid-glass-body\"}),/*#__PURE__*/_jsx(\"span\",{\"data-glass-layer\":\"shade\",className:\"liquid-glass liquid-glass-shade\"}),/*#__PURE__*/_jsx(\"span\",{\"data-glass-layer\":\"glow\",className:\"liquid-glass liquid-glass-glow\"}),/*#__PURE__*/_jsx(\"span\",{\"data-glass-layer\":\"highlight\",className:\"liquid-glass liquid-glass-highlight\"})]})]});}addPropertyControls(LiquidGlass,{surface:{type:ControlType.Enum,title:\"Surface\",options:[\"nav\",\"card\",\"pill\"],optionTitles:[\"Nav\",\"Card\",\"Pill\"],defaultValue:\"nav\",displaySegmentedControl:true},tone:{type:ControlType.Enum,title:\"Tone\",options:[\"dark\",\"light\"],optionTitles:[\"Dark\",\"Light\"],defaultValue:\"dark\",displaySegmentedControl:true},radius:{type:ControlType.Number,title:\"Radius\",description:\"Match the parent's corner radius.\",defaultValue:999,min:0,max:999,step:1,unit:\"px\"},compact:{type:ControlType.Boolean,title:\"Compact\",description:\"Darker body for the scrolled nav; a clear lens for a lifted pill.\",defaultValue:false,hidden:props=>props.surface===\"card\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LiquidGlass\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"68\",\"framerIntrinsicWidth\":\"400\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LiquidGlass.map"],"mappings":"kNAkB0T,SAAS,EAAW,EAAK,EAAG,EAAM,CAAC,IAAM,EAAE,KAAK,IAAI,EAAE,KAAK,IAAI,GAAG,EAAM,IAAO,EAAG,EAAK,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,EAAE,EAAG,CAAsF,SAAS,EAAc,EAAE,CAAC,IAAM,EAAQ,KAAK,IAAI,KAAK,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,IAAU,GAAG,GAAG,EAAE,IAAU,IAAI,IAAK,CAA+E,SAAS,EAAkB,EAAM,EAAU,EAAgB,CAAC,IAAM,EAAQ,IAAI,aAAa,GAAe,EAAE,IAAI,IAAI,EAAK,EAAE,GAAM,EAAc,IAAO,CAAC,IAAM,EAAE,KAAK,IAAI,EAAK,EAAc,IAAI,EAAQ,GAAQ,GAAG,EAAE,IAAI,IAAI,IAEr5B,EAAU,KAAK,KAAK,EAAU,EAAM,EAAc,CAAC,CAAC,EAAQ,EAAU,KAAK,K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