PageSourceSearch

https://schnucks.com/_next/static/chunks/6758-4042a7bf71734b57.js

js schnucks.com collected 2026-09-24 09:23:40 UTC 20,975 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6758],{6803:function(e){var t;t=function(){function e(){return(e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var n="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function r(e){return("image-"+e.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}var o=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"]],i=["clip","crop","fill","fillmax","max","scale","min"],a=["top","bottom","left","right","center","focalpoint","entropy"],u=["format"],s=function(){function s(t,n){this.options=void 0,this.options=t?e({},t.options||{},n||{}):e({},n||{})}var l=s.prototype;return l.withOptions=function(n){var r=n.baseUrl||this.options.baseUrl,i={baseUrl:r};for(var a in n)n.hasOwnProperty(a)&&(i[function(e){for(var n,r=function(e,n){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,n){if(e){if("string"==typeof e)return t(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,void 0)}}(e))){r&&(e=r);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(o);!(n=r()).done;){var i=n.value,a=i[0],u=i[1];if(e===a||e===u)return a}return e}(a)]=n[a]);return new s(this,e({baseUrl:r},i))},l.image=function(e){return this.withOptions({source:e})},l.dataset=function(e){return this.withOptions({dataset:e})},l.projectId=function(e){return this.withOptions({projectId:e})},l.bg=function(e){return this.withOptions({bg:e})},l.dpr=function(e){return this.withOptions(e&&1!==e?{dpr:e}:{})},l.width=function(e){return this.withOptions({width:e})},l.height=function(e){return this.withOptions({height:e})},l.focalPoint=function(e,t){return this.withOptions({focalPoint:{x:e,y:t}})},l.maxWidth=function(e){return this.withOptions({maxWidth:e})},l.minWidth=function(e){return this.withOptions({minWidth:e})},l.maxHeight=function(e){return this.withOptions({maxHeight:e})},l.minHeight=function(e){return this.withOptions({minHeight:e})},l.size=function(e,t){return this.withOptions({width:e,height:t})},l.blur=function(e){return this.withOptions({blur:e})},l.sharpen=function(e){return this.withOptions({sharpen:e})},l.rect=function(e,t,n,r){return this.withOptions({rect:{left:e,top:t,width:n,height:r}})},l.format=function(e){return this.withOptions({format:e})},l.invert=function(e){return this.withOptions({invert:e})},l.orientation=function(e){return this.withOptions({orientation:e})},l.quality=function(e){return this.withOptions({quality:e})},l.forceDownload=function(e){return this.withOptions({download:e})},l.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},l.flipVertical=function(){return this.withOptions({flipVertical:!0})},l.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},l.fit=function(e){if(-1===i.indexOf(e))throw Error('Invalid fit mode "'+e+'"');return this.withOptions({fit:e})},l.crop=function(e){if(-1===a.indexOf(e))throw Error('Invalid crop mode "'+e+'"');return this.withOptions({crop:e})},l.saturation=function(e){return this.withOptions({saturation:e})},l.auto=function(e){if(-1===u.indexOf(e))throw Error('Invalid auto mode "'+e+'"');return this.withOptions({auto:e})},l.pad=function(e){return this.withOptions({pad:e})},l.url=function(){return function(t){var i=e({},t||{}),a=i.source;delete i.source;var u=function(t){var n;if(!t)return null;if("string"==typeof t&&/^https?:\/\//.test(""+t))n={asset:{_ref:r(t)}};else if("string"==typeof t)n={asset:{_ref:t}};else if(t&&"string"==typeof t._ref)n={asset:t};else if(t&&"string"==typeof t._id)n={asset:{_ref:t._id||""}};else if(t&&t.asset&&"string"==typeof t.asset.url)n={asset:{_ref:r(t.asset.url)}};else{if("object"!=typeof t.asset)return null;n=e({},t)}return t.crop&&(n.crop=t.crop),t.hotspot&&(n.hotspot=t.hotspot),function(t){if(t.crop&&t.hotspot)return t;var n=e({},t);return n.crop||(n.crop={left:0,top:0,bottom:0,right:0}),n.hotspot||(n.hotspot={x:.5,y:.5,height:1,width:1}),n}(n)}(a);if(!u)throw Error("Unable to resolve image URL from source ("+JSON.stringify(a)+")");var s=function(e){var t=e.split("-"),r=t[1],o=t[2],i=t[3];if(!r||!o||!i)throw Error("Malformed asset _ref '"+e+"'. Expected an id like \""+n+'".');var a=o.split("x"),u=a[0],s=a[1],l=+u,c=+s;
1if(!(isFinite(l)&&isFinite(c)))throw Error("Malformed asset _ref '"+e+"'. Expected an id like \""+n+'".');return{id:r,width:l,height:c,format:i}}(u.asset._ref||u.asset._id||""),l=Math.round(u.crop.left*s.width),c=Math.round(u.crop.top*s.height),p={left:l,top:c,width:Math.round(s.width-u.crop.right*s.width-l),height:Math.round(s.height-u.crop.bottom*s.height-c)},f=u.hotspot.height*s.height/2,d=u.hotspot.width*s.width/2,h=u.hotspot.x*s.width,m=u.hotspot.y*s.height;return i.rect||i.focalPoint||i.ignoreImageParams||i.crop||(i=e({},i,function(e,t){var n,r=t.width,o=t.height;if(!(r&&o))return{width:r,height:o,rect:e.crop};var i=e.crop,a=e.hotspot,u=r/o;if(i.width/i.height>u){var s=Math.round(i.height),l=Math.round(s*u),c=Math.max(0,Math.round(i.top)),p=Math.max(0,Math.round(Math.round((a.right-a.left)/2+a.left)-l/2));p<i.left?p=i.left:p+l>i.left+i.width&&(p=i.left+i.width-l),n={left:p,top:c,width:l,height:s}}else{var f=i.width,d=Math.round(f/u),h=Math.max(0,Math.round(i.left)),m=Math.max(0,Math.round(Math.round((a.bottom-a.top)/2+a.top)-d/2));m<i.top?m=i.top:m+d>i.top+i.height&&(m=i.top+i.height-d),n={left:h,top:m,width:f,height:d}}return{width:r,height:o,rect:n}}({crop:p,hotspot:{left:h-d,top:m-f,right:h+d,bottom:m+f}},i))),function(e){var t=(e.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),n=e.asset.id+"-"+e.asset.width+"x"+e.asset.height+"."+e.asset.format,r=t+"/images/"+e.projectId+"/"+e.dataset+"/"+n,i=[];if(e.rect){var a=e.rect,u=a.left,s=a.top,l=a.width,c=a.height;(0!==u||0!==s||c!==e.asset.height||l!==e.asset.width)&&i.push("rect="+u+","+s+","+l+","+c)}e.bg&&i.push("bg="+e.bg),e.focalPoint&&(i.push("fp-x="+e.focalPoint.x),i.push("fp-y="+e.focalPoint.y));var p=[e.flipHorizontal&&"h",e.flipVertical&&"v"].filter(Boolean).join("");return(p&&i.push("flip="+p),o.forEach(function(t){var n=t[0],r=t[1];void 0!==e[n]?i.push(r+"="+encodeURIComponent(e[n])):void 0!==e[r]&&i.push(r+"="+encodeURIComponent(e[r]))}),0===i.length)?r:r+"?"+i.join("&")}(e({},i,{asset:s}))}(this.options)},l.toString=function(){return this.url()},s}();return function(e){if(e&&"config"in e&&"function"==typeof e.config){var t=e.config(),n=t.apiHost,r=t.projectId,o=t.dataset;return new s(null,{baseUrl:(n||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:r,dataset:o})}if(e&&"clientConfig"in e&&"object"==typeof e.clientConfig){var i=e.clientConfig,a=i.apiHost,u=i.projectId,l=i.dataset;return new s(null,{baseUrl:(a||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:u,dataset:l})}return new s(null,e)}},e.exports=t()},93967:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=i(t,n));return t}(n)))}return e}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0!==(n=(function(){return o}).apply(t,[]))&&(e.exports=n)}()},83216:function(e,t,n){"use strict";let r,o;n.d(t,{p:function(){return E}});var i,a=n(67294),u=n(46978),s=n(13114),l=n(65141),c=n(78405),p=n(20476),f=n(83596),d=n(28277),h=n(14371),m=n(5750);let v=null!=(i=a.startTransition)?i:function(e){e()};var g=n(72118),y=((r=y||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r),I=((o=I||{})[o.ToggleDisclosure=0]="ToggleDisclosure",o[o.CloseDisclosure=1]="CloseDisclosure",o[o.SetButtonId=2]="SetButtonId",o[o.SetPanelId=3]="SetPanelId",o[o.LinkPanel=4]="LinkPanel",o[o.UnlinkPanel=5]="UnlinkPanel",o);let w={0:e=>({...e,disclosureState:(0,d.E)(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},4:e=>!0===e.linkedPanel?e:{...e,linkedPanel:!0},5:e=>!1===e.linkedPanel?e:{...e,linkedPanel:!1},2:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},3:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId}},b=(0,a.createContext)(null);function R(e){let t=(0,a.useContext)(b);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Disclosure /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,R),t}return t}b.displayName="DisclosureContext";let x=(0,a.createContext)(null);x.displayName="DisclosureAPIContext";let P=(0,a.createContext)(null);function S(e,t){return(0,d.E)(t.type,w,e,t)}P.displayName="DisclosurePanelContext";let M=a.Fragment,O=m.AN.RenderStrategy|m.AN.Static,E=Object.assign((0,m.yV)(function(e,t){let{defaultOpen:n=!1,...r}=e,o=(0,a.useRef)(null),i=(0,c.T)(t,(0,c.h)(e=>{o.current=e},void 0===e.as||e.as===a.Fragment)),s=(0,a.useRef)(null),l=(0,a.useRef)(null),f=(0,a.useReducer)(S,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:l,panelRef:s,buttonId:null,panelId:null}),[{disclosureState:v,buttonId:g},y]=f,I=(0,u.z)(e=>{y({type:1});let t=(0,h.r)(o);if(!t||!g)return;let n=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:t.getElementById(g):t.getElementById(g);null==n||n.focus()}),w=(0,a.useMemo)(()=>({close:I}),[I]),R=(0,a.useMemo)(()=>({open:0===v,close:I}
1),[v,I]);return a.createElement(b.Provider,{value:f},a.createElement(x.Provider,{value:w},a.createElement(p.up,{value:(0,d.E)(v,{0:p.ZM.Open,1:p.ZM.Closed})},(0,m.sY)({ourProps:{ref:i},theirProps:r,slot:R,defaultTag:M,name:"Disclosure"}))))}),{Button:(0,m.yV)(function(e,t){let n=(0,s.M)(),{id:r="headlessui-disclosure-button-".concat(n),...o}=e,[i,p]=R("Disclosure.Button"),d=(0,a.useContext)(P),h=null!==d&&d===i.panelId,v=(0,a.useRef)(null),y=(0,c.T)(v,t,h?null:i.buttonRef),I=(0,m.Y2)();(0,a.useEffect)(()=>{if(!h)return p({type:2,buttonId:r}),()=>{p({type:2,buttonId:null})}},[r,p,h]);let w=(0,u.z)(e=>{var t;if(h){if(1===i.disclosureState)return;switch(e.key){case g.R.Space:case g.R.Enter:e.preventDefault(),e.stopPropagation(),p({type:0}),null==(t=i.buttonRef.current)||t.focus()}}else switch(e.key){case g.R.Space:case g.R.Enter:e.preventDefault(),e.stopPropagation(),p({type:0})}}),b=(0,u.z)(e=>{e.key===g.R.Space&&e.preventDefault()}),x=(0,u.z)(t=>{var n;(0,f.P)(t.currentTarget)||e.disabled||(h?(p({type:0}),null==(n=i.buttonRef.current)||n.focus()):p({type:0}))}),S=(0,a.useMemo)(()=>({open:0===i.disclosureState}),[i]),M=(0,l.f)(e,v),O=h?{ref:y,type:M,onKeyDown:w,onClick:x}:{ref:y,id:r,type:M,"aria-expanded":0===i.disclosureState,"aria-controls":i.linkedPanel?i.panelId:void 0,onKeyDown:w,onKeyUp:b,onClick:x};return(0,m.sY)({mergeRefs:I,ourProps:O,theirProps:o,slot:S,defaultTag:"button",name:"Disclosure.Button"})}),Panel:(0,m.yV)(function(e,t){let n=(0,s.M)(),{id:r="headlessui-disclosure-panel-".concat(n),...o}=e,[i,u]=R("Disclosure.Panel"),{close:l}=function e(t){let n=(0,a.useContext)(x);if(null===n){let n=Error("<".concat(t," /> is missing a parent <Disclosure /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(n,e),n}return n}("Disclosure.Panel"),f=(0,m.Y2)(),d=(0,c.T)(t,i.panelRef,e=>{v(()=>u({type:e?4:5}))});(0,a.useEffect)(()=>(u({type:3,panelId:r}),()=>{u({type:3,panelId:null})}),[r,u]);let h=(0,p.oJ)(),g=null!==h?(h&p.ZM.Open)===p.ZM.Open:0===i.disclosureState,y=(0,a.useMemo)(()=>({open:0===i.disclosureState,close:l}),[i,l]);return a.createElement(P.Provider,{value:i.panelId},(0,m.sY)({mergeRefs:f,ourProps:{ref:d,id:r},theirProps:o,slot:y,defaultTag:"div",features:O,visible:g,name:"Disclosure.Panel"}))})})},99269:function(e,t,n){"use strict";let r,o,i;n.d(t,{v:function(){return z}});var a=n(67294),u=n(20626),s=n(46978),l=n(13114),c=n(62922),p=n(44441),f=n(84305),d=n(65141),h=n(78405),m=n(89969),v=n(32990),g=n(14371),y=n(20476),I=n(83596),w=n(64908),b=n(87112),R=n(4918),x=n(28277),P=n(5750),S=n(72118),M=((r=M||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r),O=((o=O||{})[o.Pointer=0]="Pointer",o[o.Other=1]="Other",o),E=((i=E||{})[i.OpenMenu=0]="OpenMenu",i[i.CloseMenu=1]="CloseMenu",i[i.GoToItem=2]="GoToItem",i[i.Search=3]="Search",i[i.ClearSearch=4]="ClearSearch",i[i.RegisterItem=5]="RegisterItem",i[i.UnregisterItem=6]="UnregisterItem",i);function T(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=(0,R.z2)(t(e.items.slice()),e=>e.dataRef.current.domRef.current),o=n?r.indexOf(n):null;return -1===o&&(o=null),{items:r,activeItemIndex:o}}let k={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,__demoMode:!1,menuState:0},2:(e,t)=>{var n;let r=T(e),o=(0,w.d)(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeItemIndex:o,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),o=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find(e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled}),i=o?e.items.indexOf(o):-1;return -1===i||i===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:i,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let n=T(e,e=>[...e,{id:t.id,dataRef:t.dataRef}
1]);return{...e,...n}},6:(e,t)=>{let n=T(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}}},D=(0,a.createContext)(null);function C(e){let t=(0,a.useContext)(D);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Menu /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,C),t}return t}function _(e,t){return(0,x.E)(t.type,k,e,t)}D.displayName="MenuContext";let A=a.Fragment,j=P.AN.RenderStrategy|P.AN.Static,N=a.Fragment,z=Object.assign((0,P.yV)(function(e,t){let{__demoMode:n=!1,...r}=e,o=(0,a.useReducer)(_,{__demoMode:n,menuState:n?0:1,buttonRef:(0,a.createRef)(),itemsRef:(0,a.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:i,itemsRef:u,buttonRef:l},c]=o,f=(0,h.T)(t);(0,p.O)([l,u],(e,t)=>{var n;c({type:1}),(0,R.sP)(t,R.tJ.Loose)||(e.preventDefault(),null==(n=l.current)||n.focus())},0===i);let d=(0,s.z)(()=>{c({type:1})}),m=(0,a.useMemo)(()=>({open:0===i,close:d}),[i,d]);return a.createElement(D.Provider,{value:o},a.createElement(y.up,{value:(0,x.E)(i,{0:y.ZM.Open,1:y.ZM.Closed})},(0,P.sY)({ourProps:{ref:f},theirProps:r,slot:m,defaultTag:A,name:"Menu"})))}),{Button:(0,P.yV)(function(e,t){var n;let r=(0,l.M)(),{id:o="headlessui-menu-button-".concat(r),...i}=e,[c,p]=C("Menu.Button"),f=(0,h.T)(c.buttonRef,t),m=(0,u.G)(),v=(0,s.z)(e=>{switch(e.key){case S.R.Space:case S.R.Enter:case S.R.ArrowDown:e.preventDefault(),e.stopPropagation(),p({type:0}),m.nextFrame(()=>p({type:2,focus:w.T.First}));break;case S.R.ArrowUp:e.preventDefault(),e.stopPropagation(),p({type:0}),m.nextFrame(()=>p({type:2,focus:w.T.Last}))}}),g=(0,s.z)(e=>{e.key===S.R.Space&&e.preventDefault()}),y=(0,s.z)(t=>{if((0,I.P)(t.currentTarget))return t.preventDefault();e.disabled||(0===c.menuState?(p({type:1}),m.nextFrame(()=>{var e;return null==(e=c.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
1)):(t.preventDefault(),p({type:0})))}),b=(0,a.useMemo)(()=>({open:0===c.menuState}),[c]),R={ref:f,id:o,type:(0,d.f)(e,c.buttonRef),"aria-haspopup":"menu","aria-controls":null==(n=c.itemsRef.current)?void 0:n.id,"aria-expanded":0===c.menuState,onKeyDown:v,onKeyUp:g,onClick:y};return(0,P.sY)({ourProps:R,theirProps:i,slot:b,defaultTag:"button",name:"Menu.Button"})}),Items:(0,P.yV)(function(e,t){var n,r;let o=(0,l.M)(),{id:i="headlessui-menu-items-".concat(o),...p}=e,[d,m]=C("Menu.Items"),v=(0,h.T)(d.itemsRef,t),I=(0,f.i)(d.itemsRef),x=(0,u.G)(),M=(0,y.oJ)(),O=null!==M?(M&y.ZM.Open)===y.ZM.Open:0===d.menuState;(0,a.useEffect)(()=>{let e=d.itemsRef.current;e&&0===d.menuState&&e!==(null==I?void 0:I.activeElement)&&e.focus({preventScroll:!0})},[d.menuState,d.itemsRef,I]),function(e){let{container:t,accept:n,walk:r,enabled:o=!0}=e,i=(0,a.useRef)(n),u=(0,a.useRef)(r);(0,a.useEffect)(()=>{i.current=n,u.current=r},[n,r]),(0,c.e)(()=>{if(!t||!o)return;let e=(0,g.r)(t);if(!e)return;let n=i.current,r=u.current,a=Object.assign(e=>n(e),{acceptNode:n}),s=e.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,a,!1);for(;s.nextNode();)r(s.currentNode)},[t,o,i,u])}({container:d.itemsRef.current,enabled:0===d.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let E=(0,s.z)(e=>{var t,n;switch(x.dispose(),e.key){case S.R.Space:if(""!==d.searchQuery)return e.preventDefault(),e.stopPropagation(),m({type:3,value:e.key});case S.R.Enter:if(e.preventDefault(),e.stopPropagation(),m({type:1}),null!==d.activeItemIndex){let{dataRef:e}=d.items[d.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}(0,R.wI)(d.buttonRef.current);break;case S.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),m({type:2,focus:w.T.Next});case S.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),m({type:2,focus:w.T.Previous});case S.R.Home:case S.R.PageUp:return e.preventDefault(),e.stopPropagation(),m({type:2,focus:w.T.First});case S.R.End:case S.R.PageDown:return e.preventDefault(),e.stopPropagation(),m({type:2,focus:w.T.Last});case S.R.Escape:e.preventDefault(),e.stopPropagation(),m({type:1}),(0,b.k)().nextFrame(()=>{var e;return null==(e=d.buttonRef.current)?void 0:e.focus({preventScroll:!0})});break;case S.R.Tab:e.preventDefault(),e.stopPropagation(),m({type:1}),(0,b.k)().nextFrame(()=>{(0,R.EO)(d.buttonRef.current,e.shiftKey?R.TO.Previous:R.TO.Next)});break;default:1===e.key.length&&(m({type:3,value:e.key}),x.setTimeout(()=>m({type:4}),350))}}),T=(0,s.z)(e=>{e.key===S.R.Space&&e.preventDefault()}),k=(0,a.useMemo)(()=>({open:0===d.menuState}),[d]),D={"aria-activedescendant":null===d.activeItemIndex||null==(n=d.items[d.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(r=d.buttonRef.current)?void 0:r.id,id:i,onKeyDown:E,onKeyUp:T,role:"menu",tabIndex:0,ref:v};return(0,P.sY)({ourProps:D,theirProps:p,slot:k,defaultTag:"div",features:j,visible:O,name:"Menu.Items"})}),Item:(0,P.yV)(function(e,t){let n=(0,l.M)(),{id:r="headlessui-menu-item-".concat(n),disabled:o=!1,...i}=e,[u,p]=C("Menu.Item"),f=null!==u.activeItemIndex&&u.items[u.activeItemIndex].id===r,d=(0,a.useRef)(null),g=(0,h.T)(t,d);(0,c.e)(()=>{if(u.__demoMode||0!==u.menuState||!f||0===u.activationTrigger)return;let e=(0,b.k)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=d.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[u.__demoMode,d,f,u.menuState,u.activationTrigger,u.activeItemIndex]);let y=(0,m.x)(d),I=(0,a.useRef)({disabled:o,domRef:d,get textValue(){return y()}});(0,c.e)(()=>{I.current.disabled=o},[I,o]),(0,c.e)(()=>(p({type:5,id:r,dataRef:I}),()=>p({type:6,id:r})),[I,r]);let x=(0,s.z)(()=>{p({type:1})}),S=(0,s.z)(e=>{if(o)return e.preventDefault();p({type:1}),(0,R.wI)(u.buttonRef.current)}),M=(0,s.z)(()=>{if(o)return p({type:2,focus:w.T.Nothing});p({type:2,focus:w.T.Specific,id:r})}),O=(0,v.g)(),E=(0,s.z)(e=>O.update(e)),T=(0,s.z)(e=>{O.wasMoved(e)&&(o||f||p({type:2,focus:w.T.Specific,id:r,trigger:0}))}),k=(0,s.z)(e=>{O.wasMoved(e)&&(o||f&&p({type:2,focus:w.T.Nothing}))}),D=(0,a.useMemo)(()=>({active:f,disabled:o,close:x}),[f,o,x]);return(0,P.sY)({ourProps:{id:r,ref:g,role:"menuitem",tabIndex:!0===o?void 0:-1,"aria-disabled":!0===o||void 0,disabled:void 0,onClick:S,onFocus:M,onPointerEnter:E,onMouseEnter:E,onPointerMove:T,onMouseMove:T,onPointerLeave:k,onMouseLeave:k},theirProps:i,slot:D,defaultTag:N,name:"Menu.Item"})})})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.