PageSourceSearch

https://www.qatartennis.org/_next/static/chunks/5225-8733d88b201b483e.js

js qatartennis.org collected 2026-10-02 11:36:41 UTC 9,991 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5225],{53465:function(e,t,a){a.d(t,{Z:function(){return s}});var r=a(907),n=a(96256);function s(e){return(0,n.Z)(1,arguments),(0,r.Z)(e).getTime()>Date.now()}},81694:function(e,t,a){var r=a(74512),n=a(46582),s=a.n(n),i=a(35837),o=a(83836);t.Z=function(e){var t,a,n,l,c,d,m,u,p,g;let h=(0,i.useRouter)(),x="https://www.qatartennis.org",f=null===(t=e.images)||void 0===t?void 0:t.map(e=>e.startsWith("http")?e:"".concat(x).concat(e));return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(s(),{children:[(0,r.jsx)("meta",{property:"og:title",content:e.title.slice(0,60)}),(0,r.jsx)("meta",{property:"og:description",content:e.description.slice(0,160)}),(null==f?void 0:f[0])&&(0,r.jsx)("meta",{property:"og:image",content:f[0]}),(0,r.jsx)("meta",{property:"og:url",content:"".concat(x).concat(h.asPath)}),(0,r.jsx)("meta",{property:"og:type",content:null!==(c=e.type)&&void 0!==c?c:"website"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"})]}),(0,r.jsx)(o.PB,{title:e.title.slice(0,60),description:e.description.slice(0,160),openGraph:{title:e.title,description:null!==(d=e.description.slice(0,200))&&void 0!==d?d:e.title,images:null==f?void 0:f.map(t=>({url:t,width:1200,height:630,alt:e.title})),url:"".concat(x).concat(h.asPath),type:null!==(m=e.type)&&void 0!==m?m:"website",article:"article"===e.type?{publishedTime:null!==(u=null===(a=e.article)||void 0===a?void 0:a.publishedTime)&&void 0!==u?u:void 0,modifiedTime:null!==(p=null===(n=e.article)||void 0===n?void 0:n.modifiedTime)&&void 0!==p?p:void 0,tags:null!==(g=null===(l=e.article)||void 0===l?void 0:l.tags)&&void 0!==g?g:void 0}:void 0},nofollow:"nofollow"===e.robots,noindex:"noindex"===e.robots,twitter:{handle:"@handle",site:"@site",cardType:"summary_large_image"},languageAlternates:(()=>{var e;let t=null!==(e="en,ar".split(",").filter(e=>"en"!==e))&&void 0!==e?e:[],a=h.asPath;return[{hrefLang:"en",href:"".concat(x).concat(a)},{hrefLang:"x-default",href:"".concat(x).concat(a)},...t.map(e=>({hrefLang:e,href:"".concat(x,"/").concat(e).concat(a)}))]})(),canonical:"".concat(x).concat(h.asPath)})]})}},28482:function(e,t,a){a.d(t,{Z:function(){return o}});var r=a(74512),n=a(86839),s=a(75054);let i=e=>(0,s.cn)(["inline-flex items-center rounded border border-transparent px-4 font-title text-sm shadow text-ellipsis whitespace-nowrap","focus:outline-none ",{"w-full":e}]);var o=function(e){let{className:t,block:a,variant:o="primary",children:l,...c}=e,d=i(a),m={primary:(0,s.cn)([d,"bg-primary laptop:hover:bg-primary/50",t]),secondary:(0,s.cn)([d,"bg-transparent backdrop-blur-xl hover:bg-primary/50 border-primary",t]),tertiary:(0,s.cn)([d,"text-primary hover:bg-primary/50 hover:border-primary",t])};return(0,r.jsx)(n.zx,{className:m[o],type:"button",...c,children:l})}},11979:function(e,t,a){var r=a(74512),n=a(75054);t.Z=function(e){let{url:t,className:a}=e;return(0,r.jsx)("div",{className:(0,n.cn)("grid place-items-center rounded",a),children:t&&(0,r.jsx)("img",{src:t,alt:"calendar image",height:60,width:60})})}},79620:function(e,t,a){a.d(t,{Z:function(){return f}});var r=a(74512),n=a(32735),s=a(24524),i=a(75054),o=a(59151),l=a(53465),c=a(35837),d=a(52880),m=a(31412),u=function(e){let{t}=(0,s.$)(),{url:a,text:o,style:l}=(0,n.useMemo)(()=>({url:"/match-center/".concat(e.providerId),text:t("page.calendar_league.event.cta.match_center"),style:"link"}),[e.providerId,t]),c=e.competitionColor?"rgb(".concat(e.competitionColor.replace(" ",""),")").toString():"rgb(var(--primary-color))";return(0,r.jsx)("div",{className:"tablet:justify-end flex items-center justify-center",children:(0,r.jsx)(m.q,{href:a,variant:l,className:(0,i.cn)("desktop:w-[170px] w-[180px] text-white"),style:{backgroundColor:c},children:o})})};function p(e){return null===e?(0,r.jsx)("div",{className:"bg-text_secondary/10 h-9 w-6 animate-pulse rounded"}):e}var g=function(e){let{t}=(0,s.$)(),a=(0,n.useMemo)(()=>{if((e.isPreGame||e.isFuture)&&e.time){let t=e.date.split("T")[0]+"T"+"".concat(e.time),a=(0,o.Z)(new Date(t),"HH:mm");return a}let a=p(e.homeScore),n=p(e.awayScore);return e.isPostponed?(0,r.jsx)("p",{className:"laptop:text-2xl text-sm",children:t("global.status.postponed")}):e.isSuspended?(0,r.jsx)("p",{className:"laptop:text-2xl text-sm",children:t("global.status.suspended")}):e.isCancelled?(0,r.jsx)("p",{className:"laptop:text-2xl text-sm",children:t("global.status.cancelled")}):(0,r.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[a," - ",n]})},[e.isFuture,e.isPreGame,e.time,e.homeScore,e.awayScore,e.isPostponed,e.isPassed,e.date,e.isSuspended,t]);return(0,r.jsxs)("div",{className:"flex flex-col items-center",children:[(0,r.jsx)("div",{className:"text-center font-thin",children:e.stadiumName}
1),e.time&&(0,r.jsx)("div",{className:"text-3xl font-bold",children:(0,r.jsx)("span",{children:a})}),e.isLive&&(0,r.jsxs)("div",{className:"flex items-center gap-1 rounded px-1 py-0.5 text-xs font-thin",children:[(0,r.jsx)("span",{className:"block h-2 w-2 rounded-full bg-red-600"}),(0,r.jsx)("span",{children:t("global.status.live")})]}),e.isPassed&&(0,r.jsx)("div",{className:"flex items-center gap-1 rounded px-1 py-0.5 text-xs font-thin",children:(0,r.jsx)("span",{children:t("global.status.finished")})}),e.isAwarded&&(0,r.jsx)("div",{className:"flex items-center gap-1 rounded px-1 py-0.5 text-xs font-thin",children:(0,r.jsx)("span",{children:t("global.status.awarded")})})]})},h=function(e){let{teamId:t,isCarousel:a,teamProviderId:n,teamCode:s,teamName:o}=e;return(0,r.jsxs)(m.q,{className:"flex flex-col items-center gap-2",href:"/teams/".concat(t),variant:"link",children:[(0,r.jsx)("img",{src:"https://origins-common-assets.origins-digital.com/sport-assets/opta_sd/soccer/teams/".concat(n,".png"),alt:"",width:50}),(0,r.jsx)("h2",{className:(0,i.cn)("hidden",{"tablet:block hidden text-center uppercase":!a}),translate:"no",children:o}),(0,r.jsx)("h2",{className:(0,i.cn)({"tablet:hidden text-center uppercase":!a}),translate:"no",children:s})]})},x=function(e){var t;let a=(0,c.useRouter)(),{t:m}=(0,s.$)(),p=(0,n.useMemo)(()=>(0,l.Z)(new Date(e.date))&&"postponed"!==e.gameStatus,[e.date]),x=(0,n.useMemo)(()=>"live"===e.gameStatus,[e.gameStatus]),f=(0,n.useMemo)(()=>"post-game"===e.gameStatus,[e.gameStatus]),v=(0,n.useMemo)(()=>"postponed"===e.gameStatus,[e.gameStatus]),y=(0,n.useMemo)(()=>"pre-game"===e.gameStatus,[e.gameStatus]),b=(0,n.useMemo)(()=>"awarded"===e.gameStatus,[e.gameStatus]),j=(0,n.useMemo)(()=>"suspended"===e.gameStatus,[e.gameStatus]),w=(0,n.useMemo)(()=>"cancelled"===e.gameStatus,[e.gameStatus]),N=null!==e.time,S=e.date.split("T")[0]+"T"+"".concat(e.time),M=N?(0,o.Z)(new Date(S),"HH:mm"):"";return(0,r.jsxs)("div",{className:(0,i.cn)("tablet:grid-cols-[1fr,2fr,1fr] tablet:p-4 grid grid-cols-1 gap-4 rounded py-4 shadow ring-1 ring-white/10 dark:shadow-none ",{"hover:bg-text_primary/10 bg-text_primary/5":!p,"from-primary/80 to-primary/10 hover:from-primary hover:to-primary/30 bg-gradient-to-r":x,"bg-transparent":p}),children:[(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"font-title text-text_primary tablet:items-start flex flex-col items-center justify-center gap-2",children:[(0,r.jsx)("div",{className:"font-bold uppercase",children:(()=>{switch(e.stage){case"Saison r\xe9guli\xe8re":case"Regul\xe4re Saison":default:return m("football.competition.regular_season");case"Phase de championnat":case"Meisterrunde":return m("football.competition.phase_championship");case"Rel\xe9gation":case"Abstiegsrunde":return m("football.competition.phase_relegation");case"Finales":case"Finals":return m("football.competition.barrage")}})()}),(0,r.jsxs)("div",{className:"flex flex-wrap gap-2 font-light",children:[(0,d.WR)(e.date,null!==(t=a.locale)&&void 0!==t?t:"en"),(0,r.jsx)("p",{children:x||f?M:""})]})]})}),(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"tablet:place-items-center tablet:grid-cols-3 grid grid-cols-[1fr,1fr,1fr] justify-between",children:[(0,r.jsx)(h,{teamId:e.homeTeam,teamProviderId:e.homeTeamProviderId,teamCode:e.homeTeamCode,teamName:e.homeTeamName}),(0,r.jsx)(g,{stage:e.stage,awayScore:e.awayScore,homeScore:e.homeScore,stadiumName:e.stadiumName,date:e.date,time:e.time,isFuture:p,isLive:x,isPostponed:v,isPreGame:y,isPassed:f,isAwarded:b,isSuspended:j,isCancelled:w}),(0,r.jsx)(h,{teamId:e.awayTeam,teamProviderId:e.awayTeamProviderId,teamCode:e.awayTeamCode,teamName:e.awayTeamName})]})}),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(u,{providerId:e.providerId,gameStatus:e.gameStatus,ticketsUrl:e.ticketsUrl,competitionColor:e.competitionColor})})]})},f=function(e){let{events:t,competitionColor:a}=e;return(0,r.jsx)("div",{className:"flex flex-col gap-4",children:t.map(e=>(0,r.jsx)(x,{...e,competitionColor:a},e.id))})}},1056:function(e,t,a){a.d(t,{F:function(){return s}});var r=a(24524);let n=e=>{let{t}=(0,r.$)();switch(!0){case void 0===e:default:return t("page.calendar_league.all");case!!Number(e):return"".concat(t("page.calendar_league.matchday")," ").concat(e);case!Number(e):return"".concat(e)}},s=e=>{let{competition:t,week:a}=e,{t:s}=(0,r.$)(),i=n(a);return"".concat(t," ").concat(s("page.team.calendar.tab")," | ").concat(i)}},52880:function(e,t,a){a.d(t,{WR:function(){return s}});var r=a(59151),n=a(93716);new Intl.DateTimeFormat(void 0,{day:"2-digit",month:"short",year:"numeric"});let s=(e,t,a,s)=>{if(!e)return"";let i="string"==typeof e?new Date(e):e;if(s){let e=(0,r.Z)(i,"eeee",{locale:(0,n.G)(t)}).split("").slice(0,2).join("");return"".concat(e.charAt(0).toUpperCase()+e.slice(1),". ").concat((0,r.Z)(i,(null!=a?a:"de"===t)?"dd. MMM yyyy":"dd MMM yyyy",{locale:(0,n.G)(t)})," ")}return(0,r.Z)(i,(null!=a?a:"de"===t)?"dd. MMM yyyy":"dd MMM yyyy",{locale:(0,n.G)(t)})}},93716:function(e,t,a){a.d(t,{G:function(){return o}});var r=a(62623),n=a(69195),s=a(56733),i=a(143);function o(e){switch(e){case"fr":return i.Z;case"en":default:return s.Z;case"ar":return r.Z;case"de":return n.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.