PageSourceSearch

https://mundovestibular.com.br/__arcadia-journey/Oli_KYXf.js

js mundovestibular.com.br collected 2026-09-24 23:33:44 UTC 3,445 bytes, 1 lines download raw bytes

1import{S as e,c as t}from"./BxR1oLWR.js";import{$a as n,Aa as r,Ao as i,Ca as a,Da as o,Ea as s,Hr as c,Ka as l,Na as u,Ro as d,Rr as f,Ta as p,Uo as m,Vo as h,Vr as g,Wo as _,Ya as v,ar as y,ho as b,ir as x,ja as S,no as C,oo as w,rr as T,va as E,vo as D,wa as O,xa as k}from"./M-W19bnO.js";import{t as A}from"./Bhi6fg48.js";import{t as j}from"./DpH3_mD8.js";var M=T(),N=8,P=8,F=Object.assign(y(u({name:`InlineLocation`,__name:`InlineLocation`,setup(c){let u=A(),{userLocation:y}=e(u),x=i(!1),w=i(null),T=i(null),E=i(null),F=i({top:0,left:0}),I=a(()=>({position:`fixed`,top:`${F.value.top}px`,left:`${F.value.left}px`}));function L(){let e=T.value;return e?e instanceof HTMLElement?e:e.$el??null:null}function R(){let e=L(),t=E.value;if(!e||!t)return;let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=window.innerWidth,a=n.left;a+r.width>i-N&&(a=i-N-r.width),a<N&&(a=N),F.value={top:n.bottom+P,left:a}}let z=a(()=>{let e=y.value;return e?.name?e.name:e?.city&&e?.state?`${e.city}, ${e.state}`:`Escolher cidade`});function B(){x.value=!x.value}function V(){x.value=!1}function H(e){e&&(u.updateUserLocation?.({location:e}),V())}function U(e){e.key===`Escape`&&x.value&&V()}return b(x,async e=>{if(!e){window.removeEventListener(`resize`,R),window.removeEventListener(`scroll`,R,!0);return}await l(),R(),window.addEventListener(`resize`,R,{passive:!0}),window.addEventListener(`scroll`,R,{passive:!0,capture:!0})}),n(()=>{document.addEventListener(`keydown`,U)}),v(()=>{document.removeEventListener(`keydown`,U),window.removeEventListener(`resize`,R),window.removeEventListener(`scroll`,R,!0)}),(e,n)=>{let i=g,a=f,c=t;return C(),p(c,null,{default:D(()=>[O(`div`,{ref_key:`rootEl`,ref:w,class:`inline-location`},[S(a,{tag:`button`,ref_key:`triggerEl`,ref:T,class:`inline-location__trigger`,"aria-expanded":x.value,onClick:B},{default:D(()=>[r(_(z.value)+` `,1),S(i,{icon:d(M.faChevronDown),class:h([`inline-location__chevron`,{"inline-location__chevron--open":x.value}])},null,8,[`icon`,`class`])]),_:1},8,[`aria-expanded`])],512),(C(),p(k,{to:`body`},[x.value?(C(),o(`div`,{key:0,class:`inline-location__backdrop`,"aria-hidden":`true`,onClick:V})):s(``,!0),x.value?(C(),o(`div`,{key:1,ref_key:`popoverEl`,ref:E,class:`inline-location__popover`,role:`dialog`,style:m(I.value)},[n[0]||=O(`div`,{class:`inline-location__instruction`},` Buscar por cidade `,-1),S(j,{id:`inline-location-autocomplete`,value:d(y),autofocus:!0,placeholder:`Digite sua cidade`,onChange:H},null,8,[`value`])],4)):s(``,!0)]))]),_:1})}}}),[[`__scopeId`,`data-v-2052d97a`]]),{__name:`InlineLocation`}),I={class:`w-full`},L={class:`location-picker__topbar-left`},R={class:`location-picker__topbar-left-description`},z={class:`location-picker__topbar-link`},B=Object.assign(y(u({__name:`location-picker`,props:{numberOfNearby:{}},setup(e){return(t,n)=>{let i=c,a=x;return C(),o(`div`,I,[O(`div`,L,[O(`div`,R,[t.$slots[`location-picker-text`]?(C(),o(E,{key:0},[S(i,{tag:`span`,class:`location-picker__topbar-first-text`,align:`left`},{default:D(()=>[w(t.$slots,`location-picker-text`,{},void 0,!0)]),_:3}),S(a,{class:`location-picker__topbar-divider`,variant:`inverted`})],64)):s(``,!0),O(`div`,null,[S(i,{tag:`span`,align:`left`},{default:D(()=>[r(` Mostrando `+_(e.numberOfNearby)+` perto de `,1)]),_:1}),S(F)])]),O(`div`,z,[w(t.$slots,`location-picker-see-all`,{},void 0,!0)])])])}}}),[[`__scopeId`,`data-v-43fd1f2c`]]),{__name:`LocationPicker`});export{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.