1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c24c4bfe-b3e5-5ad5-b7d1-888c7cff8cea")}catch(e){}}(); 3import{r as i,j as r}from"./chunk-62JRHF6Z-Cg50Stu2.js";import{P as S,a as T,b as L,c as b}from"./popover-Bz_Auyo_.js";import{c as M}from"./spacer-y5aqkyMZ.js";const n=e=>{e.preventDefault(),e.stopPropagation()};function C({triggerComponent:e,contents:p,hasArrow:v,contentAlign:d,contentSide:u,sideOffset:f,className:x,arrowClassName:E,show:a,onOpenChange:s}){const l=a!==void 0,[P,t]=i.useState(!1),h=o=>{n(o),t(!0),s?.(!0)},m=o=>{n(o),t(!1),s?.(!1)},w=o=>{n(o),t(j=>{const c=!j;return s?.(c),c})};return i.useEffect(()=>{const o=()=>t(!1);return window.addEventListener("scroll",o),()=>{window.removeEventListener("scroll",o)}},[]),r.jsxs(S,{open:l?a:P,onOpenChange:s,children:[r.jsx(T,{asChild:!0,children:l?e:r.jsx("div",{onMouseEnter:h,onTouchStart:w,onMouseLeave:m,onTouchEnd:n,children:e})}),r.jsxs(L,{align:d,side:u,sideOffset:f,avoidCollisions:!1,className:M("rounded-[16px] bg-flexcar-neutral100 shadow-shadow30",x),children:[p,v?r.jsx(b,{className:E}):null]})]})}export{C as P}; 4//# sourceMappingURL=popover-container-Bj-ASQSk.js.map 5 6//# debugId=c24c4bfe-b3e5-5ad5-b7d1-888c7cff8cea
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.