PageSourceSearch

https://www.gamescom.global/_next/static/chunks/4dc0f79067bfc6b0.js

js gamescom.global collected 2026-10-02 02:14:41 UTC 33,599 bytes, 6 lines download raw bytes

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]="e79231f9-993b-5368-b0cf-59c80e725389")}catch(e){}}();
3(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,436772,t=>{"use strict";t.s(["default",()=>a]);var e=t.i(843476),n=t.i(343794),i=t.i(523289),r=t.i(958318),o=t.i(813678),s=t.i(689573);let a=t=>{var a,c,l,u,d;let{className:h,authorContext:m,customPartnerName:f,linkSlugParam:p,linkUrlParam:g,showNameShort:v=!1}=t;if(!m)return null;let w=(0,o.default)(),y=null==(a=m.partnerPremium)?void 0:a.isVerified,b=null==(c=m.partnerPremium)?void 0:c.disablePartnerPage,_=null!=(u=null==(l=m.partnerPremium)?void 0:l.disabledPartnerUrl)?u:"/",T=(0,e.jsxs)(e.Fragment,{children:[(null!=f?f:v)?m.nameShort:null!=(d=m.name)?d:null,y?(0,e.jsx)(i.DynamicIcon,{name:"icon-verified",className:"ms-1",width:16,height:16}):null]});return b?(0,e.jsx)(s.default,{className:(0,n.default)("author-link text-decoration-none",h,{"is--verified":y}),href:_,owner:m,"aria-label":null!=f?f:m.name,title:null!=f?f:m.name,children:T}):(0,e.jsx)(s.default,{href:(0,r.getLinkByType)(g,null!=p?p:m.slug,w),className:(0,n.default)("author-link text-decoration-none",h,{"is--verified":y}),owner:m,"aria-label":null!=f?f:m.name,title:null!=f?f:m.name,children:T})}},245895,t=>{"use strict";t.s(["default",()=>i]);var e=t.i(161822),n=t.i(271645);let i=()=>{let t=(0,e.useAppSelector)(t=>t.enumConfiguration),i=(0,n.useMemo)(()=>t.enumConfiguration.seasonConfiguration.find(t=>!0===t.currentSeason),[t.enumConfiguration.seasonConfiguration]);return{accessibilityConfiguration:t.enumConfiguration.accessibilityConfiguration,genreConfiguration:t.enumConfiguration.genreConfiguration,platformConfiguration:t.enumConfiguration.platformConfiguration,topicConfiguration:t.enumConfiguration.topicConfiguration,eventOrVideoTypeConfiguration:t.enumConfiguration.eventOrVideoTypeConfiguration,seasonConfiguration:t.enumConfiguration.seasonConfiguration,currentSeason:i}}},768265,t=>{"use strict";t.s(["EventTypeBadge",()=>o]);var e=t.i(843476),n=t.i(343794),i=t.i(523289),r=t.i(160195);let o=t=>{let{type:o,customClassNames:s}=t;return(0,e.jsxs)("span",{className:(0,n.default)("event-type-badge d-inline-flex align-items-center",s,{["event-type-badge--".concat(o)]:!!o}),children:["event"===o&&(0,e.jsx)(i.DynamicIcon,{name:"icon-location-filled",className:"m-0 flex-shrink-0",width:12,height:12}),"video"===o&&(0,e.jsx)(i.DynamicIcon,{name:"icon-play-filled",className:"m-0 flex-shrink-0",width:12,height:12}),(0,e.jsx)("span",{children:(0,e.jsx)(r.Translate,{id:"iconObjects.".concat(o)})})]})}},851345,113129,t=>{"use strict";t.s(["YOUTUBE_URL_REGEX",()=>r,"default",()=>c],851345);var e=t.i(799235);t.s(["default",()=>i],113129);var n=t.i(769494);let i=(t,e)=>{let i=e.find(e=>e.configKey===t);return i?i.displayName:(n.default.log("warning",{url:window.location.href,message:"No enum configuration found for item: ".concat(t)}),t)},r=/^https:\/\/(?:www\.youtube\.com\/(?:embed\/[A-Za-z0-9_-]{11}(?:[?&][^#\s]*)?|watch\?v=[A-Za-z0-9_-]{11}(?:[&?][^#\s]*)?|watch\/[A-Za-z0-9_-]{11}(?:[?&][^#\s]*)?|live\/[A-Za-z0-9_-]{11}(?:[?&][^#\s]*)?|shorts\/[A-Za-z0-9_-]{11}(?:[?&][^#\s]*)?)|youtu\.be\/[A-Za-z0-9_-]{11}(?:[?&][^#\s]*)?)$/,o=/(?:youtu\.be\/|youtube\.com\/(?:watch\?v=|embed\/|v\/|shorts\/|live\/|watch\/))([a-zA-Z0-9_-]{11})/,s=/^https:\/\/(?:www\.)?twitch\.tv\/videos\/[a-zA-Z0-9]+$/,a=/^https:\/\/(?:www\.)?twitch\.tv\/[a-zA-Z0-9_]+\/?$/;class c{static shouldAutoplayVideo(t){if(!t.videoUrl||void 0===this.getVideoSourceFromUrl(t.videoUrl))return!1;let e=this.isVideoEnded(t)&&this.isTwitchLivestream(t.videoUrl),n=t.endsAt&&this.isVideoEnded(t);return!this.isVideoStartingInFuture(t)&&!e&&!n}static getCalculatedVideoProperties(t,e){var n,r,o;let s=c.isLive(t),a=t.videoType?i(t.videoType,e):"",l=null==(n=t.productList)?void 0:n.length,u=1===l?t.productList&&t.productList[0]:null,d=null!=(o=null==(r=t.owner)?void 0:r.nameShort)?o:null;return{isLive:s,length:this.getLength(t),product:u,productLength:l,videoType:a,partnerName:d}}static isLive(t){return this.isLivestream(t)&&this.isVideoStarted(t)&&!this.isVideoEnded(t)}static isLivestream(t){return!!t.isLivestream}static isVideoWithStartsAndEndsAtTimestamp(t){return!!(this.isLivestream(t)&&t.startsAt&&t.endsAt)}static isVideoEnded(t){if(!t.endsAt)return!0;try{return e.default.timeAfterNow(t.endsAt)}catch(t){return console.warn(t),!0}}static isVideoStarted(t){if(!t.startsAt)return!1;try{return e.default.timeAfterNow(t.startsAt)}catch(t){return console.warn(t),!1}}static isVideoStartingInFuture(t){return!!t.startsAt&&new Date(t.startsAt).getTime()>Date.now()}static sortVideosByEndTimestamp(t,e){if(!t.endsAt||!e.endsAt)return 0;let n=new Date(t.endsAt);return new Date(e.endsAt).getTime()-n.getTime()}static sortVideosByStartTimestamp(t,e){if(!t.startsAt||!e.startsAt)return 0;let n=new Date(t.startsAt),i=new Date(e.startsAt);return n.getTime()-i.getTime()}static getLength(t){return this.isLivestream(t)?t.startsAt&&t.endsAt&&t.startsAt<t.endsAt?e.default.formatTime(new Date(t.startsAt),new Date(t.endsAt)):"":t.length?e.default.formatDistance(t.length):""}static isTwitchLivestream(t){return a.test(t)&&!s.test(t)}static checkIfVideoIsTypeYouTube(t){return r.test(t)}static getVideoSourceFromUrl(t){if(t){if(r.test(t))return"YouTube";if(s.test(t))return"TwitchVideo";if(a.test(t))return"TwitchLivestream"}}static getVideoIdFromYouTubeLikeUrl(t){if("string"==typeof t){let e=RegExp(o).exec(t);return e&&11===e[1].length?e[1]:void 0}}static getVideoIdFromTwitchLikeUrl(t){if("string"==typeof t)try{let e=new URL(t);if(e.pathname.includes("videos"))return e.pathname.split("/")[2];return e.pathname.split("/")[1]}catch(t){return}}static getVideoIdFromUrl(t){let e=c.getVideoSourceFromUrl(t);if(e){if("YouTube"===e)return c.getVideoIdFromYouTubeLikeUrl(t);if("TwitchLivestream"===e||"TwitchVideo"===e)return c.getVideoIdFromTwitchLikeUrl(t)}}static trimVideoUrl(t){return"string"==typeof t?t.trim():""}}},536072,t=>{"use strict";t.s(["default",()=>l]);var e=t.i(843476),n=t.i(523289),i=t.i(160195),r=t.i(522016),o=t.i(958318),s=t.i(124821),a=t.i(948148),c=t.i(813678);let l=t=>{let{videoSlug:l,onClick:u}=t,d=(0,a.useTranslations)(),h=(0,c.default)();return l?(0,e.jsx)("div",{className:"w-100",children:(0,e.jsx)(s.default,{type:"button",isButtonElement:!1,ariaLabel:d("videoAndEventTile.ctaButton.viewVideo"),children:(0,e.jsxs)(r.default,{href:(0,o.getLinkByType)(o.LinkType.video,l,h),className:"btn btn--secondary w-100 text-nowrap",draggable:!1,onClick:null!=u?u:void 0,children:[(0,e.jsx)(n.DynamicIcon,{name:"icon-play-circle-outline",className:"m-0 me-25",width:20,height:20}),(0,e.jsx)("span",{className:"truncate",children:(0,e.jsx)(i.Translate,{id:"videoAndEventTile.ctaButton.viewVideo"})})]})})}):null}},543680,t=>{"use strict";t.s(["default",()=>d]);var e=t.i(799235),n=t.i(822315),i=t.i(472856),r=t.i(77270),o=t.i(572639),s=t.i(120763),a=t.i(24002),c=t.i(948148),l=t.i(813678),u=t.i(271645);let d=t=>{let{startTime:d,endTime:h,children:m,showShortTime:f=!1}=t,p=(0,c.useTranslations)(),g=(0,l.default)(),v=e.default.toDateJS(d),w=e.default.toDateJS(h);if(!v&&!w)return null;let y="function"==typeof m?t=>m(t):t=>t,b=(0,u.useMemo)(()=>"de"===g?"DD.MM., LT":"MM/DD [at] LT",[g]),_=(0,n.default)();if(n.default.locale(g),n.default.extend(r.default),n.default.extend(i.default),n.default.extend(o.default),n.default.extend(a.default),n.default.extend(s.default),!v)return y(p("videoEventDate.fallback.end",{formattedDateString:w?e.default.formatLocalized(w,g,b):""}));if(!w)return y(p("videoEventDate.fallback.start",{formattedDateString:e.default.formatLocalized(v,g,b)}));if(f){let t=e.default.formatLocalized(v,g);return y(v.isTomorrow()?p("videoEventDate.tomorrow",{formattedDateString:t}):t)}if(v.isBefore(_.add(-1,"day"))){if(w.isBefore(_.add(-1,"day")))return y(p("videoEventDate.ended",{formattedDateString:w.fromNow()}));if(w.isYesterday())return y(p("videoEventDate.yesterday",{formattedDateString:e.default.formatLocalizedTimeSpan(v,w,g)}));if(_.isBefore(w))return y(p("videoEventDate.since",{formattedDateString:e.default.formatLocalized(v,g,b)}))}
3if(v.isYesterday()){if(w.isYesterday())return y(p("videoEventDate.yesterday",{formattedDateString:e.default.formatLocalizedTimeSpan(v,w,g)}));if(_.isBefore(w))return y(p("videoEventDate.sinceYesterday",{formattedDateString:e.default.formatLocalized(v,g)}));if(_.isAfter(w))return y(p("videoEventDate.ended",{formattedDateString:w.fromNow()}))}return v.isToday()?y(_.isBefore(v)&&_.isBefore(w)||_.isAfter(v)&&_.isAfter(w)?p("videoEventDate.today",{formattedDateString:e.default.formatLocalizedTimeSpan(v,w,g)}):p("videoEventDate.sinceToday",{formattedDateString:e.default.formatLocalized(v,g)})):y(v.isTomorrow()&&w.isTomorrow()?p("videoEventDate.tomorrow",{formattedDateString:e.default.formatLocalizedTimeSpan(v,w,g)}):v.isTomorrow()&&w.isAfter(v.add(1,"day"))?p("videoEventDate.tomorrow",{formattedDateString:"".concat(e.default.formatLocalized(v,g)," – ").concat(e.default.formatLocalized(w,g,b))}):p("videoEventDate.starts",{formattedDateString:e.default.formatLocalized(v,g,b)}))}},702416,t=>{"use strict";t.s(["ErrorBoundary",()=>g],702416);var e,n=t.i(250804),i=t.i(272598),r=t.i(662537),o=t.i(791338),s=t.i(249859),a=t.i(14438);function c(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=a.WINDOW.document,c=(null==e?void 0:e.head)||(null==e?void 0:e.body);if(!c){s.DEBUG_BUILD&&i.debug.error("[showReportDialog] Global document not defined");return}let l=(0,n.getCurrentScope)(),u=(0,n.getClient)(),d=null==u?void 0:u.getDsn();if(!d){s.DEBUG_BUILD&&i.debug.error("[showReportDialog] DSN not configured");return}let h={...t,user:{...l.getUser(),...t.user},eventId:t.eventId||(0,r.lastEventId)()},m=a.WINDOW.document.createElement("script");m.async=!0,m.crossOrigin="anonymous",m.src=(0,o.getReportDialogEndpoint)(d,h);let{onLoad:f,onClose:p}=h;if(f&&(m.onload=f),p){let t=e=>{if("__sentry_reportdialog_closed__"===e.data)try{p()}finally{a.WINDOW.removeEventListener("message",t)}};a.WINDOW.addEventListener("message",t)}c.appendChild(m)}var l=t.i(271645);let u="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var d=t.i(453288);let h=Symbol.for("react.forward_ref"),m=Symbol.for("react.memo"),f={};f[h]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},f[m]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Object.defineProperty.bind(Object),Object.getOwnPropertyNames.bind(Object),null==(e=Object.getOwnPropertySymbols)||e.bind(Object),Object.getOwnPropertyDescriptor.bind(Object),Object.getPrototypeOf.bind(Object),Object.prototype;let p={componentStack:null,error:null,eventId:null};class g extends l.Component{componentDidCatch(t,e){let{componentStack:i}=e,{beforeCapture:o,onError:s,showDialog:a,dialogOptions:u}=this.props;(0,n.withScope)(n=>{o&&o(n,t,i);let h=function(t,e,n){let{componentStack:i}=e;if(function(t){let e=t.match(/^([^.]+)/);return null!==e&&parseInt(e[0])>=17}(l.version)&&(0,d.isError)(t)&&i){let e=Error(t.message);e.name="React ErrorBoundary ".concat(t.name),e.stack=i;let n=new WeakSet;!function t(e,i){if(!n.has(e)){if(e.cause)return n.add(e),t(e.cause,i);e.cause=i}}(t,e)}return(0,r.captureException)(t,n)}(t,e,{mechanism:{handled:null!=this.props.handled?this.props.handled:!!this.props.fallback,type:"auto.function.react.error_boundary"}});s&&s(t,i,h),a&&(this._lastEventId=h,this._openFallbackReportDialog&&c({...u,eventId:h})),this.setState({error:t,componentStack:i,eventId:h})})}componentDidMount(){let{onMount:t}=this.props;t&&t()}componentWillUnmount(){let{error:t,componentStack:e,eventId:n}=this.state,{onUnmount:i}=this.props;i&&(this.state===p?i(null,null,null):i(t,e,n)),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}resetErrorBoundary(){let{onReset:t}=this.props,{error:e,componentStack:n,eventId:i}=this.state;t&&t(e,n,i),this.setState(p)}render(){let{fallback:t,children:e}=this.props,n=this.state;if(null===n.componentStack)return"function"==typeof e?e():e;let r="function"==typeof t?l.createElement(t,{error:n.error,componentStack:n.componentStack,resetError:()=>this.resetErrorBoundary(),eventId:n.eventId}):t;return l.isValidElement(r)?r:(t&&u&&i.debug.warn("fallback did not produce a valid ReactElement"),null)}constructor(t){super(t),this.state=p,this._openFallbackReportDialog=!0;let e=(0,n.getClient)();e&&t.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=e.on("afterSendEvent",e=>{!e.type&&this._lastEventId&&e.event_id===this._lastEventId&&c({...t.dialogOptions,eventId:this._lastEventId})}))}}},912321,944160,t=>{"use strict";t.s(["calculateAdPositionInLists",()=>h,"default",()=>f],912321);var e=t.i(843476),n=t.i(702416),i=t.i(816108),r=t.i(213659),o=t.i(271645),s=t.i(343794);t.s(["default",()=>a],944160);let a={adButlerID:188345,pageIds:{default:{desktop:{de:974298,en:974309},mobile:{de:974319,en:974329}},events:{desktop:{de:974300,en:974311},mobile:{de:974321,en:974331}},games:{desktop:{de:974301,en:974312},mobile:{de:974322,en:974332}}
3,cards_boards:{desktop:{de:974308,en:974318},mobile:{de:974328,en:974338}},livestreams:{desktop:{de:974302,en:974313},mobile:{de:974323,en:974333}},sidebar:{desktop:{de:974303,en:974314},mobile:{de:974324,en:974334}},search:{desktop:{de:974304,en:974315},mobile:{de:974325,en:974335}},videos:{desktop:{de:974305,en:974316},mobile:{de:974326,en:974336}}}};var c=t.i(833997);let l=!1;class u{static async loadAd(t){try{let e=await fetch("https://servedbyadbutler.com/adserve/;ID=".concat(a.adButlerID,";size=0x0;setID=").concat(t,";type=json"));if(!e.ok)return null;let n=await e.json();if("SUCCESS"!==n.status)return null;return n.placements.placement_1.body}catch(t){return""}}}var d=t.i(543476);let h=t=>{let{isMobile:e,isTablet:n,isDesktop:i,mobileThreshold:r,tabletThreshold:o,desktopThreshold:s,currentPosition:a,totalNumberOfListItems:c}=t;return e&&a===r&&c>=r-1||n&&a===o&&c>=o-1||i&&a===s&&c>=s-1||e&&c<=r-1&&a===c-1||n&&c<=o-1&&a===c-1||i&&c<=s-1&&a===c-1},m={inline:t=>{let{id:n,format:i,pageId:r,isInListPositioned:u,adName:d,className:h=""}=t;if(!i)return null;let[m,f]=i.slice(1).split("x").map(Number),[p,g]=(0,o.useState)(!0),v="plc".concat(r),w=(0,o.useRef)(0),y=(0,o.useRef)(null);(0,c.default)("inlineAd"),(0,o.useEffect)(function(){(()=>{if(l)return;l=!0;let t=document.createElement("script");t.async=!0,t.src="https://servedbyadbutler.com/app.js",document.head.appendChild(t)})(),window.AdButler=window.AdButler||{ads:[],register:()=>{}},window.AdButler.ads=window.AdButler.ads||[],window[v]=window[v]||0,w.current=window[v];let t="placement_".concat(r,"_").concat(w.current),e="adbutler-style-".concat(t);if(!document.getElementById(e)){let n=document.createElement("style");n.id=e,n.textContent="#".concat(t," iframe { width: ").concat(m,"px !important; height: ").concat(f,"px !important; display: block !important; }"),document.head.appendChild(n)}let n=()=>{var e;let n=null==(e=y.current)?void 0:e.querySelector("#".concat(t));return!!n&&n.childElementCount>0},i=new MutationObserver(()=>{n()&&(i.disconnect(),clearTimeout(o),g(!0))});y.current&&i.observe(y.current,{childList:!0,subtree:!0});let o=setTimeout(()=>{n()?i.disconnect():g(!1)},3e3);return window.AdButler.ads.push({handler:t=>{window.AdButler.register(a.adButlerID,r,[m,f],"placement_".concat(r,"_").concat(t.place),t)},opt:{place:window[v]++,domain:"servedbyadbutler.com",click:"CLICK_MACRO_PLACEHOLDER"}}),()=>{i.disconnect(),clearTimeout(o)}},[]);let b=(0,e.jsx)("div",{className:"page-advertisement--wrapper",id:d,ref:y,children:(0,e.jsx)("div",{id:"placement_".concat(r,"_").concat(w.current)})});return u?(0,e.jsx)("div",{id:n,className:(0,s.default)("page-advertisement--inline d-flex position-relative align-items-center justify-content-center",{[h]:h,"d-none":!p}),children:b}):(0,e.jsx)("section",{className:(0,s.default)("page-advertisement container d-flex justify-content-center gap--m",{"d-none":!p}),children:b})},native_ad_template:t=>{let{pageId:n}=t,[i,r]=(0,o.useState)(!1),[s,a]=(0,o.useState)(null),l=(0,o.useRef)(null);return(0,c.default)("nativeAd"),(0,o.useEffect)(function(){n&&u.loadAd(n).then(t=>{a(t)})},[n]),(0,o.useEffect)(()=>{if(s){let t=setTimeout(()=>r(!0),500);return()=>{clearTimeout(t)}}},[s]),(0,o.useEffect)(function(){s&&l.current&&(l.current.innerHTML=s)},[s]),(0,o.useEffect)(function(){s&&i&&l.current&&l.current.querySelectorAll("script").forEach(t=>{t.replaceWith(function(t){let e=document.createElement("script");for(let n of t.attributes)e.setAttribute(n.name,n.value);return e.text=t.text,e}(t))})},[s,i]),(0,e.jsx)(d.default,{children:(0,e.jsx)("div",{ref:l,className:"native-ad-wrapper"})})}},f=t=>{var o;let s=null==(o=(0,r.default)().bannerEnabled)||o,a="mobile"===(0,i.default)();if(!s)return null;let{type:c,showDesktop:l,showMobile:u,pageId:d}=t,h=m[c];return d&&(a&&u||!a&&l)&&h?(0,e.jsx)(n.ErrorBoundary,{fallback:(0,e.jsx)(e.Fragment,{}),beforeCapture:t=>t.setTag("errorBoundary","ad:".concat(c)),children:(0,e.jsx)(h,{...t})}):null}},214616,t=>{"use strict";t.s(["fallbackErrorImage",()=>i,"fallbackNullstateImage",()=>n]);var e=t.i(250441);let n={handle:"AMwDHZTUSMaIlRlMFLL7Qz"===e.hygraphAssetEnvironmentIds.staging2023?"4UBxwrEQeI6Y9wSrpoA2"
3:"DYrrKRRvTvKhWg2kvHnT",mimeType:"image/png",url:"",width:NaN,height:NaN,fileName:"",alt_en:"No Results",alt_de:"Keine Ergebnisse"},i={handle:"AMwDHZTUSMaIlRlMFLL7Qz"===e.hygraphAssetEnvironmentIds.staging2023?"NzQMSR9T4q8UA3Qo6YtM":"hiTg7dyTQnq8aRTy9BKH",mimeType:"image/jpeg",url:"",width:NaN,height:NaN,fileName:"",alt_en:"Error",alt_de:"Fehler"};"".concat(e.HYGRAPH_ASSET_URL,"/").concat("AMwDHZTUSMaIlRlMFLL7Qz","/resize=fit:clip,width:1200/"),"".concat(e.HYGRAPH_ASSET_URL,"/").concat("AMwDHZTUSMaIlRlMFLL7Qz","/resize=w:1150,fit:crop/quality=value:95/border=width:25,color:black,background:black/auto_image/compress/")},260790,t=>{"use strict";t.s(["default",()=>n]);var e=t.i(540151);class n{static addImpression(t){if(!t)return;let{trkknImpressionMaxNumber:e,trkknImpressionMaxTimeInSeconds:i}=window;e&&n.maxLength!==e&&(n.maxLength=e),i&&n.maxTime!==i&&(n.maxTime=i);let r="".concat(t.item_id,"_").concat(t.location_id);if(!n.alreadyTracked.includes(r)){if(n.promotionImpressions.length>=n.maxLength&&n.pushImpressions(),n.promotionImpressions.push(t),n.alreadyTracked.push(r),n.promotionImpressions.length>=n.maxLength)return void n.pushImpressions();clearTimeout(n.impressionTimeout),n.impressionTimeout=setTimeout(()=>n.pushImpressions(),1e3*n.maxTime)}}static pushImpressions(){0!==n.promotionImpressions.length&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"Ecommerce - View Promotion",event_name:"view_promotion",view_promotion:{items:n.promotionImpressions}}),n.promotionImpressions=[])}static getTrackingObject(t,e){switch(t.typename){case"Video":return n.getVideoTrackingObject(t,e);case"News":return n.getNewsTrackingObject(t,e);case"Game":return n.getProductTrackingObject(t,e);case"Partner":return n.getPartnerTrackingObject(t,e);case"Event":return n.getEventTrackingObject(t,e);default:return null}}static getVideoTrackingObject(t,e){var i,r;let o=t.productList&&(null==(i=t.productList)?void 0:i.length)>0?t.productList[0].name:"";return{item_id:"".concat(t.id),item_name:"".concat(t.title),item_category:"".concat(o),item_category2:"".concat((null==(r=t.owner)?void 0:r.name)||n.FALLBACK_PARTNER),item_variant:"Video",location_id:e}}static getProductTrackingObject(t,e){var i;return{item_id:"".concat(t.id),item_name:"".concat(t.name),item_category:"".concat(t.name),item_category2:"".concat((null==(i=t.owner)?void 0:i.name)||n.FALLBACK_PARTNER),item_variant:"Product",location_id:e}}static getEventTrackingObject(t,e){var i;return{item_id:"".concat(t.id),item_name:"".concat(t.title),item_category:"".concat(t.title),item_category2:"".concat((null==(i=t.owner)?void 0:i.name)||n.FALLBACK_PARTNER),item_variant:"Event",location_id:e}}static getPartnerTrackingObject(t,e){return{item_id:"".concat(t.id),item_name:"".concat(t.name),item_category:"",item_category2:"".concat(t.name),item_variant:"Partner",location_id:e}}static getNewsTrackingObject(t,e){var i,r;return{item_id:"".concat(t.id),item_name:"".concat(t.title),item_category:"".concat((null==(i=t.product)?void 0:i.name)||""),item_category2:"".concat((null==(r=t.owner)?void 0:r.name)||n.FALLBACK_PARTNER),item_variant:"News",location_id:e}}}(0,e._)(n,"alreadyTracked",[]),(0,e._)(n,"FALLBACK_PARTNER",""),(0,e._)(n,"promotionImpressions",[]),(0,e._)(n,"maxLength",20),(0,e._)(n,"maxTime",30),(0,e._)(n,"impressionTimeout",null)},100337,t=>{"use strict";t.s(["useImpressionTracker",()=>c]);var e=t.i(271645),n=t.i(422233);!function(){if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=function(t){for(var e=window.document,n=r(e);n;)n=r(e=n.ownerDocument);return e}(),e=[],n=null,i=null;s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(t,n){i=t&&n?d(t,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach(function(t){t._checkForIntersections()})}),n},s._resetCrossOriginUpdater=function(){n=null,i=null},s.prototype.observe=function(t){if(!this._observationTargets.some(function(e){return e.element==t})){if(!t||1!=t.nodeType)throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},s.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]})},s.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},s.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var i=this._checkForIntersections,o=null,s=null;if(this.POLL_INTERVAL?o=n.setInterval(i,this.POLL_INTERVAL):(a(n,"resize",i,!0),a(e,"scroll",i,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(s=new n.MutationObserver(i)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push(function(){var t=e.defaultView;t&&(o&&t.clearInterval(o),c(t,"resize",i,!0)),c(e,"scroll",i,!0),s&&s.disconnect()}),e!=(this.root&&(this.root.ownerDocument||this.root)||t)){var l=r(e);l&&this._monitorIntersections(l.ownerDocument)}}},s.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var i=this.root&&(this.root.ownerDocument||this.root)||t;if(!this._observationTargets.some(function(t){var n=t.element.ownerDocument;if(n==e)return!0;for(;n&&n!=i;){var o=r(n);if((n=o&&o.ownerDocument)==e)return!0}return!1})){var o=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),o(),e!=i){var s=r(e);s&&this._unmonitorIntersections(s.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e<t.length;e++)t[e]()},s.prototype._checkForIntersections=function(){if(this.root||!n||i){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};
3this._observationTargets.forEach(function(i){var r=i.element,s=l(r),a=this._rootContainsTarget(r),c=i.entry,u=t&&a&&this._computeTargetAndRootIntersection(r,s,e),d=null;this._rootContainsTarget(r)?n&&!this.root||(d=e):d={top:0,bottom:0,left:0,right:0,width:0,height:0};var h=i.entry=new o({time:window.performance&&performance.now&&performance.now(),target:r,boundingClientRect:s,rootBounds:d,intersectionRect:u});c?t&&a?this._hasCrossedThreshold(c,h)&&this._queuedEntries.push(h):c&&c.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(e,r,o){if("none"!=window.getComputedStyle(e).display){for(var s,a,c,u,h,f,p,g,v=r,w=m(e),y=!1;!y&&w;){var b=null,_=1==w.nodeType?window.getComputedStyle(w):{};if("none"==_.display)return null;if(w==this.root||9==w.nodeType)if(y=!0,w==this.root||w==t)n&&!this.root?i&&(0!=i.width||0!=i.height)?b=i:(w=null,b=null,v=null):b=o;else{var T=m(w),E=T&&l(T),I=T&&this._computeTargetAndRootIntersection(T,E,o);E&&I?(w=T,b=d(E,I)):(w=null,v=null)}else{var A=w.ownerDocument;w!=A.body&&w!=A.documentElement&&"visible"!=_.overflow&&(b=l(w))}if(b&&(s=b,a=v,c=void 0,u=void 0,h=void 0,f=void 0,p=void 0,g=void 0,c=Math.max(s.top,a.top),u=Math.min(s.bottom,a.bottom),h=Math.max(s.left,a.left),f=Math.min(s.right,a.right),g=u-c,v=(p=f-h)>=0&&g>=0&&{top:c,bottom:u,left:h,right:f,width:p,height:g}||null),!v)break;w=w&&m(w)}return v}},s.prototype._getRootRect=function(){var e;if(this.root&&!f(this.root))e=l(this.root);else{var n=f(this.root)?this.root:t,i=n.documentElement,r=n.body;e={top:0,left:0,right:i.clientWidth||r.clientWidth,width:i.clientWidth||r.clientWidth,bottom:i.clientHeight||r.clientHeight,height:i.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)},s.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map(function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100}),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},s.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,i=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==i)for(var r=0;r<this.thresholds.length;r++){var o=this.thresholds[r];if(o==n||o==i||o<n!=o<i)return!0}},s.prototype._rootIsInDom=function(){return!this.root||h(t,this.root)},s.prototype._rootContainsTarget=function(e){var n=this.root&&(this.root.ownerDocument||this.root)||t;return h(n,e)&&(!this.root||n==e.ownerDocument)},s.prototype._registerInstance=function(){0>e.indexOf(this)&&e.push(this)},s.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=s,window.IntersectionObserverEntry=o}function r(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(t){return null}}function o(t){this.time=t.time,this.target=t.target,this.rootBounds=u(t.rootBounds),this.boundingClientRect=u(t.boundingClientRect),this.intersectionRect=u(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,i=this.intersectionRect,r=i.width*i.height;this.intersectionRatio=n?Number((r/n).toFixed(4)):+!!this.isIntersecting}function s(t,e){var n,i,r,o=e||{};if("function"!=typeof t)throw Error("callback must be a function");if(o.root&&1!=o.root.nodeType&&9!=o.root.nodeType)throw Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),i=this.THROTTLE_TIMEOUT,r=null,function(){r||(r=setTimeout(function(){n(),r=null},i))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(o.rootMargin),this.thresholds=this._initThresholds(o.threshold),this.root=o.root||null,this.rootMargin=this._rootMarginValues.map(function(t){return t.value+t.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function a(t,e,n,i){"function"==typeof t.addEventListener?t.addEventListener(e,n,i):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function c(t,e,n,i){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,i):"function"==typeof t.detachEvent&&t.detachEvent("on"+e,n)}function l(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function d(t,e){var n=e.top-t.top,i=e.left-t.left;
3return{top:n,left:i,height:e.height,width:e.width,bottom:n+e.height,right:i+e.width}}function h(t,e){for(var n=e;n;){if(n==t)return!0;n=m(n)}return!1}function m(e){var n=e.parentNode;return 9==e.nodeType&&e!=t?r(e):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function f(t){return t&&9===t.nodeType}}();var i=new Map,r=new WeakMap,o=0,s=void 0;let a=t=>{let[n,i]=(0,e.useState)(t),r=(0,e.useRef)(n);return[n,(0,e.useCallback)(t=>{r.current="function"==typeof t?t(r.current):t,i(r.current)},[]),r]},c=t=>{let{contentId:c="",defaultSourceType:l=1,enable:u=!0,handleError:d,insertionId:h="",intersectionOptions:m={threshold:.5},logImpression:f,uuid:p=n.v4,visibilityTimeThreshold:g=1e3}=t,v=u;!v||h||c||(d(Error("insertionId or contentId should be set")),v=!1),v&&("undefined"==typeof window||void 0===window.IntersectionObserver)&&(v=!1);let[w,y]=(0,e.useState)(!1),[,b,_]=a(""),[,T,E]=a(""),[,I,A]=a(""),[D,L]=function(){var t;let{threshold:n,delay:a,trackVisibility:c,rootMargin:l,root:u,triggerOnce:d,skip:h,initialInView:m,fallbackInView:f,onChange:p}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[g,v]=e.useState(null),w=e.useRef(),[y,b]=e.useState({inView:!!m,entry:void 0});w.current=p,e.useEffect(()=>{let t;if(!h&&g)return t=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s;if(void 0===window.IntersectionObserver&&void 0!==a){let i=t.getBoundingClientRect();return e(a,{isIntersecting:a,target:t,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:c,observer:l,elements:u}=function(t){let e=Object.keys(t).sort().filter(e=>void 0!==t[e]).map(e=>{var n;return"".concat(e,"_").concat("root"===e?(n=t.root)?(r.has(n)||(o+=1,r.set(n,o.toString())),r.get(n)):"0":t[e])}).toString(),n=i.get(e);if(!n){let r,o=new Map,s=new IntersectionObserver(e=>{e.forEach(e=>{var n;let i=e.isIntersecting&&r.some(t=>e.intersectionRatio>=t);t.trackVisibility&&void 0===e.isVisible&&(e.isVisible=i),null==(n=o.get(e.target))||n.forEach(t=>{t(i,e)})})},t);r=s.thresholds||(Array.isArray(t.threshold)?t.threshold:[t.threshold||0]),n={id:e,observer:s,elements:o},i.set(e,n)}return n}(n),d=u.get(t)||[];return u.has(t)||u.set(t,d),d.push(e),l.observe(t),function(){d.splice(d.indexOf(e),1),0===d.length&&(u.delete(t),l.unobserve(t)),0===u.size&&(l.disconnect(),i.delete(c))}}(g,(e,n)=>{b({inView:e,entry:n}),w.current&&w.current(e,n),n.isIntersecting&&d&&t&&(t(),t=void 0)},{root:u,rootMargin:l,threshold:n,trackVisibility:c,delay:a},f),()=>{t&&t()}},[Array.isArray(n)?n.toString():n,g,u,l,d,h,c,f,a]);let _=null==(t=y.entry)?void 0:t.target,T=e.useRef();g||!_||d||h||T.current===_||(T.current=_,b({inView:!!m,entry:void 0}));let E=[v,y.inView,y.entry];return E.ref=E[0],E.inView=E[1],E.entry=E[2],E}(Object.assign(Object.assign({},m),{skip:!v})),R=()=>{if(!v)return"";E.current&&c!==E.current&&d(Error("Unexpected contentId change from ".concat(E.current," to ").concat(c)));let t=A.current;return t&&_.current==h||(t=p()),b(h),T(c),I(t),t},k=()=>{if(!v||w)return;y(!0);let t=A.current;""===t&&(t=R());let e={impressionId:t,sourceType:l};_.current&&(e.insertionId=_.current),E.current&&(e.contentId=E.current),f(e)};return(0,e.useEffect)(()=>{R()},[h,c]),(0,e.useEffect)(()=>{if(v&&!w&&L){let t=setTimeout(k,g);return()=>clearTimeout(t)}},[D.current,L]),[D,A.current,k]}},828537,t=>{"use strict";t.s(["default",()=>n]);var e=t.i(271645);let n=(t,n)=>{(0,e.useEffect)(()=>{let e=e=>{t.some(t=>t.current&&t.current.contains(e.target))||n(e)};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[t,n])}},833997,t=>{"use strict";t.s(["default",()=>r]);var e=t.i(271645),n=t.i(662537);let i=new Map;function r(t){(0,e.useEffect)(()=>(o(t,1),()=>o(t,-1)),[t])}function o(t,e){var r;let o=(null!=(r=i.get(t))?r:0)+e;i.set(t,o),(0,n.setTag)("mounted.".concat(t),o>0?"yes":"no")}}]);
4
5//# sourceMappingURL=efccc28f22b97363.js.map
6//# debugId=e79231f9-993b-5368-b0cf-59c80e725389

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.