{"version":3,"file":"MenuFilterDemo.CInMLPss.mjs","names":["Check","React.useState","React.useRef","React.useEffect","React.useLayoutEffect","Filter","ChevronDown","AsteriskGlyph","X","Ellipsis"],"sources":["https:/framerusercontent.com/modules/TujC37EFKKtkAGb771f3/ldceFureZIgTsDI8Ludd/MenuFilterDemo.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{motion,AnimatePresence,useReducedMotion}from\"framer-motion\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";// Lucide by explicit URL, not a bare \"lucide-react\" specifier. The bare form\n// typechecks in the editor but fails to resolve when Framer instantiates the\n// component on canvas — the drop silently does nothing. ?external=react keeps\n// it on Framer's React instead of pulling a second copy. Kept on one line so\n// the @ts-ignore lands on the line TS reports the missing types on.\n// @ts-ignore\nimport{Filter,ChevronDown,Asterisk as AsteriskGlyph,X,Ellipsis,Check}from\"https://esm.sh/lucide-react@0.563.0?external=react\";// Edible — allergen filter demo\n// Looping walkthrough: menu -> diet filter drawer -> select allergens ->\n// filtered menu -> dish detail sheet -> reset.\n//\n// Designed at 375 x 539 and scaled to whatever width the Framer frame is.\nconst W=375;const H=539;// ---------------------------------------------------------------- tokens\n// Lifted from the real viewer theme — libs/ui/.../styles/base.css and\n// viewer.css, edible-light. The originals here were cool greys guessed off\n// the Figma render; the product's palette is warm. base-content in\n// particular is a dark brown (#2f160f), not a near-black, and base-300 is a\n// warm grey (#e4e0dd) rather than #eeeeee — which is why the dividers and\n// borders read differently.\nconst T={white:\"#ffffff\",base100:\"#ffffff\",base200:\"#f4f3f1\",base300:\"#e4e0dd\",content:\"#2f160f\",neutral:\"#2f160f\",// base-content at opacity, matching the /80 /70 /60 /20 /10 usages\nmuted:\"rgba(47, 22, 15, 0.8)\",faint:\"rgba(47, 22, 15, 0.7)\",soft:\"rgba(47, 22, 15, 0.6)\",border:\"rgba(47, 22, 15, 0.1)\",borderStrong:\"rgba(47, 22, 15, 0.2)\",// Dashed borders read lighter than solid ones at the same opacity —\n// roughly half the pixels are gaps, so half the ink. The product's\n// ModifyBadge compensates by using /20 dashed against SafeBadge's /10\n// solid, but that only brings it level with the LIGHTER of the two.\n// This is ~1.8x its solid counterpart so the dash carries the weight of\n// a full border rather than looking like a faded one. It has no hover\n// variant on purpose — only the fill reacts.\nborderDash:\"rgba(47, 22, 15, 0.36)\",error:\"#ff6b48\",errorSoft:\"#fff0ed\",errorTint:\"#ffe1da\",errorChip:\"#ffe9e4\",errorChipHover:\"#ffdad1\",contentHover:\"rgba(47, 22, 15, 0.88)\",base200Hover:\"rgba(244, 243, 241, 0.7)\",// Between base-200 and base-300. The component says hover:bg-base-300,\n// but at this scale the full step reads heavy on a control that's\n// already grey at rest.\nbase300Soft:\"#ece9e7\",chipHover:\"#f4f3f1\",chipBorderHover:\"rgba(47, 22, 15, 0.2)\",errorContent:\"#2f160f\",warning:\"#fcb700\",warningContent:\"#2f160f\",success:\"#95dc69\",successContent:\"#2f160f\"};// --menu-button-radius. Used for buttons, chips, badges AND the little\n// icon tiles inside badges — the marks are rounded squares in the product,\n// not circles.\nconst R=8;// Page gutter. Everything sits 16 in from the frame edge.\nconst GUTTER=16;// Concentric radius: an outer corner is only parallel to the one inside it\n// when outer = inner + padding. The controls are R (8) on a GUTTER (16)\n// inset, so the frame wants 24.\n//\n// Applied in code rather than on a Framer frame so it stays PROPORTIONAL to\n// the rendered size. A frame crops at a fixed pixel radius, so as the demo\n// scales down the corner reads relatively larger and stops matching the\n// chips inside. Multiplying by `scale` keeps the ratio fixed at any size.\n//\n// The trade-off is the known corner fringe, which is accepted — see the note\n// on the scrim below.\nconst FRAME_R=R+GUTTER;// Shown top-left in the fixed header.\nconst menuName=\"Dinner\";// Content entrances — the menu arriving, and the body swapping between the\n// plain and filtered states. A long, soft ease-out with a bit of travel, so\n// the menu glides to a stop rather than snapping into place. The shared\n// `ease` below decelerates too abruptly for something moving this far.\nconst ENTER_EASE=[.16,1,.3,1];const ENTER_TRAVEL=26// px\n;const ENTER_DUR=.68// seconds\n;const EXIT_DUR=.3// leaving stays brisk; it's not the part you watch\n;// Blank beat before the plain menu comes back at the END of the sequence,\n// on `reset`. NOT on first render — the component opens with the menu\n// already showing (see initial={false} on the menu wrapper).\n//\n// This is what the old `boot` step provided; the problem there was never the\n// blank itself but that it ran for 500ms ON TOP OF a 700ms unmount, so the\n// frame sat empty for over a second.\nconst RESET_GAP=.55;// Header bar: 16 pad + 44 button + 12 pad. The top is GUTTER rather than the\n// 12 the real header uses, because the filter's count badge overhangs the\n// button by 8 — at py-3 it sat 4px from the frame top but 8px from the\n// right, which wedged it into the corner. 16 gives it 8 on both.\nconst HEADER_H=72;// Shortened from 20 to pull the cross-contact card up closer under the bar.\n// The 8px that buys is handed to the Starters heading's top padding, so the\n// space moves from above the card to below it and nothing downstream shifts.\nconst HEADER_FADE=12;// Framer registers each uploaded face as its OWN font-family — there is no\n// single \"GT Walsheim\" family carrying weights. Taken verbatim from the\n// published site's CSS:\n//\n//   --framer-font-family: \"GT Walsheim Medium\", \"GT Walsheim Medium\n//   Placeholder\", sans-serif\n//\n// So `fontWeight: 500` could never have worked; the weight has nothing to\n// apply to. Each tier has to name its face directly. Available faces are\n// Regular, Medium and Bold — there is no Semibold, so 600 maps to Bold.\n//\n// These are exposed as CSS custom properties on the root, which is what lets\n// the module-level helper components below reach them without threading\n// props through everything.\nconst FACE_400='\"GT Walsheim Regular\", \"GT Walsheim Regular Placeholder\", sans-serif';const FACE_500='\"GT Walsheim Medium\", \"GT Walsheim Medium Placeholder\", sans-serif';const FACE_600='\"GT Walsheim Bold\", \"GT Walsheim Bold Placeholder\", sans-serif';const FONT=\"'GT Walsheim', 'GT Walsheim Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif\";// ---------------------------------------------------------------- content\nconst MENU=[{name:\"Cucumber Salad\",desc:\"anchovy vinaigrette, chili oil, sesame\",price:\"6\",status:\"clear\",badge:\"0/2 allergens\"},{name:\"Spicy Tuna Tartare\",desc:\"avocado, crispy wonton chips, yuzu soy\",price:\"11\",status:\"hidden\",// Shown when the unsuitable group is opened. Only `hit` entries —\n// the allergens the filter matched on — are rendered; the rest are\n// kept here as the dish's real composition but stay behind the\n// overflow affordance, as they do in the product.\ncontains:[{label:\"Egg\",hit:true},{label:\"Gluten\",hit:false},{label:\"Soya\",hit:false}]},{name:\"Tempura King Prawn\",desc:\"house slaw, wasabi mayo\",price:\"9\",status:\"modify\",badge:\"1 modification available\"},{name:\"Sticky Pork Belly\",desc:\"hoisin glaze, pickled daikon, scallions\",price:\"8\",status:\"hidden\",contains:[{label:\"Celery\",hit:true},{label:\"Gluten\",hit:false},{label:\"Soya\",hit:false}]}];// The real labels, from libs/shared/src/i18n/en/filter/index.ts. Note \"Egg\"\n// and \"Gluten\" rather than the \"Eggs\" / \"Cereals containing gluten\" in the\n// mock. Alphabetical, as the drawer lists them — which moves Egg to index 2\n// and shifts the cursor target for that tap.\nconst ALLERGENS=[\"Celery\",\"Crustaceans\",\"Egg\",\"Fish\",\"Gluten\",\"Lupin\",\"Milk\",\"Molluscs\",\"Mustard\",\"Peanuts\",\"Sesame\",\"Soya\",\"Sulphites\",\"Tree Nuts\"];// ---------------------------------------------------------------- timeline\n// step: what is on screen. duration: how long it holds, in ms at 1x speed.\n// `ms` only applies to steps that DON'T drive the cursor — boot, detail and\n// reset. Every cursor step now derives its own length from the numbers it\n// rolled: wait + glide + SETTLE + TAP_LEAD. That replaced a set of\n// hand-computed worst-case budgets which, on any roll faster than the worst\n// case, left the cursor parked on its target waiting for the clock.\n// There is no blank \"boot\" step. The menu mounts once and stays mounted, so\n// the loop never returns to an empty frame — `reset` just clears the filter\n// state and lets the body cross-fade back to the plain menu. Previously\n// `reset` unmounted the menu and `boot` held an empty card, which put over a\n// second of white screen in the middle of every loop.\nconst STEPS=[{id:\"menu\",ms:0},{id:\"drawer\",ms:0},{id:\"pick1\",ms:0},{id:\"pick2\",ms:0},{id:\"apply\",ms:0},{id:\"detail\",ms:0},{id:\"unsuitable\",ms:0},// No click. The group's expansion and scroll settle ~550ms after the\n// click that opened it, and the fade starts at TAP_LEAD + this — so the\n// revealed dishes sit still for (ms - 350), i.e. ~2s.\n{id:\"expanded\",ms:2350},// Long enough to clear the filter state and start the body swapping\n// back. The swap itself outlives this step and finishes during `menu`,\n// which is what keeps the seam invisible.\n{id:\"reset\",ms:600}];// Where the tap indicator sits during each step, in 375x539 space.\n// Deliberately offset toward the lower-right of each control rather than its\n// centre — a centred dot sits on top of the label and hides it.\n//\n// `wait` is how long the cursor holds still after the step begins before it\n// starts moving to this target, in ms at 1x speed. Moving the instant the\n// previous click lands looks mechanical; a real user watches the UI respond,\n// finds the next control, then moves. So the wait covers the incoming\n// panel's animation plus a beat of \"looking\".\n//\n// Drawer geometry, for the chip positions: the drawer sits at y=26, the tabs\n// occupy 54px (8 pad + 12/19/12 text + 3px border), the list adds 18px of\n// padding, chips are 38px tall on a 54px pitch (gap-y-4). Celery (index 0)\n// centres at y=117; Egg is index 2 alphabetically, centring at y=225.\n// `tap: false` keeps the cursor on screen for a step without firing a click.\n// `invert: true` flips the cursor to white for targets that sit on a dark\n// surface — the default dark cursor is invisible against them.\n// `hit` is roughly how far the control's edge sits from the tap point along\n// the approach — it sets when the hover fires, since a real pointer lights\n// an element up on crossing its boundary, not on reaching the centre.\n// CURSOR_RADIUS is added to it: the indicator is a graphic with size, and\n// its leading edge touches the control before its centre point does.\nconst CURSOR={// Diet Filter button — entry is handled by CURSOR_DELAY. The header is\n// 16px top padding, so the button spans y 16-60.\nmenu:{x:344,y:48,wait:0,hit:20},drawer:{x:96,y:127,wait:550,hit:26},pick1:{x:80,y:235,wait:280,hit:24},// Apply Filters is a near-black button (T.neutral), so the dark cursor\n// vanishes against it.\npick2:{x:334,y:510,wait:400,invert:true,hit:34},// Modification pill on the Tempura row — read the results first.\n// Worked from the filtered layout: header spacer 88, banner card 87,\n// Starters 58, divider 1, Cucumber row 113, then 16 pad + 28 name/price\n// + 24 description + 8 = the pill at y 423-452.\napply:{x:190,y:444,wait:1200,hit:26},// \"Back to menu\" — the sheet sits at y=75 and is 464 tall, so its footer\n// button spans y 479-523.\n//\n// The wait is the reading beat for the sheet, which is the densest\n// screen in the loop — Contains, Modify, the substitution and the\n// footnote. The sheet also stays up through the glide, settle, TAP_LEAD\n// and its own 450ms close, so total time on screen is roughly another\n// 1.5s beyond this.\ndetail:{x:330,y:512,wait:1900,hit:32},// The unsuitable chip. The Tempura row ends at 460, leaving 79px to the\n// frame edge; centred against the visible gap it spans 477-513.\nunsuitable:{x:258,y:504,wait:600,hit:28},// Stays put while the list scrolls up underneath it, which is what a\n// real hand does. No tap — the loop resets from here.\nexpanded:{x:258,y:504,wait:0,tap:false}};// How far the menu scrolls up when the excluded group opens, so the revealed\n// dishes are actually on screen.\n//\n// The group adds 234px (two 113px dishes plus an 8px offset) below a chip\n// that ends at 513, so its content runs to 747 in a 539 frame. 224 lands the\n// last dish 16px clear of the bottom edge — the same gutter used on the\n// sides, so the content sits in an even margin all round.\nconst GROUP_SCROLL=224;// The tap indicator enters from off-canvas right, just below the filter\n// pill, so it has barely any distance to cover before its first tap.\nconst CURSOR_ENTRY={x:410,y:74};// How long to let the menu settle before the tap indicator appears, in ms\n// at 1x speed. A short half-second beat (with WAIT_JITTER, roughly 0.4-0.6s)\n// so the loop gets moving quickly instead of dwelling on the plain menu.\nconst CURSOR_DELAY=500;// Hop duration scales with the LOG of distance, not linearly — roughly\n// Fitts's law, which is how actual pointing behaves: a move twice as far\n// takes nowhere near twice as long.\n//\n// Constant speed (duration proportional to distance) overstated the spread.\n// It made the 260px hop to Celery drag at 870ms while the 150px hop to Eggs\n// darted at 500ms, even though those two moves should feel similar. This\n// compresses the range to roughly 0.52-0.78s across every hop in the demo.\n//\n// It also shortened the long run down to Apply Filters from 1.1s to ~0.78s.\n// That one read as jumpy, most likely because CURSOR_EASE has a very long\n// soft tail: stretched over 1.1s the final stretch covers almost no ground,\n// so it looks like it stalls and then twitches into place.\nconst CURSOR_BASE=.37// fixed overhead per hop, seconds\n;const CURSOR_K=.19// extra seconds per doubling of distance\n;const CURSOR_DIST_REF=100// px\n;// Safety rails only — with the log model above, real hops land between\n// 0.52s and 0.78s, so neither clamp actually binds.\nconst CURSOR_TRAVEL_MIN=.45;const CURSOR_TRAVEL_MAX=1.1;// ...but a perfectly constant speed is just a different kind of mechanical.\n// Each hop gets +/- this much on its duration so no two runs of the loop\n// are paced identically. Bounded deliberately: the step budgets below are\n// worked out from the SLOWEST a hop can roll, and if a roll could exceed\n// that the click would fire before the cursor had arrived.\nconst CURSOR_JITTER=.18;// Same idea for the pause before the cursor sets off. Hesitation varies more\n// than motor speed does, so this runs wider than CURSOR_JITTER.\nconst WAIT_JITTER=.22;// Random multiplier in [1 - amount, 1 + amount]. Safe to call from effects,\n// which are client-only. Anywhere that runs during render needs a\n// typeof window guard first or the server and client disagree.\nfunction jitter(amount){return 1+(Math.random()*2-1)*amount;}// A 1D cubic bezier with the endpoints pinned at 0 and 1.\nfunction bezier1d(a,b,s){const inv=1-s;return 3*inv*inv*s*a+3*inv*s*s*b+s*s*s;}// The fraction of a hop's DURATION at which the eased motion has covered a\n// given fraction of its DISTANCE. Needed because hover should fire when the\n// cursor crosses into the element, not when it finishes arriving — and under\n// CURSOR_EASE the last stretch of distance takes a disproportionate slice of\n// the time, so \"arrival\" is much later than \"entry\".\n//\n// Binary search for the curve parameter where the progress axis reads\n// `progress`, then read the time axis at that parameter.\nfunction timeAtProgress(ease,progress){const[x1,y1,x2,y2]=ease;let lo=0;let hi=1;for(let n=0;n<24;n++){const mid=(lo+hi)/2;if(bezier1d(y1,y2,mid)<progress)lo=mid;else hi=mid;}return bezier1d(x1,x2,(lo+hi)/2);}// cubic-bezier(0.65, 0, 0.35, 1) — a strong, symmetric ease-in-out. Chosen\n// off a ladder of five candidates. Worth recording the two failure modes it\n// sits between, since the window is narrower than it looks:\n//   - Gentler than this (approaching linear) reads mechanical.\n//   - The original cubic-bezier(0.5, 0, 0, 1) put both control points hard\n//     against the axes, flattening the start and end and dumping all the\n//     movement into the middle — slow leaving, slow arriving, lurch between.\n// This is heavily eased but stays symmetric, which the original was not.\nconst CURSOR_EASE=[.65,0,.35,1];// How far before a step ends the tap fires, in ms at 1x speed. Roughly the\n// length of the click itself, so the press finishes just as the UI reacts\n// and the tap reads as the thing that caused it.\nconst TAP_LEAD=200;// How long the cursor rests on a target after landing before it clicks, in\n// ms at 1x speed. Measured from actual arrival, so it stays constant however\n// the wait and glide jitter rolled.\nconst SETTLE=260;// Effective radius of the tap indicator graphic — the 22px box holds a ring\n// inset -4, so ~15 from centre to leading edge.\nconst CURSOR_RADIUS=14;// Hover fade. Kept short: a slow fade reads as lag even when the trigger\n// itself is correctly timed.\nconst HOVER_FADE=.12;// ---------------------------------------------------------------- icons\nconst Funnel=({size=16,color=T.content})=>/*#__PURE__*/_jsx(Filter,{size:size,color:color,strokeWidth:1.5});const Chevron=({color=T.content})=>/*#__PURE__*/_jsx(ChevronDown,{size:16,color:color,strokeWidth:1.5});// Badge marks are rounded SQUARES in the product, not circles — the glyph\n// carries `bg-<semantic> rounded-[var(--menu-button-radius)]` and is drawn\n// in the matching *-content colour. Same radius as the buttons.\nfunction Tile({bg,size=17,pad=1,children}){return /*#__PURE__*/_jsx(\"span\",{style:{width:size,height:size,borderRadius:R,background:bg,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,padding:pad},children:children});}// The exclamation paths are taken from ContainsBadge.svelte rather than\n// redrawn, so the mark matches exactly.\nconst Bang=({size=17,color})=>/*#__PURE__*/_jsxs(\"svg\",{width:size,height:size,viewBox:\"0 0 20 20\",fill:\"none\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M10 3C10.8284 3 11.5 3.67157 11.5 4.5L11.5 10.5C11.5 11.3284 10.8284 12 10 12C9.17157 12 8.5 11.3284 8.5 10.5L8.5 4.5C8.5 3.67157 9.17157 3 10 3Z\",fill:color}),/*#__PURE__*/_jsx(\"path\",{d:\"M11.5 15.5C11.5 16.3284 10.8284 17 10 17C9.17157 17 8.5 16.3284 8.5 15.5C8.5 14.6716 9.17157 14 10 14C10.8284 14 11.5 14.6716 11.5 15.5Z\",fill:color})]});const Alert=({size=17})=>/*#__PURE__*/_jsx(Tile,{bg:T.warning,size:size,pad:0,children:/*#__PURE__*/_jsx(Bang,{size:size,color:T.warningContent})});const ContainsMark=({size=17})=>/*#__PURE__*/_jsx(Tile,{bg:T.error,size:size,pad:0,children:/*#__PURE__*/_jsx(Bang,{size:size,color:T.errorContent})});const CheckDot=()=>/*#__PURE__*/_jsx(Tile,{bg:T.success,size:17,children:/*#__PURE__*/_jsx(Check,{size:15,strokeWidth:3,color:T.successContent})});const Asterisk=({size=17})=>/*#__PURE__*/_jsx(\"span\",{style:{width:size,height:size,borderRadius:R,backgroundColor:T.success,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0},children:/*#__PURE__*/_jsx(AsteriskGlyph,{size:size,color:T.successContent,strokeWidth:2.5})});// MenuSection.svelte's unsuitable summary: an X on a coral disc, not an\n// eye-off. Note this one IS a circle (rounded-full) — the badge tiles above\n// use the 8px button radius. Matching the product rather than tidying it.\nconst UnsuitableMark=()=>/*#__PURE__*/_jsx(\"span\",{style:{width:18,height:18,borderRadius:9,backgroundColor:T.error,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,padding:2},children:/*#__PURE__*/_jsx(X,{size:14,strokeWidth:3,color:T.errorContent})});const Dots=()=>/*#__PURE__*/_jsx(Ellipsis,{size:16,color:T.soft,strokeWidth:2});// ---------------------------------------------------------------- pieces\n// .checkcontrol_input-checkbox-small: 16px, border-2, and the SAME 8px\n// radius as everything else — it was a 4px near-square here.\n// Checked is built exactly like the badge marks — the same 17px Tile at the\n// button radius, a semantic fill, and the glyph in the matching *-content —\n// so a ticked allergen and a SafeBadge tick are the same object in two\n// colours rather than two things that merely resemble each other.\n// Unchecked is that same footprint as an empty outline.\nfunction Checkbox({on}){if(on){return /*#__PURE__*/_jsx(Tile,{bg:T.error,children:/*#__PURE__*/_jsx(Check,{size:15,strokeWidth:3,color:T.errorContent})});}return /*#__PURE__*/_jsx(\"div\",{style:{width:17,height:17,borderRadius:R,border:`2px solid ${T.borderStrong}`,backgroundColor:T.base100,flexShrink:0}});}// .checkcontrol_wrapper-boxed + .boxed-sm + .checkcontrol_wrapper-boxed-allergen\n//   unchecked: bg-base-100, border-base-content/10\n//   checked:   bg-error/10,  border-error\n// boxed-sm is px-2.5 py-1, gap-x-2, and the label is text-lg (18px) — it was\n// 15px on a 12px/9px pad here.\nfunction AllergenChip({label,on,hover}){return /*#__PURE__*/_jsxs(motion.div,{animate:{backgroundColor:on?T.errorSoft:hover?T.chipHover:T.base100,borderColor:on?T.error:hover?T.chipBorderHover:T.border},// Selecting is a deliberate state change and can take its time;\n// hover needs to feel instant.\ntransition:{duration:on?.22:HOVER_FADE},style:{display:\"inline-flex\",alignItems:\"center\",gap:8,padding:\"4px 10px\",borderRadius:R,border:`1px solid ${T.border}`,backgroundColor:T.base100,alignSelf:\"flex-start\",fontSize:18,lineHeight:\"28px\",color:T.content},children:[/*#__PURE__*/_jsx(Checkbox,{on:on}),/*#__PURE__*/_jsx(\"span\",{children:label})]});}// `inset` pulls the rule in by the page gutter. MenuSection.svelte's section\n// header sits inside the px-4 container, so its border-b is inset by the\n// same 16 as everything else rather than running edge to edge.\nfunction Divider({inset=0}){return /*#__PURE__*/_jsx(\"div\",{style:{padding:inset?`0 ${inset}px`:undefined},children:/*#__PURE__*/_jsx(\"div\",{style:{height:1,backgroundColor:T.base300}})});}function SummaryRow({icon,label}){return(// hover:bg-base-200/70 on the banner row.\n/*#__PURE__*/_jsxs(motion.div,{initial:false,whileHover:{backgroundColor:T.base200Hover},transition:{duration:HOVER_FADE},style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",padding:\"2px 12px\",fontSize:16,lineHeight:\"24px\",color:T.content,cursor:\"pointer\"},children:[/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:8,padding:\"6px 8px 6px 0\"},children:[icon,/*#__PURE__*/_jsx(\"span\",{children:label})]}),/*#__PURE__*/_jsx(Chevron,{})]}));}// SafeBadge / ModifyBadge.\n//   Safe:   bg-base-200, solid border-base-content/10\n//   Modify: bg-base-200, DASHED border-base-content/20\n// Both are 16px text on a 23px line box, py-0.5 with 6px gaps — they were\n// 13px pills here, which made them read as metadata rather than as part of\n// the dish. The dashed edge on Modify is what separates \"you'd need to ask\"\n// from \"this is already fine\".\nfunction DishBadge({status,label,hover=false}){const clear=status===\"clear\";return(// Modify sits on white at rest with the grey moved to hover. That's\n// a deliberate departure from ModifyBadge.svelte, which is base-200\n// at rest and base-300/60 on hover — on white menu rows the filled\n// version competed with the dish text next to it.\n// SafeBadge is untouched and still base-200.\n/*#__PURE__*/_jsxs(motion.div,{initial:false,// Both branches spell out the rest values. Returning `{}` when\n// not hovered would leave motion with no target, so the badge\n// would stay stuck in its hover state once the cursor left.\n// Only the background moves on hover. The dash stays put: it is\n// already carrying the weight of a full border, and darkening it\n// further made the outline the thing that reacted rather than\n// the label.\nanimate:clear?{backgroundColor:T.base200}:{backgroundColor:hover?T.base200:T.base100},whileHover:clear?undefined:{backgroundColor:T.base200},transition:{duration:HOVER_FADE},style:{display:\"inline-flex\",alignItems:\"center\",gap:6,padding:clear?\"2px 6px\":\"2px 8px 2px 4px\",borderRadius:R,fontSize:16,lineHeight:\"23px\",color:T.content,backgroundColor:clear?T.base200:T.base100,border:clear?`1px solid ${T.border}`:`1px dashed ${T.borderDash}`},children:[clear?/*#__PURE__*/_jsx(CheckDot,{}):/*#__PURE__*/_jsx(Asterisk,{}),/*#__PURE__*/_jsx(\"span\",{children:label})]}));}// Allergen flags on an excluded dish. A matched allergen gets the coral\n// ContainsBadge; everything else is a NeutralBadge.\nfunction FlagBadge({label,hit}){return /*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:6,padding:hit?\"2px 6px\":\"3px 8px\",borderRadius:R,fontSize:16,lineHeight:hit?\"23px\":\"21px\",color:T.content,background:hit?T.errorTint:T.base200,border:hit?\"1px solid transparent\":`1px solid ${T.base300}`},children:[hit&&/*#__PURE__*/_jsx(ContainsMark,{}),label]});}// ---------------------------------------------------------------- component\n/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 375\n * @framerIntrinsicHeight 539\n */export default function MenuFilterDemo(props){const{speed=1,showCursor=true,style}=props;// The faces are hardcoded, with NO font property control.\n//\n// A ControlType.Font was tried and made things worse twice over. It\n// selects a single FACE, not a family — the instance stores e.g.\n// `CUSTOMV2;GT Walsheim Regular` — so one control served only Regular and\n// left every 500/600 with nothing to resolve to. And because a Font\n// control carries `defaultFontType`, it returns Framer's default (Inter)\n// even when nothing has been picked, which silently overrode the\n// hardcoded faces rather than falling through to them.\n//\n// Naming the faces directly means a fresh instance is correct with an\n// empty property panel.\nconst reduce=useReducedMotion();const[i,setI]=React.useState(0);const step=STEPS[i].id;// Declared up here rather than beside the scale measurement below,\n// because the loop effect's dependency array reads `active` and would\n// otherwise hit a temporal dead zone.\nconst wrap=React.useRef(null);// The loop runs only while the component is on screen, and starts from\n// the top each time it arrives.\n//\n// A hand-rolled IntersectionObserver rather than useInView, because the\n// two directions need DIFFERENT thresholds:\n//   enter at 50% — so it doesn't begin while it's still a sliver\n//   leave at 0%  — only once it's completely gone\n//\n// That gap is load-bearing. With one threshold for both, parking\n// mid-scroll at the boundary toggles it repeatedly, and since leaving\n// resets the loop that would be a demo restarting over and over while\n// you sit still.\n//\n// The alternative was `once: true`, which never stops — so on a page\n// with four of these, reaching the bottom leaves all four looping with\n// three of them invisible.\nconst[inView,setInView]=React.useState(false);React.useEffect(()=>{const el=wrap.current;if(!el||typeof IntersectionObserver===\"undefined\")return;const io=new IntersectionObserver(([e])=>{if(e.intersectionRatio>=.5)setInView(true);else if(e.intersectionRatio===0)setInView(false);},{threshold:[0,.5]});io.observe(el);return()=>io.disconnect();},[]);// isStatic affects RENDERING only, never whether the loop runs.\n//\n// On the Framer canvas the loop should stay parked on step 0 so the\n// resting frame is the plain menu — a stable thing to design against.\n// Letting it advance there would preview whatever step a timer happened\n// to reach, and since the canvas doesn't run animations it would jump\n// between states rather than transition.\nconst isStatic=useIsStaticRenderer();const active=inView;// ALWAYS mounted — deliberately not gated on `active`.\n//\n// Only the loop waits for visibility. Gating the mount as well meant the\n// whole menu popped into existence the moment the component crossed 50%\n// visible, which on the menu-builder page is partway through the parent\n// frame's own appear effect (it uses the same 0.5 threshold). The result\n// read as a click near the end of that transition.\n//\n// Rendering it from the start costs nothing: off-screen it's just markup,\n// and with the loop held at step 0 it sits in its plain state until seen.\nconst showMenu=true;const drawerOpen=step===\"drawer\"||step===\"pick1\"||step===\"pick2\";const picked={Celery:step===\"pick1\"||step===\"pick2\",Egg:step===\"pick2\"};const cursor=CURSOR[step];// One rolled plan per step, driving everything:\n//   wait -> glide -> settle -> click -> next step\n//\n// The click and the step change are both scheduled from when the cursor\n// actually ARRIVES, not from a fixed step length. That matters because\n// the wait and glide are jittered: with a fixed step length the click\n// sat at a fixed offset from the END, so an average roll arrived early\n// and then loitered on the target — up to ~900ms on a fast roll against\n// the ~250ms intended. Timing from arrival makes the pause always\n// SETTLE, whatever the dice did.\n//\n// tapCount MUST return to 0 at the end of each loop. The click is a\n// keyframe array, and a keyframe array replays whenever the element\n// mounts — so if the count were still non-zero when the cursor comes\n// back on screen next loop, it would fire a phantom click on arrival.\nconst[tapCount,setTapCount]=React.useState(0);// Which step the most recent click belonged to. Press animations on the\n// UI itself key off this rather than off `step`, because `step` flips at\n// the START of a step — a button keyed on that presses immediately,\n// before the cursor has even set off toward it.\nconst[lastTap,setLastTap]=React.useState(null);// Which control the tap cursor is currently resting on, so that control\n// can show its hover state. Without this the hover styles only ever fire\n// for a real mouse, and the loop itself never demonstrates them —\n// the cursor would sit on a button that stayed inert until it clicked.\nconst[hovered,setHovered]=React.useState(null);const[tapReady,setTapReady]=React.useState(false);const[tapTarget,setTapTarget]=React.useState(CURSOR_ENTRY);const[travelDuration,setTravelDuration]=React.useState(CURSOR_TRAVEL_MIN);const prevTargetRef=React.useRef(CURSOR_ENTRY);// Wind everything back when the component leaves the viewport, so the\n// next arrival opens on step 0 rather than wherever it had got to.\n// Done on LEAVE rather than on re-entry: resetting on the way out means\n// the component is already in its opening state while off screen, so\n// there is no visible state change at the moment it comes back.\nReact.useEffect(()=>{if(active)return;setI(0);setTapCount(0);setLastTap(null);setHovered(null);setTapReady(false);setTapTarget(CURSOR_ENTRY);prevTargetRef.current=CURSOR_ENTRY;},[active]);// Flips on the Apply CLICK, not when the step advances. The click lands\n// TAP_LEAD (200ms) before the drawer starts closing, so the menu swaps\n// underneath while the drawer still covers it. Keying it to the step\n// meant the drawer pulled away to reveal the unfiltered menu, which then\n// visibly changed — you saw the old state for a beat it had no business\n// being there. Declared here rather than up with the other derived flags\n// because it reads lastTap.\nconst filtered=lastTap===\"pick2\"||step===\"apply\"||step===\"detail\"||step===\"unsuitable\"||step===\"expanded\";// The sheet closes on the \"Back to menu\" click rather than when the step\n// advances, for the same reason: the click should visibly cause it.\nconst detail=step===\"detail\"&&lastTap!==\"detail\";// Both sheets dim the menu behind them. The scrim is rendered before the\n// drawer and the detail sheet in the tree, so it sits behind both.\nconst scrim=drawerOpen||detail;// The excluded group opens on its click, and the menu scrolls up at the\n// same time so the revealed dishes aren't below the fold.\nconst groupOpen=lastTap===\"unsuitable\"||step===\"expanded\";React.useEffect(()=>{// Nothing is scheduled until the component is on screen, so `i`\n// stays at 0 and the loop opens on its first step rather than\n// wherever a timer happened to have got to.\nif(!active)return;const sp=Math.max(.1,speed);const id=STEPS[i].id;const c=CURSOR[id];const timers=[];const advance=()=>setI(n=>(n+1)%STEPS.length);const at=(fn,ms)=>{timers.push(setTimeout(fn,Math.max(0,ms)/sp));};// Steps with no cursor target just hold for their fixed duration.\nif(!c){if(id===\"reset\"){setTapReady(false);setTapCount(0);setLastTap(null);setHovered(null);setTapTarget(CURSOR_ENTRY);prevTargetRef.current=CURSOR_ENTRY;}at(advance,Math.max(120,STEPS[i].ms));return()=>timers.forEach(clearTimeout);}// Roll this step's numbers once, then hang everything off them.\nconst p=prevTargetRef.current;const dist=Math.hypot(c.x-p.x,c.y-p.y);const glide=Math.min(CURSOR_TRAVEL_MAX,Math.max(CURSOR_TRAVEL_MIN,CURSOR_BASE+CURSOR_K*Math.log2(1+dist/CURSOR_DIST_REF)))*jitter(CURSOR_JITTER)*1e3;const wait=(id===\"menu\"?CURSOR_DELAY:c.wait)*jitter(WAIT_JITTER);setTravelDuration(glide/1e3);prevTargetRef.current={x:c.x,y:c.y};if(id===\"menu\"){// The glide doubles as the entrance, so the wait gates the mount.\nsetTapTarget(c);at(()=>setTapReady(true),wait);}else{setTapReady(true);at(()=>setTapTarget(c),wait);}// Hover follows the cursor: it drops as the cursor sets off, and\n// picks up when the cursor crosses INTO the target — not when it\n// finishes arriving. Under CURSOR_EASE the final slice of distance\n// eats a big slice of the time, so firing on arrival read as a\n// noticeable lag behind the pointer.\n// The tap indicator is a graphic, not a point: an 18px ring offset\n// 4px beyond a 10px dot. Its leading edge reaches the control well\n// before its centre does, so hovering off the centre alone looked\n// late — the cursor was visibly sitting on the button while nothing\n// had lit up yet.\nconst hitRadius=(c.hit??28)+CURSOR_RADIUS;const enterAt=dist>0?glide*timeAtProgress(CURSOR_EASE,Math.max(0,Math.min(1,1-hitRadius/dist))):0;at(()=>setHovered(null),wait);at(()=>setHovered(id),wait+enterAt);if(c.tap===false){at(advance,Math.max(120,STEPS[i].ms));}else{const tapAt=wait+glide+SETTLE;at(()=>{setTapCount(n=>n+1);setLastTap(id);},tapAt);at(advance,tapAt+TAP_LEAD);}return()=>timers.forEach(clearTimeout);},[i,speed,active]);// Invert only while BOTH the place the cursor is heading and the current\n// step's target are dark. The asymmetry is deliberate:\n//   - Moving toward a dark target, tapTarget flips when the glide starts,\n//     so the colour cross-fades across the journey and is white on\n//     arrival.\n//   - Leaving one, the step's target is already light, so this goes\n//     false the instant the step changes. Without it the cursor stays\n//     white over the reopened white menu until it next moves.\nconst invertCursor=Boolean(tapTarget.invert&&cursor?.invert);// Scale the 375x539 artboard to fit whatever box Framer gives us.\n// Zero measurements are ignored so the component never collapses to\n// nothing while the canvas is still laying out.\n//\n// Measured in a LAYOUT effect, not a passive one. `scale` starts at 1,\n// so with a passive effect the browser paints one frame at the full\n// 375x539 and then snaps to the real size — on the menu-builder page the\n// instance is 320x446, so that's a visible jump from 1 to 0.827 on load.\n//\n// That flash has always been here; the menu's old fade-in from opacity 0\n// just covered it. Now that the menu is present immediately it shows.\n// useLayoutEffect runs before paint, so the first frame is already\n// correctly scaled.\nconst[scale,setScale]=React.useState(1);const useMeasureEffect=typeof window===\"undefined\"?React.useEffect:React.useLayoutEffect;useMeasureEffect(()=>{const el=wrap.current;if(!el)return;const measure=(w,h)=>{if(w<=0||h<=0)return;setScale(Math.min(w/W,h/H));};measure(el.clientWidth,el.clientHeight);const ro=new ResizeObserver(([e])=>measure(e.contentRect.width,e.contentRect.height));ro.observe(el);return()=>ro.disconnect();},[]);const ease=[.22,1,.36,1];const d=n=>reduce?0:n;return /*#__PURE__*/_jsx(\"div\",{ref:wrap,// The faces go on as custom properties so every descendant —\n// including the module-level helper components — can name one\n// without props being threaded down.\nstyle:{width:\"100%\",height:\"100%\",minWidth:1,minHeight:1,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",\"--face-400\":FACE_400,\"--face-500\":FACE_500,\"--face-600\":FACE_600,fontFamily:\"var(--face-400)\",...style,userSelect:\"none\",WebkitUserSelect:\"none\",pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(\"div\",{style:{width:W*scale,height:H*scale,overflow:\"hidden\",// Scaled with the artboard so the corner stays in\n// proportion to the UI at any size. Clipping happens here\n// on the UNSCALED element rather than inside the\n// transform, which is the least-bad place for it.\nborderRadius:FRAME_R*scale,backgroundColor:T.white},children:/*#__PURE__*/_jsxs(\"div\",{style:{width:W,height:H,transform:`scale(${scale})`,transformOrigin:\"top left\",position:\"relative\",backgroundColor:T.white,color:T.content,WebkitFontSmoothing:\"antialiased\"},children:[/*#__PURE__*/_jsx(AnimatePresence,{children:showMenu&&/*#__PURE__*/_jsx(motion.div,{// initial={false}: the default menu is simply\n// THERE the moment the component comes into view\n// — no blank beat, no entrance. Combined with the\n// viewport gate, you scroll to it and the menu is\n// already sitting waiting to be used, which is\n// what a real page does.\n//\n// The blank-and-fade lives at the END of the\n// sequence instead, on `reset`, where the body\n// cross-fade carries it back to the plain menu.\n// Opening on it as well made the demo announce\n// itself before it had shown anything.\ninitial:false,animate:{opacity:1,y:0},exit:{opacity:0,transition:{duration:d(EXIT_DUR)}},transition:{duration:d(ENTER_DUR),ease:ENTER_EASE},style:{position:\"absolute\",inset:0},children:/*#__PURE__*/_jsxs(motion.div,{animate:{y:groupOpen?-GROUP_SCROLL:0},// On reset the scroll SNAPS back rather than\n// animating, once the body has finished\n// fading out. Animating it meant the whole\n// filtered menu visibly slid 250px down as\n// it left — the y movement on exit that the\n// straight opacity fade alone didn't explain.\ntransition:step===\"reset\"?{duration:0,delay:d(EXIT_DUR)}:{duration:d(.55),ease},children:[/*#__PURE__*/_jsx(\"div\",{style:{height:HEADER_H+HEADER_FADE}}),/*#__PURE__*/_jsx(AnimatePresence,{mode:\"wait\",initial:false,children:/*#__PURE__*/_jsxs(motion.div,{// Rises in the same way the menu itself\n// does on entry. Leaves upward so the\n// swap moves in one direction rather\n// than bouncing back on itself.\n//\n// Enter runs at the drawer's 450ms on\n// the same curve, so the menu changing\n// and the drawer closing feel like one\n// motion. Exit is quicker — under\n// mode=\"wait\" the two run back to back,\n// and matching both would leave a\n// near-second gap mid-swap.\n// `false` on the static renderer. The\n// Framer canvas paints the `initial`\n// state and never runs the animation, so\n// an entrance starting at opacity 0 left\n// the canvas showing the header over an\n// empty card. Skipping initial there\n// renders the resting state — the plain\n// menu — which is what the canvas should\n// preview.\ninitial:isStatic?false:{opacity:0,y:ENTER_TRAVEL},animate:{opacity:1,y:0},// Straight fade on the way out — no\n// travel. The outgoing state drifting\n// upward fought the incoming one rising,\n// so the swap read as two things moving\n// past each other rather than one\n// replacing the other.\nexit:{opacity:0,transition:{duration:d(EXIT_DUR),ease}},// The plain menu waits a beat before\n// arriving; the filtered one does not,\n// since it appears from behind the\n// closing drawer and any delay there\n// would show the unfiltered menu.\ntransition:{duration:d(ENTER_DUR),ease:ENTER_EASE,delay:filtered?0:d(RESET_GAP)},children:[filtered&&// Detail.svelte \"menu-banners\": a\n// bordered, rounded, overflow-clipped\n// CARD with divide-y between rows —\n// not full-bleed rows with rules\n// above and below. It reads as one\n// object you can open, which is what\n// it is.\n// Top padding trimmed (10 -> 2) to\n// absorb the taller header spacer, so\n// everything below keeps its position\n// and the cursor targets stay valid.\n/*#__PURE__*/_jsx(\"div\",{style:{padding:\"2px 16px 2px\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{border:`1px solid ${T.base300}`,borderRadius:R,overflow:\"hidden\",backgroundColor:T.base100},children:[/*#__PURE__*/_jsx(SummaryRow,{icon:/*#__PURE__*/_jsx(Alert,{}),label:\"2 cross contamination risks\"}),/*#__PURE__*/_jsx(\"div\",{style:{height:1,backgroundColor:T.base300}}),/*#__PURE__*/_jsx(SummaryRow,{icon:/*#__PURE__*/_jsx(Asterisk,{}),label:\"Modifications available\"})]})}),/*#__PURE__*/_jsx(\"h2\",{style:{margin:0,padding:\"16px 16px 14px\",fontSize:24,lineHeight:\"32px\",fontWeight:500,fontFamily:\"var(--face-500)\",letterSpacing:\"-0.025em\"},children:\"Starters\"}),/*#__PURE__*/_jsx(Divider,{inset:GUTTER}),MENU.filter(dish=>!(filtered&&dish.status===\"hidden\")).map(dish=>// No rule between items. MenuItem.svelte\n    // is just py-4 inside a grid with\n    // gap-y-2 — the only divider in a\n    // section is the one under its header.\n    // A rule after every dish was the main\n    // thing making this look unlike the\n    // product.\n    /*#__PURE__*/_jsxs(\"div\",{style:{padding:\"16px 16px 8px\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"flex-start\",justifyContent:\"flex-start\",gap:12,marginBottom:0},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:20,lineHeight:\"28px\",fontWeight:500,fontFamily:\"var(--face-500)\"},children:dish.name}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:20,lineHeight:\"28px\",fontWeight:400,flexShrink:0},children:dish.price})]}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontSize:16,lineHeight:1.5,color:T.muted},children:dish.desc}),filtered&&dish.badge&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:8,paddingTop:8},children:[/*#__PURE__*/_jsx(DishBadge,{status:dish.status,label:dish.badge,hover:hovered===\"apply\"}),/*#__PURE__*/_jsx(Dots,{})]})]},dish.name)),filtered?// Detail.svelte \"unsuitable-items\":\n// an inline chip on bg-error/15 with\n// the button radius — NOT a\n// full-bleed divider row like the\n// banner summaries above it. It's a\n// thing you open, so it reads as a\n// control rather than a section.\n// Centred against the VISIBLE gap,\n// which starts at the bottom of the\n// modification badge (452), not at\n// the end of the dish row (460) —\n// the row's own 8px bottom padding\n// is part of the gap you see. So 87px\n// of space, 36px chip: 17 here plus\n// that 8 puts 25 above and 26 below.\n/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"17px 16px 16px\"},children:[/*#__PURE__*/_jsxs(motion.div,{initial:false,// bg-error/15 -> hover:bg-error/25\nanimate:{backgroundColor:hovered===\"unsuitable\"?T.errorChipHover:T.errorChip},whileHover:{backgroundColor:T.errorChipHover},transition:{duration:HOVER_FADE},style:{display:\"inline-flex\",alignItems:\"center\",maxWidth:\"100%\",padding:\"0 12px\",borderRadius:R,backgroundColor:T.errorChip,fontSize:16,lineHeight:\"24px\",color:T.content,cursor:\"pointer\"},children:[/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:8,padding:\"6px 8px 6px 0\"},children:[/*#__PURE__*/_jsx(UnsuitableMark,{}),/*#__PURE__*/_jsx(\"span\",{children:\"2 unsuitable for your diet\"})]}),/*#__PURE__*/_jsx(motion.span,{animate:{rotate:groupOpen?-180:0},transition:{duration:d(.2)},style:{display:\"inline-flex\"},children:/*#__PURE__*/_jsx(Chevron,{})})]}),/*#__PURE__*/_jsx(AnimatePresence,{initial:false,children:groupOpen&&/*#__PURE__*/_jsx(motion.div,{// Opacity and\n// transform only —\n// deliberately NOT\n// height: auto.\n//\n// Animating height is\n// a layout animation:\n// the browser\n// re-lays-out every\n// frame. Inside a\n// transform-scaled\n// artboard each\n// intermediate height\n// lands on a\n// fractional device\n// pixel, so it\n// visibly steps. It\n// looked fine where\n// the demo renders\n// near 1:1 and rough\n// at 0.827 on\n// /product/menu-builder.\n//\n// Nothing sits below\n// this group, so its\n// height can snap\n// without pushing\n// anything around —\n// the scroll beneath\n// does the revealing.\ninitial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0},transition:{duration:d(.3),ease},children:/*#__PURE__*/_jsx(\"div\",{style:{marginLeft:21,paddingLeft:16,marginTop:8,borderLeft:`1px solid ${T.error}`},children:MENU.filter(dish=>dish.status===\"hidden\").map(dish=>/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"12px 0\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"flex-start\",gap:12,marginBottom:0},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:20,lineHeight:\"28px\",fontWeight:500,fontFamily:\"var(--face-500)\"},children:dish.name}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:20,lineHeight:\"28px\",fontWeight:400,flexShrink:0},children:dish.price})]}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontSize:16,lineHeight:1.5,color:T.muted},children:dish.desc}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",alignItems:\"center\",gap:8,paddingTop:8},children:[dish.contains?.filter(flag=>flag.hit).map(flag=>/*#__PURE__*/_jsx(FlagBadge,{label:flag.label,hit:true},flag.label)),/*#__PURE__*/_jsx(Dots,{})]})]},dish.name))})},\"group\")})]}):/*#__PURE__*/_jsx(\"h2\",{style:{margin:0,padding:\"24px 16px 14px\",fontSize:24,lineHeight:\"32px\",fontWeight:500,fontFamily:\"var(--face-500)\",letterSpacing:\"-0.025em\"},children:\"Mains\"}),!filtered&&/*#__PURE__*/_jsx(Divider,{inset:GUTTER})]},filtered?\"filtered\":\"plain\")})]})})}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:0,left:0,right:0},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:16,// Top is GUTTER, not 12: the count badge\n// overhangs the button by 8, so this is what\n// gives it the same 8px clearance from the frame\n// top that it has from the right edge.\npadding:\"16px 16px 12px\",backgroundColor:T.base100},children:[/*#__PURE__*/_jsx(\"h1\",{style:{margin:0,minWidth:0,fontSize:28,lineHeight:\"36px\",fontWeight:500,fontFamily:\"var(--face-500)\",letterSpacing:\"-0.025em\",color:T.content,whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\"},children:menuName}),/*#__PURE__*/_jsx(\"div\",{style:{flexShrink:0},children:/*#__PURE__*/_jsxs(motion.div,{// No `layout` here any more. It was left\n// over from the label/count morph, and\n// layout projection can swallow\n// whileHover on the same element.\ninitial:false,// hover:bg-base-300 over the base-200\n// rest, on the component's own 180ms.\n// Driven both by the loop's cursor and\n// by a real pointer.\nanimate:{backgroundColor:hovered===\"menu\"?T.base300Soft:T.base200},whileHover:{backgroundColor:T.base300Soft},transition:{duration:HOVER_FADE},// FilterButton.svelte: bg-base-200 with a\n// base-300 border and no shadow, min-h-11,\n// px-3 py-2, gap-2.5, text-base, and\n// font-regular — it was a white 15px\n// medium pill with a drop shadow here.\nstyle:{position:\"relative\",display:\"inline-flex\",alignItems:\"center\",gap:10,minHeight:44,padding:\"8px 12px\",borderRadius:R,border:`1px solid ${T.base300}`,backgroundColor:T.base200,fontSize:16,lineHeight:\"24px\",fontWeight:400,color:T.content},children:[/*#__PURE__*/_jsx(Funnel,{}),/*#__PURE__*/_jsx(\"span\",{style:{whiteSpace:\"nowrap\"},children:\"Diet Filter\"}),/*#__PURE__*/_jsx(AnimatePresence,{children:filtered&&/*#__PURE__*/_jsx(motion.span,{initial:{opacity:0,scale:.5},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.5},transition:{duration:d(.3),ease},style:{position:\"absolute\",top:-8,right:-8,minWidth:20,height:20,padding:\"0 4px\",borderRadius:R,backgroundColor:T.content,color:T.base100,fontSize:14,lineHeight:\"20px\",fontWeight:500,fontFamily:\"var(--face-500)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:\"2\"},\"count\")})]})})]}),/*#__PURE__*/_jsx(\"div\",{style:{height:HEADER_FADE,background:`linear-gradient(to bottom, ${T.base100} 0%, rgba(255, 255, 255, 0) 100%)`,pointerEvents:\"none\"}})]}),/*#__PURE__*/_jsx(AnimatePresence,{children:scrim&&/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:d(.3)},style:{position:\"absolute\",// Bleeds past the artboard rather than\n// sitting flush. Harmless either way, and\n// kept because a flush edge on a\n// transform-scaled parent can expose a\n// subpixel hairline of what's behind it.\n//\n// KNOWN, UNRESOLVED: the frame's rounded\n// corners show a few pale pixels when the\n// scrim is up. Accepted as minor — don't\n// spend time on it again without measuring\n// first. Tried and ruled out: rounding the\n// scrim itself; -webkit-radial-gradient\n// masking plus isolation on the artboard;\n// moving the rounded clip out to the\n// unscaled sizer; cropping in a Framer frame\n// instead of in code; this bleed.\n//\n// The one untested cause is the artboard's\n// transform: scale() — every theory traced\n// back to it, and it's the only thing not\n// eliminated. Removing it means dropping\n// scale-to-fit, which is wanted, so this\n// stays.\ninset:-2,// Warm, matching base-content — this was\n// still the cool near-black from the first\n// pass.\nbackgroundColor:\"rgba(47, 22, 15, 0.68)\"}})}),/*#__PURE__*/_jsx(AnimatePresence,{children:drawerOpen&&/*#__PURE__*/_jsxs(motion.div,{initial:{y:H},animate:{y:26},exit:{y:H},transition:{duration:d(.45),ease},style:{position:\"absolute\",left:-2,right:-2,top:0,height:513,backgroundColor:T.white,borderTopLeftRadius:0,borderTopRightRadius:0,display:\"flex\",flexDirection:\"column\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",paddingTop:8},children:[\"Allergens\",\"Diets\"].map((t,n)=>/*#__PURE__*/_jsx(\"div\",{style:{flex:1,textAlign:\"center\",padding:\"12px 0 12px\",fontSize:16,lineHeight:\"24px\",fontWeight:500,fontFamily:\"var(--face-500)\",color:n===0?T.content:T.soft,borderBottom:n===0?`3px solid ${T.neutral}`:`1px solid ${T.base300}`},children:t},t))}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1,display:\"flex\",flexDirection:\"column\",gap:16,padding:\"18px 16px\",overflow:\"hidden\"},children:ALLERGENS.map(a=>/*#__PURE__*/_jsx(AllergenChip,{label:a,on:!!picked[a],hover:hovered===\"drawer\"&&a===\"Celery\"||hovered===\"pick1\"&&a===\"Egg\"},a))}),/*#__PURE__*/_jsx(Divider,{}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:12,padding:16},children:[/*#__PURE__*/_jsx(motion.div,{initial:false,whileHover:{backgroundColor:T.base200},transition:{duration:HOVER_FADE},style:{flex:1,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",minHeight:48,borderRadius:R,backgroundColor:T.base100,border:`1px solid ${T.base300}`,fontSize:16,lineHeight:\"24px\",fontWeight:500,fontFamily:\"var(--face-500)\",color:T.content,cursor:\"pointer\"},children:\"Cancel\"}),/*#__PURE__*/_jsx(motion.div,{initial:{scale:1},animate:{scale:lastTap===\"pick2\"?[1,.96,1]:1,backgroundColor:hovered===\"pick2\"?T.contentHover:T.content},// Primary action: bg-base-content with\n// hover:bg-base-content/88.\nwhileHover:{backgroundColor:T.contentHover},// Per-property: the scale is a keyframe\n// array with its own `times`, which the\n// colour must not inherit.\ntransition:{scale:{duration:d(.2),times:[0,.4,1],ease:\"easeOut\"},backgroundColor:{duration:HOVER_FADE}},style:{flex:1,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",minHeight:48,borderRadius:R,backgroundColor:T.content,color:T.base100,fontSize:16,lineHeight:\"24px\",fontWeight:600,fontFamily:\"var(--face-600)\",cursor:\"pointer\"},children:\"Apply Filters\"},`apply-${tapCount}`)]})]})}),/*#__PURE__*/_jsx(AnimatePresence,{children:detail&&/*#__PURE__*/_jsxs(motion.div,{initial:{y:H},animate:{y:75},exit:{y:H},transition:{duration:d(.45),ease},style:{position:\"absolute\",left:-2,right:-2,top:0,height:464,backgroundColor:T.white,borderTopLeftRadius:0,borderTopRightRadius:0,boxShadow:\"0 -8px 30px rgba(0,0,0,0.10)\",display:\"flex\",flexDirection:\"column\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",paddingTop:10},children:/*#__PURE__*/_jsx(\"div\",{style:{width:36,height:4,borderRadius:2,background:\"#d4d4d8\"}})}),/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"14px 16px 16px\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:20,lineHeight:\"28px\",fontWeight:500,fontFamily:\"var(--face-500)\"},children:\"Tempura King Prawn\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:16,lineHeight:1.5,color:T.muted,marginTop:0},children:\"house slaw, wasabi mayo\"})]}),/*#__PURE__*/_jsx(Divider,{}),/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"16px\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:16,lineHeight:\"24px\",fontWeight:500,fontFamily:\"var(--face-500)\",marginBottom:10},children:\"Contains:\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:8},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:6,padding:\"2px 6px\",borderRadius:R,backgroundColor:T.errorTint,fontSize:16,lineHeight:\"23px\",color:T.content},children:[/*#__PURE__*/_jsx(ContainsMark,{}),\"Egg\"]}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"inline-flex\",alignItems:\"center\",padding:\"3px 8px\",borderRadius:R,backgroundColor:T.base200,border:`1px solid ${T.base300}`,fontSize:16,lineHeight:\"21px\",color:T.content},children:\"Wheat\"})]}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:16,lineHeight:\"24px\",fontWeight:500,fontFamily:\"var(--face-500)\",margin:\"22px 0 10px\"},children:\"Modify\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:6,fontSize:16,lineHeight:\"23px\",fontWeight:500,fontFamily:\"var(--face-500)\",color:T.content},children:[/*#__PURE__*/_jsx(Asterisk,{}),\"Remove Egg\"]}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,lineHeight:\"20px\",color:T.muted,marginTop:-2,marginLeft:23},children:\"Sweet chilli sauce instead of wasabi mayo\"}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:20,paddingTop:8,borderTop:`1px solid ${T.base300}`},children:/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontSize:14,lineHeight:1.5,fontStyle:\"italic\",color:T.faint},children:\"*Cross-contamination risk remains even if an ingredient is removed from the dish.\"})})]}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:\"auto\",padding:16},children:/*#__PURE__*/_jsx(motion.div,{initial:false,animate:{backgroundColor:hovered===\"detail\"?T.base200:T.base100},whileHover:{backgroundColor:T.base200},transition:{duration:HOVER_FADE},style:{textAlign:\"center\",minHeight:48,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:\"14px 20px\",borderRadius:R,backgroundColor:T.base100,border:`1px solid ${T.base300}`,fontSize:16,lineHeight:\"24px\",fontWeight:500,fontFamily:\"var(--face-500)\",cursor:\"pointer\"},children:\"Back to menu\"})})]})}),showCursor&&!reduce&&/*#__PURE__*/_jsx(AnimatePresence,{children:cursor&&tapReady&&/*#__PURE__*/_jsxs(motion.div,{initial:{opacity:0,x:CURSOR_ENTRY.x-11,y:CURSOR_ENTRY.y-11},animate:{opacity:1,x:tapTarget.x-11,y:tapTarget.y-11,// Ring and dot both inherit this via\n// currentColor. Cross-faded over the\n// glide rather than switched outright,\n// so it is never white while still\n// travelling across the white drawer.\ncolor:invertCursor?T.white:T.neutral},exit:{opacity:0},transition:{x:{duration:d(travelDuration),ease:CURSOR_EASE},y:{duration:d(travelDuration),ease:CURSOR_EASE},color:{duration:d(travelDuration)},opacity:{duration:d(.3)}},style:{position:\"absolute\",top:0,left:0,width:22,height:22,pointerEvents:\"none\"},children:[/*#__PURE__*/_jsx(motion.div,{initial:{scale:1,opacity:0},animate:{scale:tapCount>0?[1,.88,1]:1,opacity:tapCount>0?[0,.5,0]:0},transition:{duration:d(.17),times:[0,.45,1],ease:\"easeOut\"},style:{position:\"absolute\",inset:-4,borderRadius:15,border:\"2.5px solid currentColor\"}},`ring-${tapCount}`),/*#__PURE__*/_jsx(motion.div,{initial:{scale:1},animate:{scale:tapCount>0?[1,.92,1]:1},transition:{duration:d(.17),times:[0,.45,1],ease:\"easeOut\"},style:{position:\"absolute\",inset:6,borderRadius:6,background:\"currentColor\",opacity:.6}},`dot-${tapCount}`)]},\"cursor\")})]})})});}// Framer does not support Component.defaultProps — defaults belong on the\n// property controls so the canvas renders correctly.\naddPropertyControls(MenuFilterDemo,{speed:{type:ControlType.Number,title:\"Speed\",defaultValue:1,min:.25,max:3,step:.05},showCursor:{type:ControlType.Boolean,title:\"Tap dot\",defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MenuFilterDemo\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"375\",\"framerIntrinsicHeight\":\"539\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MenuFilterDemo.map"],"mappings":"8XA6LA,SAAS,GAAO,EAAO,CAAC,MAAO,IAAG,KAAK,OAAO,EAAE,EAAE,GAAG,CAAO,CAC5D,SAAS,EAAS,EAAE,EAAE,EAAE,CAAC,IAAM,EAAI,EAAE,EAAE,MAAO,GAAE,EAAI,EAAI,EAAE,EAAE,EAAE,EAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAE,CAQ9E,SAAS,GAAe,EAAK,EAAS,CAAC,GAAK,CAAC,EAAG,EAAG,EAAG,GAAI,EAAS,EAAG,EAAM,EAAG,EAAE,IAAI,IAAI,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,IAAM,GAAK,EAAG,GAAI,EAAK,EAAS,EAAG,EAAG,CAAG,EAAE,EAAS,EAAG,EAAS,EAAG,CAAI,CAAC,OAAO,EAAS,EAAG,GAAI,EAAG,GAAI,CAAC,CAAE,CAsBhN,SAAS,EAAK,CAAC,KAAG,OAAK,GAAG,MAAI,EAAE,YAAU,CAAC,OAAoB,EAAK,OAAO,CAAC,MAAM,CAAC,MAAM,EAAK,OAAO,EAAK,aAAa,EAAE,WAAW,EAAG,QAAQ,cAAc,WAAW,SAAS,eAAe,SAAS,WAAW,EAAE,QAAQ,CAAG,EAAW,UAAQ,CAAC,CAAE,CAavP,SAAS,EAAS,CAAC,MAAI,CAAoI,OAAhI,EAAwB,EAAK,EAAK,CAAC,GAAG,EAAE,MAAM,SAAsB,EAAKA,EAAM,CAAC,KAAK,GAAG,YAAY,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,EAAuB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,OAAO,GAAG,aAAa,EAAE,O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