PageSourceSearch

https://quiker.com.br/assets/Layout-I7bSUW0N.js

js quiker.com.br collected 2026-10-02 19:43:13 UTC 74,549 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/BookingDialog-D5Elw8i4.js","assets/rolldown-runtime-hePW80VL.js","assets/jsx-runtime-DE3RlOCf.js","assets/preload-helper-Czpn1I53.js","assets/loader-circle-Dqwf-s1L.js","assets/createLucideIcon-BZ5eRbaK.js","assets/dialog-DlXl6w7O.js","assets/utils-qJPuqKOl.js","assets/clsx-DB0hHKMi.js","assets/x-BseqGY2W.js","assets/dist-B8gs1YWw.js","assets/dist-DiJqEZ29.js","assets/react-dom-CBIAH_7q.js","assets/dist-vQvqvgte.js","assets/Combination-CYonOlWp.js","assets/tslib.es6-Tae09705.js"])))=>i.map(i=>d[i]);
2import{r as e}from"./rolldown-runtime-hePW80VL.js";import{n as t,t as n}from"./jsx-runtime-DE3RlOCf.js";import{t as r}from"./button-DV3OLPgk.js";import{t as i}from"./link-c4aAk7-W.js";import{t as a}from"./useRouter-CMpeKBWO.js";import{t as o}from"./useStore-DL7iKIB3.js";import{n as s}from"./useMatch-BdUvOZKd.js";import{t as c}from"./useNavigate-DbbfcV26.js";import{t as l}from"./preload-helper-Czpn1I53.js";import{a as u,r as d,t as f}from"./utils-qJPuqKOl.js";import{t as p}from"./createLucideIcon-BZ5eRbaK.js";import{i as m,n as h,r as g,t as _}from"./youtube-C_DEJ1_l.js";import{n as v}from"./dist-BkwbkGmv.js";import{t as ee}from"./chevron-down-BWhCSfq9.js";import{t as te}from"./chevron-right-CD5abmsM.js";import{t as ne}from"./mail-DxqoHGj1.js";import{a as re,i as ie,n as y,o as ae,t as b}from"./sheet-6lejtPX1.js";import{t as x}from"./refresh-cw-C4jN5YDt.js";import{a as oe,d as S,i as C,l as se,m as ce,r as w,t as le}from"./separator-DZpHGKra.js";import{d as T,i as E,l as ue,n as D,o as de,r as fe,t as O,u as k}from"./dist-DiJqEZ29.js";import{n as pe,t as A}from"./dist-vQvqvgte.js";import{a as me,i as he,n as ge,r as _e,t as ve}from"./Combination-CYonOlWp.js";import{i as ye,n as be,r as xe,t as Se}from"./dist-DxIpDm-G.js";import{i as Ce}from"./booking-availability-CdfJU5dt.js";import{t as we}from"./dist-CBsWHOVp.js";import{t as Te}from"./dist-CFuz5qLT.js";import{n as Ee,r as De,t as Oe}from"./dist-bLIeOm36.js";function ke(e){let t=a();return o(t.stores.location,s(e,t))}var Ae=p(`book-open`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`,key:`ruj8y`}]]),je=p(`bot`,[[`path`,{d:`M12 8V4H8`,key:`hb8ula`}],[`rect`,{width:`16`,height:`12`,x:`4`,y:`8`,rx:`2`,key:`enze0r`}],[`path`,{d:`M2 14h2`,key:`vft8re`}],[`path`,{d:`M20 14h2`,key:`4cs60a`}],[`path`,{d:`M15 13v2`,key:`1xurst`}],[`path`,{d:`M9 13v2`,key:`rq6x2g`}]]),Me=p(`building-2`,[[`path`,{d:`M10 12h4`,key:`a56b0p`}],[`path`,{d:`M10 8h4`,key:`1sr2af`}],[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`,key:`1rgiei`}],[`path`,{d:`M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2`,key:`secmi2`}],[`path`,{d:`M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16`,key:`16ra0t`}]]),Ne=p(`circle-gauge`,[[`path`,{d:`M15.6 2.7a10 10 0 1 0 5.7 5.7`,key:`1e0p6d`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}],[`path`,{d:`M13.4 10.6 19 5`,key:`1kr7tw`}]]),Pe=p(`circle`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),Fe=p(`folder-kanban`,[[`path`,{d:`M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z`,key:`1fr9dc`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M12 10v2`,key:`hh53o1`}],[`path`,{d:`M16 10v6`,key:`1d6xys`}]]),Ie=p(`git-branch`,[[`path`,{d:`M15 6a9 9 0 0 0-9 9V3`,key:`1cii5b`}],[`circle`,{cx:`18`,cy:`6`,r:`3`,key:`1h7g24`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}]]),Le=p(`handshake`,[[`path`,{d:`m11 17 2 2a1 1 0 1 0 3-3`,key:`efffak`}],[`path`,{d:`m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4`,key:`9pr0kb`}],[`path`,{d:`m21 3 1 11h-2`,key:`1tisrp`}],[`path`,{d:`M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3`,key:`1uvwmv`}],[`path`,{d:`M3 4h8`,key:`1ep09j`}]]),Re=p(`inbox`,[[`polyline`,{points:`22 12 16 12 14 15 10 15 8 12 2 12`,key:`o97t9d`}],[`path`,{d:`M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`oot6mr`}]]),ze=p(`leaf`,[[`path`,{d:`M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z`,ke
2y:`nnexq3`}],[`path`,{d:`M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12`,key:`mt58a7`}]]),Be=p(`lightbulb`,[[`path`,{d:`M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5`,key:`1gvzjb`}],[`path`,{d:`M9 18h6`,key:`x1upvd`}],[`path`,{d:`M10 22h4`,key:`ceow96`}]]),Ve=p(`linkedin`,[[`path`,{d:`M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z`,key:`c2jq9f`}],[`rect`,{width:`4`,height:`12`,x:`2`,y:`9`,key:`mk3on5`}],[`circle`,{cx:`4`,cy:`4`,r:`2`,key:`bt5ra8`}]]),He=p(`map-pin`,[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]),Ue=p(`newspaper`,[[`path`,{d:`M15 18h-5`,key:`95g1m2`}],[`path`,{d:`M18 14h-8`,key:`sponae`}],[`path`,{d:`M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2`,key:`39pd36`}],[`rect`,{width:`8`,height:`4`,x:`10`,y:`6`,rx:`1`,key:`aywv1n`}]]),We=p(`package-search`,[[`path`,{d:`M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14`,key:`e7tb2h`}],[`path`,{d:`m7.5 4.27 9 5.15`,key:`1c824w`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`,key:`ousv84`}],[`line`,{x1:`12`,x2:`12`,y1:`22`,y2:`12`,key:`a4e8g8`}],[`circle`,{cx:`18.5`,cy:`15.5`,r:`2.5`,key:`b5zd12`}],[`path`,{d:`M20.27 17.27 22 19`,key:`1l4muz`}]]),Ge=p(`phone`,[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]),Ke=p(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),qe=p(`trophy`,[[`path`,{d:`M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978`,key:`1n3hpd`}],[`path`,{d:`M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978`,key:`rfe1zi`}],[`path`,{d:`M18 9h1.5a1 1 0 0 0 0-5H18`,key:`7xy6bh`}],[`path`,{d:`M4 22h16`,key:`57wxv0`}],[`path`,{d:`M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z`,key:`1mhfuq`}],[`path`,{d:`M6 9H4.5a1 1 0 0 1 0-5H6`,key:`tex48p`}]]),Je=p(`wrench`,[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`,key:`1ngwbx`}]]),j=e(t(),1),M=n(),Ye=`cookie-consent`,Xe=`quiker:cookie-consent`,Ze=`quiker:cookie-preferences`;function Qe(){typeof window>`u`||window.dispatchEvent(new Event(Ze))}function $e(){if(typeof window>`u`)return!1;try{return localStorage.getItem(Ye)!==null}catch{return!1}}function et(){typeof window>`u`||window.dispatchEvent(new Event(Xe))}function tt(e){return typeof window>`u`?()=>{}:(window.addEventListener(Xe,e),()=>window.removeEventListener(Xe,e))}var nt=`quiker_region`,rt=`quiker_region_prompt`,it=31536e3,at=2592e3,ot=`https://quiker.co`;function st(e){if(typeof document>`u`)return null;let t=document.cookie.match(RegExp(`(?:^|; )${e}=([^;]*)`));return t?.[1]?decodeURIComponent(t[1]):null}function ct(e,t,n){typeof document>`u`||(document.cookie=`${e}=${encodeURIComponent(t)}; path=/; max-age=${n}; samesite=lax`)}function lt(){return st(nt)}function ut(e){ct(nt,e,it)}function dt(){ct(rt,`1`,at)}function ft(){return st(rt)===`1`}function pt(){if(typeof navigator>`u`)return!1;let e=[navigator.language,...navigator.languages??[]].filter(Boolean);return e.length!==0&&!e.some(e=>e.toLowerCase().startsWith(`pt`))}async function mt(){try{let e=await fetch(`/api/public/geo`,{headers:{accept:`application/json`}});return e.ok?(await e.json()).country??null:null}catch{return null}}var N={ARTICLE_VIEW:`article_view`,ARTICLE_SCROLL:`article_scroll`,ARTICLE_SCROLL_75:`article_scroll_75`,ARTICLE_READ_COMPLETE:`article_read_complete`,ARTICLE_EXIT:`article_exit`,ARTICLE_TOC_CLICK:`article_toc_click`,ARTICLE_INTERNAL_LINK_CLICK:`article_internal_link_click`,ARTICLE_RELATED_CLICK:`article_related_click`,ARTICLE_SHARE_CLICK:`article_share_click`,CTA_VIEWED:`cta_viewed`,CTA_CLICK:`cta_click`,ARTICLE_CTA_CLICK:`article_cta_click`,LEAD_SUBMITTED:`lead_submitted`,LEAD_MAGNET_SUBMIT:`lead_magnet_submit`,NEWSLETTER_SIGNUP:`newsletter_signup`,FORM_CTA_CLICK:`form_cta_click`,FORM_SUBMIT_FAILED:`form_submit_failed`,BOOKING_CTA_CLICK:`booking_cta_click`,BOOKING_INTENT:`booking_intent`,BOOKING_PAGE_VIEW:`booking_page_view`,BOOKING_STARTED:`booking_started`,BOOKING_DAY_SELECTED:`booking_day_selected`,BOOKING_SLOT_SELECTED:`booking_slot_selected`,BOOKING_STEP_ADVANCED:`booking_step_advanced`,BOOKING_SUBMIT_ATTEMPT:`booking_submit_attempt`,BOOKING_SUBMIT_FAILED:`booking_submit_failed`,BOOKING_SUCCESS_ACTION:`booking_success_action`,BOOKING_ABANDONED:`booking_abandoned`,BOOKING_COMPLETED:`booking_completed`,CTA_INLINE_MISSING:`cta_inline_missing`},P=e=>({...e,page:typeof window<`u`?window.location.pathname:null,...S()}),ht=(e,t,n={})=>w(N.FORM_CTA_CLICK,P({form:e,location:t??null,...n})),gt=(e,t,n,r={})=>w(N.FORM_SUBMIT_FAILED,P({form:e,reason:t.slice(0,160),location:n??null,...r})),_t=e=>w(N.BOOKING_PAGE_VIEW,P({surface:e})),vt=(e,t={})=>{let n=P({source:e,...t});C(N.BOOKING_INTENT,n),C(N.BOOKING_STARTED,n)},yt=(e,t)=>
2w(N.BOOKING_DAY_SELECTED,P({day:e,has_slots:t})),bt=(e,t,n)=>w(N.BOOKING_STEP_ADVANCED,P({from_step:e,to_step:t,is_mobile:n})),xt=e=>w(N.BOOKING_SUBMIT_ATTEMPT,P({slot:e})),St=(e,t)=>w(N.BOOKING_SUBMIT_FAILED,P({reason:e.slice(0,160),slot:t})),Ct=e=>w(N.BOOKING_SUCCESS_ACTION,P({action:e})),wt=e=>{let t=e.replace(/\/+$/,``).replace(/^\//,``);return t===``?`home`:t.replace(/\//g,`-`)},F=()=>typeof window>`u`?`ssr`:wt(window.location.pathname),Tt=(e=`sem-rotulo`)=>`${F()}:${e}`,Et=()=>{if(typeof window>`u`)return`desktop`;let e=window.innerWidth;return e<768?`mobile`:e<1024?`tablet`:`desktop`},Dt=j.lazy(()=>l(()=>import(`./BookingDialog-D5Elw8i4.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]))),Ot=`https://outlook.office.com/book/[email protected]/?ismsaljsauthenabled`,kt=`quiker:open-booking`,At=(0,j.createContext)(null),I=e=>{typeof window>`u`||window.dispatchEvent(new CustomEvent(kt,{detail:{source:e}}))},jt=({children:e})=>{let[t,n]=(0,j.useState)(!1),r=(0,j.useCallback)(e=>{Ce();let t=e??Tt(),r={source:t,page:typeof window>`u`?null:window.location.pathname,page_slug:F(),device_type:Et()};ce(t,`booking`),C(`booking_cta_click`,{...r,...S()}),vt(t,{page_slug:r.page_slug,device_type:r.device_type}),!(typeof window<`u`&&window.location.pathname.replace(/\/$/,``)===`/agendar`)&&n(!0)},[]);(0,j.useEffect)(()=>{let e=e=>{let t=e.detail;r(t?.source)};return window.addEventListener(kt,e),()=>window.removeEventListener(kt,e)},[r]);let[i,a]=(0,j.useState)(!1);(0,j.useEffect)(()=>{t&&a(!0)},[t]);let o=(0,j.useMemo)(()=>({openBooking:r,isBookingOpen:t}),[r,t]);return(0,M.jsxs)(At.Provider,{value:o,children:[e,i?(0,M.jsx)(j.Suspense,{fallback:null,children:(0,M.jsx)(Dt,{open:t,onOpenChange:n})}):null]})},Mt=()=>(0,j.useContext)(At)||{openBooking:I,isBookingOpen:!1};function Nt(e){let[t=``,n]=(e??``).split(`#`),[r,i]=t.split(`?`);return{pathname:r||`.`,search:i?Object.fromEntries(new URLSearchParams(i)):void 0,hash:n||void 0}}function Pt(){let e=c(),t=a();return(0,j.useCallback)((n,r)=>{if(typeof n==`number`){t.history.go(n);return}let{pathname:i,search:a,hash:o}=Nt(n);e({to:i,search:a,hash:o??``,state:r?.state,replace:r?.replace??!1})},[e,t])}function Ft(){let e=ke();return(0,j.useMemo)(()=>({pathname:e.pathname,search:e.searchStr?`?${e.searchStr}`:``,hash:e.hash??``,state:e.state??null,key:e.pathname+(e.searchStr??``)}),[e.pathname,e.searchStr,e.hash,e.state])}function It(){let e=ke(),t=c(),n=a();return[(0,j.useMemo)(()=>new URLSearchParams(e.searchStr??``),[e.searchStr]),(0,j.useCallback)((e,r)=>{let i=n.state.location,a=new URLSearchParams(i.searchStr??``),o=typeof e==`function`?e(a):e instanceof URLSearchParams?e:new URLSearchParams(e),s={};o.forEach((e,t)=>{s[t]=e}),t({to:i.pathname,search:s,replace:r?.replace??!1})},[t,n])]}var L=(0,j.forwardRef)(function({to:e,replace:t,state:n,children:r,...a},o){let{pathname:s,search:c,hash:l}=Nt(e);return(0,M.jsx)(i,{ref:o,to:s,search:c,hash:l??``,replace:t??!1,state:n,...a??{},children:r})}),Lt=Object.defineProperty,R=(e,t)=>Lt(e,`name`,{value:t,configurable:!0}),Rt=[`Enter`,` `],zt=[`ArrowDown`,`PageUp`,`Home`],Bt=[`ArrowUp`,`PageDown`,`End`],Vt=[...zt,...Bt],Ht={ltr:[...Rt,`ArrowRight`],rtl:[...Rt,`ArrowLeft`]},Ut={ltr:[`ArrowLeft`],rtl:[`ArrowRight`]},z=`Menu`,[B,Wt,Gt]=we(z),[V,Kt]=k(z,[Gt,ye,De]),qt=ye(),Jt=De(),[Yt,H]=V(z),[Xt,U]=V(z),Zt=R(e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:a,modal:o=!0}=e,s=qt(t),[c,l]=j.useState(null),u=j.useRef(!1),d=ue(a),f=Te(i);return j.useEffect(()=>{let e=R(()=>{u.current=!0,document.addEventListener(`pointerdown`,t,{capture:!0,once:!0}),document.addEventListener(`pointermove`,t,{capture:!0,once:!0})},`handleKeyDown`),t=R(()=>u.current=!1,`handlePointer`);return document.addEventListener(`keydown`,e,{capture:!0}),()=>{document.removeEventListener(`keydown`,e,{capture:!0}),document.removeEventListener(`pointerdown`,t,{capture:!0}),document.removeEventListener(`pointermove`,t,{capture:!0})}},[]),j.useEffect(()=>{if(!n)return;let e=R(()=>d(!1),`handleBlur`);return window.addEventListener(`blur`,e),()=>window.removeEventListener(`blur`,e)},[n,d]),(0,M.jsx)(xe,{...s,children:(0,M.jsx)(Yt,{scope:t,open:n,onOpenChange:d,content:c,onContentChange:l,children:(0,M.jsx)(Xt,{scope:t,onClose:j.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:u,dir:f,modal:o,children:r})})})},`Menu`),Qt=j.forwardRef(R(function(e,t){let{__scopeMenu:n,...r}=e,i=qt(n);return(0,M.jsx)(Se,{...i,...r,ref:t})},`MenuAnchor`)),$t=`MenuPortal`,[en,tn]=V($t,{forceMount:void 0}),nn=R(e=>{let{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=H($t,t);return(0,M.jsx)(en,{scope:t,forceMount:n,children:(0,M.jsx)(D,{present:n||a.open,children:(0,M.jsx)(fe,{asChild:!0,container:i,children:r})})})}
2,`MenuPortal`),W=`MenuContent`,[rn,an]=V(W),on=j.forwardRef(R(function(e,t){let n=tn(W,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=H(W,e.__scopeMenu),o=U(W,e.__scopeMenu);return(0,M.jsx)(B.Provider,{scope:e.__scopeMenu,children:(0,M.jsx)(D,{present:r||a.open,children:(0,M.jsx)(B.Slot,{scope:e.__scopeMenu,children:o.modal?(0,M.jsx)(sn,{...i,ref:t}):(0,M.jsx)(cn,{...i,ref:t})})})})},`MenuContent`)),sn=j.forwardRef(R(function(e,t){let n=H(W,e.__scopeMenu),r=j.useRef(null),i=u(t,r);return j.useEffect(()=>{let e=r.current;if(e)return ge(e)},[]),(0,M.jsx)(un,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:T(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})},`MenuRootContentModal`)),cn=j.forwardRef(R(function(e,t){let n=H(W,e.__scopeMenu);return(0,M.jsx)(un,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})},`MenuRootContentNonModal`)),ln=d(`MenuContent.ScrollLock`),un=j.forwardRef(R(function(e,t){let{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEntryFocus:c,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:m,disableOutsideScroll:h,...g}=e,_=H(W,n),v=U(W,n),ee=qt(n),te=Jt(n),ne=Wt(n),[re,ie]=j.useState(null),y=j.useRef(null),ae=u(t,y,_.onContentChange),b=j.useRef(0),x=j.useRef(``),oe=j.useRef(0),S=j.useRef(null),C=j.useRef(`right`),se=j.useRef(0),ce=h?ve:j.Fragment,w=h?{as:ln,allowPinchZoom:!0}:void 0,le=R(e=>{let t=x.current+e,n=ne().filter(e=>!e.disabled),r=document.activeElement,i=n.find(e=>e.ref.current===r)?.textValue,a=Rn(n.map(e=>e.textValue),t,i),o=n.find(e=>e.textValue===a)?.ref.current;R((function e(t){x.current=t,window.clearTimeout(b.current),t!==``&&(b.current=window.setTimeout(()=>e(``),1e3))}),`updateSearch`)(t),o&&setTimeout(()=>o.focus())},`handleTypeaheadSearch`);j.useEffect(()=>()=>window.clearTimeout(b.current),[]),he();let E=j.useCallback(e=>C.current===S.current?.side&&Bn(e,S.current?.area),[]);return(0,M.jsx)(rn,{scope:n,searchRef:x,onItemEnter:j.useCallback(e=>{E(e)&&e.preventDefault()},[E]),onItemLeave:j.useCallback(e=>{E(e)||(y.current?.focus(),ie(null))},[E]),onTriggerLeave:j.useCallback(e=>{E(e)&&e.preventDefault()},[E]),pointerGraceTimerRef:oe,onPointerGraceIntentChange:j.useCallback(e=>{S.current=e},[]),children:(0,M.jsx)(ce,{...w,children:(0,M.jsx)(_e,{asChild:!0,trapped:i,onMountAutoFocus:T(a,e=>{e.preventDefault(),y.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:o,children:(0,M.jsx)(de,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:m,children:(0,M.jsx)(Ee,{asChild:!0,...te,dir:v.dir,orientation:`vertical`,loop:r,currentTabStopId:re,onCurrentTabStopIdChange:ie,onEntryFocus:T(c,e=>{v.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,M.jsx)(be,{role:`menu`,"aria-orientation":`vertical`,"data-state":Pn(_.open),"data-radix-menu-content":``,dir:v.dir,...ee,...g,ref:ae,style:{outline:`none`,...g.style},onKeyDown:T(g.onKeyDown,e=>{let t=e.target.closest(`[data-radix-menu-content]`)===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=e.key.length===1;t&&(e.key===`Tab`&&e.preventDefault(),!n&&r&&le(e.key));let i=y.current;if(e.target!==i||!Vt.includes(e.key))return;e.preventDefault();let a=ne().filter(e=>!e.disabled).map(e=>e.ref.current);Bt.includes(e.key)&&a.reverse(),In(a)}),onBlur:T(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(b.current),x.current=``)}),onPointerMove:T(e.onPointerMove,K(e=>{let t=e.target,n=se.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>se.current?`right`:`left`;C.current=t,se.current=e.clientX}}))})})})})})})},`MenuContentImpl`)),dn=j.forwardRef(R(function(e,t){let{__scopeMenu:n,...r}=e;return(0,M.jsx)(A.div,{role:`group`,...r,ref:t})},`MenuGroup`)),fn=j.forwardRef(R(function(e,t){let{__scopeMenu:n,...r}=e;return(0,M.jsx)(A.div,{...r,ref:t})},`MenuLabel`)),pn=`MenuItem`,mn=`menu.itemSelect`,hn=j.forwardRef(R(function(e,t){let{disabled:n=!1,onSelect:r,...i}=e,a=j.useRef(null),o=U(pn,e.__scopeMenu),s=an(pn,e.__scopeMenu),c=u(t,a),l=j.useRef(!1),d=R(()=>{let e=a.current;if(!n&&e){let t=new CustomEvent(mn,{bubbles:!0,cancelable:!0});e.addEventListener(mn,e=>r?.(e),{once:!0}),pe(e,t),t.defaultPrevented?l.current=!1:o.onClose()}},`handleSelect`);return(0,M.jsx)(gn,{...i,ref:c,disabled:n,onClick:T(e.onClick,d),onPointerDown:t=>{e.onPointerDown?.(t),l.current=!0},onPointerUp:T(e.onPointerUp,e=>{l.current||e.currentTarget?.click()}),onKeyDown:T(e.onKeyDown,e=>{n||e.target!==e.currentTarget||(s.searchRef.current===``||e.key!==` `)&&Rt.includes(e.ke
2y)&&(e.currentTarget.click(),e.preventDefault())})})},`MenuItem`)),gn=j.forwardRef(R(function(e,t){let{__scopeMenu:n,disabled:r=!1,textValue:i,...a}=e,o=an(pn,n),s=Jt(n),c=j.useRef(null),l=u(t,c),[d,f]=j.useState(!1),[p,m]=j.useState(``);return j.useEffect(()=>{let e=c.current;e&&m((e.textContent??``).trim())},[a.children]),(0,M.jsx)(B.ItemSlot,{scope:n,disabled:r,textValue:i??p,children:(0,M.jsx)(Oe,{asChild:!0,...s,focusable:!r,children:(0,M.jsx)(A.div,{role:`menuitem`,"data-highlighted":d?``:void 0,"aria-disabled":r||void 0,"data-disabled":r?``:void 0,...a,ref:l,onPointerMove:T(e.onPointerMove,K(e=>{r?o.onItemLeave(e):(o.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:T(e.onPointerLeave,K(e=>o.onItemLeave(e))),onFocus:T(e.onFocus,()=>f(!0)),onBlur:T(e.onBlur,()=>f(!1))})})})},`MenuItemImpl`)),_n=j.forwardRef(R(function(e,t){let{checked:n=!1,onCheckedChange:r,...i}=e;return(0,M.jsx)(wn,{scope:e.__scopeMenu,checked:n,children:(0,M.jsx)(hn,{role:`menuitemcheckbox`,"aria-checked":G(n)?`mixed`:n,...i,ref:t,"data-state":Fn(n),onSelect:T(i.onSelect,()=>r?.(G(n)?!0:!n),{checkForDefaultPrevented:!1})})})},`MenuCheckboxItem`)),[vn,yn]=V(`MenuRadioGroup`,{value:void 0,onValueChange:R(()=>{},`onValueChange`)}),bn=j.forwardRef(R(function(e,t){let{value:n,onValueChange:r,...i}=e,a=ue(r);return(0,M.jsx)(vn,{scope:e.__scopeMenu,value:n,onValueChange:a,children:(0,M.jsx)(dn,{...i,ref:t})})},`MenuRadioGroup`)),xn=`MenuRadioItem`,Sn=j.forwardRef(R(function(e,t){let{value:n,...r}=e,i=yn(xn,e.__scopeMenu),a=n===i.value;return(0,M.jsx)(wn,{scope:e.__scopeMenu,checked:a,children:(0,M.jsx)(hn,{role:`menuitemradio`,"aria-checked":a,...r,ref:t,"data-state":Fn(a),onSelect:T(r.onSelect,()=>i.onValueChange?.(n),{checkForDefaultPrevented:!1})})})},`MenuRadioItem`)),Cn=`MenuItemIndicator`,[wn,Tn]=V(Cn,{checked:!1}),En=j.forwardRef(R(function(e,t){let{__scopeMenu:n,forceMount:r,...i}=e,a=Tn(Cn,n);return(0,M.jsx)(D,{present:r||G(a.checked)||a.checked===!0,children:(0,M.jsx)(A.span,{...i,ref:t,"data-state":Fn(a.checked)})})},`MenuItemIndicator`)),Dn=j.forwardRef(R(function(e,t){let{__scopeMenu:n,...r}=e;return(0,M.jsx)(A.div,{role:`separator`,"aria-orientation":`horizontal`,...r,ref:t})},`MenuSeparator`)),[On,kn]=V(`MenuSub`),An=`MenuSubTrigger`,jn=j.forwardRef(R(function(e,t){let n=H(An,e.__scopeMenu),r=U(An,e.__scopeMenu),i=kn(An,e.__scopeMenu),a=an(An,e.__scopeMenu),o=j.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:c}=a,l={__scopeMenu:e.__scopeMenu},d=j.useCallback(()=>{o.current&&window.clearTimeout(o.current),o.current=null},[]);j.useEffect(()=>d,[d]),j.useEffect(()=>{let e=s.current;return()=>{window.clearTimeout(e),c(null)}},[s,c]);let f=u(t,i.onTriggerChange);return(0,M.jsx)(Qt,{asChild:!0,...l,children:(0,M.jsx)(gn,{id:i.triggerId,"aria-haspopup":`menu`,"aria-expanded":n.open,"aria-controls":n.open?i.contentId:void 0,"data-state":Pn(n.open),...e,ref:f,onClick:t=>{e.onClick?.(t),!(e.disabled||t.defaultPrevented)&&(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:T(e.onPointerMove,K(t=>{a.onItemEnter(t),!t.defaultPrevented&&!e.disabled&&!n.open&&!o.current&&(a.onPointerGraceIntentChange(null),o.current=window.setTimeout(()=>{n.onOpenChange(!0),d()},100))})),onPointerLeave:T(e.onPointerLeave,K(e=>{d();let t=n.content?.getBoundingClientRect();if(t){let r=n.content?.dataset.side,i=r===`right`,o=i?-5:5,c=t[i?`left`:`right`],l=t[i?`right`:`left`];a.onPointerGraceIntentChange({area:[{x:e.clientX+o,y:e.clientY},{x:c,y:t.top},{x:l,y:t.top},{x:l,y:t.bottom},{x:c,y:t.bottom}],side:r}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(e),e.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:T(e.onKeyDown,t=>{e.disabled||t.target!==t.currentTarget||(a.searchRef.current===``||t.key!==` `)&&Ht[r.dir].includes(t.key)&&(n.onOpenChange(!0),n.content?.focus(),t.preventDefault())})})})},`MenuSubTrigger`)),Mn=`MenuSubContent`,Nn=j.forwardRef(R(function(e,t){let n=tn(W,e.__scopeMenu),{forceMount:r=n.forceMount,align:i=`start`,...a}=e,o=H(W,e.__scopeMenu),s=U(W,e.__scopeMenu),c=kn(Mn,e.__scopeMenu),l=j.useRef(null),d=u(t,l);return(0,M.jsx)(B.Provider,{scope:e.__scopeMenu,children:(0,M.jsx)(D,{present:r||o.open,children:(0,M.jsx)(B.Slot,{scope:e.__scopeMenu,children:(0,M.jsx)(un,{id:c.contentId,"aria-labelledby":c.triggerId,...a,ref:d,align:i,side:s.dir===`rtl`?`left`:`right`,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{s.isUsingKeyboardRef.current&&l.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:T(e.onFocusOutside,e=>{e.target!==c.trigger&&o.onOpenChange(!1)}),onEscapeKeyDown:T(e.onEscapeKeyDown,e=>{s.onClose(),e.preventDefault()}),onKeyDown:T(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=Ut[s.dir].includes(e.ke
2y);t&&n&&(o.onOpenChange(!1),c.trigger?.focus(),e.preventDefault())})})})})})},`MenuSubContent`));function Pn(e){return e?`open`:`closed`}R(Pn,`getOpenState`);function G(e){return e===`indeterminate`}R(G,`isIndeterminate`);function Fn(e){return G(e)?`indeterminate`:e?`checked`:`unchecked`}R(Fn,`getCheckedState`);function In(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}R(In,`focusFirst`);function Ln(e,t){return e.map((n,r)=>e[(t+r)%e.length])}R(Ln,`wrapArray`);function Rn(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=Ln(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}R(Rn,`getNextMatch`);function zn(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a],c=o.x,l=o.y,u=s.x,d=s.y;l>r!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}R(zn,`isPointInPolygon`);function Bn(e,t){return t?zn({x:e.clientX,y:e.clientY},t):!1}R(Bn,`isPointerInGraceArea`);function K(e){return t=>t.pointerType===`mouse`?e(t):void 0}R(K,`whenMouse`);var Vn=Zt,Hn=Qt,Un=nn,Wn=on,Gn=fn,Kn=hn,qn=_n,Jn=bn,Yn=Sn,Xn=En,Zn=Dn,Qn=jn,$n=Nn,er=Object.defineProperty,q=(e,t)=>er(e,`name`,{value:t,configurable:!0}),tr=`DropdownMenu`,[nr,rr]=k(tr,[Kt]),J=Kt(),[ir,ar]=nr(tr),or=q(e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:a,onOpenChange:o,modal:s=!0}=e,c=J(t),l=j.useRef(null),[u,d]=O({prop:i,defaultProp:a??!1,onChange:o,caller:tr});return(0,M.jsx)(ir,{scope:t,triggerId:me(),triggerRef:l,contentId:me(),open:u,onOpenChange:d,onOpenToggle:j.useCallback(()=>d(e=>!e),[d]),modal:s,children:(0,M.jsx)(Vn,{...c,open:u,onOpenChange:d,dir:r,modal:s,children:n})})},`DropdownMenu`),sr=`DropdownMenuTrigger`,cr=j.forwardRef(q(function(e,t){let{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,a=ar(sr,n),o=J(n),s=u(t,a.triggerRef);return(0,M.jsx)(Hn,{asChild:!0,...o,children:(0,M.jsx)(A.button,{type:`button`,id:a.triggerId,"aria-haspopup":`menu`,"aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?`open`:`closed`,"data-disabled":r?``:void 0,disabled:r,...i,ref:s,onPointerDown:T(e.onPointerDown,e=>{!r&&e.button===0&&e.ctrlKey===!1&&(a.onOpenToggle(),a.open||e.preventDefault())}),onKeyDown:T(e.onKeyDown,e=>{r||([`Enter`,` `].includes(e.key)&&a.onOpenToggle(),e.key===`ArrowDown`&&a.onOpenChange(!0),[`Enter`,` `,`ArrowDown`].includes(e.key)&&e.preventDefault())})})})},`DropdownMenuTrigger`)),lr=q(e=>{let{__scopeDropdownMenu:t,...n}=e,r=J(t);return(0,M.jsx)(Un,{...r,...n})},`DropdownMenuPortal`),ur=`DropdownMenuContent`,dr=j.forwardRef(q(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=ar(ur,n),a=J(n),o=j.useRef(!1);return(0,M.jsx)(Wn,{id:i.contentId,"aria-labelledby":i.triggerId,...a,...r,ref:t,onCloseAutoFocus:T(e.onCloseAutoFocus,e=>{o.current||i.triggerRef.current?.focus(),o.current=!1,e.preventDefault()}),onInteractOutside:T(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;(!i.modal||r)&&(o.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}})},`DropdownMenuContent`)),fr=j.forwardRef(q(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=J(n);return(0,M.jsx)(Gn,{...i,...r,ref:t})},`DropdownMenuLabel`)),pr=j.forwardRef(q(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=J(n);return(0,M.jsx)(Kn,{...i,...r,ref:t})},`DropdownMenuItem`)),mr=j.forwardRef(q(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=J(n);return(0,M.jsx)(qn,{...i,...r,ref:t})},`DropdownMenuCheckboxItem`)),hr=j.forwardRef(q(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=J(n);return(0,M.jsx)(Jn,{...i,...r,ref:t})},`DropdownMenuRadioGroup`)),gr=j.forwardRef(q(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=J(n);return(0,M.jsx)(Yn,{...i,...r,ref:t})},`DropdownMenuRadioItem`)),_r=j.forwardRef(q(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=J(n);return(0,M.jsx)(Xn,{...i,...r,ref:t})},`DropdownMenuItemIndicator`)),vr=j.forwardRef(q(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=J(n);return(0,M.jsx)(Zn,{...i,...r,ref:t})},`DropdownMenuSeparator`)),yr=j.forwardRef(q(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=J(n);return(0,M.jsx)(Qn,{...i,...r,ref:t})},`DropdownMenuSubTrigger`)),br=j.forwardRef(q(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=J(n);return(0,M.jsx)($n,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}})},`DropdownMenuSubContent`)),xr=or,Sr=cr,Cr=lr,wr=dr,Tr=fr,Er=pr,Dr=mr,Or=hr,kr=gr,Ar=_r,jr=vr,Mr=yr,Nr=br,Pr=xr,Fr=Sr,Ir=Or,Lr=j.forwardRef(({className:e,inset:t,children:n,...r},i)=>(0,M.jsxs)(Mr,{ref:i,className:f(`flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focu
2s:bg-accent data-[state=open]:bg-accent`,t&&`pl-8`,e),...r,children:[n,(0,M.jsx)(te,{className:`ml-auto h-4 w-4`})]}));Lr.displayName=Mr.displayName;var Rr=j.forwardRef(({className:e,...t},n)=>(0,M.jsx)(Nr,{ref:n,className:f(`z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2`,e),...t}));Rr.displayName=Nr.displayName;var zr=j.forwardRef(({className:e,sideOffset:t=4,...n},r)=>(0,M.jsx)(Cr,{children:(0,M.jsx)(wr,{ref:r,sideOffset:t,className:f(`z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2`,e),...n})}));zr.displayName=wr.displayName;var Br=j.forwardRef(({className:e,inset:t,...n},r)=>(0,M.jsx)(Er,{ref:r,className:f(`relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,t&&`pl-8`,e),...n}));Br.displayName=Er.displayName;var Vr=j.forwardRef(({className:e,children:t,checked:n,...r},i)=>(0,M.jsxs)(Dr,{ref:i,className:f(`relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,e),checked:n??!1,...r,children:[(0,M.jsx)(`span`,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,M.jsx)(Ar,{children:(0,M.jsx)(v,{className:`h-4 w-4`})})}),t]}));Vr.displayName=Dr.displayName;var Hr=j.forwardRef(({className:e,children:t,...n},r)=>(0,M.jsxs)(kr,{ref:r,className:f(`relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,e),...n,children:[(0,M.jsx)(`span`,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,M.jsx)(Ar,{children:(0,M.jsx)(Pe,{className:`h-2 w-2 fill-current`})})}),t]}));Hr.displayName=kr.displayName;var Ur=j.forwardRef(({className:e,inset:t,...n},r)=>(0,M.jsx)(Tr,{ref:r,className:f(`px-2 py-1.5 text-sm font-semibold`,t&&`pl-8`,e),...n}));Ur.displayName=Tr.displayName;var Wr=j.forwardRef(({className:e,...t},n)=>(0,M.jsx)(jr,{ref:n,className:f(`-mx-1 my-1 h-px bg-muted`,e),...t}));Wr.displayName=jr.displayName;var Gr=[{id:`br`,flag:`🇧🇷`,label:`Brasil`,shortLabel:`BR`,locale:`Português`,href:`/`,isCurrent:!0},{id:`na`,flag:`🇺🇸`,label:`North America`,shortLabel:`NA`,locale:`English`,href:ot,isCurrent:!1}],Kr=Gr[0];function qr({variant:e=`light`,className:t}){let[n,r]=(0,j.useState)(Kr.id);(0,j.useEffect)(()=>{let e=lt();e&&r(e)},[]);let i=e===`dark`,a=e=>{ut(e.id),r(e.id),e.isCurrent||(window.location.href=e.href)},o=Gr.find(e=>e.id===n)??Kr;return(0,M.jsxs)(Pr,{children:[(0,M.jsxs)(Fr,{"aria-label":`Selecionar região do site. Região atual: ${o.label} (${o.locale})`,className:f(`flex items-center gap-1 whitespace-nowrap rounded-md text-xs font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background data-[state=open]:ring-2 data-[state=open]:ring-ring`,i?`h-12 min-h-11 w-full justify-center gap-2 border border-white/15 bg-white/5 px-4 text-base text-white hover:bg-white/10 focus-visible:ring-white focus-visible:ring-offset-transparent`:`h-9 border border-border px-2.5 text-muted-foreground hover:bg-accent hover:text-foreground lg:text-sm`,t),children:[(0,M.jsx)(`span`,{"aria-hidden":`true`,children:o.flag}),(0,M.jsx)(`span`,{className:`sr-only`,children:o.label}),(0,M.jsx)(ee,{className:`h-3.5 w-3.5 opacity-60`,"aria-hidden":`true`})]}),(0,M.jsxs)(zr,{align:`end`,className:`w-56`,"aria-label":`Regiões disponíveis`,children:[(0,M.jsx)(Ur,{children:`Região do site`}),(0,M.jsx)(Ir,{value:n,onValueChange:e=>
2{let t=Gr.find(t=>t.id===e);t&&a(t)},children:Gr.map(e=>(0,M.jsxs)(Hr,{value:e.id,className:`gap-2 focus:bg-accent focus:text-accent-foreground`,children:[(0,M.jsx)(`span`,{"aria-hidden":`true`,children:e.flag}),(0,M.jsxs)(`span`,{className:`flex-1`,children:[e.label,(0,M.jsxs)(`span`,{className:`ml-1 text-xs text-muted-foreground`,children:[`(`,e.locale,`)`]})]}),!e.isCurrent&&(0,M.jsx)(`span`,{className:`sr-only`,children:`Abre o site em inglês`})]},e.id))})]})]})}var Jr=Object.defineProperty,Y=(e,t)=>Jr(e,`name`,{value:t,configurable:!0}),Yr=`Collapsible`,[Xr,Zr]=k(Yr),[Qr,$r]=Xr(Yr),ei=j.forwardRef(Y(function(e,t){let{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:a,onOpenChange:o,...s}=e,[c,l]=O({prop:r,defaultProp:i??!1,onChange:o,caller:Yr});return(0,M.jsx)(Qr,{scope:n,disabled:a,contentId:me(),open:c,onOpenToggle:j.useCallback(()=>l(e=>!e),[l]),children:(0,M.jsx)(A.div,{"data-state":oi(c),"data-disabled":a?``:void 0,...s,ref:t})})},`Collapsible`)),ti=`CollapsibleTrigger`,ni=j.forwardRef(Y(function(e,t){let{__scopeCollapsible:n,...r}=e,i=$r(ti,n);return(0,M.jsx)(A.button,{type:`button`,"aria-controls":i.open?i.contentId:void 0,"aria-expanded":i.open||!1,"data-state":oi(i.open),"data-disabled":i.disabled?``:void 0,disabled:i.disabled,...r,ref:t,onClick:T(e.onClick,i.onOpenToggle)})},`CollapsibleTrigger`)),ri=`CollapsibleContent`,ii=j.forwardRef(Y(function(e,t){let{forceMount:n,...r}=e,i=$r(ri,e.__scopeCollapsible);return(0,M.jsx)(D,{present:n||i.open,children:({present:e})=>(0,M.jsx)(ai,{...r,ref:t,present:e})})},`CollapsibleContent`)),ai=j.forwardRef(Y(function(e,t){let{__scopeCollapsible:n,present:r,children:i,...a}=e,o=$r(ri,n),[s,c]=j.useState(r),l=j.useRef(null),d=u(t,l),f=j.useRef(0),p=f.current,m=j.useRef(0),h=m.current,g=o.open||s,_=j.useRef(g),v=j.useRef(void 0);return j.useEffect(()=>{let e=requestAnimationFrame(()=>_.current=!1);return()=>cancelAnimationFrame(e)},[]),E(()=>{let e=l.current;if(e){v.current=v.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration=`0s`,e.style.animationName=`none`;let t=e.getBoundingClientRect();f.current=t.height,m.current=t.width,_.current||(e.style.transitionDuration=v.current.transitionDuration,e.style.animationName=v.current.animationName),c(r)}},[o.open,r]),(0,M.jsx)(A.div,{"data-state":oi(o.open),"data-disabled":o.disabled?``:void 0,id:o.contentId,hidden:!g,...a,ref:d,style:{"--radix-collapsible-content-height":p?`${p}px`:void 0,"--radix-collapsible-content-width":h?`${h}px`:void 0,...e.style},children:g&&i})},`CollapsibleContentImpl`));function oi(e){return e?`open`:`closed`}Y(oi,`getState`);var si=ei,ci=ni,li=ii,ui=Object.defineProperty,X=(e,t)=>ui(e,`name`,{value:t,configurable:!0}),Z=`Accordion`,di=[`Home`,`End`,`ArrowDown`,`ArrowUp`,`ArrowLeft`,`ArrowRight`],[fi,pi,mi]=we(Z),[hi,gi]=k(Z,[mi,Zr]),_i=Zr(),vi=j.forwardRef(X(function(e,t){let{type:n,...r}=e,i=r,a=r;return(0,M.jsx)(fi.Provider,{scope:e.__scopeAccordion,children:n===`multiple`?(0,M.jsx)(wi,{...a,ref:t}):(0,M.jsx)(Ci,{...i,ref:t})})},`Accordion`)),[yi,bi]=hi(Z),[xi,Si]=hi(Z,{collapsible:!1}),Ci=j.forwardRef(X(function(e,t){let{value:n,defaultValue:r,onValueChange:i=X(()=>{},`onValueChange`),collapsible:a=!1,...o}=e,[s,c]=O({prop:n,defaultProp:r??``,onChange:i,caller:Z});return(0,M.jsx)(yi,{scope:e.__scopeAccordion,value:j.useMemo(()=>s?[s]:[],[s]),onItemOpen:c,onItemClose:j.useCallback(()=>a&&c(``),[a,c]),children:(0,M.jsx)(xi,{scope:e.__scopeAccordion,collapsible:a,children:(0,M.jsx)(Di,{...o,ref:t})})})},`AccordionImplSingle`)),wi=j.forwardRef(X(function(e,t){let{value:n,defaultValue:r,onValueChange:i=X(()=>{},`onValueChange`),...a}=e,[o,s]=O({prop:n,defaultProp:r??[],onChange:i,caller:Z}),c=j.useCallback(e=>s((t=[])=>[...t,e]),[s]),l=j.useCallback(e=>s((t=[])=>t.filter(t=>t!==e)),[s]);return(0,M.jsx)(yi,{scope:e.__scopeAccordion,value:o,onItemOpen:c,onItemClose:l,children:(0,M.jsx)(xi,{scope:e.__scopeAccordion,collapsible:!0,children:(0,M.jsx)(Di,{...a,ref:t})})})},`AccordionImplMultiple`)),[Ti,Ei]=hi(Z),Di=j.forwardRef(X(function(e,t){let{__scopeAccordion:n,disabled:r,dir:i,orientation:a=`vertical`,...o}=e,s=j.useRef(null),c=u(s,t),l=pi(n),d=Te(i)===`ltr`,f=T(e.onKeyDown,e=>
2{if(!di.includes(e.key))return;let t=e.target,n=l().filter(e=>!e.ref.current?.disabled),r=n.findIndex(e=>e.ref.current===t),i=n.length;if(r===-1)return;e.preventDefault();let o=r,s=i-1,c=X(()=>{o=r+1,o>s&&(o=0)},`moveNext`),u=X(()=>{o=r-1,o<0&&(o=s)},`movePrev`);switch(e.key){case`Home`:o=0;break;case`End`:o=s;break;case`ArrowRight`:a===`horizontal`&&(d?c():u());break;case`ArrowDown`:a===`vertical`&&c();break;case`ArrowLeft`:a===`horizontal`&&(d?u():c());break;case`ArrowUp`:a===`vertical`&&u()}n[o%i].ref.current?.focus()});return(0,M.jsx)(Ti,{scope:n,disabled:r,direction:i,orientation:a,children:(0,M.jsx)(fi.Slot,{scope:n,children:(0,M.jsx)(A.div,{...o,"data-orientation":a,ref:c,onKeyDown:r?void 0:f})})})},`AccordionImpl`)),Oi=`AccordionItem`,[ki,Ai]=hi(Oi),ji=j.forwardRef(X(function(e,t){let{__scopeAccordion:n,value:r,...i}=e,a=Ei(Oi,n),o=bi(Oi,n),s=_i(n),c=me(),l=r&&o.value.includes(r)||!1,u=a.disabled||e.disabled;return(0,M.jsx)(ki,{scope:n,open:l,disabled:u,triggerId:c,children:(0,M.jsx)(si,{"data-orientation":a.orientation,"data-state":Ri(l),...s,...i,ref:t,disabled:u,open:l,onOpenChange:e=>{e?o.onItemOpen(r):o.onItemClose(r)}})})},`AccordionItem`)),Mi=`AccordionHeader`,Ni=j.forwardRef(X(function(e,t){let{__scopeAccordion:n,...r}=e,i=Ei(Z,n),a=Ai(Mi,n);return(0,M.jsx)(A.h3,{"data-orientation":i.orientation,"data-state":Ri(a.open),"data-disabled":a.disabled?``:void 0,...r,ref:t})},`AccordionHeader`)),Pi=`AccordionTrigger`,Fi=j.forwardRef(X(function(e,t){let{__scopeAccordion:n,...r}=e,i=Ei(Z,n),a=Ai(Pi,n),o=Si(Pi,n),s=_i(n);return(0,M.jsx)(fi.ItemSlot,{scope:n,children:(0,M.jsx)(ci,{"aria-disabled":a.open&&!o.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId,...s,...r,ref:t})})},`AccordionTrigger`)),Ii=`AccordionContent`,Li=j.forwardRef(X(function(e,t){let{__scopeAccordion:n,...r}=e,i=Ei(Z,n),a=Ai(Ii,n),o=_i(n);return(0,M.jsx)(li,{role:`region`,"aria-labelledby":a.triggerId,"data-orientation":i.orientation,...o,...r,ref:t,style:{"--radix-accordion-content-height":`var(--radix-collapsible-content-height)`,"--radix-accordion-content-width":`var(--radix-collapsible-content-width)`,...e.style}})},`AccordionContent`));function Ri(e){return e?`open`:`closed`}X(Ri,`getState`);var zi=vi,Bi=ji,Vi=Ni,Hi=Fi,Ui=Li,Wi=zi,Gi=j.forwardRef(({className:e,...t},n)=>(0,M.jsx)(Bi,{ref:n,className:f(`border-b`,e),...t}));Gi.displayName=`AccordionItem`;var Ki=j.forwardRef(({className:e,children:t,...n},r)=>(0,M.jsx)(Vi,{className:`flex`,children:(0,M.jsxs)(Hi,{ref:r,className:f(`flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180`,e),...n,children:[t,(0,M.jsx)(ee,{className:`h-4 w-4 shrink-0 transition-transform duration-200`})]})}));Ki.displayName=Hi.displayName;var qi=j.forwardRef(({className:e,children:t,...n},r)=>(0,M.jsx)(Ui,{ref:r,className:`overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down`,...n,children:(0,M.jsx)(`div`,{className:f(`pb-4 pt-0`,e),children:t})}));qi.displayName=Ui.displayName;var Ji=({className:e=``,width:t=119,height:n=27,priority:r=!0})=>{let[i,a]=(0,j.useState)(!1),[o,s]=(0,j.useState)(!1),c=(0,j.useRef)(null);(0,j.useEffect)(()=>{c.current?.complete&&a(!0)},[]);let l=`/uploads/94a9b981-3e73-46ae-9c09-6858f126ef3c.png`;return(0,j.useEffect)(()=>{if(r){let e=document.createElement(`link`);return e.rel=`preload`,e.as=`image`,e.href=l,e.setAttribute(`fetchpriority`,`high`),document.head.appendChild(e),()=>{let e=document.querySelector(`link[rel="preload"][href="${l}"]`);e&&document.head.removeChild(e)}}},[l,r]),(0,M.jsxs)(`div`,{className:`relative ${e}`,style:{aspectRatio:`${t} / ${n}`},children:[(0,M.jsx)(`img`,{ref:c,src:l,alt:`Quiker — plataforma de gestão de projetos e programas corporativos`,width:t,height:n,loading:r?`eager`:`lazy`,fetchPriority:r?`high`:`auto`,decoding:r?`sync`:`async`,className:`object-contain opacity-100`,onLoad:()=>a(!0),onError:()=>s(!0),style:{width:`100%`,height:`100%`,maxWidth:`${t}px`,maxHeight:`${n}px`}}),!i&&!o&&(0,M.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-r from-muted/30 to-muted/10 animate-pulse rounded-[0.25rem]`,style:{aspectRatio:`${t} / ${n}`}}),o&&(0,M.jsx)(`div`,{className:`absolute inset-0 bg-muted/20 flex items-center justify-center text-muted-foreground text-sm font-medium`,style:{aspectRatio:`${t} / ${n}`},children:`Quiker`})]})},Q={updateConsent:(e,t=!1)=>{typeof window<`u`&&window.gtag&&(window.gtag(`consent`,`update`,{analytics_storage:e?`granted`:`denied`,ad_storage:t?`granted`:`denied`,ad_user_data:t?`granted`:`denied`,ad_personalization:t?`granted`:`denied`}),e&&window.dispatchEvent(new CustomEvent(`gtag-consent-update`)))},trackEvent:(e,t={})=>{typeof window>`u`||(window.gtag&&window.gtmLoaded?window.gtag(`event`,e,t):(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:e,...t})))},trackPageView:e=>{Q.trackEvent(`page_view`,{page_path:e,page_title:document.title,timestamp:Date.now()})},trackInteraction:(e,t,n)=>{Q.trackEvent(`user_interaction`,{element_name:e,interaction_type:t,element_value:n,timestamp:Date.now()})},trackConversion:(e,t)=>{Q.trackEvent(e,{...t,timestamp:Date.now(),page_url:window.location.pathname})},trackNavigation:e=>{Q.trackEvent(`internal_navigation`,{...e,timestamp:Date.now()})},trackExternalLink:(e,t)=>{Q.trackEvent(`external_link_click`,{destination_url:e,...t,timestamp:Date.now()})},trackEngagement:(e,t)=>
2{Q.trackEvent(`user_engagement`,{engagement_type:e,...t,timestamp:Date.now()})}},Yi=()=>{let[e,t]=(0,j.useState)(!1),[n,i]=(0,j.useState)(null),a=(0,j.useRef)(null),o=Ft(),s=e=>{a.current&&clearTimeout(a.current),i(e)},c=()=>{a.current&&clearTimeout(a.current),a.current=setTimeout(()=>i(null),200)};(0,j.useEffect)(()=>()=>{a.current&&clearTimeout(a.current)},[]);let l=()=>t(!1),u=[{label:`Plataforma`,href:`/plataforma`,dropdown:[{label:`Portal de Iniciativas`,href:`/plataforma/ideias`,description:`Capte ideias e demandas por múltiplos canais.`,icon:Re},{label:`Workflow / Triagem`,href:`/plataforma/workflow`,description:`Avalie, priorize e encaminhe cada iniciativa.`,icon:Ie},{label:`Projetos`,href:`/plataforma/projetos`,description:`Gerencie cronograma, backlog, custos e equipe.`,icon:Fe},{label:`Base de Conhecimento`,href:`/plataforma/base-de-conhecimento`,description:`Publique regras e consolide o aprendizado.`,icon:Ae},{label:`Times e Agentes`,href:`/plataforma/times-e-agentes`,description:`Organize pessoas e conecte agentes de IA.`,icon:je}]},{label:`Soluções`,href:`/solucoes`,dropdown:[{label:`Gestão Estratégica de Portfólio`,href:`/solucoes/portfolio-estrategico`,description:`Priorize iniciativas e conecte a estratégia à execução.`,icon:Ne},{label:`Programas de Intraempreendedorismo`,href:`/solucoes/intraempreendedorismo`,description:`Mobilize talentos para criar novos negócios e soluções.`,icon:h},{label:`Programas de Ideias`,href:`/solucoes/programas-de-ideias`,description:`Transforme contribuições em melhorias de impacto.`,icon:Be},{label:`Programas de Inovação Aberta`,href:`/solucoes/inovacao-aberta`,description:`Conecte desafios corporativos ao ecossistema externo.`,icon:Le},{label:`Projetos ESG`,href:`/solucoes/esg`,description:`Organize iniciativas e evidências de sustentabilidade.`,icon:ze},{label:`Gestão de Produtos`,href:`/solucoes/gestao-de-produtos`,description:`Coordene portfólios, roadmaps e ciclos de produto.`,icon:We},{label:`Gestão de Demandas de Clientes`,href:`/solucoes/demandas-de-clientes`,description:`Centralize solicitações e decisões de priorização.`,icon:Fe},{label:`Programa de Melhoria Contínua`,href:`/solucoes/melhoria-continua`,description:`Estruture ciclos recorrentes de evolução operacional.`,icon:x},{label:`Gestão de Risco Operacional`,href:`/solucoes/risco-operacional`,description:`Identifique, trate e acompanhe riscos com governança.`,icon:Ke}]},{label:`Recursos`,href:`/artigos`,dropdown:[{label:`Artigos`,href:`/artigos`,description:`Insights e análises sobre gestão de projetos e programas.`,icon:Ue},{label:`Materiais úteis`,href:`/ferramentas`,description:`Ferramentas e templates para acelerar sua operação.`,icon:Je},{label:`Documentação`,href:`https://docs.quiker.com.br`,external:!0,description:`Guias técnicos e referência da plataforma.`,icon:Ae}]},{label:`Sobre`,href:`/sobre-nos`,dropdown:[{label:`Nossa história`,href:`/sobre-nos`,description:`Conheça a trajetória e o propósito da Quiker.`,icon:Me},{label:`Cases de sucesso`,href:`/cases`,description:`Resultados reais de clientes que transformaram sua gestão.`,icon:qe},{label:`Talentos`,href:`https://trampos.co/quiker`,external:!0,description:`Junte-se ao time e construa o futuro da gestão.`,icon:re}]}],d=e=>e===`/`?o.pathname===`/`:o.pathname.startsWith(e);return(0,M.jsx)(`header`,{className:`sticky top-0 z-50 w-full border-b border-primary/10 bg-gradient-to-r from-background via-background to-accent/30 backdrop-blur-xl supports-[backdrop-filter]:bg-background/80 h-[65px]`,children:(0,M.jsxs)(`div`,{className:`flex h-16 w-full items-center px-3 md:container md:justify-between md:px-4 lg:px-6`,children:[(0,M.jsxs)(b,{open:e,onOpenChange:t,children:[(0,M.jsx)(ie,{asChild:!0,children:(0,M.jsx)(r,{variant:`ghost`,size:`icon`,className:`md:hidden h-11 w-11 -ml-2 text-foreground hover:text-primary hover:bg-primary/10`,"aria-label":`Abrir menu de navegação`,children:(0,M.jsx)(ae,{className:`h-5 w-5`})})}),(0,M.jsx)(y,{side:`left`,className:`w-[86vw] max-w-[340px] p-0 md:hidden border-r border-primary/20 bg-gradient-to-br from-neutral-900 to-neutral-800`,children:(0,M.jsxs)(`div`,{className:`flex h-full flex-col`,children:[(0,M.jsx)(`div`,{className:`flex h-[65px] items-center border-b border-white/10 px-5`,children:(0,M.jsxs)(L,{to:`/`,onClick:l,"aria-label":`Quiker — página inicial`,children:[(0,M.jsx)(Ji,{className:`h-8 w-auto max-w-[120px] cursor-pointer brightness-0 invert`,width:120,height:27}),(0,M.jsx)(`span`,{className:`sr-only`,children:`Quiker — página inicial`})]})}),(0,M.jsx)(`nav`,{className:`flex-1 overflow-y-auto px-3 py-4`,children:(0,M.jsx)(Wi,{type:`multiple`,defaultValue:u.map(e=>e.label),className:`w-full`,children:u.map(e=>e.dropdown?(0,M.jsxs)(Gi,{value:e.label,className:`border-b border-white/10`,children:[(0,M.jsx)(Ki,{className:`rounded-md px-2 py-3.5 text-base font-medium text-white/90 hover:no-underline hover:text-primary hover:bg-white/5 [&[data-state=open]>svg]:text-primary`,children:e.label}),(0,M.jsx)(qi,{className:`pb-2`,children:(0,M.jsx)(`div`,{className:`flex flex-col`,children:e.dropdown.map(e=>(0,M.jsx)(`a`,{href:e.href,className:f(`rounded-md px-4 py-2.5 text-sm transition-colors hover:bg-primary/10 hover:text-primary`,d(e.href)?`text-primary font-medium bg-primary/10`:`text-white/70`),target:e.external?`_blank`:void 0,rel:e.external?`noopener noreferrer`:void 0,onClick:()=>{let t=e.tracking;e.external?Q.trackExternalLink(e.href,{link_type:`partner`,source:`quiker_platform`,medium:`website_menu`,campaign:`header_navigation`,content:`recursos_blog`}):t&&Q.trackEvent(`navigation_click`,t),l()},children:e.label},e.label))})})]},e.label):(0,M.jsx)(`a`,{href:e.href,className:f(`block rounded-md px-2 py-3.5 text-base font-medium transition-colors hover:bg-white/5 hover:text-primary`,d(e.href)?`text-primary font-semibold`:`text-white/90`),onClick:l,children:e.label},e.label))})}),(0,M.jsxs)(`div`,{className:`space-y-3 border-t border-white/10 p-4`,children:[(0,M.jsx)(`a`,{href:`https://app.quiker.com.br`,target:`_blank`,rel:`noopener noreferrer`,className:`flex h-12 w-full items-center justify-center rounded-md border border-primary/40 bg-primary/10 text-base font-semibold text-primary transition-colors hover:bg-primary/20 hover:text-primary`,onClick:()=>{Q.trackExternalLink(`https://app.quiker.com.br`,{link_type:`partner`,source:`quiker_platform`,medium:`website_menu`,campaign:`header_navigation`,content:`app_login`}),l()},"aria-label":`Acessar aplicação Quiker`,children:`Entrar`}),(0,M.jsx)(r,{className:`w-full h-12 bg-gradient-to-r from-primary to-primary-hover text-primary-foreground shadow-primary hover:shadow-
2primary-hover hover:-translate-y-0.5 transition-all`,onClick:()=>{Q.trackConversion(`meeting_scheduled`,{button_location:`header`,page_context:window.location.pathname,user_intent:`high_intent`}),l(),I(`${F()}:header-mobile`)},"aria-label":`Agendar reunião com especialista`,children:`Agendar Reunião`}),(0,M.jsx)(qr,{variant:`dark`})]})]})})]}),(0,M.jsx)(`div`,{className:`flex items-center`,children:(0,M.jsxs)(L,{to:`/`,"aria-label":`Quiker — página inicial`,children:[(0,M.jsx)(Ji,{className:`h-8 w-auto max-w-[120px] cursor-pointer`,width:120,height:27,priority:!0}),(0,M.jsx)(`span`,{className:`sr-only`,children:`Quiker — página inicial`})]})}),(0,M.jsx)(`nav`,{className:`hidden md:flex items-center md:space-x-0 lg:space-x-1`,children:u.map(e=>(0,M.jsxs)(`div`,{className:`relative group md:px-1 lg:px-2`,onMouseEnter:()=>s(e.label),onMouseLeave:c,children:[e.dropdown?(0,M.jsxs)(`span`,{className:f(`flex items-center whitespace-nowrap font-medium transition-colors cursor-pointer gap-1 rounded-md md:text-xs md:px-1.5 md:py-1 lg:text-sm lg:px-2 lg:py-1.5`,d(e.href)?`text-primary bg-primary/10`:`text-neutral-600 hover:text-primary hover:bg-primary/5`),children:[e.label,(0,M.jsx)(ee,{className:f(`h-3.5 w-3.5 lg:h-4 lg:w-4 transition-transform duration-200`,n===e.label&&`rotate-180`)})]}):(0,M.jsx)(`a`,{href:e.href,className:f(`flex items-center whitespace-nowrap font-medium transition-colors rounded-md md:text-xs md:px-1.5 md:py-1 lg:text-sm lg:px-2 lg:py-1.5`,d(e.href)?`text-primary bg-primary/10`:`text-neutral-600 hover:text-primary hover:bg-primary/5`),children:e.label}),e.dropdown&&n===e.label&&(0,M.jsx)(`div`,{onMouseEnter:()=>s(e.label),onMouseLeave:c,className:f(`fixed left-1/2 top-[65px] -translate-x-1/2 pt-2`,e.label===`Soluções`?`w-[min(920px,calc(100vw-2rem))]`:e.label===`Plataforma`?`w-[min(720px,calc(100vw-2rem))]`:`w-[min(520px,calc(100vw-2rem))]`),children:(0,M.jsxs)(`div`,{className:`overflow-hidden rounded-lg border border-border bg-card shadow-elevated`,children:[(0,M.jsx)(`div`,{className:f(`grid p-4 lg:p-5`,e.label===`Soluções`?`grid-cols-3 gap-2`:e.label===`Plataforma`?`grid-cols-2 gap-2`:`grid-cols-1 gap-1.5`),children:e.dropdown.map(t=>{if(!(`icon`in t)||!(`description`in t))return null;let n=t.icon;return(0,M.jsxs)(`a`,{href:t.href,className:f(`group/card flex items-start gap-3 rounded-lg border border-transparent p-3 text-left transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2`,e.label===`Soluções`?`min-h-24 lg:min-h-28 lg:p-4`:e.label===`Recursos`||e.label===`Sobre`?`py-2.5`:`min-h-20 lg:min-h-24`,d(t.href)?`border-primary/15 bg-primary/10`:`hover:border-border hover:bg-accent/70`),target:t.external?`_blank`:void 0,rel:t.external?`noopener noreferrer`:void 0,onClick:()=>{t.external&&Q.trackExternalLink(t.href,{link_type:`partner`,source:`quiker_platform`,medium:`website_menu`,campaign:`header_navigation`,content:`recursos_blog`})},children:[(0,M.jsx)(`span`,{className:`mt-0.5 flex h-9 w-9 shrink-0 items-center justify-center rounded-md bg-primary/10 text-primary transition-colors group-hover/card:bg-primary group-hover/card:text-primary-foreground lg:h-10 lg:w-10`,children:(0,M.jsx)(n,{className:`h-4 w-4 lg:h-5 lg:w-5`,"aria-hidden":`true`})}),(0,M.jsxs)(`span`,{className:`min-w-0`,children:[(0,M.jsx)(`span`,{className:`block text-xs font-semibold leading-snug text-foreground lg:text-sm`,children:t.label}),(0,M.jsx)(`span`,{className:`mt-1 hidden text-xs leading-relaxed text-muted-foreground lg:block`,children:t.description})]})]},t.label)})}),(0,M.jsxs)(`div`,{className:`flex items-center justify-between border-t border-border bg-muted/50 px-5 py-3`,children:[(0,M.jsx)(`span`,{className:`text-xs text-muted-foreground lg:text-sm`,children:e.label===`Soluções`?`Encontre a solução ideal para o seu desafio.`:e.label===`Plataforma`?`
2Cinco módulos conectados em um ciclo de trabalho.`:e.label===`Recursos`?`Conteúdos e ferramentas para apoiar sua jornada.`:`Conheça a Quiker e nosso time.`}),(0,M.jsxs)(`a`,{href:e.href,className:`flex items-center gap-1.5 text-xs font-semibold text-primary transition-colors hover:text-primary-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 lg:text-sm`,children:[e.label===`Soluções`?`Ver todas as soluções`:e.label===`Plataforma`?`Ver toda a plataforma`:e.label===`Recursos`?`Ver todos os recursos`:`Conheça a Quiker`,(0,M.jsx)(m,{className:`h-4 w-4`,"aria-hidden":`true`})]})]})]})})]},e.label))}),(0,M.jsxs)(`div`,{className:`hidden md:flex items-center md:space-x-2 lg:space-x-3`,children:[(0,M.jsx)(`a`,{href:`https://app.quiker.com.br`,target:`_blank`,rel:`noopener noreferrer`,className:`flex items-center justify-center whitespace-nowrap rounded-md border border-primary/30 bg-primary/5 px-4 py-2 font-semibold text-primary transition-colors hover:bg-primary/10 hover:text-primary-hover md:text-xs lg:text-sm`,onClick:()=>Q.trackExternalLink(`https://app.quiker.com.br`,{link_type:`partner`,source:`quiker_platform`,medium:`website_menu`,campaign:`header_navigation`,content:`app_login`}),"aria-label":`Acessar aplicação Quiker`,children:`Entrar`}),(0,M.jsx)(r,{className:`bg-gradient-to-r from-primary to-primary-hover text-primary-foreground shadow-primary hover:shadow-primary-hover hover:-translate-y-0.5 transition-all whitespace-nowrap md:h-9 md:px-3 md:text-xs lg:h-10 lg:px-4 lg:text-sm`,onClick:()=>{Q.trackConversion(`meeting_scheduled`,{button_location:`header`,page_context:window.location.pathname,user_intent:`high_intent`}),I(`${F()}:header-desktop`)},"aria-label":`Agendar reunião com especialista`,children:`Agendar Reunião`}),(0,M.jsx)(qr,{})]})]})})},Xi=(e,t)=>{let n=encodeURIComponent(t);return typeof navigator<`u`&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?`https://wa.me/${e}?text=${n}`:`https://web.whatsapp.com/send?phone=${e}&text=${n}`},$=`block text-sm text-muted-foreground transition-colors hover:text-primary`,Zi=()=>{let e=new Date().getFullYear();return(0,M.jsx)(`footer`,{className:`border-t border-border/20 bg-gradient-to-b from-muted/40 via-muted/15 to-primary/10`,children:(0,M.jsxs)(`div`,{className:`container py-12 sm:py-16`,children:[(0,M.jsxs)(`div`,{className:`grid gap-12 sm:gap-10 md:grid-cols-2 lg:grid-cols-12 lg:gap-x-6 lg:gap-y-8`,children:[(0,M.jsxs)(`div`,{className:`space-y-5 lg:col-span-3`,children:[(0,M.jsxs)(`div`,{children:[(0,M.jsx)(`h3`,{className:`mb-3 text-xl font-bold text-foreground sm:text-2xl`,children:`Quiker`}),(0,M.jsx)(`p`,{className:`max-w-xs text-sm leading-relaxed text-muted-foreground sm:text-base`,children:`Plataforma de projetos e programas corporativos, com agentes de IA embarcados.`})]}),(0,M.jsxs)(`div`,{className:`flex gap-2`,children:[(0,M.jsx)(r,{variant:`ghost`,className:`h-10 w-10 min-h-[44px] min-w-[44px] touch-manipulation transition-colors hover:bg-primary/10 hover:text-primary sm:h-12 sm:w-12`,onClick:()=>{Q.trackExternalLink(`https://www.linkedin.com/company/quikeroficial/`,{link_type:`social_media`,source:`footer`,medium:`social`,campaign:`linkedin_follow`}),window.open(`https://www.linkedin.com/company/quikeroficial/`,`_blank`)},"aria-label":`Seguir no LinkedIn`,children:(0,M.jsx)(Ve,{className:`h-4 w-4 sm:h-5 sm:w-5`})}),(0,M.jsx)(r,{variant:`ghost`,className:`h-10 w-10 min-h-[44px] min-w-[44px] touch-manipulation transition-colors hover:bg-primary/10 hover:text-primary sm:h-12 sm:w-12`,onClick:()=>{Q.trackExternalLink(`https://youtube.com/@quiker`,{link_type:`social_media`,source:`footer`,medium:`social`,campaign:`youtube_follow`}),window.open(`https://youtube.com/@quiker`,`_blank`)},"aria-label":`Seguir no YouTube`,children:(0,M.jsx)(_,{className:`h-4 w-4 sm:h-5 sm:w-5`})})]})]}),(0,M.jsxs)(`div`,{className:`space-y-4 lg:col-span-2`,children:[(0,M.jsx)(`h4`,{className:`text-base font-semibold text-foreground sm:text-lg`,children:`Plataforma`}),(0,M.jsxs)(`nav`,{className:`space-y-2.5`,children:[(0,M.jsx)(`a`,{href:`/plataforma`,className:$,children:`Visão geral`}),(0,M.jsx)(`a`,{href:`/demo-interativa`,className:$,children:`Demo Interativa`}),(0,M.jsx)(`a`,{href:`/plataforma/ideias`,className:$,children:`Portal de Iniciativas`}),(0,M.jsx)(`a`,{href:`/plataforma/workflow`,className:$,children:`Workflow / Triagem`}),(0,M.jsx)(`a`,{href:`/plataforma/projetos`,className:$,children:`Projetos`}),(0,M.jsx)(`a`,{href:`/plataforma/base-de-conhecimento`,className:$,children:`Base de Conhecimento`}),(0,M.jsx)(`a`,{href:`/plataforma/times-e-agentes`,className:$,children:`Times e Agentes`})]})]}),(0,M.jsxs)(`div`,{className:`space-y-4 lg:col-span-2`,children:[(0,M.jsx)(`h4`,{className:`text-base font-semibold text-foreground sm:text-lg`,children:`Soluções`}),(0,M.jsxs)(`nav`,{className:`space-y-2.5`,children:[(0,M.jsx)(`a`,{href:`/solucoes/portfolio-estrategico`,className:$,children:`Gestão de Portfólio`}),(0,M.jsx)(`a`,{href:`/solucoes/intraempreendedorismo`,className:$,children:`Intraempreendedorismo`}),(0,M.jsx)(`a`,{href:`/solucoes/programas-de-ideias`,className:$,children:`Programas de Ideias`}),(0,M.jsx)(`a`,{href:`/solucoes/inovacao-aberta`,className:$,children:`Inovação Aberta`}),(0,M.jsx)(`a`,{href:`/solucoes/esg`,className:$,children:`Projetos e ESG`}),(0,M.jsx)(`a`,{href:`/solucoes/gestao-de-produtos`,className:$,children:`Gestão de Produtos`}),(0,M.jsx)(`a`,{href:`/solucoes/demandas-de-clientes`,className:$,children:`Demandas de Clientes`}),(0,M.jsx)(`a`,{href:`/solucoes/melhoria-continua`,className:$,children:`Melhoria Contínua`}),(0,M.jsx)(`a`,{href:`/solucoes/risco-operacional`,className:$,children:`Risco Operacional`}),(0,M.jsx)(`a`,{href:`/solucoes`,className:`${$} font-medium text-primary/80 hover:text-primary`,children:`Todas as soluções`})]})]}),(0,M.jsxs)(`div`,{className:`space-y-4 lg:col-span-2`,children:[(0,M.jsx)(`h4`,{className:`text-base font-semibold text-foreground sm:text-lg`,children:`Recursos`}),(0,M.jsxs)(`nav`,{className:`space-y-2.5`,children:[(0,M.jsx)(`a`,{href:`/cases`,className:$,children:`Cases de Sucesso`}),(0,M.jsx)(L,{to:`/artigos`,className:$,children:`Artigos`}),(0,M.jsx)(`a`,{href:`https://docs.quiker.com.br`,target:`_blank`,rel:`noopener noreferrer`,className:$,children:`Documentação`}),(0,M.jsx)(L,{to:`/sobre-nos`,className:$,children:`Sobre Nós`})]})]}),(0,M.jsxs)(`div`,{className:`space-y-5 lg:col-span-3`,children:[(0,M.jsx)(`h4`,{className:`text-base font-semibold text-foreground sm:text-lg`,children:`Contato`}),(0,M.jsxs)(`div`,{className:`space-y-3`,children:[(0,M.jsxs)(`a`,{href:`mailto:[email protected]`,className:`flex items-center gap-2.5 text-sm text-muted-foreground transition-colors hover:text-primary`,children:[(0,M.jsx)(ne,{className:`h-4 w-4 flex-shrink-0 text-trust-green`}),`[email protected]`]}),(0,M.jsxs)(`a`,{href:`tel:+5516997257940`,className:`flex items-center gap-2.5 text-sm text-muted-foreground transition-colors hover:text-primary`,children:[(0,M.jsx)(Ge,{className:`h-4 w-4 flex-shrink-0 text-trust-green`}),`(16) 99725-7940`]}),(0,M.jsxs)(`div`,{className:`flex items-start gap-2.5 text-sm text-muted-foreground`,children:[(0,M.jsx)(He,{className:`mt-0.5 h-4 w-4 flex-shrink-0 text-trust-green`}),(0,M.jsx)(`span`,{className:`leading-relaxed`,children:`Dabi Business Park, R. Gen. Augusto Soares dos Santos, 100 — Parque Industrial Lagoinha, Ribeirão Preto - SP, 14095-240`})]})]}),(0,M.jsxs)(`div`,{className:`space-y-2.5`,children:[(0,M.jsxs)(r,{className:`h-11 w-full bg-primary text-sm shadow-lg transition-all hover:-translate-y-0.5 hover:bg-primary-hover hover:shadow-
2primary/25`,onClick:()=>{Q.trackConversion(`meeting_scheduled`,{button_location:`footer`,page_context:window.location.pathname,user_intent:`medium_intent`}),I(`${F()}:footer`)},"aria-label":`Agendar reunião com especialista`,children:[(0,M.jsx)(`svg`,{className:`mr-2 h-4 w-4`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,"aria-hidden":`true`,children:(0,M.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z`})}),`Agendar Reunião`]}),(0,M.jsxs)(r,{variant:`outline`,className:`h-11 w-full border-success/30 text-sm text-success transition-all hover:-translate-y-0.5 hover:bg-success/5`,onClick:()=>{Q.trackConversion(`whatsapp_contact`,{button_location:`footer`,page_context:window.location.pathname,user_intent:`medium_intent`}),window.open(Xi(`5516997257940`,`Olá! Gostaria de conhecer mais sobre a Quiker.`),`_blank`)},"aria-label":`Conversar no WhatsApp`,children:[(0,M.jsx)(`svg`,{className:`mr-2 h-4 w-4`,fill:`currentColor`,viewBox:`0 0 24 24`,"aria-hidden":`true`,children:(0,M.jsx)(`path`,{d:`M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.885 3.097`})}),`WhatsApp`]})]})]})]}),(0,M.jsx)(le,{className:`my-10 bg-border/20 sm:my-12`}),(0,M.jsxs)(`div`,{className:`flex flex-col gap-6 sm:flex-row sm:items-center sm:justify-between`,children:[(0,M.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,M.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`© `,e,` Quiker Tecnologia e Inovação. Todos os direitos reservados.`]}),(0,M.jsx)(`p`,{className:`text-xs text-muted-foreground/70`,children:`Plataforma enterprise de gestão de projetos e programas • CNPJ: 35.865.991/0001-50`})]}),(0,M.jsxs)(`nav`,{className:`flex flex-wrap gap-x-6 gap-y-2`,children:[(0,M.jsx)(`a`,{href:`https://wiki.quik.digital/pt-br/politicas-de-uso/seguranca-da-informacao`,target:`_blank`,rel:`noopener noreferrer`,className:`text-sm text-muted-foreground transition-colors hover:text-primary hover:underline`,children:`Segurança & SLA`}),(0,M.jsx)(`a`,{href:`https://docs.quiker.com.br/pt-br/politicas-de-uso/politica-privacidade`,target:`_blank`,rel:`noopener noreferrer`,className:`text-sm text-muted-foreground transition-colors hover:text-primary hover:underline`,children:`Política de Privacidade`}),(0,M.jsx)(`button`,{type:`button`,onClick:Qe,className:`text-left text-sm text-muted-foreground transition-colors hover:text-primary hover:underline`,children:`Preferências de cookies`}),(0,M.jsx)(`a`,{href:`https://wiki.quik.digital/pt-br/politicas-de-uso`,target:`_blank`,rel:`noopener noreferrer`,className:`text-sm text-muted-foreground transition-colors hover:text-primary hover:underline`,children:`Termos de Uso`}),(0,M.jsx)(`a`,{href:`https://status.quiker.com.br`,target:`_blank`,rel:`noopener noreferrer`,className:`text-sm text-muted-foreground transition-colors hover:text-primary hover:underline`,children:`Status da Plataforma`}),(0,M.jsx)(`a`,{href:`https://quiker.co`,target:`_blank`,rel:`noopener noreferrer`,className:`text-sm text-muted-foreground transition-colors hover:text-primary hover:underline`,"aria-label":`Visitar site da Quiker na América do Norte (inglês)`,children:`🇺🇸 Quiker (NA)`})]})]})]})})},Qi=()=>(0,M.jsx)(`div`,{className:`fixed z-50 hidden flex-col gap-3 transition-all duration-300 md:flex`,style:{bottom:`max(1.5rem, env(safe-area-inset-bottom, 1.5rem))`,right:`max(1.5rem, env(safe-area-inset-right, 1.5rem))`},children:(0,M.jsx)(r,{size:`lg`,className:`btn-primary-enhanced rounded-full shadow-elevated hover:shadow-
2primary-hover hover-lift bg-success hover:bg-success/90 text-white min-h-[44px] min-w-[44px] h-12 sm:h-14 px-4 sm:px-6 text-sm sm:text-base touch-manipulation`,onClick:()=>{Q.trackConversion(`whatsapp_contact`,{button_location:`sticky_whatsapp`,page_context:window.location.pathname,user_intent:`high_intent`}),window.open(Xi(`5516997257940`,`Olá! Gostaria de conhecer mais sobre a Quiker.`),`_blank`)},"aria-label":`Conversar no WhatsApp`,children:(0,M.jsx)(`svg`,{className:`h-6 w-6 sm:h-7 sm:w-7`,viewBox:`0 0 24 24`,fill:`currentColor`,"aria-hidden":`true`,children:(0,M.jsx)(`path`,{d:`M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.149-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51l-.57-.01c-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z`})})})}),$i={control:{label:`Agendar reunião`,support:`30 min, sem compromisso`},dor:{label:`Ver como organizar seu programa`,support:`30 min com um especialista, sem compromisso`},prova:{label:`Ver a plataforma com um especialista`,support:`30 min, sem compromisso`}},ea=`cta-copy`,ta=e=>e===`control`||e===`dor`||e===`prova`,na=()=>{let[e,t]=(0,j.useState)(`control`);return(0,j.useEffect)(()=>{let e=!0,n=()=>{try{let n=oe(ea);e&&ta(n)&&t(n)}catch{}};n();let r=se(n);return()=>{e=!1,r?.()}},[]),{variant:e,...$i[e]}},ra=(e,t=`booking`,n={})=>{let r=(0,j.useRef)(null),i=(0,j.useRef)(!1);return(0,j.useEffect)(()=>{let a=r.current;if(!a||i.current||typeof IntersectionObserver>`u`)return;let o=new IntersectionObserver(r=>{!r[0]?.isIntersecting||i.current||(i.current=!0,o.disconnect(),w(N.CTA_VIEWED,{cta_location:e,cta_action:t,surface:`site`,page:window.location.pathname,page_slug:F(),device_type:Et(),...S(),...n}))},{threshold:.4});return o.observe(a),()=>o.disconnect()},[e,t]),r},ia=`5516997257940`,aa=()=>{let{openBooking:e,isBookingOpen:t}=Mt(),n=na(),[i,a]=(0,j.useState)(!1),[o,s]=(0,j.useState)(!0),c=ra(`mobile_bar`,`booking`,{cta_variant:n.variant});return(0,j.useEffect)(()=>{let e=()=>s($e()&&document.querySelector(`[data-bottom-overlay]`)===null);e();let t=window.setInterval(e,800),n=tt(e);return()=>{window.clearInterval(t),n()}},[]),(0,j.useEffect)(()=>{let e=()=>a(window.scrollY>320);return e(),window.addEventListener(`scroll`,e,{passive:!0}),()=>window.removeEventListener(`scroll`,e)},[]),typeof window<`u`&&window.location.pathname.replace(/\/$/,``)===`/agendar`||t||!i||!o?null:(0,M.jsxs)(`div`,{ref:c,className:`fixed inset-x-0 bottom-0 z-50 flex items-center gap-2 border-t border-border/60 bg-background/95 px-3 pt-2 shadow-elevated backdrop-blur md:hidden`,style:{paddingBottom:`max(0.5rem, env(safe-area-inset-bottom, 0.5rem))`},children:[(0,M.jsxs)(r,{className:`h-12 flex-1 bg-gradient-to-r from-primary to-primary-hover text-sm font-semibold text-primary-foreground`,onClick:()=>e(`${F()}:mobile-bar`),"aria-label":`Agendar reunião com especialista`,children:[(0,M.jsx)(g,{className:`mr-2 h-4 w-4`,"aria-hidden":`true`}),n.label]}),(0,M.jsx)(r,{variant:`outline`,className:`h-12 min-w-12 border-success/40 px-3 text-success`,onClick:()=>{Q.trackConversion(`whatsapp_contact`,{button_location:`mobile_bar`,page_context:window.location.pathname,user_intent:`high_intent`}),window.open(Xi(ia,`Olá! Gostaria de conhecer mais sobre a Quiker.`),`_blank`)},"aria-label":`Conversar no WhatsApp`,children:(0,M.jsx)(`svg`,{className:`h-6 w-6`,viewBox:`0 0 24 24`,fill:`currentColor`,"aria-hidden":`true`,children:(0,M.jsx)(`path`,{d:`M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.149-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51l-.57-.01c-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 
20 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z`})})})]})},oa=`button, a[href], [role='button']`,sa=/agendar|agende|falar com especialista|marcar reuni/i,ca=e=>{let t=e.closest(`[data-cta-location]`);if(t?.dataset.ctaLocation)return t.dataset.ctaLocation;if(e.closest(`header`))return`header`;if(e.closest(`footer`))return`footer`;let n=e.closest(`section[id], div[id]`);if(n?.id)return n.id;let r=e.closest(`section`);return r&&r.previousElementSibling===null?`hero`:`body`},la=()=>{(0,j.useEffect)(()=>{if(typeof IntersectionObserver>`u`)return;let e=new Set,t=new WeakSet,n=new IntersectionObserver(t=>{for(let r of t){if(!r.isIntersecting)continue;let t=ca(r.target),i=`${window.location.pathname}|${t}`;n.unobserve(r.target),!e.has(i)&&(e.add(i),w(N.CTA_VIEWED,{cta_location:t,cta_action:`booking`,surface:`site`,page:window.location.pathname,page_slug:F(),device_type:Et(),...S()}))}},{threshold:.4}),r=()=>{let e=document.querySelectorAll(oa);for(let r of Array.from(e)){if(t.has(r))continue;let e=`${r.textContent??``} ${r.getAttribute(`aria-label`)??``}`;sa.test(e)&&(t.add(r),n.observe(r))}};r();let i,a=new MutationObserver(()=>{window.clearTimeout(i),i=window.setTimeout(r,400)});return a.observe(document.body,{childList:!0,subtree:!0}),()=>{window.clearTimeout(i),a.disconnect(),n.disconnect()}},[])},ua=({children:e,showCTASticky:t=!0,showMobileBookingBar:n=!0})=>(la(),(0,M.jsxs)(`div`,{className:n?`min-h-screen pb-20 md:pb-0`:`min-h-screen`,children:[(0,M.jsx)(Yi,{}),(0,M.jsx)(`main`,{children:e}),(0,M.jsx)(Zi,{}),t&&(0,M.jsx)(Qi,{}),n&&(0,M.jsx)(aa,{})]}));export{ft as A,Ge as B,Ct as C,ot as D,N as E,$e as F,Re as G,Ve as H,et as I,Pe as J,Ie as K,tt as L,lt as M,ut as N,dt as O,Ze as P,Je as R,St as S,gt as T,Be as U,He as V,ze as W,je as X,Me as Y,Ae as Z,F as _,Wi as a,bt as b,Ki as c,Pt as d,It as f,Mt as g,I as h,Q as i,pt as j,mt as k,L as l,jt as m,na as n,qi as o,Ot as p,Fe as q,Xi as r,Gi as s,ua as t,Ft as u,yt as v,ht as w,xt as x,_t as y,Ke as z};

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.