PageSourceSearch

https://app.operandio.com/assets/ResponsiveChoiceMenuItem-CvlZJSWE.js

js operandio.com collected 2026-10-01 15:39:49 UTC 2,828 bytes, 1 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`26.10.01.0254`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`6a4f7caf-2566-4315-a3f3-bc8a0cbee49e`,e._sentryDebugIdIdentifier=`sentry-dbid-6a4f7caf-2566-4315-a3f3-bc8a0cbee49e`)}catch{}})();import{o as e}from"./rolldown-runtime-8ihmfhw6.js";import{er as t,fn as n,ir as r,nr as i,s as a,tr as o,xr as s}from"./icon-Cr-jF6f9.js";import{an as c,cn as l,kt as u,ln as d,nn as f,sn as p}from"./vendor-mui-Dl0GN9-Q.js";import{n as m}from"./dist-BcvXhAbu.js";import{t as h}from"./MobileDrawer-Dkla-sGG.js";var g=r(),_=e(s()),v=(0,_.createContext)(null),y=e=>{let t=(0,g.c)(24),{anchorEl:r,open:i,onClose:a,keepMounted:s,children:l,title:d,id:f,anchorOrigin:y,transformOrigin:b,disableRestoreFocus:x}=e,S=s===void 0?!1:s,C=d===void 0?null:d,w=f===void 0?null:f,T=x===void 0?!1:x,E=n(),D;t[0]===E.breakpoints?D=t[1]:(D=E.breakpoints.down(`sm`),t[0]=E.breakpoints,t[1]=D);let O=u(D),k=i===void 0?!!r:i,A;t[2]===C?A=t[3]:(A=C||o(m,{id:`7L01XJ`}),t[2]=C,t[3]=A);let j=A,M=(0,_.useRef)(null),N;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(N=()=>{M.current?.updatePosition?.()},t[4]=N):N=t[4];let P=N,F;t[5]!==k||t[6]!==O||t[7]!==a?(F={onClose:a,isMobile:O,open:k,updatePosition:P},t[5]=k,t[6]=O,t[7]=a,t[8]=F):F=t[8];let I=F,L;t[9]!==r||t[10]!==y||t[11]!==l||t[12]!==T||t[13]!==k||t[14]!==j||t[15]!==w||t[16]!==O||t[17]!==S||t[18]!==a||t[19]!==b?(L=O?o(h,{title:j,open:k,onClose:a,disablePadding:!0,keepMounted:S,disableRestoreFocus:T,children:o(p,{children:l})}):o(c,{id:w,open:k,anchorEl:r,onClose:a,keepMounted:S,action:M,disableRestoreFocus:T,disableEnforceFocus:T,...y&&{anchorOrigin:y},...b&&{transformOrigin:b},children:l}),t[9]=r,t[10]=y,t[11]=l,t[12]=T,t[13]=k,t[14]=j,t[15]=w,t[16]=O,t[17]=S,t[18]=a,t[19]=b,t[20]=L):L=t[20];let R;return t[21]!==I||t[22]!==L?(R=o(v.Provider,{value:I,children:L}),t[21]=I,t[22]=L,t[23]=R):R=t[23],R},b=e=>{let n=(0,g.c)(14),{icon:r,onClick:s,keepOpen:c,disabled:u,className:p,children:m}=e,h=r===void 0?null:r,y=c===void 0?!1:c,b=u===void 0?!1:u,x=p===void 0?null:p,S=(0,_.useContext)(v);if(!S)throw Error(`ResponsiveChoiceMenuItem must be used inside ResponsiveChoiceMenu`);let{onClose:C,isMobile:w}=S,T;n[0]!==b||n[1]!==y||n[2]!==s||n[3]!==C?(T=e=>{e.stopPropagation(),!b&&(s?.(e),y||C())},n[0]=b,n[1]=y,n[2]=s,n[3]=C,n[4]=T):T=n[4];let E=T,D;n[5]!==m||n[6]!==h||n[7]!==w?(D=w?i(t,{children:[h&&o(d,{children:typeof h==`string`?o(a,{name:h}):h}),o(l,{children:m})]}):m,n[5]=m,n[6]=h,n[7]=w,n[8]=D):D=n[8];let O;return n[9]!==x||n[10]!==b||n[11]!==E||n[12]!==D?(O=o(f,{onClick:E,disabled:b,className:x,children:D}),n[9]=x,n[10]=b,n[11]=E,n[12]=D,n[13]=O):O=n[13],O};export{y as n,v as r,b as t};

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.