PageSourceSearch

https://wbk-assets.webook.com/0.7.8/assets/index--4qzlcT_.js

js webook.com collected 2026-09-25 15:16:57 UTC 2,489 bytes, 1 lines download raw bytes

1import{j as t}from"./@wbk/hooks-BlLlWTp9.js";import{e as E,r as d}from"./vendor-Cc9w-i99.js";import{aS as _,bo as P,bp as S,bq as A,br as B}from"./@wbk/contentful-9uMqmgoA.js";import{u as L}from"./@wbk/analytics-DE0c17Pa.js";import{E as k,S as v,a as R,C as q}from"./index-CriLyxpO.js";import{A as F}from"./SmartBanner-BolI36eX.js";import"./@wbk/logger-DfNVpG3P.js";import"./@wbk/ui-Bq7l3oiK.js";import"./@wbk/config-CNzyBjC_.js";import"./@wbk/svg-HUfKeBgT.js";import"./react-hook-form-D_m77UuM.js";import"./@wbk/auth-AbxUcDmb.js";import"./@wbk/queue-DaHNt4dN.js";import"./@wbk/api-BgBdL-BO.js";import"./@wbk/currency-B7PYjEev.js";import"./@wbk/ticketing-BIN3h7yH.js";import"./@wbk/payment-CMegBHo6.js";import"./@wbk/flights-zxddM6AH.js";import"./@wbk/hotels-5c6KxmYL.js";import"./@smc/ads-x_0QwEKi.js";import"./i18next-http-backend-C2uFdLra.js";import"./i18next-Ce0fiPMx.js";import"./i18next-browser-languagedetector-Bv2FoO1s.js";import"./react-i18next-Dxy0wzdl.js";import"./react-helmet-BcOPeyN0.js";import"./@wbk/auction-BYo4kjve.js";const or=()=>{var l,p,u,c;const{queuedSlug:m,lang:f,countryCode:g,cityCode:x,category:j}=E(),{viewItemEvent:y}=L(),{whereWithFilters:b}=_({slug:m,countryCode:g,cityCode:x,category:j}),{data:i,isLoading:C}=P({lang:f,limit:1,where:b,includeSections:!0}),r=i==null?void 0:i.data,n=i==null?void 0:i.rateLimited,a=(l=r==null?void 0:r.webSectionsCollection)==null?void 0:l.items.filter(e=>e.platform!=="riyadh-season"),o=a==null?void 0:a.filter(e=>(e==null?void 0:e.renderType)!=="collapsable-text"),h=(p=o==null?void 0:o[0])==null?void 0:p.id;return d.useEffect(()=>{var e,s;r&&y({event:{_id:r.id,slug:m,title:r.title,startingPrice:r.startingPrice,zone:r.slug,currencyCode:r.currencyCode,category:((e=r.category)==null?void 0:e.slug)||"N/A",poster:((s=r.banner)==null?void 0:s.url)||""}})},[r]),C?t.jsx(S,{}):!(r!=null&&r.id)||n?t.jsx(k,{isRateLimit:n}):t.jsxs(t.Fragment,{children:[r.backgroundColor&&t.jsx("style",{children:`main { background-color:${r.backgroundColor};}`}),t.jsx(v,{title:r.title,description:r.description,image:((u=r.featuredBanner)==null?void 0:u.url)||((c=r.banner)==null?void 0:c.url)}),t.jsx(F,{argument:`zone/${r.slug}`}),t.jsx("section",{className:"container pt-6",children:t.jsx(A,{zone:r})}),t.jsx(B,{zone:r,firstSectionId:h}),a==null?void 0:a.map((e,s)=>t.jsx(R,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(d.Suspense,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(q,{section:e})})},e.__typename+s))]})};export{or as default};

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.