1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8281],{107:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitizeTimeRange=t.validTime=t.sanitizeTime=void 0;let r=n(47561);function i(e){return Number.isNaN(e)||e===1/0||e===-1/0||e<0?0:e}function a(e){return r.Maybe.of(e).mapOr(0,e=>e<0?0:e)}t.sanitizeTime=i,t.validTime=a,t.sanitizeTimeRange=function(e){let[t,n]=e;return[i(a(t)),i(a(n))]}},300:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VolumeOffIcon=void 0;let r=n(80263),i=n(83947);t.VolumeOffIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M13.094 16.593v-5.156-4.423l-4.966 3.884a1.014 1.014 0 0 1-.625.214H4v5.776h3.503c.228 0 .448.076.625.214l4.966 3.884v-4.393zm2-5.655c1.977 1.647 1.977 4.478 0 6.125v5.957c0 .82-.97 1.276-1.625.764l-6.316-4.94H3c-.552 0-1-.438-1-.978v-7.732c0-.54.448-.978 1-.978h4.153l6.316-4.94c.655-.512 1.625-.056 1.625.764v5.958zm7.27 1.68l1.929-1.886a1.016 1.016 0 0 1 1.414 0c.39.382.39 1 0 1.383L23.778 14l1.93 1.886c.39.382.39 1 0 1.383a1.016 1.016 0 0 1-1.415 0l-1.929-1.886-1.93 1.886a1.016 1.016 0 0 1-1.413 0 .962.962 0 0 1 0-1.382L20.95 14l-1.93-1.886a.962.962 0 0 1 0-1.383 1.016 1.016 0 0 1 1.415 0l1.93 1.887z"})}))},373:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=void 0,t.uint32ArrayFrom=function(e){if(!Uint32Array.from){for(var t=new Uint32Array(e.length),n=0;n<e.length;)t[n]=e[n],n+=1;return t}return Uint32Array.from(e)}},493:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.brandsSchema=void 0;let r=n(92712),i=r.z.object({logo:r.z.object({url:r.z.string().url().transform(e=>new URL(e))}).strict(),title:r.z.string()}).strict();t.brandsSchema=r.z.array(i)},503:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.videoClicksSchema=t.trackingEventsSchema=t.clickTrackingSchema=t.clickThroughSchema=t.impressionSchema=void 0;let r=n(92712),i=r.z.object({$id:r.z.string().optional(),value:r.z.string().optional()});t.impressionSchema=r.z.array(i);let a=r.z.object({$event:r.z.string(),value:r.z.string().optional()});t.clickThroughSchema=r.z.object({$id:r.z.string().optional(),value:r.z.string().optional()}),t.clickTrackingSchema=r.z.object({$id:r.z.string().optional(),value:r.z.string().optional()}),t.trackingEventsSchema=r.z.object({tracking:r.z.array(a).optional()});let o=r.z.object({$id:r.z.string().optional(),value:r.z.string().optional()});t.videoClicksSchema=r.z.object({clickthrough:t.clickThroughSchema.optional(),clicktracking:r.z.array(t.clickTrackingSchema).optional(),customclick:r.z.array(o).optional()})},817:(e,t,n)=>{"use strict";function r(e,t){if(t.length<e)throw TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{A:()=>r})},945:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.themedTransition=t.createTheme=void 0;let r=n(98398),i=n(87678),a=n(34610),o=n(13687),s=n(70100),l=n(6719),u=n(36764);t.createTheme=(e="medium")=>({border:{radius:"4px",width:"2px"},color:{black:"#000000",grey:"#808080",primary:"#ffffff",red:"#ff0000",secondary:"#707070",white:"#ffffff"},fontFamily:"Campton-Book, Helvetica, sans-serif",fontFamilyBold:"Campton-Bold, Helvetica, sans-serif",fontSize:r.fontSize[e],fontWeight:{bold:500,normal:"normal"},iconsSize:i.iconsSizes[e],opacity:{decent:.8,faded:.1,least:.25,little:.4,medium:.5,opaque:1},personalIdentificationNumber:a.personalIdentificationNumber[e],playbackOverlay:o.playbackOverlay[e],screenSize:e,spacing:s.spacings[e],titleImageSize:l.titleImageSize[e],transition:{duration:{fast:"120ms",normal:"300ms",slow:"1s"},timingFunction:"ease-out"},upNext:u.upNext[e]}),t.themedTransition=({transition:e},t,n="normal")=>{let{duration:r,timingFunction:i}=e;return`${t} ${r[n]} ${i}`}},1036:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeIcon=void 0;let r=n(80263),i=n(83947);t.TimeIcon=e=>(0,r.jsxs)(i.IconContainer,Object.assign({},e,{color:"none",defaultViewBox:"0 0 18 19"},{children:[(0,r.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M9.22 4.79c.45 0 .81.33.81.73v3.11l1.38-.87a.87.87 0 0 1 1.13.18.7.7 0 0 1-.2 1.02l-2.66 1.7a.87.87 0 0 1-1.13-.19.69.69 0 0 1-.15-.43V5.52c0-.4.37-.73.82-.73Z",clipRule:"evenodd"}),(0,r.jsx)("path",{stroke:"#fff",strokeWidth:"2",d:"M16.57 9.5a7.57 7.57 0 1 1-15.14 0 7.57 7.57 0 0 1 15.14 0Z"})]}))},1239:e=>{"use strict";let t=()=>{let e=Error("Delay aborted");return e.name="AbortError",e},n=({clearTimeout:e,setTimeout:n,willResolve:r})=>(i,{value:a,signal:o}={})=>{let s,l,u;if(o&&o.aborted)return Promise.reject(t());let c=e||clearTimeout,d=()=>{c(s),u(t())},p=new Promise((e,t)=>
1{l=()=>{o&&o.removeEventListener("abort",d),r?e(a):t(a)},u=t,s=(n||setTimeout)(l,i)});return o&&o.addEventListener("abort",d,{once:!0}),p.clear=()=>{c(s),s=null,l()},p},r=e=>{let t=n({...e,willResolve:!0});return t.reject=n({...e,willResolve:!1}),t.range=(e,n,r)=>t(((e,t)=>Math.floor(Math.random()*(t-e+1)+e))(e,n),r),t},i=r();i.createWithTimers=r,e.exports=i,e.exports.default=i},1463:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.featuresFromUrl=void 0;let r=n(70015).__importDefault(n(19577)),i=n(90236);t.featuresFromUrl=function(e){let t=new URLSearchParams(e.search).get("features");if(null===t)return{};let n=Object.fromEntries(t.split(",").map(e=>[...e.split(":",2),!0]).map(([e,t])=>[e,r.default.numericString(t)?Number(t):t]));return i.featureSetSchema.partial().parse(n)}},1646:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(82486),i={deferEvents:!1};t.Scheduler=function(){function e(e){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=r.__assign(r.__assign({},i),e)}return e.prototype.initialize=function(e){if(this.initialized=!0,e){if(!this.options.deferEvents)return void this.schedule(e);this.process(e)}this.flushEvents()},e.prototype.schedule=function(e){if(!this.initialized||this.processingEvent)return void this.queue.push(e);if(0!==this.queue.length)throw Error("Event queue should be empty when it is not processing events");this.process(e),this.flushEvents()},e.prototype.clear=function(){this.queue=[]},e.prototype.flushEvents=function(){for(var e=this.queue.shift();e;)this.process(e),e=this.queue.shift()},e.prototype.process=function(e){this.processingEvent=!0;try{e()}catch(e){throw this.clear(),e}finally{this.processingEvent=!1}},e}()},1821:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlaybackOverlayTransition=t.transitionDurationInMilliseconds=void 0;let r=n(70015).__importDefault(n(28909)),i=n(14665),a=n(37514);t.transitionDurationInMilliseconds=300,t.PlaybackOverlayTransition=(0,r.default)(i.CSSTransition)(e=>{let{classNames:n}=e;return{[`&.${n}-enter`]:{opacity:0},[`&.${n}-enter-active`]:{opacity:1,transition:`opacity ${t.transitionDurationInMilliseconds}ms linear`},[`&.${n}-exit`]:{opacity:1},[`&.${n}-exit-active`]:{opacity:0,transition:`opacity ${t.transitionDurationInMilliseconds}ms linear`},zIndex:a.overlayLayer}})},2149:(e,t,n)=>{var r=n(16533),i=n(16421),a=n(23307),o=r.extend({constructor:function(e){this.plugin=e,this.headerName="x-cdn"},init:function(){var e=null;this.plugin&&(e=this.plugin.getAdapter()&&this.plugin.getAdapter().getURLToParse()?this.plugin.getAdapter().getURLToParse():this.plugin.getResource()),this.plugin&&this.plugin.getAdapter()&&this.plugin.getAdapter().flags.isStarted&&this._request(e)},done:function(e){this.emit(o.Events.DONE,e)},error:function(){this.emit(o.Events.ERROR)},_successfulRequest:function(e){setTimeout(this.init.bind(this),1e3*parseInt(this.plugin.options["parse.cdnTTL"]));var t=e.getResponseHeaders().split("\n"),n=null;for(var r in t){var i=t[r],a=i.indexOf(this.headerName);a>-1&&(n=i.substring(a+this.headerName.length+1,i.length-1).replace(" ",""))}this.done(n)},_failedRequest:function(){setTimeout(this.init.bind(this),1e3*parseInt(this.plugin.options["parse.cdnTTL"])),i.warn("CDN switch detection request failed"),this.error()},_request:function(e){var t=new a(e,null,null,{method:"HEAD",cache:!0});t.on(a.Event.SUCCESS,this._successfulRequest.bind(this)),t.on(a.Event.ERROR,this._failedRequest.bind(this)),t.send()}},{Events:{DONE:"done",ERROR:"error"}});e.exports=o},2275:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isJoynPackagesArray=t.decodeEntitlementToken=void 0;let r=n(70015),i=n(47701),a=r.__importDefault(n(83794)),o=n(92712),s=o.z.enum(["AVOD","FREE","FVOD","LIVE","RVOD","SVOD","HD","PREMIUM"]),l=o.z.enum(["DE_FREE","DE_HD","DE_PREMIUM","DE_REG","AT_FREE","AT_HD","AT_PREMIUM","CH_FREE","CH_HD","CH_PREMIUM"]),u=o.z.enum(["SD","HD"]).optional(),c=Object.keys(i.countries),d=o.z.string().min(1).refine(e=>c.includes(e),"Invalid country"),p=o.z.object({ads_break_spacing:o.z.number().nonnegative().optional(),ads_limit_midroll:o.z.number().nonnegative().optional(),ads_limit_preroll:o.z.number().nonnegative().optional(),ads_max_midroll_blocks:o.z.number().nonnegative().optional(),ads_test:o.z.string().optional(),ads_variant:o.z.string().optional(),business_model:s,catalog_country:d,entitlement_id:o.z.string().uuid(),joyn_packages:o.z.array(l),location_country:d,quality:u,user_id:o.z.string().min(1)});t.decodeEntitlementToken=function(e){let t=(0,a.default)(e);return p.parse(t)},t.isJoynPackagesArray=function(e){return o.z.array(l).safeParse(e).success}},2297:(e,t,n)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),n(63195).__exportStar(n(64902),t)},2373:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatInvalidUnionDiscriminatorIssue=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47397),a=n(25851);t.formatInvalidUnionDiscriminatorIssue=function(e,t){let n=e.path[e.path.length-1],o=(0,i.isRecord)(t.inputData)&&!r.default.undefined(n)?t.inputData[n]:void 0;return{message:`Invalid discriminator value${t.location}, expected one of ${(0,a.formatListOfValues)(e.options)} but instead got ${typeof o}`}}},2485:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nullTrackingCall=void 0,t.nullTrackingCall=function(){}},2502:(e,t,n)=>{var r=n(92209),i=n(40290);e.exports={AdPosition:r,ManifestError:n(35368),RequestMethod:n(5669),Service:n(19282),WillSendEvent:n(84411),AdInsertionType:n(4083),Adapter:i}},2807:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sportsMatchGraphQlQuerySchema=t.sportsMatchOnDemandChannelSchema=t.sportsMatchWithTitleOnlySchema=void 0;let r=n(47561),i=n(92712),a=n(493),o=n(16002),s=n(66054),l=n(20795),u=n(26349),c=n(65317),d=n(76700),p=n(7930),f=n(9334),h=n(16104),m=i.z.object({id:o.idSchema,title:i.z.string()}).strict().nullable().transform(r.Maybe.of),g=i.z.object({sportsCompetition:m}).strict().nullable().transform(r.Maybe.of);t.sportsMatchWithTitleOnlySchema=i.z.object({__typename:i.z.literal("SportsMatch"),title:i.z.string()}).strict();let y=t.sportsMatchWithTitleOnlySchema.extend({ageRating:c.ageRatingSchema,artLogoImage:s.imageUrlSchema,brands:a.brandsSchema,heroLandscapeImage:l.imageVibrantColorSchema,id:o.idSchema,licenseTypes:u.licenseTypesSchema,path:d.pathSchema,posterImage:s.imageUrlSchema,resumePosition:p.resumePositionSchema,sportsStage:g,tracking:f.trackingSchema,video:h.videoSchema}).strict();t.sportsMatchOnDemandChannelSchema=y.omit({resumePosition:!0}).strict(),t.sportsMatchGraphQlQuerySchema=i.z.object({sportsMatch:y}).strict()},2821:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bootstrap=t.__playerEvents=t.__videoSourceEvents=void 0;let r=n(70015).__importDefault(n(19577)),i=n(22851),a=n(83836),o=n(14397),s=n(2961);function l(e,t){return e.localeCompare(t)}t.__videoSourceEvents=["audioTrackSelected","audioTracksUpdated","bufferedTimeRangesUpdate","durationUpdate","error","paused","play","playbackFinished","playing","positionChange","seek","seekTo","seekableRangeUpdate","seeked","stallEnded","stallStarted","subtitleCuesChanged","subtitleSelected","subtitlesUpdated","subtitleUnselected","videoQualityChanged"],t.__playerEvents=["airPlayAvailableStateChanged","airPlayEntered","airPlayExited","appBackgrounded","appForegrounded","fullscreenEntered","fullscreenExited","pictureInPictureAvailableStateChanged","pictureInPictureEntered","pictureInPictureExited","ready","sourceLoad","volumeChanged"],t.bootstrap=({store:e,handlers:n,playbackCore:u,internalEmitter:c,videoSourceEvents:d=t.__videoSourceEvents,playerEvents:p=t.__playerEvents})=>{(()=>{let e=Array.from(i.platformPlayerEvents).sort(l),t=[...d,...p].sort(l),n=Error("Playback events are not configured properly");if(e.length!==t.length)throw Error("Playback events are not configured properly");for(let[r,i]of e.entries())if(t[r]!==i)throw n})(),i.platformPlayerEvents.forEach(t=>{u.on(t,n=>{let r=e.getState();if(r.isDestroyed||r.ignoreVideoSourceEvents&&d.includes(t))return void s.logger.warn(`event ${t} has been ignored`);c.emit(t,n)})}),[...i.platformPlayerEvents,...a.adPlaybackEvents,...o.internalEvents].forEac
1h(t=>{c.on(t,i=>{!r.default.nullOrUndefined(n[t])&&(e.getState().isDestroyed||n[t](i))})})}},2910:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Timeline=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(67608),s=n(74363),l=a.default.ol({borderTop:"1px solid rgba(255, 255, 255, 0.2)",display:"flex",height:"36px",listStyleType:"none",margin:"0 20px",padding:"10px 0 0 0"}),u=a.default.li(e=>({":first-of-type":{flexGrow:0,fontFamily:e.theme.fontFamilyBold,width:"80px"},":last-of-type":{flexGrow:0,width:"62px"},flexGrow:1,fontSize:"13px",lineHeight:"27px",margin:0,marginRight:"2px",verticalAlign:"middle"}));t.Timeline=e=>{let{dayLabel:t,timestampOfStartingHour:n}=e;return(0,i.jsxs)(l,{children:[(0,i.jsx)(u,{children:t}),Array.from({length:4},(e,t)=>{let r=o.seconds.of(n.value+3600*t);return(0,i.jsx)(u,{children:(0,i.jsx)(s.FormattedTime,{value:r})},`${t}-${r.value}`)})]})}},2961:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logger=void 0,t.logger=(0,n(72678).createLogger)(["player","advertisement"])},2973:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapUnknownErrorToEntitlementError=void 0;let r=n(70015).__importDefault(n(19577)),i=n(92712),a=n(97250),o=n(56428),s=i.z.object({code:i.z.string(),msg:i.z.string().optional()}),l=i.z.array(s).nonempty(),u=i.z.union([i.z.object({errors:l}),l,s]),c={ENT_AgeRatingDoesNotMatch:"content_youth_protected",ENT_AgeVerificationSetupRequired:"content_personal_identification_number_setup",ENT_AssetNotAvailableInCountry:"content_geoblocking",ENT_AssetNotFound:"content_takedown",ENT_BUSINESS_MODEL_NOT_SUITABLE:"content_subscription_required",ENT_EUMediaPortability:"content_geoblocking",ENT_PINInvalid:"content_personal_identification_number_invalid",ENT_PINRequired:"content_personal_identification_number_required",ENT_PINSetupRequired:"content_personal_identification_number_setup",ENT_PublishingRightsNotUsable:"content_unavailable",ENT_RVOD_Playback_Restricted:"content_login",ENT_VALIDATION_TOKEN_ERROR:"content_user_token",ENT_WATCH_LIMIT_ERROR:"content_watch_limit_reached",ENT_YouAreNotOldEnough:"content_personal_identification_number_insufficient_age",INVALID_JWT:"content_user_token"};t.mapUnknownErrorToEntitlementError=function(e){var t,n;let i;if(e instanceof a.EntitlementError)return e;let l="UNEXPECTED_ENTITLEMENT_TOKEN_FETCHING_ERROR",d="Unknown Error";if(e instanceof o.HttpFailureResponseError){let{responseBody:t}=e;if(u.safeParse(t).success){let{code:e,msg:n}=function(e){if(s.safeParse(e).success)return e;if(Array.isArray(e)){let[t]=e;return t}let[t]=e.errors;return t}(t);l=e,d=n}else d=`Failed to fetch entitlement token (status: ${e.status}) with unrecognized error response: ${JSON.stringify(t)}`,i=e.requestOptions}else e instanceof Error&&(d=e.message);return new a.EntitlementError((n=t=l,r.default.string(n)&&Object.prototype.hasOwnProperty.call(c,n))?c[t]:"content_unknown",d,l,i)}},3040:(e,t,n)=>{"use strict";n.d(t,{gd:()=>i,qQ:()=>s,vk:()=>a});let r=/\(error: (.*)\)/;function i(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0)=>{let i=[],a=e.split("\n");for(let e=n;e<a.length;e++){let n=a[e];if(n.length>1024)continue;let o=r.test(n)?n.replace(r,"$1"):n;if(!o.match(/\S*Error: /)){for(let e of t){let t=e(o);if(t){i.push(t);break}}if(i.length>=50)break}}var o=i;if(!o.length)return[];let s=o.slice(0,50),l=s[s.length-1].function;l&&/sentryWrapped/.test(l)&&s.pop(),s.reverse();let u=s[s.length-1].function;return u&&/captureMessage|captureException/.test(u)&&s.pop(),s.map(e=>({...e,filename:e.filename||s[s.length-1].filename,function:e.function||"?"}))}}function a(e){return Array.isArray(e)?i(...e):e}let o="<anonymous>";function s(e){try{if(!e||"function"!=typeof e)return o;return e.name||o}catch(e){return o}}},3394:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.determineAvailableAudioTracks=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=r.__importDefault(n(69713)),o=n(17485);function s(e){return e.language}function l([,e]){let t=0;return e.filter(e=>(!!i.default.nonEmptyString(e.role)||!((t+=1)>1))&&!0)}function u(e,t){return[t,e]}t.determineAvailableAudioTracks=function(e){let t=(0,o.transduce)(e,a.default,(0,o.toMapGroupBy)(s));return Object.fromEntries((0,o.transduce)(t,(0,o.compose)((0,o.flatMap)(l),(0,o.mapIndexed)(u)),(0,o.toArray)()))}},3656:(e,t,n)=>{var r=n(16533),i=n(16421),a=n(60161),o=n(31335),s=n(29064),l=n(91583),u=n(31989),c=n(29688),d=n(40290),p=r.extend({constructor:function(e){this.flags=new l,this.chronos=new s,this.fireEventsStruct={},this.fireEventsStruct.buffer=[],this.fireEventsStruct.seek=[],this.monitor=null,this.plugin=null,this.player=null,this._isAdsAdapter=null,this.setPlayer(e),this.tag=this.player,i.notice("Adapter "+this.getVersion()+" with Lib "+o+" is ready.")},setPlayer:function(e){this.player&&this.unregisterListeners(),"string"==typeof e&&"undefined"!=typeof document?this.player=document.getElementById(e):this.player=e,this.registerListeners()},registerListeners:function(){},unregisterListeners:function(){},dispose:function(){this.stopMonitor(),this.stopReadyStateMonitor(),this.fireStop(),this.unregisterListeners(),this.player=null,this.tag=null},monitorPlayhead:function(e,t,n){this.stopMonitor();var r=0;e&&(r|=u.Type.BUFFER),t&&(r|=u.Type.SEEK),this.monitor&&this.monitor._timer.isRunning?this.monitor.skipNextTick():this.monitor=new u(this,r,n)},stopMonitor:function(){this.monitor&&this.monitor.stop()},monitorReadyState:function(e){this.stopReadyStateMonitor(),this.stateMonitor=new c(this,e)},startReadyStateMonitor:function(){this.stateMonitor&&this.stateMonitor.start()},stopReadyStateMonitor:function(){this.stateMonitor&&this.stateMonitor.stop()},checkReadyState:function(e,t){try{this.plugin&&this.plugin.getReadyStateMonitorEnabled()&&e&&(e>3&&!this.flags.isSeeking?this.flags.isBuffering?this.fireBufferEnd({},t+"-readyState"):this.flags.isJoined||this.fireJoin({},t+"-readyState"):e<4&&!this.flags.isBuffering&&this.fireBufferBegin({},!1,t+"-readyState",!0))}catch(e){i.error("Can't check readyState property correctly")}},getPlayhead:function(){return null},getDuration:function(){return null},getBitrate:function(){return null},getTotalBytes:function(){return null},getTitle:function(){return null},getResource:function(){return null},getPlayerVersion:function(){return null},getPlayerName:function(){return null},getVersion:function(){return o+"-generic-js"},getVideoObject:function(){return null},fireInit:function(e,t){this.plugin&&this.plugin.fireInit(e,t)},fireStart:function(e,t){if(this.plugin&&this.plugin.backgroundDetector&&this.plugin.backgroundDetector.canBlockStartCalls())return null;this.flags.isStarted||(this.flags.isStarted=!0,this.chronos.total.start(),this.chronos.join.start(),t&&((e=e||{}
1).triggeredEvents=[t]),this.startReadyStateMonitor(),this.emit(d.Event.START,{params:e}))},fireJoin:function(e,t){this.flags.isJoined||this.flags.isStarted||this._isAds()||!this.plugin||!this.plugin.isInitiated||this.fireStart({},t),this.flags.isStarted&&!this.flags.isJoined&&(this.flags.isStarted=!0,this.monitor&&this.monitor.start(),this.flags.isJoined=!0,this.chronos.join.stop(),e=e||{},t&&(e.triggeredEvents=[t]),this._shouldSplitView()&&(e.viewIndex=this.plugin.viewTransform._viewIndex),this.emit(d.Event.JOIN,{params:e}))},firePause:function(e,t){this._discardFalseBuffers(),this.flags.isBuffering&&this.fireBufferEnd(null,"firePauseCall"),this.flags.isJoined&&!this.flags.isPaused&&(this.flags.isPaused=!0,this.chronos.pause.start(),e=e||{},t&&(e.triggeredEvents=[t]),this._shouldSplitView()&&(e.viewIndex=this.plugin.viewTransform._viewIndex),this.emit(d.Event.PAUSE,{params:e}))},fireResume:function(e,t){this._discardFalseBuffers(),this.flags.isJoined&&this.flags.isPaused&&(this.flags.isPaused=!1,this.chronos.pause.stop(),this.monitor&&this.monitor.skipNextTick(),e=e||{},t&&(e.triggeredEvents=[t]),this._shouldSplitView()&&(e.viewIndex=this.plugin.viewTransform._viewIndex),this.emit(d.Event.RESUME,{params:e}))},fireBufferBegin:function(e,t,n,r){if(r=r||!1,this.flags.isJoined&&!this.flags.isBuffering){if(this.flags.isSeeking)if(!t)return;else i.notice("Converting current buffer to seek"),this.chronos.buffer=this.chronos.seek.clone(),this.chronos.seek.reset(),this.flags.isSeeking=!1;else this.chronos.buffer.start();try{this.fireEventsStruct.buffer=[],n?this.fireEventsStruct.buffer.push(n):this.fireEventsStruct.buffer.push("undefinedEvent")}catch(e){}this.flags.isBuffering=!0,this.flags.isVideoStateBuffering=r,this._shouldSplitView()&&((e=e||{}).viewIndex=this.plugin.viewTransform._viewIndex),this.emit(d.Event.BUFFER_BEGIN,{params:e})}},fireBufferEnd:function(e,t){if(this.flags.isJoined&&this.flags.isBuffering){try{t?this.fireEventsStruct.buffer.push(t):this.fireEventsStruct.buffer.push("undefinedEvent")}catch(e){}(e=e||{}).triggeredEvents=this.fireEventsStruct.buffer,this._shouldSplitView()&&(e.viewIndex=this.plugin.viewTransform._viewIndex),this.cancelBuffer(),this.emit(d.Event.BUFFER_END,{params:e})}},_discardFalseBuffers:function(){try{this.flags.isBuffering&&this.flags.isVideoStateBuffering&&100>=this._getDeltaBufferTime()&&this.cancelBuffer()}catch(e){}},cancelBuffer:function(e){this.flags.isJoined&&this.flags.isBuffering&&(this.flags.isBuffering=!1,this.flags.isVideoStateBuffering=!1,this.chronos.buffer.stop(),this.monitor&&this.monitor.skipNextTick())},_getDeltaBufferTime:function(){return this.chronos&&this.chronos.buffer?this.chronos.buffer.getDeltaTime(!1):0},fireStop:function(e,t){(this._isAds()||this.plugin&&this.plugin._isStopReady())&&(this._isAds()&&this.flags.isStarted||!this._isAds()&&(this.flags.isStarted||this.plugin&&this.plugin.isInitiated))&&(this.stopMonitor(),this.stopReadyStateMonitor(),this.flags.reset(),this.chronos.total.stop(),this.chronos.join.reset(),this.chronos.pause.stop(),this.chronos.buffer.stop(),this.chronos.seek.stop(),e=e||{},t&&(e.triggeredEvents=[t]),this._shouldSplitView()&&(e.viewIndex=this.plugin.viewTransform._viewIndex),this.emit(d.Event.STOP,{params:e}),this.chronos.pause.reset(),this.chronos.buffer.reset(),this.chronos.seek.reset(),this.chronos.viewedMax.splice(0,this.chronos.viewedMax.length))},setIsAds:function(e){this._isAdsAdapter=e},_isAds:function(){return this._isAdsAdapter},fireCasted:function(e,t){e||(e={}),e.casted=!0,this.fireStop(e,t)},fireError:function(e,t,n,r,i){var o=a.buildErrorParams(e,t,n,r);o.code&&delete o.code,o=o||{},i&&(o.triggeredEvents=[i]),this._shouldSplitView()&&(o.viewIndex=this.plugin.viewTransform._viewIndex);var s=this.plugin?this.plugin.options:{};void 0!==o.errorCode&&s["errors.ignore"]&&s["errors.ignore"].indexOf(o.errorCode.toString())>-1||(this.emit(d.Event.ERROR,{params:o}),void 0!==o.errorCode&&s["errors.fatal"]&&s["errors.fatal"].indexOf(o.errorCode.toString())>-1&&this.fireStop({},i))},fireFatalError:function(e,t,n,r,i){var a=this.plugin?this.plugin.options:{};void 0!==e&&a["errors.ignore"]&&a["errors.ignore"].indexOf(e.toString())>-1||(this.monitor&&this.monitor.stop(),this.fireError(e,t,n,r,i),void 0!==e&&a["errors.nonFatal"]&&a["errors.nonFatal"].indexOf(e.toString())>-1||this.fireStop({},i))},_shouldSplitView:function(){return this.plugin&&this.plugin.options&&this.plugin.options["session.splitViews"]}},{Event:d.Event});a.assign(p.prototype,n(72925)),a.assign(p.prototype,n(76058)),e.exports=p}
1,3674:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createXmlToJson=void 0;let r=n(70015).__importDefault(n(19577)),i={CDATA:4,TEXT:3},a=e=>e.nodeType===e.ELEMENT_NODE;t.createXmlToJson=({domParser:e=new globalThis.DOMParser})=>{let t=[],n=e=>{let o=a(e),s=t.length,l={},u="";for(let n=0;n<e.childNodes.length;n+=1){let o=e.childNodes.item(n);if(null!==o){let{nodeType:e,nodeValue:n}=o;e===i.CDATA?u+=n:e===i.TEXT?u+=null==n?void 0:n.trim():a(o)&&r.default.nullOrUndefined(o.prefix)&&t.push(o)}}for(let e=s;e<t.length;e+=1){let i=t[e],a=null==i?void 0:i.nodeName.toLowerCase(),o=i?n(i):{};if(!r.default.nullOrUndefined(a)&&l.hasOwnProperty(a)){let e=l[a];r.default.array(e)||r.default.nullOrUndefined(e)||(l[a]=[e]);let t=l[a];r.default.array(t)&&t.push(o)}else r.default.nullOrUndefined(a)||l.hasOwnProperty(a)||(l[a]=o)}if(o&&e.attributes.length>0){let t=e.attributes.length;for(let n=0;n<t;n+=1){let t=e.attributes.item(n);t&&(l["$"+t.name.toLowerCase()]=t.value.trim())}}return r.default.emptyString(u)||(l.value=u),t.length=s,l};return t=>n(e.parseFromString(t,"application/xml"))}},3756:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createQuartileState=void 0;let r=n(70015).__importDefault(n(19577));t.createQuartileState=function(e){let t,n,i,a=!1,o=()=>{if(a||r.default.undefined(n)||r.default.undefined(i))return;let o=Math.floor(i/n*4);if(void 0!==t&&t>=o)return;let s=void 0===t?0:t+1;for(let n=s;n<=o;n+=1)t=n,e(n)};return{finish(){var e;a=!1,i=n=null!=(e=null!=n?n:i)?e:1,o()},getQuartile:()=>t,isPaused:()=>a,pause(){a=!0},resume(){a=!1,o()},setValues(e){var t,r;n=null!=(t=e.duration)?t:n,i=null!=(r=e.position)?r:i,o()}}}},3872:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSeekForwardJumpPossible=t.isSeekBackwardJumpPossible=t.seekJumpOffsetInSeconds=void 0;let r=n(92712);t.seekJumpOffsetInSeconds=10;let i=r.z.tuple([r.z.number().nonnegative(),r.z.number().nonnegative()]),a=r.z.number().nonnegative();function o(e,t){return e.position.mapOr(!1,n=>{let{isReadyForPlayback:r,isAd:o,playlistEnded:s,isLivestream:l,isLiveOnDemandChannel:u,seekableRange:c}=e,d=i.safeParse(c),p=a.safeParse(n);return!!d.success&&!!p.success&&r&&!o&&!s&&(!l||u)&&t(p.data,d.data)})}t.isSeekBackwardJumpPossible=function(e){return o(e,(e,t)=>{let[n]=t;return e>n})},t.isSeekForwardJumpPossible=function(e){return o(e,(e,t)=>{let[,n]=t;return e<n})}},3890:(e,t,n)=>{var r=n(16533),i=n(62257),a=n(98476),o=n(60161),s=r.extend({constructor:function(e){this._plugin=e,this.infinityStopped=!1,this.infinityStarted=!1},andBeyond:function(){s.prototype.begin.apply(this,arguments)},begin:function(e,t){(t=t||!1)&&(this._plugin.storage.removeStorages("infinityStarted"),this._plugin.storage.removeStorages("data"),this._plugin.restartViewTransform()),this._comm=new i(this._plugin),this._comm.addTransform(this._plugin.viewTransform),this._comm.addTransform(new a(this._plugin)),this._plugin&&this._plugin.storage&&"function"==typeof this._plugin.storage.getLocal&&(this._registeredProperties=this._plugin.storage.getLocal("inifnityRegisteredProperties")),this.infinityStarted="true"===this._plugin.storage.getLocal("infinityStarted"),this.infinityStopped||!this.infinityStarted?this.fireSessionStart(e):(this.fireNav(e),this._sendExtraBeat())},_setLastActive:function(){this._firstActive||(this._firstActive=this.getFirstActive()),this._plugin.storage.setStorages("lastactive",new Date().getTime())},getFirstActive:function(){return Number(this._plugin.getLastActive())||0},getComm:function(){return this._comm},fireSessionStart:function(e){this.infinityStopped&&(this._plugin.restartViewTransform(),this._comm=new i(this._plugin),this._comm.addTransform(this._plugin.viewTransform),this._comm.addTransform(new a(this._plugin)),this.infinityStopped=!1),this.infinityStarted||(this._plugin.storage.setLocal("infinityStarted","true"),this.infinityStarted=!0,this.emit(s.Event.SESSION_START,this._getParamsJson(e,null,null,!0,!0)),this._setLastActive())},fireSessionStop:function(e){this.infinityStarted&&(this.infinityStopped=!0,this.infinityStarted=!1,this._plugin.storage.removeStorages("infinityStarted"),this.emit
1(s.Event.SESSION_STOP,e),this._plugin.storage.removeStorages("data"),this._plugin.storage.removeStorages("session"),this._plugin.storage.removeStorages("lastactive"))},newSession:function(e,t){this.isActive()&&(this.infinityStarted?this.fireSessionStop():(this._plugin.storage.removeStorages("infinityStarted"),this._plugin.storage.removeStorages("data"),this._comm&&this._comm.removeTransform(this._plugin.viewTransform),this._plugin.restartViewTransform(),this._comm&&this._comm.addTransform(this._plugin.viewTransform))),this._plugin.setOptions(e),this.begin(t)},fireNav:function(e){this.isActive()&&(this.infinityStarted=!0,this.emit(s.Event.NAV,this._getParamsJson(e,null,null,!0)))},_sendExtraBeat:function(){if(this._plugin&&this._plugin._beat){var e=new Date().getTime(),t=this._plugin._beat.chrono.startTime?e-this._plugin._beat.chrono.startTime:0;this._plugin._sendBeat(t),this._plugin._beat.chrono.startTime=e}this._setLastActive()},fireEvent:function(e,t,n,r){if(this.infinityStarted){var i=this._getParamsJson(t,n,e);o.assign(i.params,r||{}),this.emit(s.Event.EVENT,i),this._setLastActive()}},register:function(e,t){this._registeredProperties={dimensions:e,values:t},this._plugin.storage.setLocal("inifnityRegisteredProperties",JSON.stringify(this._registeredProperties))},registerOnce:function(e,t){this._registeredProperties||this.register(e,t)},unregister:function(){this._registeredProperties=null,this._plugin.storage.removeLocal("inifnityRegisteredProperties")},_getParamsJson:function(e,t,n,r,i){var a={};if(n&&(a.name=n),a.dimensions=e||{},a.values=t||{},this._registeredProperties){for(var o in this._registeredProperties.dimensions)a.dimensions[o]=this._registeredProperties.dimensions[o];for(var s in this._registeredProperties.values)a.values[s]=this._registeredProperties.values[s]}var l={params:a};return r&&(l.params.dimensions.page&&(l.params.page=l.params.dimensions.page,delete l.params.dimensions.page),l.params.dimensions.route&&(l.params.route=l.params.dimensions.route,delete l.params.dimensions.route),i||delete l.params.dimensions,delete l.params.values),l},isActive:function(){var e=this._plugin.storage.getLocal("infinityStarted");if(this.infinityStarted||e&&"false"!==e)return!0;var t=new Date().getTime();return Number(this._plugin.getLastActive())+this._plugin.sessionExpire>t}},{Event:{NAV:"nav",SESSION_START:"sessionStart",SESSION_STOP:"sessionStop",BEAT:"beat",EVENT:"event"}});e.exports=s},3968:function(e,t,n){var r=n(36001).Buffer;"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g&&n.g,e.exports=function(){"use strict";var e,t="3.7.7",n="function"==typeof r,i="function"==typeof TextDecoder?new TextDecoder:void 0,a="function"==typeof TextEncoder?new TextEncoder:void 0,o=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),s=(e={},o.forEach(function(t,n){return e[t]=n}),e),l=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,u=String.fromCharCode.bind(String),c="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):function(e){return new Uint8Array(Array.prototype.slice.call(e,0))},d=function(e){return e.replace(/=/g,"").replace(/[+\/]/g,function(e){return"+"==e?"-":"_"})},p=function(e){return e.replace(/[^A-Za-z0-9\+\/]/g,"")},f=function(e){for(var t,n,r,i,a="",s=e.length%3,l=0;l<e.length;){if((n=e.charCodeAt(l++))>255||(r=e.charCodeAt(l++))>255||(i=e.charCodeAt(l++))>255)throw TypeError("invalid character found");a+=o[(t=n<<16|r<<8|i)>>18&63]+o[t>>12&63]+o[t>>6&63]+o[63&t]}return s?a.slice(0,s-3)+"===".substring(s):a},h="function"==typeof btoa?function(e){return btoa(e)}:n?function(e){return r.from(e,"binary").toString("base64")}:f,m=n?function(e){return r.from(e).toString("base64")}:function(e){for(var t=[],n=0,r=e.length;n<r;n+=4096)t.push(u.apply(null,e.subarray(n,n+4096)));return h(t.join(""))},g=function(e,t){return void 0===t&&(t=!1),t?d(m(e)):m(e)},y=function(e){if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?u(192|t>>>6)+u(128|63&t):u(224|t>>>12&15)+u(128|t>>>6&63)+u(128|63&t)}var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return u(240|t>>>18&7)+u(128|t>>>12&63)+u(128|t>>>6&63)+u(128|63&t)},v=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,b=function(e){return e.replace(v,y)},_=n?function(e){return r.from(e,"utf8").toString("base64")}:a?function(e){return m(a.encode(e))}:function(e){return h(b(e))},S=function(e,t){return void 0===t&&(t=!1),t?d(_(e)):_(e)},E=function(e){return S(e,!0)},k=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,A=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return u((t>>>10)+55296)+u((1023&t)+56320);case 3:return u((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return u((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},T=function(e){return e.replace(k,A)}
1,x=function(e){if(e=e.replace(/\s+/g,""),!l.test(e))throw TypeError("malformed base64.");e+="==".slice(2-(3&e.length));for(var t,n,r,i="",a=0;a<e.length;)t=s[e.charAt(a++)]<<18|s[e.charAt(a++)]<<12|(n=s[e.charAt(a++)])<<6|(r=s[e.charAt(a++)]),i+=64===n?u(t>>16&255):64===r?u(t>>16&255,t>>8&255):u(t>>16&255,t>>8&255,255&t);return i},w="function"==typeof atob?function(e){return atob(p(e))}:n?function(e){return r.from(e,"base64").toString("binary")}:x,C=n?function(e){return c(r.from(e,"base64"))}:function(e){return c(w(e).split("").map(function(e){return e.charCodeAt(0)}))},I=function(e){return C(R(e))},O=n?function(e){return r.from(e,"base64").toString("utf8")}:i?function(e){return i.decode(C(e))}:function(e){return T(w(e))},R=function(e){return p(e.replace(/[-_]/g,function(e){return"-"==e?"+":"/"}))},P=function(e){return O(R(e))},N=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}},L=function(){var e=function(e,t){return Object.defineProperty(String.prototype,e,N(t))};e("fromBase64",function(){return P(this)}),e("toBase64",function(e){return S(this,e)}),e("toBase64URI",function(){return S(this,!0)}),e("toBase64URL",function(){return S(this,!0)}),e("toUint8Array",function(){return I(this)})},j=function(){var e=function(e,t){return Object.defineProperty(Uint8Array.prototype,e,N(t))};e("toBase64",function(e){return g(this,e)}),e("toBase64URI",function(){return g(this,!0)}),e("toBase64URL",function(){return g(this,!0)})},M={version:t,VERSION:t,atob:w,atobPolyfill:x,btoa:h,btoaPolyfill:f,fromBase64:P,toBase64:S,encode:S,encodeURI:E,encodeURL:E,utob:b,btou:T,decode:P,isValid:function(e){if("string"!=typeof e)return!1;var t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},fromUint8Array:g,toUint8Array:I,extendString:L,extendUint8Array:j,extendBuiltins:function(){L(),j()}};return M.Base64={},Object.keys(M).forEach(function(e){return M.Base64[e]=M[e]}),M}()},4064:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VolumeMediumIcon=void 0;let r=n(80263),i=n(83947);t.VolumeMediumIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M13.096 16.427v-4.99-4.411l-4.899 3.869c-.178.14-.4.217-.628.217H4v5.776h3.569c.228 0 .45.077.628.217l4.899 3.869v-4.547zm2-5.488c1.913 1.605 1.913 4.352 0 5.956v6.125c0 .822-.975 1.278-1.629.761l-6.252-4.937H3a.99.99 0 0 1-1-.978v-7.732a.99.99 0 0 1 1-.978h4.215l6.252-4.937c.654-.517 1.629-.061 1.629.76v5.96zm6.803 12.76a1.016 1.016 0 0 1-1.414.022.962.962 0 0 1-.024-1.382c4.718-4.768 4.726-11.907 0-16.681a.962.962 0 0 1 .024-1.383 1.016 1.016 0 0 1 1.414.023c5.477 5.532 5.467 13.875 0 19.4zm-2-3.866a1.016 1.016 0 0 1-1.414.022.962.962 0 0 1-.024-1.382c2.286-2.31 2.286-6.642 0-8.95a.962.962 0 0 1 .023-1.382 1.016 1.016 0 0 1 1.414.023c3.036 3.065 3.036 8.601 0 11.669z"})}))},4068:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGraphqlClient=void 0;let r=n(70015),i=n(41841);t.createGraphqlClient=function(e,t,n){let{extraHeaders:a,httpClient:o,joynDistributionTenant:s="JOYN"}=n,l=Object.assign(Object.assign({},a),{"content-type":"application/json","joyn-distribution-tenant":s,"joyn-platform":"web","x-api-key":t}),u=(0,i.createClient)({fetch:o,fetchOptions:{headers:l},url:e});return{get(t,n,i){return r.__awaiter(this,void 0,void 0,function*(){let r=JSON.stringify({operationName:t,query:n,variables:i}),a=yield o(e,{body:r,headers:l,method:"post"}),s=yield a.json();if(void 0===s.data)throw Error(`Received undefined response from GraphQL get endpoint 2${e} 3${t}`);return s.data})},query(t,n,i){return r.__awaiter(this,void 0,void 0,function*(){let r=Object.assign(Object.assign({},l),null!=i?i:{}),a=yield u.query(t,n,{fetchOptions:{headers:r}}).toPromise();if(void 0===a.data)throw Error(`Received undefined response from GraphQL query endpoint 4${e}`);return a.data})}}}},4083:e=>{e.exports={ClientSide:"csai",ServerSide:"ssai"}},4119:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGenerateAlternativeUrl=void 0;let r=n(70015),i=n(44927),a=r.__importDefault(n(39283));t.createGenerateAlternativeUrl=e=>(0,i.createGenerateAlternativeUrlApi)({generateAlternativeUrl:(0,a.default)()},{adBlockPreventionBaseUrl:e})},4125:(e,t,n)=>{"use strict";
4Object.defineProperty(t,"__esModule",{value:!0}),t.TitleImage=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(19577)),s=a.default.dl({alignItems:"center",display:"flex",flexDirection:"column",marginBottom:"15px"}),l=a.default.dd(({theme:e})=>({fontFamily:e.fontFamilyBold,fontSize:e.fontSize.biggest,marginLeft:0,marginTop:"10px"})),u=a.default.dd(({theme:e})=>({alignItems:"center",display:"flex",height:e.titleImageSize.maxHeight,marginLeft:0})),c=a.default.img(({theme:e})=>({maxHeight:e.titleImageSize.maxHeight,maxWidth:e.titleImageSize.maxWidth}));t.TitleImage=e=>{let{imageUrl:t,title:n}=e;return(0,i.jsxs)(s,{children:[o.default.string(t)&&(0,i.jsx)(u,{children:(0,i.jsx)(c,{alt:"Titelbild",src:t})}),o.default.nonEmptyString(n)&&(0,i.jsx)(l,Object.assign({"aria-label":"Titel"},{children:n}))]})}},4448:function(e,t){!function(n,r){"use strict";var i={version:"3.0.1",x86:{},x64:{}};function a(e,t){return(65535&e)*t+(((e>>>16)*t&65535)<<16)}function o(e,t){return e<<t|e>>>32-t}function s(e){return e^=e>>>16,e=a(e,0x85ebca6b),e^=e>>>13,e=a(e,0xc2b2ae35),e^=e>>>16}function l(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function u(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function c(e,t){return 32==(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}function d(e,t){return 0==(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function p(e,t){return[e[0]^t[0],e[1]^t[1]]}function f(e){return e=u(e=p(e,[0,e[0]>>>1]),[0xff51afd7,0xed558ccd]),e=u(e=p(e,[0,e[0]>>>1]),[0xc4ceb9fe,0x1a85ec53]),e=p(e,[0,e[0]>>>1])}i.x86.hash32=function(e,t){t=t||0;for(var n=(e=e||"").length%4,r=e.length-n,i=t,l=0,u=0;u<r;u+=4)l=o(l=a(l=255&e.charCodeAt(u)|(255&e.charCodeAt(u+1))<<8|(255&e.charCodeAt(u+2))<<16|(255&e.charCodeAt(u+3))<<24,0xcc9e2d51),15),i^=l=a(l,0x1b873593),i=a(i=o(i,13),5)+0xe6546b64;switch(l=0,n){case 3:l^=(255&e.charCodeAt(u+2))<<16;case 2:l^=(255&e.charCodeAt(u+1))<<8;case 1:l^=255&e.charCodeAt(u),l=o(l=a(l,0xcc9e2d51),15),i^=l=a(l,0x1b873593)}return i^=e.length,(i=s(i))>>>0},i.x86.hash128=function(e,t){t=t||0;for(var n=(e=e||"").length%16,r=e.length-n,i=t,l=t,u=t,c=t,d=0,p=0,f=0,h=0,m=0;m<r;m+=16)d=255&e.charCodeAt(m)|(255&e.charCodeAt(m+1))<<8|(255&e.charCodeAt(m+2))<<16|(255&e.charCodeAt(m+3))<<24,p=255&e.charCodeAt(m+4)|(255&e.charCodeAt(m+5))<<8|(255&e.charCodeAt(m+6))<<16|(255&e.charCodeAt(m+7))<<24,f=255&e.charCodeAt(m+8)|(255&e.charCodeAt(m+9))<<8|(255&e.charCodeAt(m+10))<<16|(255&e.charCodeAt(m+11))<<24,h=255&e.charCodeAt(m+12)|(255&e.charCodeAt(m+13))<<8|(255&e.charCodeAt(m+14))<<16|(255&e.charCodeAt(m+15))<<24,d=o(d=a(d,0x239b961b),15),i^=d=a(d,0xab0e9789),i=a(i=o(i,19)+l,5)+0x561ccd1b,p=o(p=a(p,0xab0e9789),16),l^=p=a(p,0x38b34ae5),l=a(l=o(l,17)+u,5)+0xbcaa747,f=o(f=a(f,0x38b34ae5),17),u^=f=a(f,0xa1e38b93),u=a(u=o(u,15)+c,5)+0x96cd1c35,h=o(h=a(h,0xa1e38b93),18),c^=h=a(h,0x239b961b),c=a(c=o(c,13)+i,5)+0x32ac3b17;switch(d=0,p=0,f=0,h=0,n){case 15:h^=e.charCodeAt(m+14)<<16;case 14:h^=e.charCodeAt(m+13)<<8;case 13:h^=e.charCodeAt(m+12),h=o(h=a(h,0xa1e38b93),18),c^=h=a(h,0x239b961b);case 12:f^=e.charCodeAt(m+11)<<24;case 11:f^=e.charCodeAt(m+10)<<16;case 10:f^=e.charCodeAt(m+9)<<8;case 9:f^=e.charCodeAt(m+8),f=o(f=a(f,0x38b34ae5),17),u^=f=a(f,0xa1e38b93);case 8:p^=e.charCodeAt(m+7)<<24;case 7:p^=e.charCodeAt(m+6)<<16;case 6:p^=e.charCodeAt(m+5)<<8;case 5:p^=e.charCodeAt(m+4),p=o(p=a(p,0xab0e9789),16),l^=p=a(p,0x38b34ae5);case 4:d^=e.charCodeAt(m+3)<<24;case 3:d^=e.charCodeAt(m+2)<<16;case 2:d^=e.charCodeAt(m+1)<<8;case 1:d^=e.charCodeAt(m),d=o(d=a(d,0x239b961b),15),i^=d=a(d,0xab0e9789)}return i^=e.length,l^=e.length,u^=e.length,c^=e.length,i+=l,i+=u,i+=c,l+=i,u+=i,c+=i,i=s(i),l=s(l),u=s(u),c=s(c),i+=l,i+=u,i+=c,l+=i,u+=i,c+=i,("00000000"+(i>>>0).toString(16)).slice(-8)+("00000000"+(l>>>0).toString(16)).slice(-8)+("00000000"+(u>>>0).toString(16)).slice(-8)+("00000000"+(c>>>0).toString(16)).slice(-8)},i.x64.hash128=function(e,t){t=t||0;for(var n=(e=e||"").length%16,r=e.length-n,i=[0,t],a=[0,t],o=[0,0],s=[0,0],h=[0x87c37b91,0x114253d5],m=[0x4cf5ad43,0x2745937f],g=0;g<r;g+=16)o=[255&e.charCodeAt(g+4)|(255&e.charCodeAt(g+5))<<8|(255&e.charCodeAt(g+6))<<16|(255&e.charCodeAt(g+7))<<24,255&e.charCodeAt(g)|(255&e.charCodeAt(g+1))<<8|(255&e.charCodeAt(g+2))<<16|(255&e.charCodeAt(g+3))<<24],s=[255&e.charCodeAt(g+12)|(255&e.charCodeAt(g+13))<<8|(255&e.charCodeAt(g+14))<<16|(255&e.charCodeAt(g+15))<<24,255&e.charCodeAt(g+8)|(255&e.charCodeAt(g+9))<<8|(255&e.charCodeAt(g+10))<<16|(255&e.charCodeAt(g+11))<<24],o=c(o=u(o,h),31),i=l(i=c(i=p(i,o=u(o,m)),27),a),i=l(u(i,[0,5]),[0,0x52dce729]),s=c(s=u(s,m),33),a=l(a=c(a=p(a,s=u(s,h)),31),i),a=l(u(a,[0,5]),[0,0x38495ab5]);switch(o=[0,0],s=[0,0],n){case 15:s=p(s,d([0,e.charCodeAt(g+14)],48));case 14:s=p(s,d([0,e.charCodeAt(g+13)],40));case 13:s=p(s,d([0,e.charCodeAt(g+12)],32));case 12:s=p(s,d([0,e.charCodeAt(g+11)],24));case 11:s=p(s,d([0,e.charCodeAt(g+10)],16));case 10:s=p(s,d([0,e.charCodeAt(g+9)],8));case 9:s=c(s=u(s=p(s,[0,e.charCodeAt(g+8)]),m),33),a=p(a,s=u(s,h));case 8:o=p(o,d([0,e.charCodeAt(g+7)],56));case 7:o=p(o,d([0,e.charCodeAt(g+6)],48));case 6:o=p(o,d([0,e.charCodeAt(g+5)],40));case 5:o=p(o,d([0,e.charCodeAt(g+4)],32));case 4:o=p(o,d([0,e.charCodeAt(g+3)],24));case 3:o=p(o,d([0,e.charCodeAt(g+2)],16));case 2:o=p(o,d([0,e.charCodeAt(g+1)],8));case 1:o=c(o=u(o=p(o,[0,e.charCodeAt(g)]),h),31),i=p(i,o=u(o,m))}return i=l(i=p(i,[0,e.length]),a=p(a,[0,e.length])),a=l(a,i),i=l(i=f(i),a=f(a)),a=l(a,i),("00000000"+(i[0]>>>0).toString(16)).slice(-8)+("00000000"+(i[1]>>>0).toString(16)).slice(-8)+("00000000"+(a[0]>>>0).toString(16)).slice(-8)+("00000000"+(a[1]>>>0).toString(16)).slice(-8)},e.exports&&(t=e.exports=i),t.murmurHash3=i}(0)},4580:(e,t,n)=>{"use strict";
4Object.defineProperty(t,"__esModule",{value:!0}),t.mapUnknownParseErrorToHttpError=t.HttpResponseBodyParseError=void 0;let r=n(70015),i=n(29391);class a extends i.HttpFailedRequestError{constructor(e){super(`Failed to parse response body from ${e.requestUri}`,e),this.rawResponseBody=e.rawResponseBody}}t.HttpResponseBodyParseError=a,t.mapUnknownParseErrorToHttpError=function(e,t,n,o,s){return r.__awaiter(this,void 0,void 0,function*(){return e instanceof i.HttpError?e:e instanceof SyntaxError?new a({originalError:e,rawResponseBody:yield t.text(),requestMethod:o,requestOptions:s,requestUri:n,response:t}):new i.HttpError(`Unknown error while parsing the response body from ${n}`,{originalError:e,requestMethod:o,requestOptions:s,requestUri:n})})}},4658:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLifecycleTrackerFactory=void 0;let r=n(70015),i=n(2485),a=new Set(["lifecycle-end","lifecycle-abort"]);t.createLifecycleTrackerFactory=function(e){let{logger:t}=e;return function(e){let n={isLifecycleCreated:!1,isLifecycleStarted:!1},o=null;return e.enabled?function(i,s){return r.__awaiter(this,void 0,void 0,function*(){if("lifecycle-create"===i)n={context:e.setup(s),isLifecycleCreated:!0,isLifecycleStarted:!1};else{let r;n.isLifecycleCreated?r=e.track(i,s,n):t.warn(`An out-of-lifecycle event ${i} has been received`),"lifecycle-start"===i&&(n=Object.assign(Object.assign({},n),{isLifecycleStarted:!0})),a.has(i)&&(n=function(t,n){if(!n.isLifecycleCreated){let e=function(e,t){let n=`A second teardown event "${e}" has been received or teardown is initiated before "lifecycle-create"`;return null===t?n:`${n} after receiving "${t}" previously`}(t,o);throw o=t,Error(e)}return e.teardown(n),{isLifecycleCreated:!1,isLifecycleStarted:!1}}(i,n)),yield r}o=i})}:i.nullTrackingCall}}},4768:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeUrl=void 0,t.normalizeUrl=function(e){return e.endsWith("/")?e.slice(0,-1):e}},5123:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.movieGraphQlQuerySchema=t.movieOnDemandChannelSchema=t.movieWithTitleOnlySchema=void 0;let r=n(47561),i=n(92712),a=n(29414),o=n(493),s=n(78492),l=n(16002),u=n(66054),c=n(20795),d=n(26349),p=n(65317),f=n(76700),h=n(62854),m=n(7930),g=n(9334),y=n(91367),v=n(16104);t.movieWithTitleOnlySchema=i.z.object({__typename:i.z.literal("Movie"),title:i.z.string()}).strict();let b=t.movieWithTitleOnlySchema.extend({ageRating:p.ageRatingSchema,artLogoImage:u.imageUrlSchema,brands:o.brandsSchema,cast:i.z.array(a.actorSchema).nullable().transform(r.Maybe.of),features:i.z.array(s.featureSchema).nullable().transform(r.Maybe.of),heroLandscapeImage:c.imageVibrantColorSchema,id:l.idSchema,licenseTypes:d.licenseTypesSchema,path:f.pathSchema,posterImage:u.imageUrlSchema,productPlacement:h.productPlacementSchema,resumePosition:m.resumePositionSchema,tracking:g.trackingSchema,video:v.videoSchema,videoDescriptors:i.z.array(y.videoDescriptorsSchema).nullable().transform(r.Maybe.of)}).strict();t.movieOnDemandChannelSchema=b.omit({resumePosition:!0}).strict(),t.movieGraphQlQuerySchema=i.z.object({movie:b}).strict()},5163:(e,t,n)=>{var r=n(54906),i=n(98048);e.exports=r.extend({constructor:function(){this.storage=new i("youboraOffline",!0),this.actualView=null,this.viewList=[],this.givenIds=[],this._getOldViewList()},_newView:function(){var e=this._getValidId();this.storage.setLocal(e,""),this.viewList.push(e),this.storage.setLocal("views",this.viewList),this.actualView=e},addEvent:function(e,t){if("/start"===e&&this._newView(),"/init"===e||!this.actualView)return null;var n='{"request":"'+e.slice(1)+'",';for(var r in n+='"unixtime":'+Date.now()+",",t){if(void 0===t[r])break;n+='"'+r+'":',"code"===r?n+='"CODE_PLACEHOLDER",':"sessionId"===r?n+='"SESSION_PLACEHOLDER",':"sessionRoot"===r?n+='"ROOT_PLACEHOLDER",':"string"==typeof t[r]?n+='"'+t[r]+'",':"object"==typeof t[r]?n+='"'+JSON.stringify(t[r]).replace(/"/g,'\\"')+'",':n+=t[r]+","}n=n.slice(0,-1)+"}";var i=this.storage.getLocal(this.actualView);""!==i&&(i+=","),this.storage.setLocal(this.actualView,i+n)},getView:function(){if(this.viewList.length>this.givenIds.length)for(var e=0;;){var t=this.viewList[e];if(0>this.givenIds.indexOf(t))return this.givenIds.push(t),["["+this.storage.getLocal(t)+"]",t];e++}
4return[null,null]},removeView:function(e){this.storage.removeLocal(e);var t=this.viewList.indexOf(e);-1!==t&&this.viewList.splice(t,1),-1!==(t=this.givenIds.indexOf(e))&&this.givenIds.splice(t,1),this.storage.setLocal("views",this.viewList.toString()),e===this.actualView&&(this.actualView=null)},_getOldViewList:function(){var e="";this.storage.getLocal("views")?e=this.storage.getLocal("views"):this.storage.setLocal("views",""),""===e?this.viewList=[]:"function"==typeof e.split&&(this.viewList=e.split(","))},_getValidId:function(){var e=Math.floor(1e8*Math.random()).toString();return this.viewList.indexOf(e)>=0?this._getValidId():e},sent:function(){this.givenIds=[]}})},5211:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logger=void 0,t.logger=(0,n(72678).createLogger)(["player","core"])},5311:(e,t,n)=>{"use strict";n.d(t,{I:()=>i});var r=n(39599);function i(e,t,n){return new r.eO(`Syntax Error: ${n}`,{source:e,positions:[t]})}},5661:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlayerSettings=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(53239),s=n(66976),l=n(14567),u=n(30967),c=n(76303),d=n(31096),p=n(78710),f=n(36227),h=(0,a.default)(u.FadeTransition)(()=>({flex:1}));t.PlayerSettings=({className:e})=>{let{state:t}=(0,o.useContext)(s.PlayerContext),{mustShowControls:n,mustShowAdvertisementFeedbackButton:r}=t;return(0,i.jsx)(h,Object.assign({isVisible:n},{children:(0,i.jsxs)(d.ButtonGroup,Object.assign({alignContent:"right",dense:!0},{children:[(0,i.jsx)(p.SubtitleAndAudioTracksButton,{}),r?(0,i.jsx)(l.AdUserFeedbackButton,{}):null,(0,i.jsx)(f.Volume,{className:e}),function(e){let{isFullscreenModeSupported:t,adHasViewContent:n}=e;return n||!t?null:(0,i.jsx)(c.FullscreenButton,{})}(t)]}))}))}},5669:e=>{e.exports={GET:"get",POST:"post"}},6662:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PLAYLIST_GRAPHQL_QUERY_DOCUMENT=void 0;let r=n(42049);t.PLAYLIST_GRAPHQL_QUERY_DOCUMENT=(0,r.gql)` 5 query Playlist( 6 $playlistId: ID! 7 $playlistOffset: Int = 0 8 $playlistItemTypes: [PlaylistItemType] = [EXTRA, COMPILATION_ITEM, CLIP] 9 ) { 10 playlist(playlistId: $playlistId) { 11 currentPlaylistItem(playlistItemTypes: $playlistItemTypes) { 12 playlistId 13 asset { 14 ... on Clip { 15 __typename 16 id 17 path 18 licenseTypes 19 ageRating { 20 minAge 21 descriptorsText 22 } 23 image(type: THUMBNAIL) { 24 id 25 url 26 type 27 } 28 brands { 29 logo { 30 url(profile: "nextgen-web-artlogo-183x75") 31 } 32 title 33 } 34 id 35 title 36 tracking { 37 agofCode 38 externalAssetId 39 genres 40 } 41 brands { 42 title 43 } 44 video { 45 id 46 } 47 tracking { 48 agofCode 49 externalAssetId 50 genres 51 } 52 } 53 ... on Extra { 54 __typename 55 ageRating { 56 descriptorsText 57 minAge 58 } 59 brands { 60 logo { 61 url 62 } 63 title 64 } 65 id 66 title 67 tracking { 68 agofCode 69 externalAssetId 70 genres 71 } 72 video { 73 id 74 } 75 parent { 76 ... on Compilation { 77 __typename 78 id 79 } 80 ... on Episode { 81 __typename 82 id 83 series { 84 __typename 85 genres { 86 __typename 87 name 88 } 89 id 90 title 91 } 92 } 93 ... on Movie { 94 __typename 95 features 96 genres { 97 __typename 98 name 99 } 100 id 101 title 102 } 103 ... on Season { 104 __typename 105 series { 106 __typename 107 genres { 108 __typename 109 name 110 } 111 id 112 title 113 } 114 } 115 ... on Series { 116 __typename 117 features 118 genres { 119 __typename 120 name 121 } 122 id 123 title 124 } 125 ... on SportsCompetition { 126 __typename 127 id 128 } 129 ... on SportsStage { 130 __typename 131 } 132 ... on SportsMatch { 133 __typename 134 } 135 } 136 } 137 ... on CompilationItem { 138 __typename 139 title 140 ageRating { 141 descriptorsText 142 minAge 143 } 144 licenseTypes 145 path 146 productPlacement 147 thumbnailImage: image(type: PRIMARY) { 148 url(profile: "nextgen-web-episodestillplayer-693x390") 149 } 150 tracking { 151 agofCode 152 externalAssetId 153 genres 154 } 155 video { 156 id 157 } 158 compilation {
159 artLogoImage: image(type: ART_LOGO) { 160 url(profile: "nextgen-web-artlogo-300x123") 161 } 162 brands { 163 logo { 164 url(profile: "nextgen-web-artlogo-183x75") 165 } 166 title 167 } 168 features 169 id 170 title 171 } 172 } 173 } 174 } 175 id 176 path 177 playlistImage: image { 178 vibrantColor: accentColor(type: DARK_VIBRANT) 179 } 180 posterImage: image(type: PRIMARY) { 181 url(profile: "nextgen-web-primarycut-1920x1080") 182 } 183 remainingPlaylistItems(first: 2, offset: $playlistOffset, playlistItemTypes: $playlistItemTypes) { 184 asset { 185 ... on Clip { 186 __typename 187 id 188 path 189 ageRating { 190 minAge 191 descriptorsText 192 } 193 licenseTypes 194 image(type: THUMBNAIL) { 195 id 196 url 197 type 198 } 199 brands { 200 logo { 201 url(profile: "nextgen-web-artlogo-183x75") 202 } 203 title 204 } 205 id 206 title 207 tracking { 208 agofCode 209 externalAssetId 210 genres 211 } 212 brands { 213 title 214 } 215 video { 216 id 217 } 218 tracking { 219 agofCode 220 externalAssetId 221 genres 222 } 223 } 224 ... on Extra { 225 __typename 226 ageRating { 227 descriptorsText 228 minAge 229 } 230 brands { 231 logo { 232 url 233 } 234 title 235 } 236 id 237 title 238 tracking { 239 agofCode 240 externalAssetId 241 genres 242 } 243 video { 244 id 245 } 246 parent { 247 ... on Compilation { 248 __typename 249 id 250 } 251 ... on Episode { 252 __typename 253 id 254 series { 255 __typename 256 genres { 257 __typename 258 name 259 } 260 id 261 title 262 } 263 } 264 ... on Movie { 265 __typename 266 features 267 genres { 268 __typename 269 name 270 } 271 id 272 title 273 } 274 ... on Season { 275 __typename 276 series { 277 __typename 278 genres { 279 __typename 280 name 281 } 282 id 283 title 284 } 285 } 286 ... on Series { 287 __typename 288 features 289 genres { 290 __typename 291 name 292 } 293 id 294 title 295 } 296 ... on SportsCompetition { 297 __typename 298 id 299 } 300 ... on SportsStage { 301 __typename 302 } 303 ... on SportsMatch { 304 __typename 305 } 306 } 307 } 308 ... on CompilationItem { 309 __typename 310 title 311 ageRating { 312 descriptorsText 313 minAge 314 } 315 licenseTypes 316 path 317 productPlacement 318 thumbnailImage: image(type: PRIMARY) { 319 url(profile: "nextgen-web-episodestillplayer-693x390") 320 } 321 tracking { 322 agofCode 323 externalAssetId 324 genres 325 } 326 video { 327 id 328 } 329 compilation {
330 artLogoImage: image(type: ART_LOGO) { 331 url(profile: "nextgen-web-artlogo-300x123") 332 } 333 brands { 334 logo { 335 url(profile: "nextgen-web-artlogo-183x75") 336 } 337 title 338 } 339 features 340 id 341 title 342 } 343 } 344 } 345 } 346 title 347 } 348 } 349`},6719:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.titleImageSize=void 0;let n={maxHeight:"57px",maxWidth:"140px"};t.titleImageSize={medium:n,mini:n,small:n,tiny:n}},6779:(e,t,n)=>{var r=n(35121),i=n(30174),a=n(78542),o=n(2149),s=n(64507),l=n(33707),u=n(16569),c=n(16421),d=n(2502),p=r.extend({constructor:function(e){p.__super__.constructor.apply(this,arguments),this._plugin=e,this._realResource=null,this._transportFormat=null,this._initResource=null,this._cdnName=null,this._cdnNodeHost=null,this._cdnNodeTypeString=null,this._cdnNodeType=null,this._responses={},this._isBusy=!1,this.transformName="Resource"},getResource:function(){return this._realResource},_getInitialCdnResource:function(){return this._realResource||this._initResource},getTransportFormat:function(){return this._transportFormat},getCdnName:function(){return this._cdnName},getNodeHost:function(){return this._cdnNodeHost},getNodeTypeString:function(){return this._cdnNodeTypeString},getNodeType:function(){return this._cdnNodeType},init:function(e){if(!e)return void this.done();this._isBusy||(this._isBusy=!0,this._initResource=e,this._parseManifestEnabled=this._plugin.isParseManifest(),this._cdnEnabled=this._plugin.isParseCdnNode(),this._cdnList=this._plugin.getParseCdnNodeList().slice(),a.setBalancerHeaderName(this._plugin.getParseCdnNodeNameHeader(),this._plugin.getParseNodeHeader()),this._setTimeout(),this._parseManifestEnabled?this._isFinalUrl(this._initResource)?(this._realResource=this._initResource,this.done()):this.parseManifest():this._parseCDN())},_isFinalUrl:function(e){var t=[".ts",".mp4",".m4s",".cmfv"];for(var n in e=e||"",t){var r=t[n];if(e.lastIndexOf(r)===e.length-r.length)return!0}return!1},_setTimeout:function(){var e=(function(){this._isBusy&&(this.done(),c.warn("ResourceTransform has exceeded the maximum execution time (3s) and will be aborted."))}).bind(this);try{this._parseTimeout=setTimeout(e,3e3)}catch(t){"undefined"!=typeof atv?this._parseTimeout=atv.setTimeout(e,3e3):c.error(t)}},parseManifest:function(e,t){var n=this._plugin.options["parse.manifest.auth"],r=[new u(n),new s(n),new i(n)];this._parseManifest(r,e,t||this._initResource)},_parseManifest:function(e,t,n,r){if(e.length>0){var i=e[0];i.shouldExecute(t)?(i.on(l.Event.DONE,(function(){this._parseManifest(e.slice(1,e.length),i.getLastManifest(),i.getResource(),i.getTransportFormat()||r)}).bind(this)),i.parse(n,t)):this._parseManifest(e.slice(1,e.length),t,n,r)}else this._transportFormat=r,this._realResource=n,this._parseCDN()},_parseCDN:function(){if(this._plugin.isCdnSwitch())this.switchDetector=new o(this._plugin),this.switchDetector.on(o.Events.DONE,(function(e){this._cdnName=e.data,this.done()}).bind(this)),this.switchDetector.on(o.Events.ERROR,(function(){this.done()}).bind(this)),this.switchDetector.init();else if(this._cdnEnabled&&this._cdnList.length>0){var e=this._cdnList.shift();if(this.getNodeHost())return;var t=a.create(e);t?(t.on(a.Event.DONE,(function(){this._responses=t.getResponses(),this._cdnName=t.getParsedCdnName(),this._cdnNodeHost=t.getParsedNodeHost(),this._cdnNodeTypeString=t.getParsedNodeTypeString(),this._cdnNodeType=t.getParsedNodeType(),this.getNodeHost()?this.done():this._parseCDN()}).bind(this)),t.parse(this._getInitialCdnResource(),this._responses)):this._parseCDN()}else this.done()},parse:function(e){if(e.service===d.Service.START){var t=this._plugin.requestBuilder.lastSent;t.parsedResource=e.params.parsedResource=this.getResource()||e.params.parsedResource,t.transportFormat=e.params.transportFormat=this.getTransportFormat()||e.params.transportFormat,this._cdnEnabled&&(t.cdn=e.params.cdn=e.params.cdn||this.getCdnName(),t.nodeHost=e.params.nodeHost=this.getNodeHost()||e.params.nodeHost,t.nodeType=e.params.nodeType=this.getNodeType()||e.params.nodeType,t.nodeTypeString=e.params.nodeTypeString=this.getNodeTypeString()||e.params.nodeTypeString)}}});e.exports=p},6904:(e,t)=>
349{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.infOnlineCodeFromTracking=t.genresFromTracking=t.externalTrackingIdFromTracking=void 0,t.externalTrackingIdFromTracking=function(e){return e.tracking.andThen(e=>e.externalAssetId)},t.genresFromTracking=function(e){return e.tracking.map(e=>e.genres).unwrapOr([])},t.infOnlineCodeFromTracking=function(e){return e.tracking.andThen(e=>e.agofCode)}},7009:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCertificateFetcher=void 0;let r=n(70015);t.createCertificateFetcher=function(e){let{httpClient:t}=e,n=new Map;return{fetchDrmCertificate(e){return r.__awaiter(this,void 0,void 0,function*(){let r=n.get(e);if(r)return r;let i=new Uint8Array((yield t.get({options:{asArrayBuffer:!0,credentials:"omit"},uri:e})));return n.set(e,i),i})}}}},7032:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRatingAb8=void 0;let r=n(80263),i=n(83826);t.AgeRatingAb8=()=>(0,r.jsxs)(i.AgeRatingIcon,Object.assign({width:34,height:20},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M34 2C34 0.89543 33.1046 0 32 0H2C0.89543 0 0 0.89543 0 2V18C0 19.1046 0.89543 20 2 20H32C33.1046 20 34 19.1046 34 18V2ZM2 1H32L32.1166 1.00673C32.614 1.06449 33 1.48716 33 2V18L32.9933 18.1166C32.9355 18.614 32.5128 19 32 19H2L1.88338 18.9933C1.38604 18.9355 1 18.5128 1 18V2L1.00673 1.88338C1.06449 1.38604 1.48716 1 2 1Z",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.1752 13.7517C17.8515 13.8952 17.5094 13.9669 17.149 13.9669C16.8547 13.9669 16.588 13.932 16.349 13.8621C16.1099 13.7922 15.891 13.6947 15.6924 13.5697V13.8345H13.8938V6H15.6924V8.78069C15.891 8.65563 16.1099 8.55816 16.349 8.48828C16.588 8.41839 16.8547 8.38345 17.149 8.38345C17.5094 8.38345 17.8515 8.45333 18.1752 8.5931C18.4989 8.73287 18.7821 8.92782 19.0248 9.17793C19.2676 9.42805 19.4589 9.7223 19.5986 10.0607C19.7384 10.3991 19.8083 10.7669 19.8083 11.1641C19.8083 11.5614 19.7384 11.931 19.5986 12.2731C19.4589 12.6152 19.2676 12.9113 19.0248 13.1614C18.7821 13.4115 18.4989 13.6083 18.1752 13.7517ZM6.98621 13.8345L7.48276 12.5434H10.6607L11.1683 13.8345H13.1545L9.97655 6.2869H8.18897L5 13.8345H6.98621ZM8.10069 10.9545L9.07172 8.46069L10.0428 10.9545H8.10069ZM16.7959 12.4993C16.6046 12.4993 16.4152 12.4662 16.2276 12.4C16.04 12.3338 15.8616 12.2051 15.6924 12.0138V10.3366C15.8616 10.1453 16.04 10.0147 16.2276 9.94483C16.4152 9.87494 16.6046 9.84 16.7959 9.84C16.9798 9.84 17.149 9.87494 17.3034 9.94483C17.4579 10.0147 17.5903 10.1103 17.7007 10.2317C17.811 10.3531 17.8975 10.4929 17.96 10.651C18.0225 10.8092 18.0538 10.9802 18.0538 11.1641C18.0538 11.3554 18.0225 11.532 17.96 11.6938C17.8975 11.8556 17.811 11.9954 17.7007 12.1131C17.5903 12.2308 17.4579 12.3246 17.3034 12.3945C17.149 12.4644 16.9798 12.4993 16.7959 12.4993ZM28.7836 8.1983C28.7836 8.87819 28.4436 9.41076 27.8771 9.76204C28.6589 10.1473 29.1122 10.8045 29.1122 11.6204C29.1122 13.0708 27.9564 14 25.996 14C24.047 14 22.8799 13.0708 22.8799 11.6204C22.8799 10.8045 23.3331 10.1473 24.115 9.76204C23.5371 9.4221 23.1972 8.87819 23.1972 8.1983C23.1972 6.88385 24.3643 6 25.996 6C27.6278 6 28.7836 6.88385 28.7836 8.1983ZM27.0612 8.31161C27.0612 7.77904 26.6193 7.38244 25.996 7.38244C25.3728 7.38244 24.9422 7.76771 24.9422 8.31161C24.9422 8.84419 25.3728 9.26346 25.996 9.26346C26.6193 9.26346 27.0612 8.83286 27.0612 8.31161ZM24.8402 11.4958C24.8402 12.0737 25.3275 12.5042 25.996 12.5042C26.6646 12.5042 27.1632 12.0623 27.1632 11.4958C27.1632 10.9292 26.6646 10.4986 25.996 10.4986C25.3275 10.4986 24.8402 10.9178 24.8402 11.4958Z",fill:"white"})]}))},7230:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.traceProxy=void 0,t.traceProxy=(e,t,n=console.log)=>new Proxy(e,{get:(e,r)=>{let i=e[r];return"function"==typeof i?function(...a){let o=n.bind(null,"call",`${t}.${String(r)}`,a);try{let t=i.apply(e,a);return t instanceof Promise?t.then(o,o):o(t),t}catch(e){throw o(e),e}}:(n("get",`${t}.${String(r)}`,i),i)}})},7295:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(817);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e){(0,r.A)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===i(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.
3491 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}},7343:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRating10=void 0;let r=n(80263),i=n(52087);t.AgeRating10=()=>(0,r.jsxs)(i.AgeRatingIcon,Object.assign({width:22,height:20},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 2C22 0.89543 21.1046 0 20 0H2C0.89543 0 0 0.89543 0 2V18C0 19.1046 0.89543 20 2 20H20C21.1046 20 22 19.1046 22 18V2ZM2 1H20L20.1166 1.00673C20.614 1.06449 21 1.48716 21 2V18L20.9933 18.1166C20.9355 18.614 20.5128 19 20 19H2L1.88338 18.9933C1.38604 18.9355 1 18.5128 1 18V2L1.00673 1.88338C1.06449 1.38604 1.48716 1 2 1Z",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.2539 14C14.7566 14 15.2094 13.9005 15.6122 13.7014C16.0151 13.5023 16.3577 13.2263 16.64 12.8732C16.9224 12.5202 17.1376 12.0977 17.2857 11.6056C17.4337 11.1136 17.5077 10.5784 17.5077 10C17.5077 9.4216 17.4337 8.88826 17.2857 8.4C17.1376 7.91174 16.9224 7.4892 16.64 7.13239C16.3577 6.77559 16.0151 6.49765 15.6122 6.29859C15.2094 6.09953 14.7566 6 14.2539 6C13.7443 6 13.2898 6.09953 12.8903 6.29859C12.4909 6.49765 12.15 6.77559 11.8677 7.13239C11.5854 7.4892 11.3701 7.91174 11.2221 8.4C11.074 8.88826 11 9.4216 11 10C11 10.5784 11.074 11.1136 11.2221 11.6056C11.3701 12.0977 11.5854 12.5202 11.8677 12.8732C12.15 13.2263 12.4909 13.5023 12.8903 13.7014C13.2898 13.9005 13.7443 14 14.2539 14ZM14.2535 12.3436C13.9918 12.3436 13.7611 12.2835 13.5614 12.1633C13.3617 12.0431 13.1947 11.8779 13.0604 11.6675C12.9261 11.4572 12.8245 11.2093 12.7556 10.9239C12.6868 10.6384 12.6523 10.3304 12.6523 9.99993C12.6523 9.66941 12.6868 9.36143 12.7556 9.07599C12.8245 8.79054 12.9261 8.54265 13.0604 8.33232C13.1947 8.122 13.3617 7.95674 13.5614 7.83655C13.7611 7.71636 13.9918 7.65627 14.2535 7.65627C14.5151 7.65627 14.7458 7.71636 14.9455 7.83655C15.1453 7.95674 15.3123 8.122 15.4465 8.33232C15.5808 8.54265 15.6824 8.79054 15.7513 9.07599C15.8201 9.36143 15.8546 9.66941 15.8546 9.99993C15.8546 10.3304 15.8201 10.6384 15.7513 10.9239C15.6824 11.2093 15.5808 11.4572 15.4465 11.6675C15.3123 11.8779 15.1453 12.0431 14.9455 12.1633C14.7458 12.2835 14.5151 12.3436 14.2535 12.3436ZM10.7371 12.423V14H5V12.423H6.98637V8.22158L5.11685 8.73957V7.05899L7.71081 6.17266H8.89094V12.423H10.7371Z",fill:"white"})]}))},7424:e=>{var t=function(){};e.exports=function(e){if(arguments.length>1)throw Error("Second argument not supported");if(null===e)throw Error("Cannot set a null [[Prototype]]");if("object"!=typeof e)throw TypeError("Argument must be an object");return t.prototype=e,new t}},7522:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createValidatingEventEmitter=void 0;let r=n(47725),i=n(7939);t.createValidatingEventEmitter=function(e){let{schema:t}=e,n=(0,i.createEventEmitter)();return{destroy:n.destroy,emit(e,i){let a=(0,r.validateAgainstSchema)(t,{eventName:e,eventPayload:i});if(a.isOk())void 0===a.value.eventPayload?n.emit(a.value.eventName):n.emit(a.value.eventName,a.value.eventPayload);else throw a.error},hasListeners:n.hasListeners,off:n.off,on:n.on,removeAllListeners:n.removeAllListeners}}},7534:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LockIcon=void 0;let r=n(80263);t.LockIcon=e=>{let{width:t,height:n}=e,i=`0 0 ${t} ${n}`;return(0,r.jsxs)("svg",Object.assign({width:t,height:n,viewBox:i,fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.1437 23.8572H4.85798V47.4287H39.1437V23.8572ZM4.85798 19.5715C2.49105 19.5715 0.572266 21.4903 0.572266 23.8572V47.4287C0.572266 49.7956 2.49105 51.7144 4.85798 51.7144H39.1437C41.5106 51.7144 43.4294 49.7956 43.4294 47.4287V23.8572C43.4294 21.4903 41.5106 19.5715 39.1437 19.5715H4.85798Z",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30.5731 19.5715V13.1429C30.5731 8.40904 26.7355 4.57148 22.0017 4.57148C17.2678 4.57148 13.4302 8.40904 13.4302 13.1429V19.5715H30.5731ZM22.0017 0.285767C14.9009 0.285767 9.14453 6.04211 9.14453 13.1429V23.8572H34.8588V13.1429C34.8588 6.04211 29.1025 0.285767 22.0017 0.285767Z",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.0017 30.2858C23.1851 30.2858 24.1445 31.2452 24.1445 32.4286L24.1445 38.8572C24.1445 40.0407 23.1851 41.0001 22.0017 41.0001C20.8182 41.0001 19.8588 40.0407 19.8588 38.8572L19.8588 32.4286C19.8588 31.2452 20.8182 30.2858 22.0017 30.2858Z",fill:"white"})]}))}}
349,7614:(e,t,n)=>{var r=n(16421),i=n(2502),a=n(60161),o=n(3656);e.exports={setAdapter:function(e){if(this.browserLoadTimes&&this.browserLoadTimes.setPlayerSetupTime(),e.plugin)r.warn("Adapters can only be added to a single plugin");else{for(var t in this.removeAdapter(),this._adapter=e,e.plugin=this,e.setIsAds(!1),this.contentAdapterListeners={},this.contentAdapterListeners[o.Event.START]=this._startListener.bind(this),this.contentAdapterListeners[o.Event.JOIN]=this._joinListener.bind(this),this.contentAdapterListeners[o.Event.PAUSE]=this._pauseListener.bind(this),this.contentAdapterListeners[o.Event.RESUME]=this._resumeListener.bind(this),this.contentAdapterListeners[o.Event.SEEK_BEGIN]=this._seekBufferBeginListener.bind(this),this.contentAdapterListeners[o.Event.SEEK_END]=this._seekEndListener.bind(this),this.contentAdapterListeners[o.Event.BUFFER_BEGIN]=this._seekBufferBeginListener.bind(this),this.contentAdapterListeners[o.Event.BUFFER_END]=this._bufferEndListener.bind(this),this.contentAdapterListeners[o.Event.ERROR]=this._errorListener.bind(this),this.contentAdapterListeners[o.Event.STOP]=this._stopListener.bind(this),this.contentAdapterListeners[o.Event.VIDEO_EVENT]=this._videoEventListener.bind(this),this.contentAdapterListeners)this._adapter.on(t,this.contentAdapterListeners[t]);this.productAnalytics&&this.productAnalytics.adapterAfterSet()}},getAdapter:function(){return this._adapter},removeAdapter:function(){if(this._adapter){if(this.productAnalytics&&this.productAnalytics.adapterBeforeRemove(),this._adapter.dispose(),this._adapter.plugin=null,this.contentAdapterListeners){for(var e in this.contentAdapterListeners)this._adapter.off(e,this.contentAdapterListeners[e]);delete this.contentAdapterListeners}this._adapter=null}},_startListener:function(e){this.isInitiated?0!==this.initChrono.startTime&&(this._adapter.chronos.join.startTime=this.initChrono.startTime):(this.viewTransform.nextView(),this.options&&this.options["session.splitViews"]&&(e.data.params.viewIndex=this.viewTransform._viewIndex),this._initComm(),this._startPings());try{if(this._adapter&&this.resourceTransform){var t=this._getResourceForTransform();this.resourceTransform.init(t)}}catch(e){}var n=e.data.params||{},a=this.getResource()&&"boolean"==typeof this.getIsLive()&&(this.getIsLive()||"number"==typeof this.getDuration()&&this.getDuration()>0)&&this.getTitle();(a=!this.options.forceInit&&a&&this._isExtraMetadataReady())&&!this.isInitiated?(this._send(i.WillSendEvent.WILL_SEND_START,i.Service.START,n),this._adSavedError(),this._adSavedManifest(),r.notice(i.Service.START+" "+(n.title||n.mediaResource)),this.isStarted=!0):this.isInitiated||(this.isInitiated=!0,this._adapter.chronos.join.start(),this._send(i.WillSendEvent.WILL_SEND_INIT,i.Service.INIT,n),this._adSavedError(),this._adSavedManifest(),r.notice(i.Service.INIT+" "+(n.title||n.mediaResource)))},_retryStart:function(e){this._isExtraMetadataReady()&&(this._send(i.WillSendEvent.WILL_SEND_START,i.Service.START,{}),this.startDelayed=!1)},_joinListener:function(e){var t={};a.assign(t,e.data.params||{}),this._adsAdapter&&this._adsAdapter.flags.isStarted?(this._adapter.monitor&&this._adapter.monitor.stop(),this._adapter.flags.isJoined=!1,this._adapter.chronos.join.stopTime=0):(this._adapter&&(this._adapter.chronos.join.startTime=Math.min(this._adapter.chronos.join.startTime+(this._totalPrerollsTime||0),new Date().getTime()),this._totalPrerollsTime=0),this.isInitiated&&!this.isStarted&&(this._isExtraMetadataReady()?this._send(i.WillSendEvent.WILL_SEND_START,i.Service.START,t):this.startDelayed=!0,this._adSavedError(),this._adSavedManifest(),r.notice(i.Service.START+" "+(t.title||t.mediaResource)),this.isStarted=!0),t=e.data.params||{},this._adsAdapter&&this.isBreakStarted&&this._adsAdapter.fireBreakStop(),this._send(i.WillSendEvent.WILL_SEND_JOIN,i.Service.JOIN,t),r.notice(i.Service.JOIN+" "+t.joinDuration+"ms"))},_pauseListener:function(e){this._adapter&&(this._adapter.flags.isBuffering||this._adapter.flags.isSeeking||this._adsAdapter&&this._adsAdapter.flags.isStarted)&&this._adapter.chronos.pause.reset();var t=e.data.params||{};this._send(i.WillSendEvent.WILL_SEND_PAUSE,i.Service.PAUSE,t),r.notice(i.Service.PAUSE+" at "+t.playhead+"s")},_resumeListener:function(e){this._adsAdapter&&this.isBreakStarted&&!this._adsAdapter.flags.isStarted&&this._adsAdapter.fireBreakStop();var t=e.data.params||{};this._send(i.WillSendEvent.WILL_SEND_RESUME,i.Service.RESUME,t),r.notice(i.Service.RESUME+" "+t.pauseDuration+"ms"),this._adapter.chronos.pause.reset()},_seekBufferBeginListener:function(e){this._adapter&&this._adapter.flags.isPaused&&this._adapter.chronos.pause.reset(),e.type&&e.type.includes("buffer")?r.notice(e.type+", eventsTriggered: "+this._adapter.fireEventsStruct.buffer):r.notice(e.type+", eventsTriggered: "+this._adapter.fireEventsStruct.seek)},_seekEndListener:function(e){var t=e.data.params||{};this._send(i.WillSendEvent.WILL_SEND_SEEK,i.Service.SEEK,t),r.notice(i.Service.SEEK+" to "+t.playhead+" in "+t.seekDuration+"ms"+(t.triggeredEvents?", eventsTriggered: "+t.triggeredEvents:""))},_bufferEndListener:function(e){var t=e.data.params||{};this._send(i.WillSendEvent.WILL_SEND_BUFFER,i.Service.BUFFER,t),r.notice(i.Service.BUFFER+" to "+t.playhead+" in "+t.bufferDuration+"ms"+(t.triggeredEvents?", eventsTriggered: "+t.triggeredEvents:""))},_errorListener:function(e){this._blockError(e.data.params)||(this.fireError(e.data.params||{}),this._adSavedError(),this._adSavedManifest())},_blockError:function(e){var t=Date.now();
349return this._lastErrorParams&&this._lastErrorParams.errorCode===e.errorCode&&this._lastErrorParams.msg===e.msg&&this._lastErrorTime+5e3>t?(this._lastErrorTime=t,!0):(this._lastErrorTime=t,this._lastErrorParams=e,!1)},_stopListener:function(e){this.fireStop(e.data.params||{})},_isStopReady:function(e){var t=!1;if(!this.requestBuilder.lastSent.live&&this._adsAdapter&&this._adapter&&(!this._adapter.getPlayhead()||this._adapter.getPlayhead()>=this.requestBuilder.lastSent.mediaDuration-1)){var n=0,r=this.options["ad.expectedPattern"];if(r&&r.post&&r.post[0])n=r.post[0];else if(this.requestBuilder.lastSent.breaksTime){if(this.requestBuilder.lastSent.position===i.AdPosition.Postroll&&(n=this.requestBuilder.lastSent.givenAds),!n&&this.requestBuilder.lastSent.breaksTime){var a=this.requestBuilder.lastSent.breaksTime;a.length>0&&this.requestBuilder.lastSent.mediaDuration&&Math.round(a[a.length-1])+1>=this.requestBuilder.lastSent.mediaDuration&&(n=1)}}else t=!0;n<=this.playedPostrolls&&(t=!0)}else t=!0;return t},_videoEventListener:function(e){this._send(i.WillSendEvent.WILL_SEND_VIDEO_EVENT,i.Service.VIDEO_EVENT,e.data.params)},_isExtraMetadataReady:function(e){if(!this.options.waitForMetadata||this.options.pendingMetadata.length<1)return!0;var t=this.requestBuilder.getGetters();return 0>this.options.pendingMetadata.map((function(e){if(t.hasOwnProperty(e))return!!this[t[e]]()}).bind(this)).indexOf(!1)}}},7730:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useBreakpoint=void 0;let r=n(53239),i={l:1440,m:1300,s:992,xl:1700,xs:768,xxl:2e3,xxs:501,xxxs:320},a=e=>{for(let t in i)if(e>=i[t])return t;return"xxxs"},o=e=>e>=992&&e<=2e3?"desktop":e>=501&&e<=991?"tablet":"mobile";t.useBreakpoint=()=>{let[e,t]=(0,r.useState)(()=>{let e=window.innerWidth;return{breakpoint:a(e),currentScreen:o(e),isDesktop:e>=i.m,isMobile:e<=i.xxs,isMobileOrTablet:e<=i.s,isTablet:e>=i.xs&&e<=i.s,isTabletOrDesktop:e>=i.xs}});return(0,r.useEffect)(()=>{let e=()=>{let e=window.innerWidth;t({breakpoint:a(e),currentScreen:o(e),isDesktop:e>=i.m,isMobile:e<=i.xxs,isMobileOrTablet:e<=i.s,isTablet:e>=i.xs&&e<=i.s,isTabletOrDesktop:e>=i.xs})};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),e}},7930:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resumePositionSchema=void 0;let r=n(47561),i=n(92712);t.resumePositionSchema=i.z.object({position:i.z.number().nonnegative(),watchedPercentage:i.z.number().nonnegative()}).strict().nullable().transform(r.Maybe.of)},7939:(e,t)=>{"use strict";function n(e,t){e(...t)}Object.defineProperty(t,"__esModule",{value:!0}),t.createEventEmitter=void 0,t.createEventEmitter=(e={})=>{let{invoker:t}=e,r={},i=!1;function a(e){if(i)throw Error(`EventEmitter is already destroyed: ${e}`)}function o(){a("event listeners canât be removed anymore"),r={}}let s=t?t.fireAndForget:n;return{destroy(){o(),i=!0},emit(e,...t){a(`event "${String(e)}" canât be emitted anymore`);let n=r[e];if(n)for(let e of n.handlers.concat())s(e,t)},hasListeners(e){let t=r[e];return!!t&&t.handlers.length>0},off(e,t){a("event listener canât be unregistered anymore");let n=r[e];if(!n)return;let i=n.handlers.indexOf(t);-1!==i&&n.handlers.splice(i,1)},on(e,t){var n,i;a("event listener canât be registered anymore");let o=null!=(i=null==(n=r[e])?void 0:n.handlers)?i:[];o.push(t),r[e]={handlers:o}},removeAllListeners:o}}},8070:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JumpForwardIcon=void 0;let r=n(80263),i=n(83947);t.JumpForwardIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M13.813 4c3.48 0 6.731 1.905 8.485 4.972.013.023.013.049.024.073l1.111-.409c.32-.118.636.149.554.474l-.977 3.947a.445.445 0 0 1-.687.254L19.1 10.913c-.268-.197-.194-.608.127-.726l1.217-.449C19.01 7.431 16.503 6 13.813 6c-4.328 0-7.85 3.589-7.85 8s3.522 8 7.85 8c2.784 0 5.386-1.524 6.788-3.979a.974.974 0 0 1 1.343-.361c.468.278.627.891.354 1.367C20.544 22.095 17.293 24 13.813 24 8.403 24 4 19.514 4 14S8.402 4 13.813 4 M13.68 16.334h-3.23v-.56h1.328v-3.53l-1.25.413v-.582l1.54-.568h.384v4.267h1.229v.56zm2.436-4.934c.336 0 .635.063.898.188.263.126.484.3.664.522.18.222.317.488.412.795.094.308.142.646.142 1.016 0 .369-.048.707-.142
3491.015a2.347 2.347 0 0 1-.412.795c-.18.222-.401.396-.664.522a2.06 2.06 0 0 1-.898.188c-.336 0-.634-.063-.895-.188-.26-.126-.481-.3-.664-.522a2.312 2.312 0 0 1-.415-.795A3.44 3.44 0 0 1 14 13.92c0-.37.047-.708.142-1.016.095-.307.233-.573.415-.795.183-.222.404-.396.664-.522.26-.125.559-.188.895-.188zm0 4.43c.232 0 .438-.047.617-.142.18-.094.33-.227.451-.397s.212-.373.274-.607c.061-.235.092-.489.092-.763 0-.275-.03-.53-.092-.764a1.855 1.855 0 0 0-.274-.607 1.273 1.273 0 0 0-.45-.397 1.306 1.306 0 0 0-.618-.142c-.237 0-.444.047-.621.142a1.283 1.283 0 0 0-.448.397c-.12.17-.212.373-.273.607a2.998 2.998 0 0 0-.092.764c0 .274.03.528.092.763.061.234.153.436.273.607.121.17.27.303.448.397.177.095.384.142.62.142z"})}))},8142:(e,t,n)=>{"use strict";n.d(t,{C:()=>a,V:()=>i});var r=n(38817);function i(e){return a(e.source,(0,r.g)(e.source,e.start))}function a(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,a=e.locationOffset.line-1,s=t.line+a,l=1===t.line?n:0,u=t.column+l,c=`${e.name}:${s}:${u} 350`,d=r.split(/\r\n|[\n\r]/g),p=d[i];if(p.length>120){let e=Math.floor(u/80),t=[];for(let e=0;e<p.length;e+=80)t.push(p.slice(e,e+80));return c+o([[`${s} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(u%80)],["|",t[e+1]]])}return c+o([[`${s-1} |`,d[i-1]],[`${s} |`,p],["|","^".padStart(u)],[`${s+1} |`,d[i+1]]])}function o(e){let t=e.filter(([e,t])=>void 0!==t),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?" "+t:"")).join("\n")}},8250:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeFeatureSet=void 0;let r=n(70015).__importDefault(n(19577)),i=n(17485);function a([e,t]){return!0===t?e:r.default.string(t)?`${e}=${t}`:null}t.serializeFeatureSet=function(e){let t=Object.entries(e),n=(0,i.chainFrom)(t).map(a).filter(r.default.string).joinToString(",");return r.default.emptyString(n)?null:n}},8283:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlayIcon=void 0;let r=n(80263),i=n(83947);t.PlayIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M8.58 3.287l13.641 9.201c1.039.711 1.039 2.312 0 3.008l-13.64 9.217C7.457 25.477 6 24.624 6 23.218V4.782c0-1.406 1.457-2.26 2.58-1.495"})}))},8462:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUiStateMachine=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=r.__importDefault(n(77520)),o=r.__importDefault(n(22110)),s=n(47561),l=n(21639),u=n(47397),c=n(44539),d=n(64274),p=n(86982),f=n(3872),h=n(12134),m=n(19665);function g(e){return(0,u.isRecord)(e)&&(0,u.hasOwnPropertyOf)(e,"type","string")&&(e.type.startsWith("PLAYBACK.")||e.type.startsWith("CONTENT."))}function y(e){return(0,u.isRecord)(e)&&(0,u.hasOwnPropertyOf)(e,"audioTracks","object")&&"PLAYBACK.SET_AUDIO_TRACKS"===e.type}function v(e){return(0,u.isRecord)(e)&&(0,u.hasOwnPropertyOf)(e,"subtitles","object")&&"PLAYBACK.SET_SUBTITLES"===e.type}function b(e){return(0,u.isRecord)(e)&&((0,u.hasOwnPropertyOf)(e,"audioTrackId","string")||null===e.audioTrackId)&&"PLAYBACK.SELECT_AUDIO_TRACK"===e.type}function _(e){return(0,u.isRecord)(e)&&((0,u.hasOwnPropertyOf)(e,"subtitleId","string")||null===e.subtitleId)&&"PLAYBACK.SELECT_SUBTITLE"===e.type}function S(e){return(0,u.isRecord)(e)&&"PLAYBACK.SET_STALLING"===e.type}function E(e){let{subtitlesSelectionGroup:t,audioTracksSelectionGroup:n}=e;return t.hasEntries||n.hasEntries}function k(e){return e.isLivestream&&e.livePlaylistItems.length>1}t.createUiStateMachine=function(e,t){let{legalMarkingsMachine:n,liveChannelDataService:r}=e,{isFullscreen:A,isNextEpisodeOverlayAllowed:T,joynDistributionTenant:x,disableEPG:w,liveChannelGroupFilter:C,epgButtonId:I}=t;return(0,l.createMachine)({id:"uiStateService",type:"compound",initial:"alive",preserveActionOrder:!0,context:{adCanClickThrough:s.Maybe.nothing(),adHasViewContent:s.Maybe.nothing(),adNonLinearAd:s.Maybe.nothing(),adPositionWithinRoll:s.Maybe.nothing(),adRollLength:s.Maybe.nothing(),adRollMarkers:[],adRollName:s.Maybe.nothing(),audioTracks:{},audioTracksSelectionGroup:{hasEntries:!1},bufferedTimeRanges:s.Maybe.nothing(),controlsVisible:!0,disableEPG:w,epgButtonId:I,epgFavouritesPlaylist:[],error:s.Maybe.nothing(),isAd:!1,isAdSkipOffsetReached:!1,isAdSkippable:!1,isAirPlay:!1,isAirPlayAvailable:!1,isBufferingEnabled:s.Maybe.nothing(),isChannelSwitchPossible:!1,isFullscreen:A,isFullscreenModeSupported:!1,isInteractive:!1,isLiveOnDemandChannel:!1,isLivestream:!1,isMobile:(0,o.default)(),isMuted:!1,isNextEpisodeOverlayAllowed:T,isPausedByAdUserFeedback:!1,isPictureInPicture:!1,isPictureInPictureAvailable:!1,isReadyForPlayback:!1,isSeeking:!1,isSeekBackwardJumpPossible:!1,isSeekForwardJumpPossible:!1,isSeekToStartEnabled:!1,isStalling:!1,joynDistributionTenant:x,legalMarkingsService:s.Maybe.nothing(),liveChannelGroupFilter:C,liveChannels:r.getLiveChannels(C),livePlaylistItemsNonEpg:[],bookmarkedBrandIds:[],livePlaylistItems:[],mustShowErrorBackButton:!1,mustShowErrorFrequentlyAskedQuestionsButton:!1,mustShowErrorRetryButton:!1,playbackPosition:s.Maybe.nothing(),playbackRemainingTime:s.Maybe.nothing(),playlist:[],playlistEnded:s.Maybe.nothing(),playlistChildIndex:s.Maybe.nothing(),playlistIndex:s.Maybe.nothing(),poster:{mustShow:!1},preventUpNextVisibility:!1,requiredAction:s.Maybe.nothing(),seekableRange:[],selectedAudioTrackId:s.Maybe.nothing(),selectedSubtitleId:s.Maybe.nothing(),startOfCurrentHourTimestamp:r.getStartOfCurrentHourTimestamp(),startOfCurrentMinuteTimestamp:r.getStartOfCurrentMinuteTimestamp(),subtitleCues:[],subtitles:{},subtitlesSelectionGroup:{hasEntries:!1},videoDuration:s.Maybe.nothing(),volume:0,whyThisAdIcon:s.Maybe.nothing()},on:{"ELECTRONIC_PROGRAM_GUIDE.FILTER.SET":{actions:"setLiveChannelGroupFilter"}},states:{killed:{id:"killed",type:"compound",initial:"electronicProgramGuideHidden",states:{electronicProgramGuideHidden:{on:{"ELECTRONIC_PROGRAM_GUIDE.SHOW":"electronicProgramGuideVisible"}},electronicProgramGuideVisible:{type:"compound",initial:"filterHidden",on:{"ELECTRONIC_PROGRAM_GUIDE.HIDE":"electronicProgramGuideHidden","ELECTRONIC_PROGRAM_GUIDE.FILTER.UNSET":{actions:"unsetLiveChannelGroupFilter"}},states:{filterHidden:{on:{"ELECTRONIC_PROGRAM_GUIDE.FILTER.SHOW":"filterVisible"}},filterVisible:{on:{"ELECTRONIC_PROGRAM_GUIDE.FILTER.HIDE":"filterHidden"}}}}}},alive:{type:"parallel",entry:"spawnLegalMarkingsService",exit:"stopLegalMarkingsService",on:{"CONTENT.ACTION_REQUIRED":{actions:"setRequiredAction"},"CONTENT.RESOLVED":{actions:["setContentResolved","updatePlaybackPosition","updatePlaybackRemainingTime","checkSeekJump","checkChannelSwitch"]},"CONTENT.UPDATE_LIVE_CHANNEL_DATA":{actions:"updateLiveChannelData"},ERROR:{actions:"onError",target:"#killed"},"LIFECYCLE.CREATE":{actions:["setLifecycleCreate","checkSeekJump"]},"PLAYBACK.AD_LOADED":{actions:"setAdLoaded"},"PLAYBACK.AD_ROLL_MARKERS_UPDATE":{actions:"setAdRollMarkers"},"PLAYBACK.AD_STARTED":{actions:["setAdStarted","setAdHasViewContent"]},"PLAYBACK.AD_FINISHED":{actions:["setAdHasViewContent"]},"PLAYBACK.AD_NON_LINEAR_AD_STARTED":{actions:"setNonLinearAdStarted",cond:"hasNonLinearAdChanged"},"PLAYBACK.AD_NON_LINEAR_AD_FINISHED":{actions:"setNonLinearAdFinished",cond:"hasNonLinearAdChanged"},"PLAYBACK.AD_ROLL_FINISHED":{actions:["showProductPlacementLegalMarkingService"]},"PLAYBACK.AIR_PLAY_AVAILABILITY_CHANGED":{actions:"setIsAirPlayAvailable"},"PLAYBACK.AIR_PLAY_ENTERED":{actions:"setAirPlayEnabled"},"PLAYBACK.AIR_PLAY_EXITED":{actions:"setAirPlayDisabled"},"PLAYBACK.BUFFERED_TIME_RANGES_UPDATE":{actions:"setBufferedTimeRanges"},"PLAYBACK.IS_AD":{actions:["setIsAd","runLegalMarkingsService"],cond:"isAdChanged"},"PLAYBACK.MUTE":{actions:["setMuted"]},"PLAYBACK.PICTURE_IN_PICTURE_AVAILABILITY_CHANGED":{actions:"setIsPictureInPictureAvailable"},"PLAYBACK.PICTURE_IN_PICTURE_ENTERED":{actions:"setPictureInPictureEnabled"},"PLAYBACK.PICTURE_IN_PICTURE_EXITED":{actions:"setPictureInPictureDisabled"},"PLAYBACK.PLAY":{actions:["setPlay","updatePlaybackPosition","updatePlaybackRemainingTime","checkSeekJump"]},"PLAYBACK.POSITION_CHANGE":{actions:["updatePlaybackPosition","setSeekableRange","updatePlaybackRemainingTime","checkSeekJump","updateIsAdSkipOffsetReached"],cond:"hasPositionChanged"},"PLAYBACK.SELECT_AUDIO_TRACK":{actions:["setSelectedAudioTrackId","sendTracksChangedEvent"],cond:"hasSelectedAudioTrackIdBeenChanged"},"PLAYBACK.SELECT_SUBTITLE":{actions:["setSelectedSubtitleId"],cond:"hasSelectedSubtitleIdBeenChanged"},"PLAYBACK.SUBTITLE_CUES_CHANGED":{actions:["setSubtitleCues"]},"PLAYBACK.SET_AUDIO_TRACKS":{actions:["setAudioTracks","sendTracksChangedEvent"],cond:"areAudioTracksChanged"},"PLAYBACK.SET_DURATION":{actions:["setVideoDuration","updatePlaybackPosition","updatePlaybackRemainingTime","checkSeekJump"],cond:"hasDurationChanged"},"PLAYBACK.SET_PAUSED":{actions:["updatePlaybackPosition","updatePlaybackRemainingTime","checkSeekJump"]},"PLAYBACK.SET_PLAYLIST":{actions:"setPlaylist",cond:"hasPlaylistChanged"},"PLAYBACK.SET_PLAYLIST_ENDED":{actions:"setPlaylistEnded",cond:"hasPlaylistEndedChanged"},"PLAYBACK.SET_PLAYLIST_POINTER":{actions:["setPlaylistIndex","setPlaylistChildIndex","setIsInteractive","setIsLiveOnDemandChannel","setIsLivestream","setAgeRatingDescriptor","setAgeRating","setBrandLogo","
350setProductPlacement","setCornerBug"],cond:"hasPlaylistIndexChanged"},"PLAYBACK.SET_SEEKABLE_RANGE":{actions:["setSeekableRange","checkSeekJump"],cond:"hasSeekableRangeChanged"},"PLAYBACK.UNMUTE":{actions:["setUnmuted"]},"PLAYBACK.FULLSCREEN_CHANGED":{actions:["setIsFullscreen"],cond:"isFullscreenChanged"},"PLAYBACK.SET_STALLING":{actions:"setStalling",cond:"hasStallingChanged"},"PLAYBACK.SET_SUBTITLES":{actions:["setSubtitles","sendTracksChangedEvent"],cond:"haveSubtitlesBeenChanged"},"PLAYBACK.SOURCES_LOADED":{actions:["setSourcesLoaded","updatePlaybackPosition","setSeekableRange","updatePlaybackRemainingTime","checkSeekJump"]},"PLAYBACK.VOLUME_CHANGED":{actions:["setIsMuted","setVolume"]},RESET_AD_STATE:{actions:["resetAdState"]},SET_BUFFERING_ENABLED:{actions:"updateSetBufferingEnabled"},"UI.CHECK_SEEK_JUMP":{actions:"checkSeekJump"}},states:{electronicProgramGuide:{type:"compound",initial:"idle",states:{idle:{on:{"ELECTRONIC_PROGRAM_GUIDE.LOAD":{actions:"enableLiveChannelDataFetching",cond:"hasLivestreamInPlaylist"}}}}},overlays:{type:"compound",initial:"upNextHidden",states:{upNextVisible:{on:{"UP_NEXT.HIDE":{target:"upNextHidden.controlsHidden",actions:"hideUpNext"}}},upNextHidden:{type:"compound",initial:"controlsVisible",id:"controls",states:{controlsVisible:{type:"parallel",entry:{type:"setControlsVisible",controlsVisible:!0},exit:{type:"setControlsVisible",controlsVisible:!1},states:{interaction:{type:"compound",initial:"none",on:{"USER.HIDE_NON_REQUIRED_ELEMENTS":{target:"#controlsHidden",cond:"canHideControls"},"ELECTRONIC_PROGRAM_GUIDE.SHOW":"#electronicProgramGuideVisible"},states:{none:{exit:"cancelHideControlsAfterDelay",on:{"USER.START_INTERACTION_ATTEMPT":"userInteracting"}},userInteracting:{on:{"USER.STOP_INTERACTION_ATTEMPT":{target:"userInteracted",cond:"isTracksSelectionMenuNotVisible"}}},userInteracted:{entry:"hideControlsAfterDelay",exit:"cancelHideControlsAfterDelay",on:{"USER.START_INTERACTION_ATTEMPT":"userInteracting"}}}},elements:{type:"compound",initial:"tracksSelectionButtonHidden",states:{tracksSelectionButtonVisible:{type:"compound",initial:"tracksSelectionMenuHidden",on:{"PLAYBACK.TRACKS_CHANGED":{target:"tracksSelectionButtonHidden",cond:"areMultipleTracksMissing"}},states:{tracksSelectionMenuHidden:{on:{"TRACKS_SELECTION_MENU.SHOW":"tracksSelectionMenuVisible"}},tracksSelectionMenuVisible:{on:{"TRACKS_SELECTION_MENU.HIDE":"tracksSelectionMenuHidden"}}}},tracksSelectionButtonHidden:{on:{"PLAYBACK.TRACKS_CHANGED":{target:"tracksSelectionButtonVisible",cond:"areMultipleTracksAvailable"}},always:{target:"tracksSelectionButtonVisible",cond:"areMultipleTracksAvailable"}}}},advertisementControls:{type:"compound",initial:"feedbackButtonHidden",states:{feedbackButtonVisible:{type:"compound",initial:"feedbackMenuHidden",always:{target:"feedbackButtonHidden",cond:"isNotAnAd"},states:{feedbackMenuHidden:{on:{"ADVERTISEMENT_FEEDBACK_MENU.SHOW":{target:"feedbackMenuVisible",actions:"setPausedByAdUserFeedback"}}},feedbackMenuVisible:{on:{"ADVERTISEMENT_FEEDBACK_MENU.SENT":"feedbackMenuSent","ADVERTISEMENT_FEEDBACK_MENU.HIDE":{target:"feedbackMenuHidden",actions:"clearPausedByAdUserFeedback"}}},feedbackMenuSent:{on:{"ADVERTISEMENT_FEEDBACK_MENU.HIDE":{target:"feedbackMenuHidden",actions:"clearPausedByAdUserFeedback"}}}}},feedbackButtonHidden:{always:{target:"feedbackButtonVisible",cond:"isAd"}}}}}}
350,controlsHidden:{id:"controlsHidden",entry:"runLegalMarkingsService",exit:"idleLegalMarkingsService",on:{"PLAYBACK.SET_PAUSED":"controlsVisible","USER.START_INTERACTION_ATTEMPT":"controlsVisible.interaction.userInteracting","LEGAL_MARKINGS.SHOW":"legalMarkingsVisible"}},legalMarkingsVisible:{on:{"USER.START_INTERACTION_ATTEMPT":"controlsVisible.interaction.userInteracting","LEGAL_MARKINGS.HIDE":"controlsHidden"}},history:{type:"history"}},on:{"PLAYBACK.POSITION_CHANGE":{cond:"reachedUpNextThreshold",target:"upNextVisible"}}},electronicProgramGuideVisible:{id:"electronicProgramGuideVisible",type:"compound",initial:"filterHidden",on:{"ELECTRONIC_PROGRAM_GUIDE.HIDE":"upNextHidden.history","ELECTRONIC_PROGRAM_GUIDE.FILTER.UNSET":{actions:"unsetLiveChannelGroupFilter"}},states:{filterHidden:{on:{"ELECTRONIC_PROGRAM_GUIDE.FILTER.SHOW":"filterVisible"}},filterVisible:{on:{"ELECTRONIC_PROGRAM_GUIDE.FILTER.HIDE":"filterHidden"}}}}}},lifecycle:{type:"compound",initial:"notStarted",states:{notStarted:{on:{"PLAYBACK.AD_STARTED":{target:"started",actions:["setAdStarted","setAdHasViewContent"]},"LIFECYCLE.SET_IS_STARTED":"started"}},started:{entry:"hidePosterImage"}}},playback:{type:"compound",initial:"paused",states:{paused:{on:{"PLAYBACK.SET_PLAYING":"playing","PLAYBACK.AD_STARTED":{target:"playing",actions:["setAdStarted","setAdHasViewContent"]}}},playing:{entry:["cancelHideControlsAfterDelay","hideControlsAfterDelayWhenNotInteracting"],exit:"cancelHideControlsAfterDelay",on:{"PLAYBACK.SET_PAUSED":"paused"}}}},seek:{type:"compound",initial:"notSeeking",on:{"SEEK.SEEK_END":{actions:"seekingOff"}},states:{notSeeking:{entry:"seekingOff",on:{"SEEK.SET_SEEKING":"seeking"}},seeking:{entry:"seekingOn",exit:"resetPreventUpNextVisibility",on:{"SEEK.SET_NOT_SEEKING":"notSeeking"}}}}}}}},{actions:{onError:(0,l.assign)((e,t)=>{let{error:n}=t;return(0,d.createUiStateServiceErrorContext)(n)}),setBufferedTimeRanges:(0,l.assign)({bufferedTimeRanges(e,t){let{bufferedTimeRanges:n}=t;return s.Maybe.of(n)}}),setLifecycleCreate:(0,l.assign)((e,t)=>{let{isFullscreenModeSupported:n,isAirPlayAvailable:r,isPictureInPictureAvailable:i}=t;return{adRollName:s.Maybe.nothing(),isFullscreenModeSupported:n,videoDuration:s.Maybe.nothing(),error:s.Maybe.nothing(),isAd:!1,isAirPlayAvailable:r,isLivestream:!1,isPictureInPictureAvailable:i,isReadyForPlayback:!1,isStalling:!0,playlistEnded:s.Maybe.just(!1),playbackPosition:s.Maybe.nothing(),playbackRemainingTime:s.Maybe.nothing(),requiredAction:s.Maybe.nothing(),seekableRange:[],selectedSubtitleId:s.Maybe.nothing()}}),setAdLoaded:(0,l.assign)((e,t)=>{let{adRollName:n,adIsSkippable:r,whyThisAdIcon:i}=t,a=i?Object.assign(Object.assign({},i),{height:`${i.height}px`,width:`${i.width}px`}):void 0;return{adRollName:s.Maybe.of(n),isAd:!0,isAdSkippable:r,videoDuration:s.Maybe.nothing(),playbackPosition:s.Maybe.just(0),playbackRemainingTime:s.Maybe.nothing(),whyThisAdIcon:s.Maybe.of(a)}}),setAdHasViewContent:(0,l.assign)({adHasViewContent:(e,t)=>{let{adHasViewContent:n}=t;return s.Maybe.of(n)}}),setAdStarted:(0,l.assign)((e,t)=>{let{adCanClickThrough:n,adPositionWithinRoll:r,adRollLength:i}=t;return{adCanClickThrough:s.Maybe.of(n),adPositionWithinRoll:s.Maybe.of(r),adRollLength:s.Maybe.of(i)}}),setNonLinearAdFinished:(0,l.assign)(e=>({adNonLinearAd:s.Maybe.nothing()})),setNonLinearAdStarted:(0,l.assign)((e,t)=>{let{adNonLinearAd:n}=t;return{adNonLinearAd:n}}),resetAdState:(0,l.assign)(e=>({adCanClickThrough:s.Maybe.just(!1),adHasViewContent:s.Maybe.just(!1),adPositionWithinRoll:s.Maybe.nothing(),adRollLength:s.Maybe.nothing(),whyThisAdIcon:s.Maybe.nothing()})),setContentResolved:(0,l.assign)((e,t)=>{let{playlist:n,playlistIndex:r}=t;return{playlistIndex:r,playlist:n,isStalling:!1,requiredAction:s.Maybe.nothing()}}),setRequiredAction:(0,l.assign)({requiredAction:(e,t)=>{let{requiredAction:n}=t;return s.Maybe.of(n)}}),setSubtitleCues:(0,l.assign)({subtitleCues(e,t){let{subtitleCues:n}=t;return n}}),setSourcesLoaded:(0,l.assign)({isReadyForPlayback:(e,t)=>!0}),setIsFullscreen:(0,l.assign)({isFullscreen:(e,t)=>t.isFullscreen}),setIsMuted:(0,l.assign)({isMuted:(e,t)=>t.isMuted}
350),setVolume:(0,l.assign)({volume:(e,t)=>t.volume}),updatePlaybackPosition:(0,l.assign)({playbackPosition:(e,t)=>g(t)&&i.default.number(t.position)?s.Maybe.just(t.position):e.playbackPosition}),updateIsAdSkipOffsetReached:(0,l.assign)({isAdSkipOffsetReached:(e,t)=>g(t)&&i.default.boolean(t.isAdSkipOffsetReached)?t.isAdSkipOffsetReached:e.isAdSkipOffsetReached}),setVideoDuration:(0,l.assign)({videoDuration:(e,t)=>g(t)&&(i.default.number(t.duration)||i.default.null_(t.duration))?s.Maybe.of(t.duration):e.videoDuration}),updatePlaybackRemainingTime:(0,l.assign)({playbackRemainingTime(e){let{videoDuration:t,playbackPosition:n}=e;return s.Maybe.tuple([t,n]).map(([e,t])=>e-t)}}),seekingOn:(0,l.assign)({isSeeking:e=>!0}),seekingOff:(0,l.assign)({isSeeking:e=>!1}),setAdRollMarkers:(0,l.assign)({adRollMarkers:(e,t)=>t.adRollMarkers}),setStalling:(0,l.assign)({isStalling:(e,t)=>S(t)?t.isStalling:e.isStalling}),setControlsVisible:(0,l.assign)({controlsVisible:(e,t,n)=>n.action.controlsVisible}),setIsAd:(0,l.assign)({isAd:(e,t)=>t.isAd}),setIsInteractive:(0,l.assign)({isInteractive:(e,t)=>{let{playlistPointer:n}=t;return n.index.mapOr(!1,t=>{let n=e.playlist[t];return i.default.object(n)&&"interactive"===n.contentType})}}),setIsLiveOnDemandChannel:(0,l.assign)({isLiveOnDemandChannel:(e,t)=>{let{playlistPointer:n}=t;return n.index.mapOr(!1,t=>{let n=e.playlist[t];return i.default.object(n)&&"live-on-demand"===n.contentType})}}),setIsLivestream:(0,l.assign)({isLivestream:(e,t)=>{let{playlistPointer:n}=t;return n.index.mapOr(!1,t=>{let n=e.playlist[t];return i.default.object(n)&&("live"===n.contentType||"live-on-demand"===n.contentType)})}}),setPlay:(0,l.assign)({isStalling:(e,t)=>!1}),setPlaylist:(0,l.assign)((t,n)=>{let{playlist:r}=n,{bookmarkedBrandIds:i}=t,{livePlaylistItems:a,livePlaylistItemsNonEpgFavourite:o,livePlaylistItemsEpgFavourite:s}=(0,p.extractLivePlaylistItems)({currentTime:t.startOfCurrentMinuteTimestamp,groupFilter:t.liveChannelGroupFilter,liveChannels:t.liveChannels,playlist:r,startTime:t.startOfCurrentHourTimestamp,bookmarkedBrandIds:i},e.toggleRouter);return{bookmarkedBrandIds:t.bookmarkedBrandIds,epgFavouritesPlaylist:s,livePlaylistItems:a,livePlaylistItemsNonEpg:o,playlist:r}}),setPlaylistChildIndex:(0,l.assign)({playlistChildIndex(e,t){let{playlistPointer:n}=t;return n.childIndex}}),setPlaylistIndex:(0,l.assign)({playlistIndex(e,t){let{playlistPointer:n}=t;return n.index},poster(e,t){let{playlistPointer:n}=t;return n.index.andThen(t=>{let n=e.playlist[t];return void 0===n?s.Maybe.nothing():(0,c.isContentResourceWithPoster)(n)?s.Maybe.of(n.poster):s.Maybe.nothing()}).mapOr({mustShow:!1},e=>({imageSource:{defaultUrl:e.toString()},mustShow:!0}))}}),setPlaylistEnded:(0,l.assign)({playlistEnded:(e,t)=>{let{playlistEnded:n}=t;return s.Maybe.of(n)}}),setMuted:(0,l.assign)({isMuted:e=>!0}),setUnmuted:(0,l.assign)({isMuted:e=>!1}),setSeekableRange:(0,l.assign)({seekableRange:(e,t)=>g(t)&&i.default.array(t.seekableRange)?t.seekableRange:e.seekableRange}),setIsAirPlayAvailable:(0,l.assign)({isAirPlayAvailable:(e,t)=>t.isAirPlayAvailable}),setAirPlayEnabled:(0,l.assign)({isAirPlay:e=>!0}),setAirPlayDisabled:(0,l.assign)({isAirPlay:e=>!1}),setIsPictureInPictureAvailable:(0,l.assign)({isPictureInPictureAvailable:(e,t)=>t.isPictureInPictureAvailable}),setPictureInPictureEnabled:(0,l.assign)({isPictureInPicture:e=>!0}),setPictureInPictureDisabled:(0,l.assign)({isPictureInPicture:e=>!1}),setAudioTracks:(0,l.assign)({audioTracks:(e,t)=>y(t)?t.audioTracks:e.audioTracks,audioTracksSelectionGroup:(e,t)=>y(t)?(0,h.mapAudioTrackSourceMapToUiSelectionGroup)(t.audioTracks,e.selectedAudioTrackId):e.audioTracksSelectionGroup}),setSubtitles:(0,l.assign)({subtitles:(e,t)=>v(t)?t.subtitles:e.subtitles,subtitlesSelectionGroup:(e,t)=>v(t)?(0,h.mapSubtitleSourceMapToUiSelectionGroup)(t.subtitles,e.selectedSubtitleId):e.subtitlesSelectionGroup}),setSelectedAudioTrackId:(0,l.assign)({selectedAudioTrackId:(e,t)=>b(t)?s.Maybe.of(t.audioTrackId):e.selectedAudioTrackId,audioTracksSelectionGroup:(e,t)=>b(t)?(0,h.mapAudioTrackSourceMapToUiSelectionGroup)(e.audioTracks,s.Maybe.of(t.audioTrackId)):e.audioTracksSelectionGroup}),setSelectedSubtitleId:(0,l.assign)({selectedSubtitleId:(e,t)=>_(t)?s.Maybe.of(t.subtitleId):e.selectedSubtitleId,subtitlesSelectionGroup:(e,t)=>_(t)?(0,h.mapSubtitleSourceMapToUiSelectionGroup)(e.subtitles,s.Maybe.of(t.subtitleId)):e.subt
350itlesSelectionGroup}),setAgeRating:l.actions.send((e,t)=>{let{playlistPointer:n}=t,r=e.playlist[n.index.unwrapOr(0)];if(!i.default.undefined(r)&&(0,c.isLegacyLivestreamOnDemandChannelContentResource)(r)){let e=r.onDemandContentResources[n.childIndex.unwrapOr(0)];return{ageRating:null==e?void 0:e.ageRating,type:"AGE_RATING.SET"}}return i.default.undefined(r)||!(0,c.isContentResourceWithAgeRating)(r)?{ageRating:void 0,type:"AGE_RATING.SET"}:{ageRating:r.ageRating,type:"AGE_RATING.SET"}},{to:e=>e.legalMarkingsService.unwrapOr("unknown")}),setAgeRatingDescriptor:l.actions.send((e,t)=>{var n;let{playlistPointer:r}=t,a=e.playlist[r.index.unwrapOr(0)];if(!i.default.undefined(a)&&(0,c.isLegacyLivestreamOnDemandChannelContentResource)(a)){let e=a.onDemandContentResources[r.childIndex.unwrapOr(0)];return{ageRatingDescriptor:null==(n=null==e?void 0:e.ageRatingDescriptors)?void 0:n.flatMap(e=>e).join(", "),type:"AGE_RATING_DESCRIPTOR.SET"}}return i.default.undefined(a)||!(0,c.isContentResourceWithAgeDescriptor)(a)?{ageRatingDescriptor:void 0,type:"AGE_RATING_DESCRIPTOR.SET"}:{ageRatingDescriptor:a.ageRatingDescriptors.flat().join(", "),type:"AGE_RATING_DESCRIPTOR.SET"}},{to:e=>e.legalMarkingsService.unwrapOr("unknown")}),setBrandLogo:l.actions.send((e,t)=>{let{playlistPointer:n}=t,r=e.playlist[n.index.unwrapOr(0)];if(!i.default.undefined(r)&&(0,c.isLegacyLivestreamOnDemandChannelContentResource)(r)){let e=r.onDemandContentResources[n.childIndex.unwrapOr(0)];if(!i.default.undefined(e)&&(0,c.isContentResourceWithBrandLogo)(e))return{brandLogo:e.brandLogo,hasBrandLogo:!0,type:"BRAND_LOGO.SET"}}return!i.default.undefined(r)&&(0,c.isContentResourceWithBrandLogo)(r)?{brandLogo:r.brandLogo,hasBrandLogo:!0,type:"BRAND_LOGO.SET"}:{hasBrandLogo:!1,type:"BRAND_LOGO.SET"}},{to:e=>e.legalMarkingsService.unwrapOr("unknown")}),setProductPlacement:l.actions.send((e,t)=>{let{playlistPointer:n}=t,r=n.index.isJust()?e.playlist[n.index.value]:void 0;if(!i.default.undefined(r)&&(0,c.isLegacyLivestreamOnDemandChannelContentResource)(r)){let e=r.onDemandContentResources[n.childIndex.unwrapOr(0)];if(!i.default.undefined(e)&&(0,c.isContentResourceWithProductPlacement)(e))return{hasProductPlacement:e.hasProductPlacement,type:"PRODUCT_PLACEMENT.SET"}}return!i.default.undefined(r)&&(0,c.isContentResourceWithProductPlacement)(r)?{hasProductPlacement:r.hasProductPlacement,type:"PRODUCT_PLACEMENT.SET"}:{hasProductPlacement:!1,type:"PRODUCT_PLACEMENT.SET"}},{to:e=>e.legalMarkingsService.unwrapOr("unknown")}),setCornerBug:l.actions.send((e,t)=>{let{playlistPointer:n}=t,r=n.index.isJust()?e.playlist[n.index.value]:void 0;return!i.default.undefined(r)&&(0,c.isContentResourceWithCornerBug)(r)?{hasCornerBug:r.hasCornerBug,type:"CORNER_BUG.SET"}:{hasCornerBug:!1,type:"CORNER_BUG.SET"}},{to:e=>e.legalMarkingsService.unwrapOr("unknown")}),hideUpNext:(0,l.assign)({preventUpNextVisibility:!0}),resetPreventUpNextVisibility:(0,l.assign)({preventUpNextVisibility:!1}),hideControlsAfterDelay:l.actions.send("USER.HIDE_NON_REQUIRED_ELEMENTS",{delay:3e3,id:"hideControlsTimer"}),hideControlsAfterDelayWhenNotInteracting:l.actions.choose([{actions:"hideControlsAfterDelay",cond:"isUserNotInteracting"}]),cancelHideControlsAfterDelay:l.actions.cancel("hideControlsTimer"),stopLegalMarkingsService:(0,l.assign)({legalMarkingsService:e=>{var t,n;let{legalMarkingsService:r}=e;return r.isJust()&&(null==(n=(t=r.value).stop)||n.call(t)),s.Maybe.nothing()}}),spawnLegalMarkingsService:(0,l.assign)({legalMarkingsService:e=>s.Maybe.just((0,l.spawn)(n,{sync:!0}))}),runLegalMarkingsService:l.actions.pure(e=>{if(!e.isAd&&!e.controlsVisible)return l.actions.send("RUN",{to:()=>e.legalMarkingsService.unwrapOr("unknown")})}),showProductPlacementLegalMarkingService:l.actions.pure(e=>{if(!e.isLivestream)return l.actions.send("PRODUCT_PLACEMENT.SHOW",{to:()=>e.legalMarkingsService.unwrapOr("unknown")})}),idleLegalMarkingsService:l.actions.send("IDLE",{to:e=>e.legalMarkingsService.unwrapOr("unknown")}),checkSeekJump:(0,l.assign)(e=>{let t={isAd:e.isAd,isLivestream:e.isLivestream,isLiveOnDemandChannel:e.isLiveOnDemandChannel,isReadyForPlayback:e.isReadyForPlayback,playlistEnded:e.playlistEnded.unwrapOr(!1),position:e.playbackPosition,seekableRange:e.seekableRange},n=(0,f.isSeekBackwardJumpPossible)(t);return{isSeekBackwardJumpPossible:n,isSeekForwardJumpPossible:(0,f.isSeekForwardJumpPossible)(t),isSeekToStartEnabled:n}}),checkChannelSwitch:(0,l.assign)(e=>({isChannelSwitchPossible:k(e)})),sendTracksChangedEvent:l.actions.send("PLAYBACK.TRACKS_CHANGED"),updateSetBufferingEnabled:(0,l.assign)({isBufferingEnabled:(e,t)=>(0,u.isRecord)(t)&&"SET_BUFFERING_ENABLED"===t.type?s.Maybe.just(t.isBufferingEnabled):e.isBufferingEnabled}),updateLiveChannelData:(0,l.assign)((t,n)=>{let{liveChannels:r,bookmarkedBrandIds:i,startOfCurrentHourTimestamp:a,startOfCurrentMinuteTimestamp:o}=n,{livePlaylistItems:s,livePlaylistItemsEpgFavourite:l,livePlaylistItemsNonEpgFavourite:u}=(0,p.extractLivePlaylistItems)({currentTime:o,groupFilter:t.liveChannelGroupFilter,liveChannels:r,playlist:t.playlist,startTime:a,bookmarkedBrandIds:i},e.toggleRouter);return{bookmarkedBrandIds:i,epgFavouritesPlaylist:l,liveChannels:r,livePlaylistItems:s,livePlaylistItemsNonEpg:u,startOfCurrentHourTimestamp:a,startOfCurrentMinuteTimestamp:o}}),enableLiveChannelDataFetching(){r.enableFetchingMode()}
350,setLiveChannelGroupFilter:(0,l.assign)((t,n)=>{let{liveChannelGroupFilter:i}=n,{bookmarkedBrandIds:a}=t,o=s.Maybe.just(i),{livePlaylistItems:l,livePlaylistItemsNonEpgFavourite:u,livePlaylistItemsEpgFavourite:c}=(0,p.extractLivePlaylistItems)({currentTime:t.startOfCurrentMinuteTimestamp,groupFilter:o,liveChannels:r.getLiveChannels(o),playlist:t.playlist,startTime:t.startOfCurrentHourTimestamp,bookmarkedBrandIds:a},e.toggleRouter);return{epgFavouritesPlaylist:c,livePlaylistItems:l,livePlaylistItemsNonEpg:u,liveChannelGroupFilter:o,isChannelSwitchPossible:k(Object.assign(Object.assign({},t),{livePlaylistItems:l}))}}),unsetLiveChannelGroupFilter:(0,l.assign)(t=>{let{bookmarkedBrandIds:n}=t,i=s.Maybe.just("DEFAULT"),{livePlaylistItems:a,livePlaylistItemsNonEpgFavourite:o,livePlaylistItemsEpgFavourite:l}=(0,p.extractLivePlaylistItems)({currentTime:t.startOfCurrentMinuteTimestamp,groupFilter:i,liveChannels:r.getLiveChannels(i),playlist:t.playlist,startTime:t.startOfCurrentHourTimestamp,bookmarkedBrandIds:n},e.toggleRouter);return{epgFavouritesPlaylist:l,livePlaylistItems:a,livePlaylistItemsNonEpg:o,liveChannelGroupFilter:i,isChannelSwitchPossible:k(Object.assign(Object.assign({},t),{livePlaylistItems:a}))}}),hidePosterImage:(0,l.assign)({poster:e=>({mustShow:!1})}),setPausedByAdUserFeedback:(0,l.assign)((e,t,n)=>{var r;return{isPausedByAdUserFeedback:null==(r=n.state)?void 0:r.matches("alive.playback.playing")}}),clearPausedByAdUserFeedback:(0,l.assign)(e=>({isPausedByAdUserFeedback:!1}))},guards:{hasPositionChanged(e,t){let{position:n}=t;return e.playbackPosition.mapOr(!0,e=>e!==n)},hasDurationChanged(e,t){let{duration:n,position:r}=t,i=e.videoDuration.mapOr(!0,e=>e!==n),a=e.playbackPosition.mapOr(!0,e=>e!==r);return i||a},hasNonLinearAdChanged(e,t){let{adNonLinearAd:n}=t;return!(0,a.default)(e.adNonLinearAd.unwrapOr(void 0),null==n?void 0:n.unwrapOr(void 0))},hasStallingChanged:(e,t)=>S(t)&&t.isStalling!==e.isStalling,isAdChanged:(e,t)=>e.isAd!==t.isAd,hasLivestreamInPlaylist:e=>e.playlist.some(e=>"live"===e.contentType||"live-on-demand"===e.contentType),isFullscreenChanged:(e,t)=>e.isFullscreen!==t.isFullscreen,hasPlaylistChanged:(e,t)=>!(0,a.default)(e.playlist,t.playlist),hasPlaylistIndexChanged(e,t){let{playlistPointer:n}=t;return e.playlistIndex.mapOr(!0,e=>e!==n.index.unwrapOr(null))},reachedUpNextThreshold(e,t){let{position:n}=t;return(0,m.reachedUpNextThreshold)(e,n)},isTracksSelectionMenuNotVisible:(e,t,n)=>!n.state.matches("alive.overlays.upNextHidden.controlsVisible.elements.tracksSelectionButtonVisible.tracksSelectionMenuVisible"),canHideControls:(e,t,n)=>n.state.matches("alive.playback.playing"),hasPlaylistEndedChanged(e,t){let{playlistEnded:n}=t;return e.playlistEnded.mapOr(!0,e=>e!==n)},hasSeekableRangeChanged:(e,t)=>!(0,a.default)(e.seekableRange,t.seekableRange),areAudioTracksChanged:(e,t)=>!!y(t)&&!(0,a.default)(e.audioTracks,t.audioTracks),haveSubtitlesBeenChanged:(e,t)=>!!v(t)&&!(0,a.default)(e.subtitles,t.subtitles),hasSelectedAudioTrackIdBeenChanged:(e,t)=>!!b(t)&&(e.selectedAudioTrackId.isNothing()?null!==t.audioTrackId:t.audioTrackId!==e.selectedAudioTrackId.value),hasSelectedSubtitleIdBeenChanged:(e,t)=>!!_(t)&&(e.selectedSubtitleId.isNothing()?null!==t.subtitleId:t.subtitleId!==e.selectedSubtitleId.value),isAd:e=>e.isAd,isNotAnAd:e=>!e.isAd,isLivestream:e=>e.isLivestream,areMultipleTracksAvailable:E,areMultipleTracksMissing:e=>!E(e),isUserNotInteracting:(e,t,n)=>!n.state.matches("alive.overlays.upNextHidden.controlsVisible.interaction.userInteracting")}})}},8471:e=>{e.exports=function(){Function.prototype.bind=Function.prototype.bind||function(e){var t=Array.prototype.slice,n=this,r=t.call(arguments,1);function i(){var i=n.prototype&&this instanceof n;return n.apply(!i&&e||this,r.concat(t.call(arguments)))}return i.prototype=n.prototype,i},Array.prototype.forEach=Array.prototype.forEach||function(e,t){if("function"!=typeof e)throw TypeError(e+" is not a function!");for(var n=this.length,r=0;r<n;r++)e.call(t,this[r],r,this)},Math.trunc=Math.trunc||function(e){return isNaN(e)?NaN:e>0?Math.floor(e):Math.ceil(e)}}},8711:(e,t,n)=>{"use strict";
350Object.defineProperty(t,"__esModule",{value:!0}),t.formatUnrecognizedKeysIssue=void 0;let r=n(25851);t.formatUnrecognizedKeysIssue=function(e,t){return{message:`Unexpected additional properties provided${t.location}: ${(0,r.formatListOfValues)(e.keys)}`}}},9219:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NavigateNextIcon=void 0;let r=n(80263),i=n(83947);t.NavigateNextIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M19.364 16.44l-9.539 6.458C8.628 23.688 7 22.881 7 21.49V7.517c0-1.39 1.645-2.214 2.825-1.408l9.539 6.458V5.87c0-.48.519-.869 1.159-.869s1.159.389 1.159.869v17.26c0 .48-.52.869-1.16.869-.64 0-1.158-.389-1.158-.869v-6.69z"})}))},9334:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trackingSchema=void 0;let r=n(47561),i=n(92712),a=n(70351);t.trackingSchema=i.z.object({agofCode:i.z.string().nullable().transform(r.Maybe.of),externalAssetId:i.z.string().nullable().transform(r.Maybe.of),genres:a.genresSchema}).strict().nullable().transform(r.Maybe.of)},9404:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.languageTagSchema=void 0;let r=n(47701),i=n(92712),a=Object.keys(r.languagesAll);t.languageTagSchema=i.z.string().min(1).refine(function(e){var t;let[n]=e.split("-");return t=n.toLowerCase(),a.includes(t)},"Invalid language tag")},9407:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useElementWidth=void 0;let r=n(70015).__importDefault(n(17850)),i=n(53239);t.useElementWidth=function(e){var t;let[n,a]=(0,i.useState)(null!=(t=null==e?void 0:e.clientWidth)?t:null);return(0,i.useEffect)(()=>{if(!e)return;let t=(0,r.default)(()=>{n!==e.clientWidth&&a(e.clientWidth)},200);t();let i=new ResizeObserver(t);return i.observe(e),()=>{i.unobserve(e)}},[e,n]),n}},9620:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createBrowserDetector=void 0,t.createBrowserDetector=function(e){function t(){return/\bopr\b/i.test(e)}function n(){return/\bpresto\b/i.test(e)}function r(){return n()||t()}function i(){return/\btizen\b/i.test(e)}function a(){return/\bwebos\b/i.test(e)}function o(){return/\bedge\b/i.test(e)}function s(){return/\bedg\b/i.test(e)}function l(){return o()||s()}function u(){return/\bviera\b/i.test(e)}function c(){return/\bchrome|crios\b/i.test(e)&&!l()&&!r()&&!u()}function d(){return/\bsafari\b/i.test(e)&&!/\bheadlesschrome\b/i.test(e)&&!c()&&!l()&&!i()&&!a()&&!r()&&!u()}function p(){return/\biphone|ipad|ipod\b/i.test(e)}return{isApple:function(){return d()||p()},isChrome:c,isChromiumEdge:s,isChromiumOpera:t,isEdge:l,isFirefox:function(){return/\bfirefox\b/i.test(e)},isIe:function(){return/\btrident\/7\.0|msie\b/i.test(e)},isIos:p,isLegacyEdge:o,isLegacyOpera:n,isOpera:r,isPanasonicViera:u,isSafari:d,isTizen:i,isWebOs:a}}},9781:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SeekButton=void 0;let r=n(80263),i=n(82762),a=n(8070),o=n(49079),s=n(19630);t.SeekButton=e=>{let{direction:t,enabled:n,onSeek:l}=e,{icon:u,label:c}={backward:{icon:i.JumpBackIcon,label:"Zur\xfcckspulen (â)"},beginning:{icon:o.JumpToBeginning,label:"Zum Anfang springen"},forward:{icon:a.JumpForwardIcon,label:"Vorspulen (â)"}}[t];return(0,r.jsx)(s.ControlButton,{icon:u,onClick:l,isDisabled:!n,label:c})}},9837:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAdScheduleEntry=void 0,t.createAdScheduleEntry=(e,t)=>{let{createSomqueryUrl:n,errorReporter:r,logger:i,toggleRouter:a}=e,{allowAdServerOverride:o,adServerOverrideUrl:s,somqueryOptions:l,type:u}=t,c=n(l,{errorReporter:r,logger:i,toggleRouter:a});return{sources:[Object.assign(Object.assign(Object.assign({},c.isOk()&&{url:c.value.toString()}),o&&s.isJust()&&{url:s.value}),{resource:{}})],type:u}}},10109:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdSchedulerError=void 0;class n extends Error{constructor(e,t,n){super(e),this.message=e,this.code=t,this.schedulerError=n}}t.AdSchedulerError=n},10118:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TracksSelector=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(95611)),s=n(55058),l=a.default.form(({theme:e})=>({backgroundColor:(0,o.default)(e.color.white,.1),maxHeight:"500px",overflowY:"auto",padding:"5px 30px"})),u=(0,a.default)(s.RadioButtonGroup)({margin:"25px 0 25px 0"});function c(e){return(0,i.jsx)(s.RadioButtonGroupEntry,{label:e.label,value:e.id},e.id)}t.TracksSelector=e=>{let{selectorName:t,title:n,selectionEntries:r,selectedEntryId:a,onChange:o}=e,s=r.map(c);return(0,i.jsx)(l,{children:(0,i.jsx)(u,Object.assign({direction:"vertical",spacing:"10px",title:n,name:t,onChange:o,selectedValue:a},{children:s}))})}},10268:(e,t,n)=>{"use strict";
350Object.defineProperty(t,"__esModule",{value:!0}),t.createXmlToVastJson=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47561),a=n(47397),o=n(88012),s=n(14778),l=n(53335);t.createXmlToVastJson=({xmlToJson:e,vastScheme:t={}})=>(n,u)=>((e,t,n)=>{let o=n(e);return(e=>(0,a.isRecord)(e)&&(0,a.isRecord)(e.parsererror)&&r.default.nonEmptyString(e.parsererror.value))(o)?i.Result.err(new l.XmlParsingError({originalErrorMessage:o.parsererror.value,url:t,xmlJson:o,xmlString:e})):i.Result.ok(o)})(n,u,e).map((0,o.normalize)(t)).flatMap((0,s.validate)({scheme:t,vastString:n}))},10333:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetchFromPlaybackApi=void 0;let r=n(70015),i=n(37561),a=n(83624),o=n(34928),s=n(4768);t.createFetchFromPlaybackApi=function(e,t){let{getClientCapabilities:n,fetchEntitlement:l,getLinearAdReplacementOptions:u,httpClient:c,toggleRouter:d}=e,{playbackApiBaseUrl:p}=t;function f(e,t){let n=void 0!==t.licenseUrl&&"protectionSystem"in e?e.protectionSystem:void 0;return{certificateUrl:t.certificateUrl,drmType:n,licenseUrl:t.licenseUrl,streamingFormat:t.streamingFormat,url:t.manifestUrl}}return function(e){return r.__awaiter(this,void 0,void 0,function*(){let{contentResource:t,personalIdentificationNumber:h,userToken:m}=e,g=yield l({contentResource:t,personalIdentificationNumber:h,userToken:m});if(g.isErr())throw g.error;let{entitlementTokenPayload:y,encodedJsonWebToken:v,disableNoAdNoContent:b}=g.value,_=yield function(e){return r.__awaiter(this,void 0,void 0,function*(){let{contentResource:t,entitlementTokenPayload:a}=e,o=yield n(),{deviceModel:s,drmType:l,supportMultiAudio:c}=o,p=r.__rest(o,["deviceModel","drmType","supportMultiAudio"]);if("interactive"===t.contentType)return Object.assign({model:s},p);let f=Object.assign(Object.assign({},p),{model:s,protectionSystem:l});if("live"===t.contentType){let e=yield null==u?void 0:u({contentResource:t,entitlementTokenPayload:a}),n=e&&(0,i.encodeLinearAdReplacementOptions)(e);return Object.assign(Object.assign({},f),{linearAdReplacement:n})}return Object.assign(Object.assign({},f),{enableDolbyAudio:d.getFeatureValue("enable-dolby-audio").unwrapOr(!1),enableMultiAudio:c,enableSubtitles:!0,variantName:d.getFeatureValue("playback-api-variant-name").unwrapOr("default")})})}({contentResource:t,entitlementTokenPayload:y}),S={Authorization:`Bearer ${v}`},E=yield c.postJson({options:{headers:S,retry:!0},payload:_,uri:function(e){let t=function(e){switch(e){case"interactive":return"stream";case"live":return"channel";default:return"asset"}}(e.contentType);return`${(0,s.normalizeUrl)(p)}/${t}/${e.id}/playlist`}(t)}),k=o.playbackApiResponseSchema.parse(E),{certificateUrl:A,streamingFormat:T,fallback:x}=k,w=Object.assign(Object.assign({},f(_,Object.assign(Object.assign({},r.__rest(k,["certificateUrl","streamingFormat","fallback"])),{certificateUrl:A,streamingFormat:T}))),{fallback:x&&f(_,Object.assign(Object.assign({},x),{certificateUrl:A,streamingFormat:T})),isLive:"live"===t.contentType||"interactive"===t.contentType,isLowLatency:"interactive"===t.contentType});return{disableNoAdNoContent:b,encodedEntitlementJsonWebToken:v,entitlementTokenPayload:y,sources:(0,a.mapVideoSourceToFetchedContentSourceVideoSources)(w)}})}}},10365:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RegistrationWallOverlay=void 0;let r=n(80263),i=n(53239),a=n(66976),o=n(23507),s=n(67933);t.RegistrationWallOverlay=()=>{let{actions:e,state:t}=(0,i.useContext)(a.PlayerContext);return t.isLiveOnDemandChannel?(0,r.jsx)(o.RestrictedContentOnDemandOverlay,{buttonListEntries:[{handler:e.register,label:"Kostenlos registrieren",type:"main"},{handler:()=>{e.login({})},label:"Login",type:"ghost"}],shouldBeShownForLiveContentResource:({requiredAction:e})=>"login"===e,headerText:"Registriere dich jetzt kostenlos, um diesen Sender zu sehen."}):(0,r.jsx)(s.RestrictedContentOverlay,{buttonListEntries:[{handler:e.register,label:"Kostenlos registrieren",type:"main"},{handler:()=>{e.login({})},label:"Login",type:"ghost"}],shouldBeShownForLiveContentResource:({requiredAction:e})=>"login"===e,headerText:"Registriere dich jetzt kostenlos, um diesen Sender zu sehen."})}},10660:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(7295),i=n(817);function a(e){(0,i.A)(1,arguments);var t=(0,r.A)(e);return t.setSeconds(59,999),t}},10751:(e,t,n)=>{"use strict";
350Object.defineProperty(t,"__esModule",{value:!0}),t.FooterAdLabels=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(19577)),s=n(53239),l=n(66976),u=n(55936),c=n(30967),d=n(90216),p=(0,a.default)(c.FadeTransition)(({theme:e})=>({fontSize:e.fontSize.normal,whiteSpace:"nowrap"})),f=a.default.div(()=>({alignItems:"center",display:"flex"}));t.FooterAdLabels=({isVisible:e})=>{let{state:{remainingTime:t}}=(0,s.useContext)(l.PlayerContext),n=function(e,t){if(e){if(o.default.number(t)){let e=(0,u.formatSeconds)(t);return`Werbung - ${e}`}return"Werbung"}return""}(e,t);return(0,i.jsx)(p,Object.assign({isVisible:e},{children:(0,i.jsxs)(f,{children:[(0,i.jsx)(d.WhyThisAdIcon,{}),n]})}))}},10761:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetchAndBuildContentResourcesForCompilationItem=void 0;let r=n(70015),i=n(62300);t.createFetchAndBuildContentResourcesForCompilationItem=function(e,t){let{buildContentResourcesForCompilationItem:n,fetchCompilationItem:a,graphqlClient:o}=e,{graphqlEndpoint:s,graphqlServiceApiKey:l}=t;return function(e){return r.__awaiter(this,void 0,void 0,function*(){let{compilationItemId:t,initialFetch:r,userState:u,userToken:c}=e,d=n((yield a({graphqlClient:o},{compilationItemId:t,graphqlEndpoint:s,graphqlServiceApiKey:l,userState:u,userToken:c})));return r?d:(0,i.hasExactlyThreeElements)(d)?[d[2]]:[]})}}},10877:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createYouboraStateContainer=void 0;let r=n(92367);t.createYouboraStateContainer=function(){let e={adBlockerDetected:!1,adIsSkippable:!1,adPlayhead:null,adResourceUrl:null,adSystem:null,adTitle:null,allFeatures:{},bitrate:null,creativeId:null,distributionTenant:"JOYN",duration:null,enabledFeatures:[],errorDetails:null,height:null,isFullscreen:null,playbackType:null,playhead:null,resourceUrl:null,rollName:null,slotType:null,streamingProtocol:null,type:null,userId:null,utmCampaign:null,utmSource:null,width:null};return{getStateProperty:t=>e[t],setState(t){e=Object.assign(Object.assign({},e),(0,r.stripUndefinedProperties)(t))}}}},10995:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetupInsufficientAgeError=t.StyledButton=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(22110)),s=n(53239),l=n(47561),u=n(75609),c=n(66976),d=n(37514),p=n(7534),f=n(90105),h=(0,o.default)({featureDetect:!0,tablet:!0}),m=a.default.div({backgroundColor:"#000000",display:"flex",height:"100%",justifyContent:"center",left:0,position:"absolute",top:0,width:"100%",zIndex:d.dialogLayer}),g=a.default.div({alignItems:"center",display:"flex",flexDirection:"column",maxWidth:"100%"}),y=a.default.div(({theme:e})=>({alignItems:"center",display:"flex",flexDirection:"column",fontFamily:e.fontFamilyBold,fontSize:h?"24px":"28px",lineHeight:h?"30px":"33px",padding:h?"90px 0 20px":"140px 0px 32px",textAlign:"center"})),v=a.default.h1(()=>({fontSize:h?"24px":"28px",lineHeight:h?"30px":"33px",margin:"24px 0 0 ",textAlign:"center"})),b=a.default.div(()=>({alignItems:"center",display:"flex",flexDirection:"column",margin:"0 0 24px",padding:h?"0 8.5% 8px":"0 17.135%"})),_=a.default.p(({theme:e,color:t})=>({alignItems:"center",color:t,display:"flex",fontFamily:e.fontFamily,fontSize:h?"15px":"17px",lineHeight:h?"24px":"20px",margin:h?"0 0 18px":"0 0 20px",textAlign:"center"}));t.StyledButton=(0,a.default)(f.Button)(({theme:e,isMainButton:t})=>({":hover":{backgroundColor:"#ffffff",color:"#000000"},backgroundColor:t?"#8e8e8e":"#333333",borderRadius:"2px",color:"#ffffff",fontFamily:e.fontFamilyBold,fontSize:"16px",height:"44px",lineHeight:"20px",marginBottom:"10px",transition:"background-color 0.3s ease-in-out 0s",width:h?"90%":"320px"})),t.SetupInsufficientAgeError=()=>{let{actions:e,state:n}=(0,s.useContext)(c.PlayerContext),{playlist:r,playlistIndex:a,disableEPG:o}=n,d=l.Maybe.of(a).andThen(e=>l.Maybe.of(r[e])).mapOr(!1,u.isLiveContentResource);return"enter_personal_identification_number_considering_too_young"!==n.requiredAction?null:(0,i.jsx)(m,{children:(0,i.jsxs)(g,{children:[(0,i.jsxs)(y,{children:[(0,i.jsx)(p.LockIcon,{width:42,he
350ight:51}),(0,i.jsx)(v,{children:"Jugendgesch\xfctzter Inhalt"})]}),(0,i.jsxs)(b,{children:[(0,i.jsx)(_,Object.assign({color:"rgba(255, 255, 255, 0.8)"},{children:"Dieser Inhalt ist f\xfcr Jugendliche unter 18 Jahren nicht geeignet."})),(0,i.jsx)(_,Object.assign({color:"#8E8E8E"},{children:`${h?"":"Du bist bereits 18 oder \xe4lter? "}Bitte \xfcberpr\xfcfe deine Jugendschutz Einstellungen im Account-Bereich von Joyn.`}))]}),(0,i.jsx)(t.StyledButton,Object.assign({"aria-label":"Einstellungen \xfcberpr\xfcfen",isMainButton:!0,onClick:e.showPersonalIdentificationNumberSettings,variant:"contained"},{children:"Einstellungen \xfcberpr\xfcfen"})),(0,i.jsx)(t.StyledButton,Object.assign({"aria-label":"Abbrechen",isMainButton:!1,onClick:((e,t,n)=>t?n?()=>{e.triggerPersonalIdentificationNumberCancellation()}:()=>{e.skipToPlaylistIndex({playlistIndex:0})}:()=>{e.destroy()})(e,d,o),variant:"contained"},{children:"Abbrechen"}))]})})}},11002:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(82609);function i(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:void(!r.IS_PRODUCTION&&console.warn("XState could not find a global object in this environment. Please let the maintainers know and raise an issue here: https://github.com/statelyai/xstate/issues"))}t.getGlobal=i,t.registerService=function(e){if(i()){var t=function(){var e=i();if(e&&"__xstate__"in e)return e.__xstate__}();t&&t.register(e)}}},11198:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractProperty=void 0,t.extractProperty=function(e){return t=>t[e]}},11291:(e,t,n)=>{"use strict";n.d(t,{H:()=>c,l:()=>p});var r=n(48641),i=n(19612),a=n(99999),o=n(98653),s=n(82777),l=n(33184),u=n(16471);class c{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(e){let t=new c;return e&&(t._breadcrumbs=[...e._breadcrumbs],t._tags={...e._tags},t._extra={...e._extra},t._contexts={...e._contexts},t._user=e._user,t._level=e._level,t._span=e._span,t._session=e._session,t._transactionName=e._transactionName,t._fingerprint=e._fingerprint,t._eventProcessors=[...e._eventProcessors],t._requestSession=e._requestSession,t._attachments=[...e._attachments],t._sdkProcessingMetadata={...e._sdkProcessingMetadata}),t}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{},this._session&&(0,u.qO)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){let e=this.getSpan();return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;if("function"==typeof e){let t=e(this);return t instanceof c?t:this}return e instanceof c?(this._tags={...this._tags,...e._tags},this._extra={...this._extra,...e._extra},this._contexts={...this._contexts,...e._contexts},e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession)):(0,r.Qd)(e)&&(this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(e,t){let n="number"==typeof t?t:100;if(n<=0)return this;let r={timestamp:(0,i.lu)(),...e};return this._breadcrumbs=[...this._breadcrumbs,r].slice(-n),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(e,t={}){if(this._extra&&Object.keys(this._extra).length&&(e.extra={...this._extra,...e.extra}),this._tags&&Object.keys(this._tags).length&&(e.tags={...this._tags,...e.tags}),this._user&&Object.keys(this._user).length&&(e.user={...this._user,...e.user}),this._contexts&&Object.keys(this._contexts).length&&(e.contexts={...this._contexts,...e.contexts}),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts={trace:this._span.getTraceContext(),...e.contexts};let t=this._span.transaction;if(t){e.sdkProcessingMetadata={dynamicSamplingContext:t.getDynamicSamplingContext(),...e.sdkProcessingMetadata};let n=t.name;n&&(e.tags={transaction:n,...e.tags})}}return this._applyFingerprint(e),e.breadcrumbs=[...e.breadcrumbs||[],...this._breadcrumbs],e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...d(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}_notifyEventProcessors(e,t,n,i=0){return new a.T2((a,s)=>{let l=e[i];if(null===t||"function"!=typeof l)a(t);else{let u=l({...t},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&l.id&&null===u&&o.vF.log(`Event processor "${l.id}" dropped event`),(0,r.Qg)(u)?u.then(t=>this._notifyEventProcessors(e,t,n,i+1).then(a)).then(null,s):this._notifyEventProcessors(e,u,n,i+1).then(a).then(null,s)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
350h(e=>{e(this)}),this._notifyingListeners=!1)}_applyFingerprint(e){e.fingerprint=e.fingerprint?(0,s.k9)(e.fingerprint):[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}}function d(){return(0,l.BY)("globalEventProcessors",()=>[])}function p(e){d().push(e)}},11462:(e,t,n)=>{var r=n(23307),i=n(35121),a=n(16421),o=n(60161),s=n(2502),l=i.extend({constructor:function(e,t){i.prototype.constructor.apply(this,arguments),this.response={},this._viewIndex=new Date().getTime(),this._session=t,this._httpSecure=e.options["app.https"],this._plugin=e,this.transformName="View"},init:function(){if(this._plugin.options&&this._plugin.options.offline)return this.response.host="OFFLINE",this.response.code="OFFLINE",this.response.pingTime=60,this.response.beatTime=60,this.done(),null;if(this._plugin.storage.isEnabled()&&new Date().getTime()<this._plugin.sessionExpire+(Number(this._plugin.getDataTime())||0)&&this._plugin.getStoredData())return this.setData(this._plugin.getStoredData()),null;var e=s.Service.DATA,t={outputformat:"json"};null!==(t=this._plugin.requestBuilder.buildParams(t,e))&&(a.notice(e+" "+t.system),"nicetest"===t.system&&a.error("No accountCode has been set. Please set your accountCode inside plugin's options."),new r(this._plugin.getHost(),e,t).on(r.Event.SUCCESS,this._receiveData.bind(this)).on(r.Event.ERROR,this._failedData.bind(this)).send())},setData:function(e){try{var t=JSON.parse(e);this._plugin.options["parse.fdsResponseHost"]&&(e=e.replace(t.q.h,this._plugin.options["parse.fdsResponseHost"](t.q.h)),t=JSON.parse(e)),this.response.msg=e,this.response.host=o.addProtocol(t.q.h,this._httpSecure),this.response.code=t.q.c,this.response.pingTime=t.q.pt||5,this.response.beatTime=t.q.i&&t.q.i.bt||30,this.response.sessionExpire=t.q.i&&t.q.i.exp||300,this._plugin.storage.setLocal("sessionExpire",this.response.sessionExpire),this.done()}catch(e){a.error("Fastdata response is invalid.")}},_receiveData:function(e,t){var n=e.getResponse();this.setData(n)},_failedData:function(e,t){a.error("Fastdata request has failed.")},nextView:function(){return this._viewIndex=new Date().getTime(),this.getViewCode()},getViewCode:function(e){return null!==e&&this._plugin&&this._plugin.options&&this._plugin.options["session.splitViews"]?this.response.code+"_"+(e||this._viewIndex):this.response.code+"_"+this._viewIndex},getSession:function(){return this._session},setSession:function(e){this._session=e},setHost:function(e){this.response.host=e},parse:function(e){e.host=e.host||this.response.host,e.params.system=this._plugin.getAccountCode(),e.params.sessionRoot=e.params.sessionRoot||this.getSession(),-1!==l.EventList.PingTime.indexOf(e.service)&&(e.params.pingTime=e.params.pingTime||this.response.pingTime),-1===l.EventList.Infinity.indexOf(e.service)?this._plugin&&this._plugin.options&&this._plugin.options["session.splitViews"]?(e.params.code=e.params.code||this.getViewCode(e.params.viewIndex),delete e.params.viewIndex):e.params.code=e.params.code||this.getViewCode():e.params.sessionId=e.params.sessionRoot,-1!==l.EventList.CreateView.indexOf(e.service)&&(this._plugin.infinity.infinityStarted||this._plugin.storage.isEnabled()&&this._plugin.storage.getLocal("infinityStarted"))&&(e.params.parentId=e.params.sessionRoot,e.params.navContext=e.params.navContext||this._plugin.getContext())}},{EventList:{CreateView:[s.Service.START,s.Service.INIT,s.Service.ERROR],Infinity:[s.Service.NAV,s.Service.SESSION_START,s.Service.SESSION_STOP,s.Service.EVENT,s.Service.BEAT],PingTime:[s.Service.START,s.Service.PING]}});e.exports=l},11897:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.determineInitialSelfManagedPlaylistPointer=void 0;let r=n(47561);t.determineInitialSelfManagedPlaylistPointer=function(e,t){if("livestream"!==t.playlistType)return{childIndex:r.Maybe.nothing(),index:r.Maybe.just(0)};let{contentService:n,playlistService:i,userSettings:a}=e;function o(e){return n.findContentIdByAssetId(e).andThen(e=>r.Maybe.of(i.findPlaylistPointer({id:e})))}return r.Maybe.of(t.preselectedChannelId).match({Just:o,Nothing:()=>a.load().lastSelectedLiveChannelId.andThen(o)}).mapOr({childIndex:r.Maybe.nothing(),index:r.Maybe.just(0)},e=>({childIndex:e.childIndex,index:e.index}))}},11906:(e,t,n)=>{"use strict";
350Object.defineProperty(t,"__esModule",{value:!0}),t.reportYouboraEvent=void 0;let r=n(70015).__importDefault(n(19577)),i=n(27504),a=n(87162),o=[["duplicate","Duplicate"],["transcoding-error","Transcoding Error"],["ad-source-request-timeout","Ad source request timeout"]];t.reportYouboraEvent=(0,a.createMappedEventReporter)([(0,a.createEventMapping)({fromEvents:["lifecycle-play-rejected","lifecycle-play"],targetEvent:"contentJoin"}),(0,a.createEventMapping)({fromEvents:["pause","action-required"],includeWhen:e=>"ad"!==e.runtime.mediaType,targetEvent:"pause"}),(0,a.createEventMapping)({fromEvents:["pause"],includeWhen:e=>"ad"===e.runtime.mediaType,targetEvent:"adPause"}),(0,a.createEventMapping)({fromEvents:["resume"],includeWhen:e=>"ad"!==e.runtime.mediaType,targetEvent:"resume"}),(0,a.createEventMapping)({fromEvents:["resume"],includeWhen:e=>"ad"===e.runtime.mediaType,targetEvent:"adResume"}),(0,a.createEventMapping)({fromEvents:["stall-started"],targetEvent:"bufferingStarted"}),(0,a.createEventMapping)({fromEvents:["stall-ended"],targetEvent:"bufferingEnded"}),(0,a.createEventMapping)({fromEvents:["seeking","time-shifting"],targetEvent:"seekStart"}),(0,a.createEventMapping)({fromEvents:["seeked","time-shifted"],targetEvent:"seekEnd"}),(0,a.createEventMapping)({fromEvents:["ad-click-through"],targetEvent:"adClickThrough",transformPayload(e){var t,n;return{clickThroughTarget:null!=(n=null==(t=e.ad)?void 0:t.clickThroughTarget)?n:""}}}),(0,a.createEventMapping)({fromEvents:["ad-roll-start"],targetEvent:"adBreakStart"}),(0,a.createEventMapping)({fromEvents:["ad-roll-end"],targetEvent:"adBreakStop"}),(0,a.createEventMapping)({fromEvents:["ad-loaded"],targetEvent:"adStart"}),(0,a.createEventMapping)({fromEvents:["ad-begin"],targetEvent:"adJoin"}),(0,a.createEventMapping)({fromEvents:["ad-stall-started"],targetEvent:"adBufferingStarted"}),(0,a.createEventMapping)({fromEvents:["ad-stall-ended"],targetEvent:"adBufferingEnded"}),(0,a.createEventMapping)({fromEvents:["ad-video-first-quartile"],targetEvent:"adFirstQuartile"}),(0,a.createEventMapping)({fromEvents:["ad-video-midpoint"],targetEvent:"adSecondQuartile"}),(0,a.createEventMapping)({fromEvents:["ad-video-third-quartile"],targetEvent:"adThirdQuartile"}),(0,a.createEventMapping)({fromEvents:["ad-complete"],targetEvent:"adStop"}),(0,a.createEventMapping)({fromEvents:["error"],targetEvent:"error",transformPayload:function(e){let{errorMessage:t,errorType:n}=e.runtime;return{errorMessage:t,errorType:n}},transformState(e){let{errorDetails:t}=e.runtime;return{errorDetails:t}}}),(0,a.createEventMapping)({fromEvents:["ad-error"],targetEvent:"adError",transformPayload:function(e){var t,n;let{errorMessage:a,errorType:s}=e.runtime,{ad:l}=e,{resource:u,adCursor:c}=l,d={sourceUrl:l.sourceUrl},p=c?c.adIndex:null;return null!=(n=null!=(t=function(e,t,n){if(r.default.nullOrUndefined(e)||r.default.nullOrUndefined(t))return null;let a=o.find(([n])=>(0,i.hasInvalidationReason)(e,t,n));return r.default.nullOrUndefined(a)?null:{errorMessage:a[1],errorMetaData:n,errorType:"ad_invalid_vast"}}(u,p,d))?t:!r.default.nullOrUndefined(u)&&!r.default.nullOrUndefined(p)&&(0,i.isEmptyVast)(u,p)?{errorMessage:"Empty Vast",errorMetaData:d,errorType:"ad_empty_vast"}:null)?n:{errorMessage:a,errorMetaData:d,errorType:s}}}),(0,a.createEventMapping)({fromEvents:["content-complete","lifecycle-abort"],targetEvent:"stop"})])},11911:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapSportsMatchOnDemandChannelContentResourceToLegacyContentResource=t.buildContentResourceForSportsMatchInOnDemandChannel=void 0;let r=n(47561),i=n(42070),a=n(41639),o=n(6904);t.buildContentResourceForSportsMatchInOnDemandChannel=function(e){return{ageRating:(0,a.minimumAgeFromAgeRating)(e),ageRatingDescriptors:(0,a.descriptorFromAgeDescriptor)(e),brandLogo:(0,i.brandLogoFromBrands)(e),brandName:(0,i.brandNameFromBrands)(e),contentType:"sports-match",externalTrackingId:(0,o.externalTrackingIdFromTracking)(e),genres:(0,o.genresFromTracking)(e),id:e.video.id,infOnlineCode:(0,o.infOnlineCodeFromTracking)(e),licenseTypes:e.licenseTypes,path:e.path,poster:e.posterImage.map(e=>e.url),primaryColor:e.heroLandscapeImage.map(e=>e.vibrantColor),sportsCompetitionTitle:e.sportsStage.andThen(e=>e.sportsCompetition.map(e=>e.title)),sportsMatchTitle:e.title,titleImage:e.artLogoImage.map(e=>e.url),tvShowId:r.Maybe.just(e.id)}},t.mapSportsMatchOnDemandChannelContentResourceToLegacyContentResource=function(e){return{ageRating:e.ageRating.unwrapOr(void 0),ageRatingDescriptors:e.ageRatingDescriptors.unwrapOr(void 0),brandLogo:e.brandLogo.unwrapOr(void 0),brandName:e.brandName.unwrapOr(""),contentType:"sports-match",externalTrackingId:e.externalTrackingId.unwrapOr(""),genres:e.genres,id:e.id,infOnlineCode:e.infOnlineCode.unwrapOr(""),licenseTypes:e.licenseTypes,poster:e.poster.unwrapOr(void 0),primaryColor:e.primaryColor.unwrapOr(void 0),sportsCompetitionTitle:e.sportsCompetitionTitle.unwrapOr(""),sportsMatchTitle:e.sportsMatchTitle,titleImage:e.titleImage.unwrapOr(void 0),tvShowId:e.tvShowId.unwrapOr("")}}}
350,11948:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLegalMarkingsMachine=void 0;let r=n(47561),i=n(21639);t.createLegalMarkingsMachine=function(e){let{getCurrentTimestamp:t}=e;return(0,i.createMachine)({type:"compound",initial:"idle",context:{delayTimeUsed:0,delayStartTime:0,ageRating:r.Maybe.nothing(),ageRatingDescriptor:r.Maybe.nothing(),brandLogo:r.Maybe.nothing(),hasBrandLogo:r.Maybe.nothing(),hasProductPlacement:r.Maybe.nothing(),hasCornerBug:r.Maybe.nothing()},on:{"AGE_RATING_DESCRIPTOR.SET":{actions:"setAgeRatingDescriptor"},"AGE_RATING.SET":{actions:"setAgeRating"},"BRAND_LOGO.SET":{actions:"setBrandLogo"},"PRODUCT_PLACEMENT.SET":{actions:"setProductPlacement"},"CORNER_BUG.SET":{actions:"setCornerBug"}},predictableActionArguments:!0,states:{legalMarkings:{initial:"noneAvailable",states:{noneAvailable:{always:[{target:"ageRatingVisible",cond:"hasAgeRating"},{target:"ageRatingHidden",cond:"hasBrandLogo"},{target:"ageRatingHidden",cond:"hasProductPlacement"},{target:"#done"}]},ageRatingVisible:{entry:"setDelayStartTimeToNow",after:{legalMarkingDelay:{actions:"determineNextLegalMarkingAfterAgeRating"}},on:{"AGE_RATING.HIDE":{actions:"resetDelayTimeUsed",target:"ageRatingHidden"},IDLE:{actions:"setDelayTimeUsed",target:"#idle"},DONE:"#done"}},ageRatingHidden:{type:"compound",initial:"brandLogoOrProductPlacementHidden",states:{brandLogoOrProductPlacementHidden:{always:[{target:"brandLogoOrProductPlacementVisible",cond:"hasBrandLogoOrProductPlacement"},"#done"]},brandLogoOrProductPlacementVisible:{type:"parallel",entry:"setDelayStartTimeToNow",after:{legalMarkingDelay:"#done"},on:{IDLE:{actions:"setDelayTimeUsed",target:"#idle"}},states:{brandLogo:{type:"compound",initial:"hidden",states:{hidden:{always:{target:"visible",cond:"hasBrandLogo"}},visible:{}}},productPlacement:{type:"compound",initial:"hidden",states:{hidden:{always:{target:"visible",cond:"hasProductPlacement"}},visible:{}}}}}}},lastVisibleLegalMarkingHistory:{type:"history",history:"shallow"}}},idle:{id:"idle",on:{RUN:"legalMarkings.lastVisibleLegalMarkingHistory"}},done:{id:"done",on:{"PRODUCT_PLACEMENT.SHOW":"legalMarkings.ageRatingHidden"}}}},{actions:{setDelayStartTimeToNow:i.actions.assign({delayStartTime:e=>t()}),setDelayTimeUsed:i.actions.assign({delayTimeUsed:e=>e.delayTimeUsed+(t()-e.delayStartTime)}),resetDelayTimeUsed:i.actions.assign({delayTimeUsed:e=>0}),determineNextLegalMarkingAfterAgeRating:i.actions.choose([{cond:"hasBrandLogo",actions:i.actions.send("AGE_RATING.HIDE")},{cond:"hasProductPlacement",actions:i.actions.send("AGE_RATING.HIDE")},{actions:i.actions.send("DONE")}]),setAgeRatingDescriptor:(0,i.assign)({ageRatingDescriptor:(e,t)=>{let{ageRatingDescriptor:n}=t;return r.Maybe.of(n)}}),setAgeRating:(0,i.assign)({ageRating:(e,t)=>{let{ageRating:n}=t;return r.Maybe.of(n)}}),setBrandLogo:(0,i.assign)({brandLogo:(e,t)=>{let{brandLogo:n}=t;return r.Maybe.of(n)},hasBrandLogo:(e,t)=>{let{hasBrandLogo:n}=t;return r.Maybe.of(n)}}),setProductPlacement:(0,i.assign)({hasProductPlacement:(e,t)=>{let{hasProductPlacement:n}=t;return r.Maybe.of(n)}}),setCornerBug:(0,i.assign)({hasCornerBug:(e,t)=>{let{hasCornerBug:n}=t;return r.Maybe.of(n)}})},guards:{hasAgeRating:e=>e.ageRating.isJust(),hasBrandLogoOrProductPlacement:e=>e.hasBrandLogo.unwrapOr(!1)||e.hasProductPlacement.unwrapOr(!1),hasBrandLogo:e=>e.hasBrandLogo.unwrapOr(!1),hasProductPlacement:e=>e.hasProductPlacement.unwrapOr(!1)},delays:{legalMarkingDelay:e=>5e3-e.delayTimeUsed}})}},12041:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.liverampEnvelopesSchema=void 0;let r=n(92712);t.liverampEnvelopesSchema=r.z.array(r.z.tuple([r.z.number(),r.z.string()]))},12050:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initializeShakaPlayer=void 0;let r=n(70015).__importDefault(n(87244)),i=n(30936);t.initializeShakaPlayer=function(e){let{ShakaPlayerConstructor:t,videoElement:n}=e;if(!t.isBrowserSupported())throw new i.PlayerError("playback","Browser not supported");return globalThis.muxjs=r.default,new t(n)}},12134:(e,t,n)=>{"use strict";
350Object.defineProperty(t,"__esModule",{value:!0}),t.mapAudioTrackSourceMapToUiSelectionGroup=t.mapSubtitleSourceMapToUiSelectionGroup=void 0;let r=n(70015).__importDefault(n(19577)),i=n(62300),a=n(21127);function o(e,t){return e.map(([e,n])=>({id:e,label:t(n)}))}function s([,e]){return!e.forced}let l={id:"",label:"Aus"};function u(e){return!r.default.undefined(e[1])}t.mapSubtitleSourceMapToUiSelectionGroup=function(e,t){let n=Object.entries(e).filter(s);if((0,i.isNonEmptyArray)(n)){let e=o(n,a.formatTrackLabel),r=t.mapOr(!1,t=>e.some(e=>e.id===t))?t.unwrapOr(""):"";return{entries:[l,...e],hasEntries:!0,selectedTrackId:r}}return{hasEntries:!1}},t.mapAudioTrackSourceMapToUiSelectionGroup=function(e,t){let n=Object.entries(e).filter(u);return(0,i.isNonEmptyArray)(n)&&n.length>1&&t.isJust()?{entries:o(n,a.formatAudioTrackLabel),hasEntries:!0,selectedTrackId:t.value}:{hasEntries:!1}}},12147:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withErrorHandler=void 0;let r=n(70015),i=n(97250),a=n(30936),o={content_login:"login",content_personal_identification_number_insufficient_age:"enter_personal_identification_number_considering_too_young",content_personal_identification_number_invalid:"enter_personal_identification_number_considering_invalid",content_personal_identification_number_required:"enter_personal_identification_number",content_personal_identification_number_setup:"setup_personal_identification_number",content_subscription_required:"subscribe",content_user_token:"set_user_token"};t.withErrorHandler=function(e,t,n){return function(...s){return r.__awaiter(this,void 0,void 0,function*(){try{return yield n(...s)}catch(r){if(r instanceof i.EntitlementError){let e=o[r.type];if(e)return{action:{type:e},error:r};return{error:r}}if(r instanceof a.PlayerError)return{error:r};let n=function(e,t){let n="Error while fetching data from content-source-api",r=RegExp(`${t.replace(/[$()*.?[\\\]^{|}]/g,"\\$&")}\\S*`,"g");if(e instanceof Error){let t=e.message.replace(r,"data,");n+=` (cause: "${t}")`}return n}(r,t);return e.error(n,r),{error:new a.PlayerError("content_unknown",n)}}})}}},12188:e=>{e.exports={cdnName:"AKAMAI",parsers:[{element:"type+host",headerName:"X-Cache",regex:/(.+)\sfrom.+AkamaiGHost\/(.+)\).+/},{element:"host",headerName:"akamai-mon-iucid-del",regex:/(.*)/},{element:"type",headerName:"akamai-cache-status",regex:/(.+)\sfrom\schild/}],requestHeaders:{Pragma:"akamai-x-cache-on"},parseType:function(e){var t=e.toLowerCase();return -1!==t.indexOf("hit")?1:2*(-1!==t.indexOf("miss"))}}},12235:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapShakaErrorToPlayerError=void 0;let r=n(70015).__importDefault(n(89785)),i=n(67650),a=n(30936);t.mapShakaErrorToPlayerError=function(e){var t;let n,o=null!=(t=e.detail)?t:e,s=function(e){var t,n;let{category:a,code:o}=e,s=null!=(t=(0,i.findKey)(r.default.util.Error.Category,a))?t:`UNKNOWN_CATEGORY_${a}`,l=null!=(n=(0,i.findKey)(r.default.util.Error.Code,o))?n:`UNKNOWN_CODE_${o}`;return`Shaka error: [category]: ${s}; [code]: ${l}`}(o),l=6007===o.code?"playback_drm_license_request_failed":"playback";return o.data&&(n=`shaka details: ${JSON.stringify(o.data)}`),new a.PlayerError(l,s,n)}},12242:(e,t,n)=>{"use strict";function r(e){return"object"==typeof e&&null!==e}n.d(t,{Z:()=>r})},12449:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRatingAb14=void 0;let r=n(80263),i=n(83826);t.AgeRatingAb14=()=>(0,r.jsxs)(i.AgeRatingIcon,Object.assign({width:40,height:20},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40 2C40 0.89543 39.1046 0 38 0H2C0.89543 0 0 0.89543 0 2V18C0 19.1046 0.89543 20 2 20H38C39.1046 20 40 19.1046 40 18V2ZM2 1H38L38.1166 1.00673C38.614 1.06449 39 1.48716 39 2V18L38.9933 18.1166C38.9355 18.614 38.5128 19 38 19H2L1.88338 18.9933C1.38604 18.9355 1 18.5128 1 18V2L1.00673 1.88338C1.06449 1.38604 1.48716 1 2 1Z",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.8596 14C17.2216 14 17.5651 13.928 17.8901 13.7839C18.2151 13.6399 18.4995 13.4423 18.7433 13.1911C18.987 12.94 19.1791 12.6427 19.3194 12.2992C19.4598 11.9557 19.53 11.5845 19.53 11.1856C19.53 10.7867 19.4598 10.4174 19.3194 10.0776C19.1791 9.73777 18.987 9.44229 18.7433 9.19114C18.4995 8.93998 18.2151 8.74423 17.8901 8.60388C17.5651 8.46353 17.2216 8.39335 16.8596 8.39335C16.5641 8.39335 16.2964 8.42844 16.
3500563 8.49862C15.8162 8.56879 15.5964 8.66667 15.397 8.79224V6H13.5909V13.867H15.397V13.6011C15.5964 13.7267 15.8162 13.8246 16.0563 13.8947C16.2964 13.9649 16.5641 14 16.8596 14ZM7.15323 12.5706L6.65462 13.867H4.66016L7.86237 6.28809H9.65739L12.8485 13.867H10.8541L10.3444 12.5706H7.15323ZM8.74835 8.47095L7.77328 10.9751H9.72342L8.74835 8.47095ZM15.9347 12.4266C16.1231 12.4931 16.3133 12.5263 16.5053 12.5263C16.69 12.5263 16.8599 12.4912 17.015 12.4211C17.1702 12.3509 17.3031 12.2567 17.4139 12.1385C17.5247 12.0203 17.6115 11.88 17.6743 11.7175C17.7371 11.5549 17.7685 11.3777 17.7685 11.1856C17.7685 11.0009 17.7371 10.8292 17.6743 10.6704C17.6115 10.5115 17.5247 10.3712 17.4139 10.2493C17.3031 10.1274 17.1702 10.0314 17.015 9.96122C16.8599 9.89104 16.69 9.85596 16.5053 9.85596C16.3133 9.85596 16.1231 9.89104 15.9347 9.96122C15.7463 10.0314 15.5672 10.1625 15.3973 10.3546V12.0388C15.5672 12.2308 15.7463 12.3601 15.9347 12.4266ZM28.7186 13.867V12.349H26.9679V6.33241H25.8488L23.389 7.1856V8.80332L25.1618 8.30471V12.349H23.2782V13.867H28.7186ZM35.0017 10.9294H36.0017V12.5882H35.0017V14H33.1311V12.5882H29.0605V11.3529L31.237 6H33.1429L31.2605 10.9294H33.1311V8.72941H35.0017V10.9294Z",fill:"white"})]}))},12689:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlusSubscriptionIcon=void 0;let r=n(80263),i=n(83947);t.PlusSubscriptionIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({defaultWidth:26,defaultHeight:6,defaultViewBox:"0 0 26 6",defaultColor:"#000"},e,{children:(0,r.jsx)("path",{d:"M18.76 2.09a1.57 1.57 0 00-.79-1.3c-.39-.2-.83-.3-1.27-.3-.57 0-1.03.14-1.39.43-.34.27-.54.7-.52 1.14 0 .76.44 1.2 1.4 1.41l.79.18c.34.08.5.2.5.41 0 .27-.23.43-.67.43-.57 0-.94-.26-1.02-.68h-1.2c.06.56.29.98.7 1.27.4.29.9.43 1.48.43.6 0 1.1-.14 1.46-.42.35-.27.56-.7.54-1.15 0-.78-.5-1.15-1.45-1.37l-.68-.16c-.37-.08-.55-.2-.55-.45 0-.3.27-.48.69-.48.45 0 .7.2.78.6h1.2zM2.54.59c.63 0 1.13.16 1.49.48.37.31.55.74.55 1.28 0 .56-.19 1.01-.57 1.34-.38.33-.9.5-1.56.5H1.8V5.4H.6V.59h1.94zm-.02 2.54c.53 0 .87-.3.87-.78 0-.43-.34-.7-.87-.7H1.8v1.48h.72zm2.82 2.28h3.33V4.35H6.54V.6h-1.2v4.82zm8.43-2.25c0 .75-.2 1.32-.6 1.74-.4.41-.95.62-1.65.62s-1.24-.2-1.64-.62c-.4-.42-.6-1-.6-1.74V.6h1.2v2.6c0 .73.41 1.2 1.04 1.2.63 0 1.05-.47 1.05-1.2V.58h1.2v2.57zm9.6 2.25h-1.46V3.73h1.47v1.68zm0-3.14h-1.46V.59h1.47v1.68zm0 0h1.68v1.46h-1.67V2.27zm-1.46 0v1.46h-1.67V2.27h1.67z"})}))},12834:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bootstrapSentryTransport=void 0;let r=n(87286),i=n(77183),a=n(35945);t.bootstrapSentryTransport=function(e){let{buildEnvironment:t,enableAutomaticInstrumentation:n}=e,o=(0,r.createDelegatingErrorTransport)((0,i.createNoOpTransport)()),s=null;return{errorTransport:o,updateTransportForToggleRouter(e,r){let l=e.getFeatureValue("disable-sentry-error-transport").unwrapOr(!1),u=`${l?"disabled":"enabled"}:${null!=r?r:"DE"}`;if(u!==s)if(s=u,l)o.updateDelegate((0,i.createNoOpTransport)());else{var c,d;o.updateDelegate((0,a.createSentryTransport)({enableAutomaticInstrumentation:n,playerName:t.PACKAGE_NAME,playerVersion:null!=(d=null!=(c=t.PACKAGE_VERSION)?c:t.PACKAGE_BUNDLE_HASH)?d:"0",sentryDataSourceName:"AT"===r?"https://[email protected]/4504695945363456":"CH"===r?"https://[email protected]/4506711669276672":"https://[email protected]/5617812"}))}}}}},12919:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeartIcon=void 0;let r=n(80263);t.HeartIcon=({width:e=14,height:t=14})=>(0,r.jsx)("svg",Object.assign({width:e,height:t,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{d:"M35.7137 15.2266C35.7137 17.7614 34.7457 20.1501 32.9896 21.9439L21.4977 33.65C21.0946 34.062 20.548 34.2858 19.9916 34.2858C19.4318 34.2858 18.8852 34.0532 18.4842 33.6434L7.01328 21.9172C5.2571 20.1187 4.28518 17.7353 4.28518 15.2098C4.27909 12.6764 5.2466 10.2859 7.0023 8.49089C8.75099 6.70309 11.0862 5.71436 13.5592 5.71436C15.9775 5.71436 18.2668 6.66139 20.0095 8.37633C21.7477 6.67141 24.0271 5.73176 26.4397 5.73176C28.9206 5.73176 31.2516 6.71751 33.0033 8.50984C34.7577 10.3036 35.7213
35012.6938 35.7137 15.2266Z",fill:"white"})}))},13053:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapShortFormContentResourceToLegacyContentResource=t.buildContentResourceForExtra=void 0;let r=n(47561),i=n(29241);function a(e){let{__typename:t}=e;return"Season"===t||"SportsStage"===t||"SportsCompetition"===t}function o(e){return["Episode","Season"].includes(e.__typename)}function s(e){return"Movie"===e.__typename}function l(e){return"Series"===e.__typename}t.buildContentResourceForExtra=function(e){var t,n,u,c;let{extra:d}=e;return{ageRating:r.Maybe.of(null==d?void 0:d.ageRating).map(e=>e.minAge),ageRatingDescriptors:(0,i.extractAgeRatingDescriptors)(null==d?void 0:d.ageRating),brandName:r.Maybe.of(null==d?void 0:d.brands).andThen(e=>r.Maybe.fromNullable(e[0])).map(e=>e.title),contentType:"short-form",externalTrackingId:r.Maybe.of(null==(t=null==d?void 0:d.tracking)?void 0:t.externalAssetId),genres:function(e){var t;if(!(null==e?void 0:e.parent))return r.Maybe.nothing();if(o(e.parent)){let n=null==(t=e.parent.series)?void 0:t.genres.filter(e=>null==e?void 0:e.name).map(e=>e.name);return r.Maybe.of(n)}if(s(e.parent)||l(e.parent)){let t=e.parent.genres.filter(e=>null==e?void 0:e.name).map(e=>e.name);return r.Maybe.of(t)}return r.Maybe.nothing()}(d),id:r.Maybe.of(null==(n=null==d?void 0:d.video)?void 0:n.id).unwrapOr(""),infOnlineCode:r.Maybe.of(null==(u=null==d?void 0:d.tracking)?void 0:u.agofCode),parentTitle:(null==d?void 0:d.parent)?o(d.parent)?r.Maybe.of(null==(c=d.parent.series)?void 0:c.title):s(d.parent)||l(d.parent)?r.Maybe.of(d.parent.title):r.Maybe.nothing():r.Maybe.nothing(),path:!(null==d?void 0:d.parent)||a(d.parent)?r.Maybe.nothing():r.Maybe.just(d.parent.path),poster:!(null==d?void 0:d.parent)||a(d.parent)?r.Maybe.nothing():d.parent.posterImage?r.Maybe.just(new URL(d.parent.posterImage.url)):r.Maybe.nothing(),primaryColor:!(null==d?void 0:d.parent)||a(d.parent)?r.Maybe.nothing():d.parent.heroLandscapeImage?r.Maybe.just(d.parent.heroLandscapeImage.vibrantColor):r.Maybe.nothing(),title:r.Maybe.of(null==d?void 0:d.title).unwrapOr(""),titleImage:!(null==d?void 0:d.parent)||a(d.parent)?r.Maybe.nothing():d.parent.artLogoImage?r.Maybe.just(new URL(d.parent.artLogoImage.url)):r.Maybe.nothing(),tvShowId:r.Maybe.of(null==d?void 0:d.id)}},t.mapShortFormContentResourceToLegacyContentResource=function(e){return{ageRating:e.ageRating.unwrapOr(void 0),ageRatingDescriptors:e.ageRatingDescriptors.unwrapOr(void 0),brandName:e.brandName.unwrapOr(""),contentType:"short-form",externalTrackingId:e.externalTrackingId.unwrapOr(""),genres:e.genres.unwrapOr([]),id:e.id,infOnlineCode:e.infOnlineCode.unwrapOr(""),parentTitle:e.parentTitle.unwrapOr(""),poster:e.poster.unwrapOr(void 0),primaryColor:e.primaryColor.unwrapOr(void 0),title:e.title,titleImage:e.titleImage.unwrapOr(void 0),tvShowId:e.tvShowId.unwrapOr("")}}},13327:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Subtitles=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(19577)),s=n(53239),l=r.__importDefault(n(57298)),u=r.__importDefault(n(62917)),c=r.__importDefault(n(85574)),d=n(36994),p=n(66976),f=n(37514),h=n(945),m="rgba(0, 0, 0, 0.5)",g=a.default.div(({theme:e})=>({"& *[role=cue]":{backgroundColor:`${m} !important`,boxShadow:(0,d.isIe)()||(0,d.isLegacyEdge)()?"":`3px 0 0 ${m}, -3px 0 0 ${m}`,fontFamily:e.fontFamily,fontSize:32,letterSpacing:.15},height:"100%",pointerEvents:"none",transition:(0,h.themedTransition)(e,"opacity"),width:"100%",zIndex:f.overlayLayer}),({lowOpacity:e})=>e&&{opacity:.3}),y=(0,s.memo)(e=>{let t=(0,s.useRef)(null);return(0,s.useEffect)(()=>{if(!t.current)return;let n=e.subtitleCues.map(e=>{let t=(e=>{let t=new VTTCue(e.startTime,e.endTime,e.text);return t.align=e.align,t.line=e.line,t.lineAlign=e.lineAlign,t.position=e.position,t.positionAlign=e.positionAlign,t.region=e.region,t.size=e.size,t.snapToLines=e.snapToLines,t.vertical=e.vertical,t})(e);return t.align="center",t});for(let e of(l.default.processCues({VTTCue:u.default,VTTRegion:c.default,document},n,t.current),t.current.querySelectorAll("div")))e.style.backgroundColor&&e.setAttribute("role","cue")},[e.subtitleCues,e.playerWidth]),(0,i.jsx)(g,{ref:t,lowOpacity:e.lowOpacity})});y.displayName="ConnectedSubtitles",t.Subtitles=()=>{let{state:e}=(0,s.useContext)(p.PlayerContext);return 0!==e.subtitleCues.length&&o.default.number(e.playerWidth)?(0,i.jsx)(y,{playerWidth:e.playerWidth,subtitleCues:e.subt
350itleCues,lowOpacity:e.mustShowControls}):null}},13687:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.playbackOverlay=void 0;let n={height:"60px",left:"20px",top:"34px"};t.playbackOverlay={medium:{height:"120px",left:"40px",top:"34px"},mini:n,small:n,tiny:n}},13770:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listActorNames=void 0,t.listActorNames=function(e){return e.map(e=>e.map(e=>e.name)).unwrapOr([])}},13940:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createActions=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=r.__importDefault(n(32704)),o=n(47561),s=n(41701),l=n(62300),u=n(56320),c=n(50454),d=n(30843),p=n(10109),f=n(83836),h=n(33309),m=n(46045),g=n(53335),y=n(62282),v=n(39545);t.createActions=function({clock:e,createAdScheduleForContentResource:t,emitExternal:n,emitInternal:b,fetcher:_,generateAdProxyUrl:S,logger:E,playbackCore:k,store:A,toggleRouter:T,validators:x,onSeekUpdateDebounceTime:w=2e3}){let{validateOrThrow:C,validate:I}=x,O=e=>{let{currentInitializedAd:t}=A.getState();if(i.default.nullOrUndefined(t))return!0;let n=A.getPrefetchTime();return t.getSkipOffset().unwrapOr(t.getDuration())-e<=n},R=()=>A.getAdSchedule().unwrapOrElse(()=>{throw Error("AdSchedule is not set.")}),P=()=>A.getAdCursor().unwrapOrElse(()=>{throw Error("AdCursor cannnot be constructed.")}),N=(0,a.default)(()=>{let{adSchedule:e}=A.getState();null==e||e.update({type:"seekTo"})},w,{leading:!0}),L={abortAdModeWithoutRestoringState(){A.setState({canPlayAdsForContentSessionId:null});let e=A.getState();if(e.currentInitializedAd)try{e.currentInitializedAd.stop()}catch(e){E.log("Tried to stop ad but errored with",e)}A.isInNonLinearAdMode()&&e.currentInitializedNonLinearAd&&e.currentInitializedNonLinearAd.stop(),A.resetCurrentAdState(),A.resetAdRollState(),A.setState({adMode:o.Maybe.nothing()})},activateAdBlockPrevention(){let{adBlockPreventionIsActive:e,adSchedule:t,adBlockPreventionEnabled:r}=A.getState();if(!r)throw Error("AdBlockPrevention disabled");e||(A.setState({adBlockPreventionIsActive:!0}),n("adBlockerStateChanged",{isAdBlockerEnabled:e}),null==t||t.update({type:"adblockerstatechanged"}))},addAdViewabilityProvider(e){A.setState({viewabilityProviders:[...A.getState().viewabilityProviders,e]})},checkAdBlockPreventionAvailability(){return r.__awaiter(this,void 0,void 0,function*(){if(A.getState().adBlockPreventionEnabled)try{yield _.fetchWithAdProxy("","checkAdBlockPreventionAvailability")}catch(r){let{adPositionWithinRoll:e,adRollPositionWithinContent:t,adScheduleTimeOffset:n}=A.getState();L.handleAdError({ad:{adPositionWithinRoll:e.unwrapOr(0),adRollPositionWithinContent:t.unwrapOr(0),rollName:(0,u.getRollNameByOffset)(n)},error:new d.AdError(r.message,r.code,r.type)})}})},destroy(){var e;return r.__awaiter(this,void 0,void 0,function*(){return A.setState({viewabilityProviders:[]}),A.isInLinearAdMode()&&(null==(e=A.getState().currentInitializedAd)||e.close(),L.abortAdModeWithoutRestoringState()),A.setState({isDestroyed:!0}),k.destroy()})},emitAdRollMarkersUpdate(){n("adRollMarkersUpdate",{adRollMarkers:A.getAdRollMarkers()})},fetchAd(t){return r.__awaiter(this,void 0,void 0,function*(){E.log("Fetching ad for adCursor:",t);let a=R(),{adPositionWithinRoll:s,adRollPositionWithinContent:c}=A.getState(),d=s.unwrapOr(-1)+1;A.setState({adPositionWithinRoll:o.Maybe.of(d)});let f=a.getAd(t);A.setState({fetchingAd:f,fetchingAdCursor:Object.assign({},A.createAdCursor(t)),fetchingTimestamp:e.getCurrentTimestamp()}),n("adSlotRequested",{fetchingAd:{blockPosition:c.unwrapOr(0),blockType:(0,u.getRollNameByOffset)(t.adScheduleTimeOffset),positionWithinRoll:d}});let m=()=>r.__awaiter(this,void 0,void 0,function*(){let e=Object.assign(Object.assign({},A.createAdCursor(t)),{adIndex:t.adIndex+1});A.isFetchingForAdCursor(e)||(A.handleAdPrefetchIssues(),yield L.prefetchContentWhenError())});try{let e=yield f,n=yield e.match({Err:n=>r.__awaiter(this,void 0,void 0,function*(){let r=n instanceof p.AdSchedulerError&&i.default.nullOrUndefined(n.schedulerError);if((0,h.isInvalidVastNetworkError)(n)||(0,g.isXmlMalformedError)(n)){L.activateAdBlockPrevention();let e=a.getAd(t);
350return A.setState({fetchingAd:e}),e}return r?a.getAd(t):e}),Ok:()=>r.__awaiter(this,void 0,void 0,function*(){return e})});yield n.match({Err:m,Ok:({linear:e})=>r.__awaiter(this,void 0,void 0,function*(){if(e&&T.getFeatureValue("prefetch-ad-video-sources").unwrapOr(!1)){let t=e.getSources().map(({mimetype:e,url:t})=>({isAdvertisement:!0,mimetype:e,url:t}));(0,l.isNonEmptyArray)(t)&&(yield k.prefetchSources(t))}})})}catch(e){yield m()}})},fetchAdRollForPosition(e,t){return r.__awaiter(this,void 0,void 0,function*(){let n=A.getPrefetchTime(),r=A.getAdScheduleAdRollStates().find(r=>!r.started&&r.position>=e&&r.position-n<=e||"uts"===r.positionType&&r.position>=t&&r.position-n<=t);if(!r)return;A.hasRecentAdRollBeforeStart(r.timeOffset)||(yield L.updateAdScheduleWithAdRollBeforeStart(r.timeOffset));let i=A.createAdCursorForFirstAd(A.createAdCursor({adScheduleTimeOffset:r.adScheduleTimeOffset,adScheduleTimeOffsetIndex:r.adScheduleTimeOffsetIndex}));if(!A.isFetchingForAdCursor(i))return L.fetchAd(i)})},fetchNextAdForAdPosition(e){return r.__awaiter(this,void 0,void 0,function*(){let t=A.getNextAdCursorWithinRoll();if(O(e)&&t&&!A.isFetchingForAdCursor(t))return L.fetchAd(t)})},finishAdRoll(){return r.__awaiter(this,void 0,void 0,function*(){C.canPlayAdsForContentSession(),C.isWithinAdRoll();let e=A.getState(),t=P();return A.setState({adPositionWithinRoll:o.Maybe.nothing(),currentInitializedAd:null,finishedAdCursor:[...e.finishedAdCursor,t],skipRemainingPods:!1}),n("adRollFinished"),L.updateAdScheduleWithAdRollEnd(),A.resetAdRollState(),L.emitAdRollMarkersUpdate(),L.setContentMode()})},getContentPosition:()=>A.getState().contentPosition,getDuration(){var e;let{currentInitializedAd:t,contentDuration:n}=A.getState();return A.isInLinearAdMode()?t?t.getDuration():null!=n?n:0:null!=(e=k.getDuration())?e:0},getFetcher:()=>_,getVideoQuality(){let{currentInitializedAd:e}=A.getState();return A.isInLinearAdMode()&&e?e.getVideoQuality():k.getVideoQuality()},handleAdError({error:e,ad:t}){return r.__awaiter(this,void 0,void 0,function*(){let r=A.getState(),{adSessionProxied:i,adPositionWithinRoll:a}=r;C.canHandleAdError(),A.setState({handlingAdError:!0});let o="ad_mediafile_error"===e.type,s=e.code===c.iabVastErrorCode.VAST_RESPONSE_SHIMMED,l=e.code===c.iabVastErrorCode.VAST_NETWORK_ERROR,u=!1;if(r.adBlockPreventionEnabled){if((o||l||s)&&!i)return L.activateAdBlockPrevention(),L.retryCurrentAd().catch(E.warn);let{fetchError:t}=e;u=o||"could_not_resolve_with_ad_block_prevention"===e.code||(null==t?void 0:t.code)==="could_not_resolve_with_ad_block_prevention"}let p=new d.AdError(e.message,u?"ad_blocked":e.code,u?"ad_blocked":e.type),{schedulerError:f}=e;return n("adError",{ad:Object.assign(Object.assign(Object.assign({},null==f?void 0:f.adSource),{adCursor:A.getAdCursor().unwrapOr(void 0),adPositionWithinRoll:a.unwrapOr(0)}),t),error:p}),L.startNextAdWithinRoll().catch(E.warn)})},handleAdSkipped(){return r.__awaiter(this,void 0,void 0,function*(){return L.handleAdVideoComplete()})},handleAdStopped(){return r.__awaiter(this,void 0,void 0,function*(){return L.handleAdVideoComplete()})},handleAdVideoComplete(){return r.__awaiter(this,void 0,void 0,function*(){return L.startNextAdWithinRoll()})},handleAudioTrackSelected({language:e}){A.setState({audioTrackLanguage:e})},handleNonLinearAdEvent(e){let{type:t}=e,n=r.__rest(e,["type"]);switch(e.type){case"NonLinearAdShown":b("adNonLinearAdShown",n);break;case"NonLinearAdHidden":b("adNonLinearAdHidden",n);break;case"NonLinearAdError":b("adNonLinearAdError",n);break;default:throw Error(`Unexpected value for NonLinearAdEvent type: ${e.type}`)}},handlePlaybackError(e){if(!A.isInLinearAdMode())return void n("error",e);"playback_drm_output_restricted"===e.type&&(L.abortAdModeWithoutRestoringState(),n("error",e))},handleSourceLoad(){A.setState({ignoreVideoSourceEvents:!1})},handleVideoQualityChanged(){A.setState({videoQuality:k.getVideoQuality()})},mute(e){let t=A.getState();if(!A.isInLinearAdMode())return void k.mute(e);t.currentInitializedAd&&t.currentInitializedAd.mute({origin:"api"})},openAdClickThrough(){let{currentInitializedAd:e,currentInitializedNonLinearAd:t}=A.getState();A.isInLinearAdMode()&&e&&e.openClickThrough(),A.isInNonLinearAdMode()&&t&&t.openClickThrough()},pause(){var e;return r.__awaiter(this,void 0,void 0,function*(){let t=A.getState();if(!A.isInLinearAdMode()){null==(e=t.currentInitializedNonLinearAd)||e.pause(),yield k.pause();return}t.currentInitializedAd&&t.currentInitializedAd.pause()})},play(e){var t;return r.__awaiter(this,void 0,void 0,function*(){let n=A.getState();if(n.currentInitializedAd)return void n.currentInitializedAd.resume(e);null==(t=n.currentInitializedNonLinearAd)||t.resume(e),yield k.play(e)})},prefetchContent(e){return r.__awaiter(this,void 0,void 0,function*(){let{adIndex:t}=A.getState();if(O(e)&&null!==t&&(e=>{let t=A.getCurrentAdRollLength();return null!==t&&e===t-1})(t)&&T.getFeatureValue("prefetch-ad-video-sources").unwrapOr(!1))return E.log("prefetching content"),k.prefetchRestoreState()})},prefetchContentWhenError(){return r.__awaiter(this,void 0,void 0,function*(){if(T.getFeatureValue("prefetch-ad-video-sources").unwrapOr(!1))return E.log("prefetching content on ad error"),k.prefetchRestoreState()})},reset(){var e;return r.__awaiter(this,void 0,void 0,function*(){return A.isInLinearAdMode()&&(null==(e=A.getState().currentInitializedAd)||e.close()),A.isInAdMode()&&L.abortAdModeWithoutRestoringState(),k.reset()})},retryCurrentAd(){return r.__awaiter(this,void 0,void 0,function*(){C.canPlayAdsForContentSession();let e=P();return A.resetFetchingState(),L.startAdWithinRoll(e)})},setAdMode(e){return r.__awaiter(this,void 0,void 0,function*(){if(C.canSetAdMode(e),A.setState({adMode:e}),A.isInLinearAdMode()){let e=k.getPosition();yield k.saveStateAndPause(),A.setState({contentPosition:e})}})},setAdScheduler(e){A.setState({adScheduler:e}),E.log("AdScheduler set",e)},setAdSources(e,t){return r.__awaiter(this,void 0,void 0,function*(){let n=A.getState(),r=e.map(({mimetype:e,url:t})=>({isAdvertisement:!0,mimetype:e,url:n.adBlockPreventionIsActive?S(t.trim()):t.trim()}));try{let e=yield k.setSources(r,{disableSeeking:t.disableSeeking,startOffset:0});
350return A.setState({usedAdSource:e.usedSource}),o.Result.ok(e)}catch(e){return A.setState({usedAdSource:null}),o.Result.err(Error(`Could not set Ad sources due to the following error: ${e.message}`))}})},setContentAndSources({childPlaylistIndex:e,contentResource:n,entitlementTokenPayload:i,encodedEntitlementJsonWebToken:a,options:o,sources:l}){return r.__awaiter(this,void 0,void 0,function*(){let{adScheduler:r}=A.getState();if(!r)throw Error("Please set an ad scheduler before setting content");A.isInLinearAdMode()&&(L.abortAdModeWithoutRestoringState(),yield k.reset()),A.resetContentState(),L.emitAdRollMarkersUpdate(),A.setState({contentSessionId:(0,s.v4)()});let u=yield k.setSources(l,o);return A.setState({contentDuration:u.duration,videoQuality:k.getVideoQuality()}),L.updateIsLivestream(),A.setState({adSchedule:t({actions:L,adScheduler:r,childPlaylistIndex:e,contentResource:n,encodedEntitlementJsonWebToken:a,entitlementTokenPayload:i})}),L.emitAdRollMarkersUpdate(),u})},setContentMode(){return r.__awaiter(this,void 0,void 0,function*(){C.canSetContentMode();let e=A.isInLinearAdMode();A.setState({adMode:o.Maybe.nothing(),ignoreVideoSourceEvents:!0}),A.resetAdRollState();try{e&&(yield k.restoreState())}catch(e){E.warn("Error restoring state in setContentMode",e)}finally{A.setState({ignoreVideoSourceEvents:!1})}n("durationUpdate",{duration:A.getState().contentDuration}),k.isPlaybackFinished()&&n("playbackFinished")})},setContentType:e=>{A.setState({contentType:o.Maybe.of(e)})},setPrefetchTime:()=>{E.log("Prefetch time: ",y.DEFAULT_PREFETCH_TIME),A.setState({prefetchTime:o.Maybe.of(y.DEFAULT_PREFETCH_TIME)})},setVolume(e,t){let n=A.getState();if(!A.isInLinearAdMode())return void k.setVolume(e,t);n.currentInitializedAd&&n.currentInitializedAd.setVolume(e,t)},skipAd(){let e=A.getState();e.currentInitializedAd?(E.log("Skipping ad"),e.currentInitializedAd.skip()):E.warn("No ad to skip")},startAd(){return r.__awaiter(this,void 0,void 0,function*(){let e=A.getState(),t=P();C.canStartAd(e),A.isFetchingForAdCursor(t)||(yield L.fetchAd(t));let n=R(),r=()=>({adPodLength:n.getAdPodLength(t)}),{fetchingAd:a}=A.getState(),{linear:s,nonLinear:l}=(yield o.Maybe.of(a).unwrapOr(Promise.resolve(o.Result.err(Error("No ad could be fetched"))))).match({Err:e=>{throw A.setState(r()),e},Ok:e=>e});if(!i.default.nullOrUndefined(l)){A.setState(Object.assign(Object.assign({},r()),{currentNonLinearAd:l})),f.adPlaybackEvents.forEach(e=>{l.on(e,t=>{A.getState().currentNonLinearAd===l&&b(e,t)})});let e=yield l.init();return A.setState({currentInitializedNonLinearAd:e}),e.start()}if(i.default.nullOrUndefined(s))throw Error("Fetched ads but did not contain a linear ad");A.setState(Object.assign(Object.assign({},r()),{currentAd:s})),f.adPlaybackEvents.forEach(e=>{s.on(e,t=>{A.getState().currentAd===s&&b(e,t)})});let u=yield s.init();return C.canStartAd(e),A.setState({currentInitializedAd:u}),u.start()})},startAdRoll(e){var t;return r.__awaiter(this,void 0,void 0,function*(){let{adMode:r,timeOffset:i}=e,a=A.getState();C.canStartAdRoll(a,{timeOffset:i}),A.resetAdRollState(),yield L.setAdMode(r),C.currentAdRoll(a);let o=A.getState();yield null==(t=o.adSchedule)?void 0:t.whenUpdated(),C.currentAdRoll(a);let s=A.getAdScheduleAdRollStates().find(e=>e.timeOffset===i);if(!s)return L.setContentMode();A.hasRecentAdRollBeforeStart(i)||(yield L.updateAdScheduleWithAdRollBeforeStart(i),C.currentAdRoll(a));let l=A.createAdCursor({adScheduleTimeOffset:s.adScheduleTimeOffset,adScheduleTimeOffsetIndex:s.adScheduleTimeOffsetIndex});return(A.setState(Object.assign(Object.assign({},l),{canPlayAdsForContentSessionId:o.contentSessionId,rollIndex:s.rollIndex,startedAdCursor:[...A.getState().startedAdCursor,l]})),s.timeOffsetLength)?("end"===i&&n("playbackFinishedFollowedByAds"),n("adRollStarted"),L.emitAdRollMarkersUpdate(),L.startNextAdWithinRoll()):(A.setState({finishedAdCursor:[...A.getState().finishedAdCursor,l]}),n("adRollEmpty"),L.setContentMode())})},startAdWithinRoll(e){return r.__awaiter(this,void 0,void 0,function*(){C.canPlayAdsForContentSession(),C.isWithinAdRoll(),A.resetCurrentAdState();let t=A.getState();A.setState(Object.assign(Object.assign({},e),{adSessionId:(0,s.v4)(),adSessionProxied:t.adBlockPreventionIsActive}));let n=A.getState(),i=e=>r.__awaiter(this,void 0,void 0,function*(){if(!I.currentAdSession(n))return;let t=Object.assign(Object.assign(Object.assign({},(0,g.isXmlParsingError)(e)&&{ad:{resource:e.xmlJson}}),(0,m.isVastSchemaError)(e)&&{ad:{resource:e.vastJson}}),{error:e});L.handleAdError(t).catch(E.warn)});try{(yield L.startAd()).map(i)}catch(e){i(e)}})},startMidrollForPosition(e,t){return r.__awaiter(this,void 0,void 0,function*(){C.isInContentMode();let n=A.getAdScheduleAdRollStates().filter(e=>"start"!==e.timeOffset&&"end"!==e.timeOffset).filter(n=>Math.round(e)===Math.round(n.position)||"uts"===n.positionType&&n.position<=t).slice(-1)[0];if(n&&!n.started){let e=v.adModeSchema.safeParse(n.type);return L.startAdRoll({adMode:e.success?o.Maybe.of(e.data):o.Maybe.nothing(),timeOffset:n.timeOffset})}})},startNextAdWithinRoll(){return r.__awaiter(this,void 0,void 0,function*(){C.canPlayAdsForContentSession(),C.currentAdRoll(A.getState());let e=A.getNextAdCursorWithinRoll();return e?L.startAdWithinRoll(e):L.finishAdRoll()})},trackViewability(e,t){return r.__awaiter(this,void 0,void 0,function*(){let{viewabilityProvi
350ders:n,isDestroyed:r}=A.getState();if(r)return void E.log(`viewability tracking for "${e}" not done because instance is destroyed, viewability info was:`,t);n.forEach(n=>{E.log(`viewability tracker tracking "${e}" with`,t);try{n(e,t)}catch(t){E.error(`viewability tracker tracking "${e}" errored`,t)}})})},unmute(e){let t=A.getState();if(!A.isInLinearAdMode())return void k.unmute(e);t.currentInitializedAd&&t.currentInitializedAd.unmute({origin:"api"})},updateAdScheduleWithAdComplete(){return r.__awaiter(this,void 0,void 0,function*(){let e=A.getState(),t=P(),{adSchedule:n}=e;return C.currentAdSchedule(e),null==n||n.update({adCursor:Object.assign(Object.assign({},t),{rollName:(0,u.getRollNameByOffset)(t.adScheduleTimeOffset)}),type:"adcomplete"}),null==n?void 0:n.whenUpdated()})},updateAdScheduleWithAdImpression(){return r.__awaiter(this,void 0,void 0,function*(){let e=A.getState(),t=P(),{adSchedule:n}=e;return C.currentAdSchedule(e),null==n||n.update({adCursor:Object.assign(Object.assign({},t),{rollName:(0,u.getRollNameByOffset)(t.adScheduleTimeOffset)}),type:"adimpression"}),null==n?void 0:n.whenUpdated()})},updateAdScheduleWithAdRollBeforeStart(t){return r.__awaiter(this,void 0,void 0,function*(){let n=A.getState(),{adRollPositionWithinContent:r}=A.getState(),{adSchedule:i}=n;A.setState({adRollPositionWithinContent:o.Maybe.just(r.unwrapOr(-1)+1)}),C.currentAdSchedule(n),null==i||i.update({rollPosition:t,type:"adrollbeforestart"});let a=null==i?void 0:i.whenUpdated();return A.setState({adRollBeforeStartPromise:a,adRollBeforeStartTimeOffset:t,adRollBeforeStartTimestamp:e.getCurrentTimestamp()}),a})},updateAdScheduleWithAdRollEnd(){return r.__awaiter(this,void 0,void 0,function*(){let e=A.getState(),t=P(),{adSchedule:n}=e;return C.currentAdSchedule(e),null==n||n.update({adCursor:Object.assign(Object.assign({},t),{rollName:(0,u.getRollNameByOffset)(t.adScheduleTimeOffset)}),type:"adrollend"}),null==n?void 0:n.whenUpdated()})},updateAdScheduleWithSeek(){return r.__awaiter(this,void 0,void 0,function*(){let e=A.getState(),{adSchedule:t}=e;return C.currentAdSchedule(e),N(),null==t?void 0:t.whenUpdated()})},updateContentDuration(){A.isInLinearAdMode()||A.setState({contentDuration:k.getDuration()})},updateContentPosition(){if(A.isInLinearAdMode())return;let t=k.getPosition(),n=k.isLivestream(),r=0;if(n){let{firstLivestreamPosition:e}=A.getState();null===e&&A.setState({firstLivestreamPosition:t}),r=(t-e)/1e3}let i=n?Math.round(t/1e3):Math.round(e.getCurrentTimestamp()/1e3);A.setState({contentPosition:t,contentPositionAsUts:i,contentPositionInSeconds:n?r:t})},updateIsLivestream(){A.isInLinearAdMode()||A.setState({isLivestream:k.isLivestream()})},updateStalling(){let{hasEmittedStalling:e}=A.getState(),t=A.isStalling();!e&&t?(A.setState({hasEmittedStalling:!0}),n(A.isInLinearAdMode()?"adStallStarted":"stallStarted")):e&&!t&&(A.setState({hasEmittedStalling:!1}),n(A.isInLinearAdMode()?"adStallEnded":"stallEnded"))}};return L}},14397:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.internalEvents=void 0,t.internalEvents=["adScheduleUpdated","adSchedulerCallErrorOnGet","adSchedulerCallTimedOut"]},14402:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.determinePlaybackStartPosition=void 0,t.determinePlaybackStartPosition=function(e){return e.mapOr(0,e=>e.watchedPercentage>95?0:e.position)}},14555:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.replaceMacros=t.populateMacroValues=void 0,t.populateMacroValues=(e,t)=>{var n;let{random:r,getDate:i,getCurrentDate:a}=t,{assetUri:o,contentPositionInSeconds:s,errorCode:l}=e;return{ASSETURI:null!=o?o:"",CACHEBUSTING:Math.floor(1e9*r()).toString().padStart(8,"0").slice(0,8),CONTENTPLAYHEAD:i((null!=s?s:0)*1e3).toJSON().slice(11,23),ERRORCODE:null!=(n=null==l?void 0:l.toString())?n:"",TIMESTAMP:a().toJSON()}},t.replaceMacros=(e,t,n)=>Object.keys(t).reduce((e,r)=>{let i;return i=t[r],e.replace(RegExp(`(%5B|\\[)${r}(%5D|\\])`,"g"),n(i))},e)},14567:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdUserFeedbackButton=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(95611)),s=n(53239),l=n(66976),u=n(19630),c=n(81161),d=n(66075),p=[{label:"Zu laut",reason:"loudne
350ss"},{label:"H\xe4ngt / Spielt nicht ab",reason:"playback"},{label:"Schlechte Qualit\xe4t",reason:"quality"},{label:"Zu oft gesehen",reason:"frequency"},{label:"Inhalt nicht relevant",reason:"relevance"},{label:"Alles ok",reason:"all_good"}],f=a.default.aside(()=>({backgroundColor:"#333333",bottom:"42px",display:"flex",flexDirection:"column",minHeight:"343px",padding:"30px 45px",position:"absolute",right:0,width:"215px"})),h=a.default.h2(({theme:e})=>({color:e.color.white,cursor:"default",fontFamily:e.fontFamilyBold,fontSize:"16px",fontWeight:"unset",lineHeight:"19px",margin:"0px",padding:"0px"})),m=a.default.menu({lineHeight:0,listStyleType:"none",margin:0,padding:0}),g=a.default.li(({theme:e})=>({":not(:last-child)":{marginBottom:"10px"},alignItems:"center",borderRadius:"2px",color:e.color.white,display:"flex",height:"36px"})),y=a.default.button(({theme:e})=>({":hover":{color:(0,o.default)(e.color.white,.5)},background:"none",border:"none",color:e.color.white,cursor:"pointer",fontFamily:e.fontFamily,fontSize:"16px",fontStyle:"normal",fontWeight:"400",height:"100%",padding:"0px",textAlign:"left",width:"100%"})),v=a.default.main(({theme:e})=>({background:"none",border:"none",color:(0,o.default)(e.color.white,.7),flexGrow:1,fontFamily:e.fontFamily,fontSize:"16px",fontStyle:"normal",fontWeight:"400",padding:"0px",textAlign:"left",width:"100%"})),b=a.default.footer(()=>({marginBottom:"10px",width:"100%"})),_=a.default.button(({theme:e})=>({":hover":{backgroundColor:e.color.white,color:e.color.black},alignItems:"center",background:"none",backgroundColor:(0,o.default)(e.color.white,.2),border:"none",borderRadius:"2px",color:e.color.white,cursor:"pointer",display:"flex",flexDirection:"column",fontFamily:e.fontFamilyBold,fontSize:"16px",fontStyle:"normal",fontWeight:"unset",gap:"10px",height:"44px",justifyContent:"center",textAlign:"left",width:"117px"}));t.AdUserFeedbackButton=()=>{let{actions:e,state:t}=(0,s.useContext)(l.PlayerContext),{mustShowAdvertisementFeedbackMenu:n,mustShowAdvertisementFeedbackSent:r}=t,a=n||r;(0,s.useEffect)(()=>{let t=()=>{a&&e.hideAdvertisementFeedbackMenu()};return document.addEventListener("click",t),()=>{document.removeEventListener("click",t)}});let o=(0,i.jsxs)(f,{children:[(0,i.jsx)(h,Object.assign({style:{marginBottom:"10px",paddingBottom:"10px"}},{children:"Hast du W\xfcnsche oder Anregungen zu diesem Werbespot?"})),(0,i.jsx)(m,{children:p.map((t,n)=>(0,i.jsx)(g,{children:(0,i.jsx)(y,Object.assign({onClick:n=>{let{reason:r}=t;n.stopPropagation(),void 0!==r&&e.sendAdFeedback({reason:r}),e.showAdvertisementFeedbackSent()},type:"button"},{children:t.label}))},n))})]}),S=(0,i.jsxs)(f,{children:[(0,i.jsx)(h,Object.assign({style:{marginBottom:"16px"}},{children:"Danke f\xfcr dein Feedback."})),(0,i.jsx)(v,{children:"Wir arbeiten st\xe4ndig daran unser Werbeangebot f\xfcr dich zu optimieren."}),(0,i.jsx)(b,{children:(0,i.jsx)(_,Object.assign({"aria-label":"User Feedback Schlie\xdfen",onClick:t=>{t.stopPropagation(),e.hideAdvertisementFeedbackMenu()},type:"button"},{children:"Schlie\xdfen"}))})]});return(0,i.jsxs)(c.DetailsWidget,Object.assign({open:a,summaryContent:(0,i.jsx)(u.ControlButton,{onClick:()=>{a?e.hideAdvertisementFeedbackMenu():e.showAdvertisementFeedbackMenu()},label:"User Feedback",icon:d.MoodSelector})},{children:[n?o:null,r?S:null]}))}},14665:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CSSTransition:()=>T,ReplaceTransition:()=>P,SwitchTransition:()=>F,Transition:()=>E,TransitionGroup:()=>O,config:()=>p});var r,i,a=n(91899);function o(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}function s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,s(e,t)}
350function u(e,t){return e.replace(RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var c=n(53239),d=n(96694);let p={disabled:!1},f=c.createContext(null);var h=function(e){return e.scrollTop},m="unmounted",g="exited",y="entering",v="entered",b="exiting",_=function(e){function t(t,n){var r,i=e.call(this,t,n)||this,a=n&&!n.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?a?(r=g,i.appearStatus=y):r=v:r=t.unmountOnExit||t.mountOnEnter?m:g,i.state={status:r},i.nextCallback=null,i}l(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===m?{status:g}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==y&&n!==v&&(t=y):(n===y||n===v)&&(t=b)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===y){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:d.findDOMNode(this);n&&h(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===g&&this.setState({status:m})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[d.findDOMNode(this),r],a=i[0],o=i[1],s=this.getTimeouts(),l=r?s.appear:s.enter;if(!e&&!n||p.disabled)return void this.safeSetState({status:v},function(){t.props.onEntered(a)});this.props.onEnter(a,o),this.safeSetState({status:y},function(){t.props.onEntering(a,o),t.onTransitionEnd(l,function(){t.safeSetState({status:v},function(){t.props.onEntered(a,o)})})})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:d.findDOMNode(this);if(!t||p.disabled)return void this.safeSetState({status:g},function(){e.props.onExited(r)});this.props.onExit(r),this.safeSetState({status:b},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:g},function(){e.props.onExited(r)})})})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:d.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(!n||r)return void setTimeout(this.nextCallback,0);if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=i[0],o=i[1];this.props.addEndListener(a,o)}null!=e&&setTimeout(this.nextCallback,e)},n.render=function(){var e=this.state.status;if(e===m)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,o(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return c.createElement(f.Provider,{value:null},"function"==typeof n?n(e,r):c.cloneElement(c.Children.only(n),r))},t}(c.Component);function S(){}_.contextType=f,_.propTypes={},_.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:S,onEntering:S,onEntered:S,onExit:S,onExiting:S,onExited:S},_.UNMOUNTED=m,_.EXITED=g,_.ENTERING=y,_.ENTERED=v,_.EXITING=b;let E=_;var k=function(e,t){return e&&t&&t.split(" ").forEach(function(t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=u(e.className,t):e.setAttribute("class",u(e.className&&e.className.baseVal||"",t))})},A=function(e){function t(){for(var t,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];
350return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1];t.removeClasses(i,"exit"),t.addClass(i,a?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1];t.addClass(i,a?"appear":"enter","active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1]?"appear":"enter";t.removeClasses(i,a),t.addClass(i,a,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r&&n?n+"-":"",a=r?""+i+e:n[e],o=r?a+"-active":n[e+"Active"],s=r?a+"-done":n[e+"Done"];return{baseClassName:a,activeClassName:o,doneClassName:s}},t}l(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r,i=this.getClassNames(t)[n+"ClassName"],a=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&a&&(i+=" "+a),"active"===n&&e&&h(e),i&&(this.appliedClasses[t][n]=i,r=i,e&&r&&r.split(" ").forEach(function(t){e.classList?e.classList.add(t):(e.classList?t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" "))||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,a=n.done;this.appliedClasses[t]={},r&&k(e,r),i&&k(e,i),a&&k(e,a)},n.render=function(){var e=this.props,t=(e.classNames,o(e,["classNames"]));return c.createElement(E,(0,a.A)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(c.Component);A.defaultProps={classNames:""},A.propTypes={};let T=A;function x(e,t){var n=Object.create(null);return e&&c.Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=t&&(0,c.isValidElement)(e)?t(e):e}),n}function w(e,t,n){return null!=n[t]?n[t]:e.props[t]}var C=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},I=function(e){function t(t,n){var r=e.call(this,t,n)||this,i=r.handleExited.bind(function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}l(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,a=t.handleExited;
350return{children:t.firstRender?x(e.children,function(t){return(0,c.cloneElement)(t,{onExited:a.bind(null,t),in:!0,appear:w(t,"appear",e),enter:w(t,"enter",e),exit:w(t,"exit",e)})}):(Object.keys(r=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),a=[];for(var o in e)o in t?a.length&&(i[o]=a,a=[]):a.push(o);var s={};for(var l in t){if(i[l])for(r=0;r<i[l].length;r++){var u=i[l][r];s[i[l][r]]=n(u)}s[l]=n(l)}for(r=0;r<a.length;r++)s[a[r]]=n(a[r]);return s}(i,n=x(e.children))).forEach(function(t){var o=r[t];if((0,c.isValidElement)(o)){var s=t in i,l=t in n,u=i[t],d=(0,c.isValidElement)(u)&&!u.props.in;l&&(!s||d)?r[t]=(0,c.cloneElement)(o,{onExited:a.bind(null,o),in:!0,exit:w(o,"exit",e),enter:w(o,"enter",e)}):l||!s||d?l&&s&&(0,c.isValidElement)(u)&&(r[t]=(0,c.cloneElement)(o,{onExited:a.bind(null,o),in:u.props.in,exit:w(o,"exit",e),enter:w(o,"enter",e)})):r[t]=(0,c.cloneElement)(o,{in:!1})}}),r),firstRender:!1}},n.handleExited=function(e,t){var n=x(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=(0,a.A)({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=o(e,["component","childFactory"]),i=this.state.contextValue,a=C(this.state.children).map(n);return(delete r.appear,delete r.enter,delete r.exit,null===t)?c.createElement(f.Provider,{value:i},a):c.createElement(f.Provider,{value:i},c.createElement(t,r,a))},t}(c.Component);I.propTypes={},I.defaultProps={component:"div",childFactory:function(e){return e}};let O=I;var R=function(e){function t(){for(var t,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}l(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var r,i=this.props.children,a=c.Children.toArray(i)[t];if(a.props[e]&&(r=a.props)[e].apply(r,n),this.props[e]){var o=a.props.nodeRef?void 0:d.findDOMNode(this);this.props[e](o)}},n.render=function(){var e=this.props,t=e.children,n=e.in,r=o(e,["children","in"]),i=c.Children.toArray(t),a=i[0],s=i[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,c.createElement(O,r,n?c.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):c.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(c.Component);R.propTypes={};let P=R;var N={out:"out-in",in:"in-out"},L=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},j=((r={})[N.out]=function(e){var t=e.current,n=e.changeState;return c.cloneElement(t,{in:!1,onExited:L(t,"onExited",function(){n(y,null)})})},r[N.in]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,c.cloneElement(r,{in:!0,onEntered:L(r,"onEntered",function(){n(y)})})]},r),M=((i={})[N.out]=function(e){var t=e.children,n=e.changeState;return c.cloneElement(t,{in:!0,onEntered:L(t,"onEntered",function(){n(v,c.cloneElement(t,{in:!0}))})})},i[N.in]=function(e){var t=e.current,n=e.children,r=e.changeState;return[c.cloneElement(t,{in:!1,onExited:L(t,"onExited",function(){r(v,c.cloneElement(n,{in:!0}))})}),c.cloneElement(n,{in:!0})]},i),D=function(e){function t(){for(var t,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={status:v,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}l(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){var n,r;return null==e.children?{current:null}:t.status===y&&e.mode===N.in?{status:y}:t.current&&!((n=t.current)===(r=e.children)||c.isValidElement(n)&&c.isValidElement(r)&&null!=n.key&&n.key===r.key)&&1?{status:b}:{current:c.cloneElement(e.children,{in:!0})}},n.render=function(){var e,t=this.props,n=t.children,r=t.mode,i=this.state,a=i.status,o=i.current,s={children:n,current:o,changeState:this.changeState,status:a};switch(a){case y:e=M[r](s);break;case b:e=j[r](s);break;case v:e=o}return c.createElement(f.Provider,{value:{isMounting:!this.appeared}},e)},t}(c.Component);D.propTypes={},D.defaultProps={mode:N.out};let F=D}
350,14693:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getOverlayGradient=void 0;let r=n(70015).__importDefault(n(95611));t.getOverlayGradient=(e,t,n,i)=>e?`linear-gradient(to top, ${(0,r.default)(n.color.black,.4)} 0%, ${(0,r.default)(n.color.black,0)} 50%)`:t?`linear-gradient(to top, ${(0,r.default)(n.color.black,.6)} 0%, ${(0,r.default)(n.color.black,0)} 14%)`:`linear-gradient(to top, ${(0,r.default)(null!=i?i:n.color.primary,.4)}, ${(0,r.default)(n.color.black,0)} 50%), linear-gradient(to bottom, ${(0,r.default)(n.color.black,.3)}, ${(0,r.default)(n.color.black,.8)} 100%)`},14744:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joynDistributionTenantSchema=void 0,t.joynDistributionTenantSchema=n(92712).z.enum(["ILLY","JOYN","JOYN_AT","JOYN_CH"])},14778:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validate=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47561),a=n(47397),o=n(46045),s=e=>Object.prototype.toString.call(e);t.validate=e=>n=>{let{scheme:l,vastString:u,parentPath:c=""}=e;return Object.keys(n).map(e=>{var d;let p=c+e,f=n[e],h=null!=(d=l[e])?d:l[0],m=(0,a.hasProperty)(l,r.default.array(n)?"0":e);if((0,a.hasProperty)(l,e)&&r.default.nullOrUndefined(h)&&r.default.string(f))return i.Result.ok(n);if(m&&!r.default.function_(h)){if(!r.default.nullOrUndefined(null==f?void 0:f.value)&&r.default.nullOrUndefined(h))return i.Result.ok(n);if(s(f)!==s(h))return i.Result.err(new o.VastSchemaError(p,u,n));if(!r.default.nullOrUndefined(f)&&!r.default.nullOrUndefined(h))return(0,t.validate)({parentPath:`${p}.`,scheme:h,vastString:u})(f)}return i.Result.ok(n)}).reduce((e,t)=>t.andThen(()=>e),i.Result.ok(n)).mapErr(({message:e})=>new o.VastSchemaError(e,u,n))}},14810:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.determineColors=t.createSemiTransparentWhiteColorString=void 0;let r=n(70015).__importDefault(n(95611));function i(e){return(0,r.default)("#fff",e)}t.createSemiTransparentWhiteColorString=i,t.determineColors=function(e){let{vibrantColor:t,darkVibrantColor:n,isCurrentlyRunning:a=!0,isChannelItemHeader:o=!1,selectedPlaylistChildIndex:s,playlistChildIndex:l,selected:u,channelType:c}=e,d="live-on-demand"===c;return a&&!d||d&&a&&!u||d&&u&&(o||s===l)?u?{airTimeColor:i(.5),airTimeHoverColor:i(.5),backgroundColor:n,backgroundHoverColor:t,titleColor:"#fff",titleHoverColor:"#fff"}:{airTimeColor:i(.5),airTimeHoverColor:i(.5),backgroundColor:i(.2),backgroundHoverColor:i(.5),titleColor:"#fff",titleHoverColor:"#fff"}:u?{airTimeColor:i(.35),airTimeHoverColor:i(.5),backgroundColor:(0,r.default)(n,.4),backgroundHoverColor:(0,r.default)(d?t:n,.4),titleColor:i(.7),titleHoverColor:"#fff"}:{airTimeColor:i(.5),airTimeHoverColor:i(.5),backgroundColor:i(.08),backgroundHoverColor:i(.2),titleColor:i(.7),titleHoverColor:"#fff"}}},14856:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitizeSentryReleaseName=void 0;let n=new Set([" ",".",".."]),r=new Set(["/","\\"]);function i(e){return r.has(e)?"|":e}function a(e,t){return"|"===t&&"|"===e[e.length-1]?e:[...e,t]}t.sanitizeSentryReleaseName=function(e){let t=e.length;if(t>200)throw Error(`The length ${t} exceeds the limit of 200`);if(n.has(e))throw Error(`The input "${e}" is not allowed`);return e.split("").map(i).reduce(a,[]).join("")}},15056:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logLevelFromOptions=t.logLevelFromQueryString=void 0;let n=new Set(["debug","none","error","warn"]);t.logLevelFromQueryString=function(e){let t=new URLSearchParams(e.search).get("loglevel");return"string"==typeof t&&n.has(t)?t:void 0},t.logLevelFromOptions=function(e,t){return void 0!==t?t:e.logLevel}},15188:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetupPersonalIdentificationNumber=t.StyledButton=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(22110)),s=n(53239),l=n(47561),u=n(75609),c=n(66976),d=n(37514),p=n(90105),f=(0,o.default)({featureDetect:!0,tablet:!0}),h=a.default.div({backgroundColor:"#000000",display:"flex",height:"100%",
350justifyContent:"center",left:0,position:"absolute",top:0,width:"100%",zIndex:d.dialogLayer}),m=a.default.div({alignItems:"center",display:"flex",flexDirection:"column",maxWidth:"100%"}),g=a.default.h1(({theme:e})=>({alignItems:"center",display:"flex",fontFamily:e.fontFamilyBold,fontSize:f?"24px":"28px",lineHeight:f?"30px":"36px",padding:f?"90px 0 0":"140px 0px 20px",textAlign:"center"})),y=a.default.div(()=>({alignItems:"center",display:"flex",flexDirection:"column",margin:0,padding:f?"0 8.5% 8px":"0 17.135%"})),v=a.default.p(({theme:e})=>({alignItems:"center",color:"rgba(255, 255, 255, 0.8)",display:"flex",fontFamily:e.fontFamily,fontSize:"17px",lineHeight:f?"24px":"20px",margin:f?"0 0 18px":"0 0 30px",textAlign:"center"}));t.StyledButton=(0,a.default)(p.Button)(({theme:e,isMainButton:t})=>({":hover":{backgroundColor:"#ffffff",color:"#000000"},backgroundColor:t?"#8e8e8e":"#333333",borderRadius:"2px",color:"#ffffff",fontFamily:e.fontFamilyBold,fontSize:"16px",height:"44px",lineHeight:"20px",marginBottom:"10px",transition:"background-color 0.3s ease-in-out 0s",width:f?"90%":"320px"})),t.SetupPersonalIdentificationNumber=()=>{let{actions:e,state:n}=(0,s.useContext)(c.PlayerContext),{playlist:r,playlistIndex:a,disableEPG:o}=n,d=l.Maybe.of(a).andThen(e=>l.Maybe.of(r[e])).mapOr(!1,u.isLiveContentResource);return"setup_personal_identification_number"!==n.requiredAction?null:(0,i.jsx)(h,{children:(0,i.jsxs)(m,{children:[(0,i.jsx)(g,{children:"Dieser Inhalt hat eine Altersbeschr\xe4nkung"}),(0,i.jsxs)(y,{children:[(0,i.jsx)(v,{children:"Um Inhalte mit einer Altersfreigabe anschauen zu k\xf6nnen, musst du eine Jugendschutz-PIN setzen."}),(0,i.jsx)(v,{children:"Damit stellen wir sicher, dass Minderj\xe4hrige keine Jugendschutz relevanten Inhalte anschauen k\xf6nnen."})]}),(0,i.jsx)(t.StyledButton,Object.assign({"aria-label":"PIN setzen",isMainButton:!0,onClick:e.showPersonalIdentificationNumberSettings,variant:"contained"},{children:"PIN setzen"})),(0,i.jsx)(t.StyledButton,Object.assign({"aria-label":"Abbrechen",isMainButton:!1,onClick:((e,t,n)=>t?n?()=>{e.triggerPersonalIdentificationNumberCancellation()}:()=>{e.skipToPlaylistIndex({playlistIndex:0})}:()=>{e.destroy()})(e,d,o),variant:"contained"},{children:"Abbrechen"}))]})})}},15210:(e,t,n)=>{var r=n(54906).extend({constructor:function(){this.reset()},reset:function(){this.startTime=0,this.stopTime=0,this.pauseTime=0,this.offset=0},getDeltaTime:function(e){var t=-1,n=new Date().getTime();if(this.startTime){e&&!this.stopTime&&(this.stopTime=n);var r=this.pauseTime?n-this.pauseTime:0,i=this.stopTime?this.stopTime:n;t=this.offset-r+(i-this.startTime)}return t},start:function(){this.startTime=new Date().getTime(),this.stopTime=0,this.offset=0},stop:function(){return this.pauseTime&&this.resume(),this.stopTime=new Date().getTime(),this.startTime?this.offset+(this.stopTime-this.startTime):-1},pause:function(){this.pauseTime=new Date().getTime()},resume:function(){this.offset-=new Date().getTime()-this.pauseTime,this.pauseTime=0},clone:function(){var e=new r;return e.startTime=this.startTime,e.stopTime=this.stopTime,e.offset=this.offset,e}});e.exports=r},15251:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFullscreenService=void 0;let n=[{events:{change:"fullscreenchange",error:"fullscreenerror"},exitFullscreenMethodName:"exitFullscreen",fullscreenElementPropertyName:"fullscreenElement",requestFullscreenMethodName:"requestFullscreen"},{events:{change:"webkitfullscreenchange",error:"webkitfullscreenerror"},exitFullscreenMethodName:"webkitExitFullscreen",fullscreenElementPropertyName:"webkitCurrentFullScreenElement",requestFullscreenMethodName:"webkitRequestFullscreen"},{events:{change:"mozfullscreenchange",error:"mozfullscreenerror"},exitFullscreenMethodName:"mozCancelFullScreen",fullscreenElementPropertyName:"mozFullScreenElement",requestFullscreenMethodName:"mozRequestFullScreen"},{events:{change:"MSFullscreenChange",error:"MSFullscreenError"},exitFullscreenMethodName:"msExitFullscreen",fullscreenElementPropertyName:"msFullscreenElement",requestFullscreenMethodName:"msRequestFullscreen"}];t.createFullscreenService=({fullscreenNode:e,document:t})=>{let r={onChangeHandlers:[]};function i(){return function(e){let t=n.find(t=>void 0!==e[t.fullscreenElementPropertyName]);if(t){let n=e[t.fullscreenElementPropertyName];if(n)return n}return null}(t)===e}let a={documentChangeOrError:()=>{let e=i();
350r.onChangeHandlers.forEach(t=>{t(null,{isFullscreen:e})})}},o=e=>{n.forEach(({events:{change:t,error:n}})=>{e(t,a.documentChangeOrError),e(n,a.documentChangeOrError)})};return{destroy(){r.onChangeHandlers.splice(0),o(t.removeEventListener.bind(t))},enterFullscreen(){i()||function(e){let t=n.find(t=>void 0!==e[t.requestFullscreenMethodName]);if(t){let n=e[t.requestFullscreenMethodName];n&&void 0===n.apply(e)&&Promise.resolve()}}(e)},exitFullscreen(){i()&&function(e){let t=n.find(t=>void 0!==e[t.exitFullscreenMethodName]);if(t){let n=e[t.exitFullscreenMethodName];n&&void 0===n.apply(e)&&Promise.resolve()}}(t)},init(){o(t.addEventListener.bind(t))},isFullscreen:i,isFullscreenModeSupported:()=>document.fullscreenEnabled,onChange(e){r.onChangeHandlers.push(e)}}}},15415:(e,t,n)=>{e.exports=n(54906).extend({constructor:function(e){this.plugin=e,this.isInBackground=!1,this.listenerReference=this._visibilityListener.bind(this),this._reset()},startDetection:function(){this.isBackgroundDetectorStarted||"undefined"==typeof document||(this.isBackgroundDetectorStarted=!0,document.addEventListener("visibilitychange",this.listenerReference))},stopDetection:function(){this.isBackgroundDetectorStarted&&"undefined"!=typeof document&&(document.removeEventListener("visibilitychange",this.listenerReference),this._reset())},_reset:function(){this.isBackgroundDetectorStarted=!1},_visibilityListener:function(e){if("undefined"!=typeof document){var t=this._getSettings();"hidden"===document.visibilityState?this._toBackground(t):"visible"===document.visibilityState&&this._toForeground(t)}},_toBackground:function(e){if(this.isInBackground=!0,this.plugin&&this.plugin._adsAdapter&&this.plugin._adsAdapter.stopChronoView(),"string"==typeof e){switch(e){case"stop":this._fireStop();break;case"pause":this._firePause()}if(this.plugin.infinity.infinityStarted){this.lastBeatTime=new Date().getTime();var t=this.plugin._beat.chrono.startTime?this.lastBeatTime-this.plugin._beat.chrono.startTime:0;this.plugin._sendBeat(t),this.plugin._beat.stop()}}},_toForeground:function(e){if(this.isInBackground=!1,this.plugin&&this.plugin._adsAdapter&&this.plugin._adsAdapter.startChronoView(),"string"==typeof e&&e&&this.plugin.infinity.infinityStarted){var t=new Date().getTime();t-this.lastBeatTime<this.plugin.sessionExpire?(this.plugin._sendBeat(t-this.lastBeatTime),this.plugin._beat.start()):this.plugin.infinity.newSession()}},_getSettings:function(){return"string"==typeof this.plugin.options["background.settings"]&&this.plugin.options["background.settings"]?this.plugin.options["background.settings"]:this.plugin.deviceDetector.isSmartTV()?this.plugin.options["background.settings.tv"]:this.plugin.deviceDetector.isDesktop()?this.plugin.options["background.settings.desktop"]:this.plugin.deviceDetector.isAndroid()?this.plugin.options["background.settings.android"]:this.plugin.deviceDetector.isIphone()?this.plugin.options["background.settings.iOS"]:this.plugin.deviceDetector.isPlayStation()?this.plugin.options["background.settings.playstation"]:void 0},_firePause:function(){this._fireX("firePause")},_fireStop:function(){this._fireX("fireStop"),this.plugin.fireStop()},_fireX:function(e){this.adsAdapter=this.plugin.getAdsAdapter(),this.adsAdapter&&this.adsAdapter[e](),this.contentAdapter=this.plugin.getAdapter(),this.contentAdapter&&this.contentAdapter[e]()},canBlockStartCalls:function(){return this.isInBackground&&!0===this.plugin.options["background.enabled"]&&this._getSettings()}})},15541:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertToEmptyString=t.convertToSecondsOrPercent=t.convertToSeconds=void 0;let r=n(70015).__importDefault(n(19577)),i=/(?<hours>\d\d):(?<minutes>\d\d):(?<seconds>\d\d)(?:\.(?<milliseconds>\d\d\d))?/;t.convertToSeconds=e=>{var t,n,a,o;let s,l;return r.default.number(e)?e:(r.default.nonEmptyString(e)&&(s=i.exec(e))&&(l=((e="0")=>60*Number.parseInt(e,10)*6e4)(null==(t=s.groups)?void 0:t.hours)+((e="0")=>60*Number.parseInt(e,10)*1e3)(null==(n=s.groups)?void 0:n.minutes)+((e="0")=>1e3*Number.parseInt(e,10))(null==(a=s.groups)?void 0:a.seconds)+((e="0")=>Number.parseInt(e,10))(null==(o=s.groups)?void 0:o.milliseconds)),r.default.number(l)?l/1e3:void 0)},t.convertToSecondsOrPercent=e=>{if(!r.default.nullOrUndefined(e))return r.default.string(e)&&/^\d+(?:\.\d+)?%$/.test(e)?e:(0,t.convertToSeconds)(e)},t.convertToEmptyString=e=>r.default.nullOrUndefined(e)?"":`${e}`}
350,16002:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.idSchema=void 0,t.idSchema=n(92712).z.string().min(1)},16006:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatIssueMessage=void 0;let r=n(62300),i=n(43285),a=n(2373),o=n(56404),s=n(16470),l=n(8711),u={invalid_type:i.formatInvalidTypeIssue,invalid_union:o.formatInvalidUnionIssue,invalid_union_discriminator:a.formatInvalidUnionDiscriminatorIssue,unrecognized_keys:l.formatUnrecognizedKeysIssue};t.formatIssueMessage=function(e,t){let n=u[e.code],i=(0,s.formatPath)(e.path);if(n){let a=(0,r.isNonEmptyArray)(e.path)?` for ${i}`:"";return n(e,{formattedPath:i,inputData:t.data,location:a})}return{message:`${i}: ${t.defaultError}`}}},16052:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapMovieContentResourceToLegacyContentResource=t.mapMovieOnDemandChannelContentResourceToLegacyContentResource=t.buildContentResourceForMovie=t.buildContentResourceForMovieInOnDemandChannel=void 0;let r=n(47561),i=n(50160),a=n(13770),o=n(42070),s=n(29241),l=n(41639),u=n(14402),c=n(6904),d=n(99354);function p(e){let t=(0,s.featureCheck)(i.FeatureType.CornerBug,e.features);return{actors:(0,a.listActorNames)(e.cast),ageRating:(0,l.minimumAgeFromAgeRating)(e),ageRatingDescriptors:(0,l.descriptorFromAgeDescriptor)(e),brandLogo:(0,o.brandLogoFromBrands)(e),brandName:(0,o.brandNameFromBrands)(e),contentTags:(0,d.listVideoDescriptorNames)(e.videoDescriptors),contentType:"movie",externalTrackingId:(0,c.externalTrackingIdFromTracking)(e),genres:(0,c.genresFromTracking)(e),hasCornerBug:t,hasProductPlacement:e.productPlacement,id:e.video.id,infOnlineCode:(0,c.infOnlineCodeFromTracking)(e),licenseTypes:e.licenseTypes,path:e.path,poster:e.posterImage.map(e=>e.url),primaryColor:e.heroLandscapeImage.map(e=>e.vibrantColor),title:e.title,titleImage:e.artLogoImage.map(e=>e.url),tvShowId:r.Maybe.just(e.id)}}function f(e){return{actors:e.actors,ageRating:e.ageRating.unwrapOr(void 0),ageRatingDescriptors:e.ageRatingDescriptors.unwrapOr(void 0),brandLogo:e.brandLogo.unwrapOr(void 0),brandName:e.brandName.unwrapOr(""),contentTags:e.contentTags,contentType:"movie",externalTrackingId:e.externalTrackingId.unwrapOr(""),genres:e.genres,hasCornerBug:e.hasCornerBug.unwrapOr(!1),hasProductPlacement:e.hasProductPlacement.unwrapOr(void 0),id:e.id,infOnlineCode:e.infOnlineCode.unwrapOr(""),licenseTypes:e.licenseTypes,poster:e.poster.unwrapOr(void 0),primaryColor:e.primaryColor.unwrapOr(void 0),title:e.title,titleImage:e.titleImage.unwrapOr(void 0),tvShowId:e.tvShowId.unwrapOr("")}}t.buildContentResourceForMovieInOnDemandChannel=p,t.buildContentResourceForMovie=function(e){let{movie:t}=e;return Object.assign(Object.assign({},p(t)),{playbackStartPosition:(0,u.determinePlaybackStartPosition)(t.resumePosition)})},t.mapMovieOnDemandChannelContentResourceToLegacyContentResource=f,t.mapMovieContentResourceToLegacyContentResource=function(e){return Object.assign(Object.assign({},f(e)),{playbackStartPosition:e.playbackStartPosition})}},16066:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numToUint8=void 0,t.numToUint8=function(e){return new Uint8Array([(0xff000000&e)>>24,(0xff0000&e)>>16,(65280&e)>>8,255&e])}},16104:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.videoSchema=void 0;let r=n(92712),i=n(16002);t.videoSchema=r.z.object({id:i.idSchema}).strict()},16402:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LiveChannelGroupFilterSelector=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(95611)),s=n(53239),l=n(66976),u=n(81161),c=n(32023),d=n(55058),p=(0,a.default)(u.DetailsWidget)({left:"25px",position:"absolute",top:"85px"}),f=a.default.p(({theme:e})=>({display:"inline",fontFamily:e.fontFamilyBold,fontSize:"16px",margin:0,paddingLeft:"10px",verticalAlign:"super",whiteSpace:"nowrap"})),h=a.default.aside({left:"24px",margin:0,paddingLeft:"10px",position:"absolute",top:"-7px"}),m=(0,a.default)(d.RadioButtonGroup)(({theme:e})=>({'input[type="radio"]:checked + label':{backgroundColor:e.color.white,color:e.color.black}})),g=(0,a.default)(d.RadioButtonGroupEntry)(({theme:e})=>({backgroundColor:(0,o.default)(e.color.secondary,.2),fontFamily:e.fontFamilyBold,whiteSpace:"nowrap"})),y=(0,a.default)(c.Filter)({":hover":{transform:"scale(1.3)"},transition:"transform 300ms ease-in-out"});t.LiveChannelGroupFilterSelector=()=>{var e;let{actions:t,state:n}=(0,s.useContext)(l.PlayerContext),r="JOYN"===n.joynDistributionTenant;return(0,i.jsx)(p,Object.assign({ariaLabel:"Kanalfilter",open:n.mustShowLiveChannelGroupFilter,onMouseEnter:t.showLiveChannelGroupFilter,onMouseLeave:t.hideLiveChannelGroupFilter,summaryContent:(0,i.jsxs)(s.Fragment,{children:[(0,i.jsx)(y,{defaultViewBox:"0 0 24 24",size:"24px"}),function(e){return e.mustShowLiveChannelGroupFilter?null:"SPORTS"===e.liveChannelGroupFilter?(0,i.jsx)(f,{children:"Sport"}):"PUBLIC_VALUE"===e.liveChannelGroupFilter?(0,i.jsx)(f,{children:"Wertvolle Sender"}):(0,i.jsx)(f,{children:"Alle Sender"})}(n)]})},{children:(0,i.jsx)(h,{children:(0,i.jsxs)(m,Object.assign({direction:"horizontal",spacing:"10px",name:"live-channel-group-filter",onChange:function(e){"DEFAULT"===e?t.unsetLiveChannelGroupFilter():t.setLiveChannelGroupFilter(e)},selectedValue:null!=(e=n.liveChannelGroupFilter)?e:""},{children:[(0,i.jsx)(g,{label:"Alle Sender",value:"DEFAULT"}),r?(0,i.jsx)(g,{label:"Wertvolle Sender",value:"PUBLIC_VALUE"}):null,(0,i.jsx)(g,{label:"Sport",value:"SPORTS"})]}))})}))}},16421:(e,t,n)=>{var r=n(16533),i=n(97961),a={_emitter:new r,on:function(){a._emitter.on.apply(a._emitter,arguments)},off:function(){a._emitter.off.apply(a._emitter,arguments)},emit:function(){a._emitter.emit.apply(a._emitter,arguments)},Level:{SILENT:6,ERROR:5,WARNING:4,NOTICE:3,DEBUG:2,VERBOSE:1},Event:{LOG:"log"},logLevel:5,plainLogs:!1,report:function(e,t,n){if("undefined"!=typeof console&&console.log&&"undefined"!=typeof document){t=t||a.Level.NOTICE,n=n||"darkcyan";var r,o={5:"e",4:"w",3:"n",2:"d",1:"v"}[t],s="[Youbora]"+a._getCurrentTime()+" "+o+":";
350this.emit("log",{level:t,msg:e,prefix:s}),a.logLevel<=t&&(a.plainLogs||document.documentMode?a._plainReport(e,s):(r=t===a.Level.ERROR&&console.error?console.error:t===a.Level.WARNING&&console.warn?console.warn:t===a.Level.DEBUG&&console.debug?console.debug:console.log,s="%c"+s,i(e)?(e.splice(0,0,s,"color: "+n),r.apply(console,e)):r.call(console,s,"color: "+n,e)))}},_getCurrentTime:function(){var e=new Date;return"["+("0"+e.getDate()).slice(-2)+":"+("0"+e.getMinutes()).slice(-2)+":"+("0"+e.getSeconds()).slice(-2)+"."+("00"+e.getMilliseconds()).slice(-3)+"]"},_plainReport:function(e,t){if(e instanceof Array)for(var n in e)a._plainReport(e[n],t);else"string"==typeof e?console.log(t+" "+e):(console.log(t+" <next line>"),console.log(e))},error:function(){a.report([].slice.call(arguments),a.Level.ERROR,"darkred")},warn:function(){a.report([].slice.call(arguments),a.Level.WARNING,"darkorange")},notice:function(){a.report([].slice.call(arguments),a.Level.NOTICE,"darkgreen")},debug:function(){a.report([].slice.call(arguments),a.Level.DEBUG,"indigo")},verbose:function(){a.report([].slice.call(arguments),a.Level.VERBOSE,"navy")},loadLevelFromUrl:function(){"undefined"!=typeof window&&window.location&&this._parseLevelFromUrl(window.location.search)},_parseLevelFromUrl:function(e){if(e){var t=/\?.*&*youbora-debug=(.+)/i.exec(e);null!==t&&(a.logLevel=t[1]),null!==/\?.*&*youbora-debug=plain/i.exec(e)&&(a.plainLogs=!0)}}};e.exports=a},16470:(e,t)=>{"use strict";function n(e){return e.join(".")}Object.defineProperty(t,"__esModule",{value:!0}),t.formatPath=void 0,t.formatPath=function(e){if(e.length>6){let t=e.slice(0,3),r=e.slice(-3);return`${n(t)}.[â¦].${n(r)}`}return n(e)}},16471:(e,t,n)=>{"use strict";n.d(t,{Vu:()=>l,fj:()=>o,qO:()=>s});var r=n(19612),i=n(82777),a=n(78066);function o(e){let t=(0,r.zf)(),n={sid:(0,i.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var e;return e=n,(0,a.Ce)({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}};return e&&s(n,e),n}function s(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,r.zf)(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,i.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function l(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),s(e,n)}},16533:(e,t,n)=>{var r=n(54906),i=n(97961);e.exports=r.extend({on:function(e,t){if(this._listeners=this._listeners||{},"function"==typeof t)return this._listeners[e]=this._listeners[e]||[],this._listeners[e].push(t),this},off:function(e,t){if(this._listeners=this._listeners||{},this._listeners[e]){var n=this._listeners[e].indexOf(t);-1!==n&&this._listeners[e].splice(n,1)}return this},emit:function(e,t){return this._listeners=this._listeners||{},t=t||{},i(this._listeners[e])&&this._listeners[e].forEach(this._eachCallback.bind(this,e,t)),i(this._listeners["*"])&&this._listeners["*"].forEach(this._eachCallback.bind(this,e,t)),this},_eachCallback:function(e,t,n){"function"==typeof n&&n({type:e,data:t,target:this})}})},16569:(e,t,n)=>{var r=n(23307);e.exports=n(33707).extend({parse:function(e,t){if(t)this._parseWithManifest(t);else{this._realResource=e;var n=new r(e,null,null,{cache:!0,requestHeaders:this._headers});n.on(r.Event.SUCCESS,(function(e){this._parseWithManifest(e)}).bind(this)),n.on(r.Event.ERROR,(function(e){this.done()}).bind(this)),n.send()}},_parseWithManifest:function(e){this._lastManifest=e;var t=e.getResponseHeaders(),n=!1;e&&e.xhr&&e.xhr.responseURL&&e.xhr.responseURL!==this._realResource?(this._realResource=e.xhr.responseURL,this.parse(this._realResource),n=!0):t.split("\n").forEach((function(e){e.startsWith("Location:")&&(this._realResource=e.slice(10),this.parse(this._realResource),n=!0)}).bind(this)),n||this.done()}})},16595:(e,t,n)=>{"use strict";
350Object.defineProperty(t,"__esModule",{value:!0}),t.VolumeLowIcon=void 0;let r=n(80263),i=n(83947);t.VolumeLowIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M13.096 16.427v-4.99-4.411l-4.899 3.869c-.178.14-.4.217-.628.217H4v5.776h3.569c.228 0 .45.077.628.217l4.899 3.869v-4.547zm2-5.488c1.913 1.605 1.913 4.352 0 5.956v6.125c0 .822-.975 1.278-1.629.761l-6.252-4.937H3a.99.99 0 0 1-1-.978v-7.732a.99.99 0 0 1 1-.978h4.215l6.252-4.937c.654-.517 1.629-.061 1.629.76v5.96zm6.803 12.76a1.016 1.016 0 0 1-1.414.022.962.962 0 0 1-.024-1.382c4.718-4.768 4.726-11.907 0-16.681a.962.962 0 0 1 .024-1.383 1.016 1.016 0 0 1 1.414.023c5.477 5.532 5.467 13.875 0 19.4zm-2-3.866a1.016 1.016 0 0 1-1.414.022.962.962 0 0 1-.024-1.382c2.286-2.31 2.286-6.642 0-8.95a.962.962 0 0 1 .023-1.382 1.016 1.016 0 0 1 1.414.023c3.036 3.065 3.036 8.601 0 11.669z"})}))},16693:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetchContentSource=void 0;let r=n(70015),i=n(72678),a=n(12147),o=n(10333);t.createFetchContentSource=function(e,t){let n=(0,i.createLogger)(["player","content-source-fetcher"]),{playbackApiBaseUrl:s}=t,l=(0,a.withErrorHandler)(n,s,(0,o.createFetchFromPlaybackApi)(e,t));return function(e){return r.__awaiter(this,void 0,void 0,function*(){let{contentResource:t,personalIdentificationNumber:n,userToken:r}=e;return l({contentResource:t,personalIdentificationNumber:n,userToken:r})})}}},16861:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let r=n(60097),i=n(32669),a=n(31709),o=()=>{},s=new i.TimeoutError;class l extends r{constructor(e){var t,n,r,i;if(super(),this._intervalCount=0,this._intervalEnd=0,this._pendingCount=0,this._resolveEmpty=o,this._resolveIdle=o,!("number"==typeof(e=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:a.default},e)).intervalCap&&e.intervalCap>=1))throw TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${null!=(n=null==(t=e.intervalCap)?void 0:t.toString())?n:""}\` (${typeof e.intervalCap})`);if(void 0===e.interval||!(Number.isFinite(e.interval)&&e.interval>=0))throw TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${null!=(i=null==(r=e.interval)?void 0:r.toString())?i:""}\` (${typeof e.interval})`);this._carryoverConcurrencyCount=e.carryoverConcurrencyCount,this._isIntervalIgnored=e.intervalCap===1/0||0===e.interval,this._intervalCap=e.intervalCap,this._interval=e.interval,this._queue=new e.queueClass,this._queueClass=e.queueClass,this.concurrency=e.concurrency,this._timeout=e.timeout,this._throwOnTimeout=!0===e.throwOnTimeout,this._isPaused=!1===e.autoStart}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount<this._intervalCap}get _doesConcurrentAllowAnother(){return this._pendingCount<this._concurrency}_next(){this._pendingCount--,this._tryToStartAnother(),this.emit("next")}_resolvePromises(){this._resolveEmpty(),this._resolveEmpty=o,0===this._pendingCount&&(this._resolveIdle(),this._resolveIdle=o,this.emit("idle"))}_onResumeInterval(){this._onInterval(),this._initializeIntervalIfNeeded(),this._timeoutId=void 0}_isIntervalPaused(){let e=Date.now();if(void 0===this._intervalId){let t=this._intervalEnd-e;if(!(t<0))return void 0===this._timeoutId&&(this._timeoutId=setTimeout(()=>{this._onResumeInterval()},t)),!0;this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0}return!1}_tryToStartAnother(){if(0===this._queue.size)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){let e=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){let t=this._queue.dequeue();
350return!!t&&(this.emit("active"),t(),e&&this._initializeIntervalIfNeeded(),!0)}}return!1}_initializeIntervalIfNeeded(){this._isIntervalIgnored||void 0!==this._intervalId||(this._intervalId=setInterval(()=>{this._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}_onInterval(){0===this._intervalCount&&0===this._pendingCount&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}_processQueue(){for(;this._tryToStartAnother(););}get concurrency(){return this._concurrency}set concurrency(e){if(!("number"==typeof e&&e>=1))throw TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`);this._concurrency=e,this._processQueue()}async add(e,t={}){return new Promise((n,r)=>{let a=async()=>{this._pendingCount++,this._intervalCount++;try{let a=void 0===this._timeout&&void 0===t.timeout?e():i.default(Promise.resolve(e()),void 0===t.timeout?this._timeout:t.timeout,()=>{(void 0===t.throwOnTimeout?this._throwOnTimeout:t.throwOnTimeout)&&r(s)});n(await a)}catch(e){r(e)}this._next()};this._queue.enqueue(a,t),this._tryToStartAnother(),this.emit("add")})}async addAll(e,t){return Promise.all(e.map(async e=>this.add(e,t)))}start(){return this._isPaused&&(this._isPaused=!1,this._processQueue()),this}pause(){this._isPaused=!0}clear(){this._queue=new this._queueClass}async onEmpty(){if(0!==this._queue.size)return new Promise(e=>{let t=this._resolveEmpty;this._resolveEmpty=()=>{t(),e()}})}async onIdle(){if(0!==this._pendingCount||0!==this._queue.size)return new Promise(e=>{let t=this._resolveIdle;this._resolveIdle=()=>{t(),e()}})}get size(){return this._queue.size}sizeBy(e){return this._queue.filter(e).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(e){this._timeout=e}}t.default=l},16907:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SkipNextIcon=void 0;let r=n(80263),i=n(83947);t.SkipNextIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M19.316 16.247L8.27 23.724C6.885 24.638 5 23.704 5 22.094V5.913c0-1.609 1.905-2.564 3.271-1.63l11.045 7.478V4.006c0-.556.6-1.006 1.342-1.006C21.399 3 22 3.45 22 4.006v19.988C22 24.55 21.4 25 20.658 25c-.741 0-1.342-.45-1.342-1.006v-7.747z"})}))},16950:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UpNextLogic=void 0;let r=n(80263),i=n(53239),a=n(44539),o=n(66976),s=n(33510),l=n(83952);t.UpNextLogic=()=>{let{state:e,actions:t}=(0,i.useContext)(o.PlayerContext);if(!e.isUpNextVisible||null===e.playlistIndex||null===e.remainingTime)return null;let n=e.playlistIndex+1,u=e.playlist[n];if(void 0===u)return null;let c=(0,a.isContentResourceWithAgeRating)(u)?u.ageRating:void 0,d=(0,a.isContentResourceWithThumbnail)(u)?u.thumbnail:void 0;return(0,r.jsx)(l.UpNext,{ageRating:c,heading:(0,s.createHeading)(u),title:(0,s.createTitle)(u),thumbnail:d,startsInSeconds:e.remainingTime,onPlayNext:function(){t.hideUpNext(),t.skipToNextPlaylistItem()},onHide:function(){t.hideUpNext()}})}},17006:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRating0=void 0;let r=n(80263),i=n(52087);t.AgeRating0=()=>(0,r.jsxs)(i.AgeRatingIcon,Object.assign({width:20,height:20},{children:[(0,r.jsx)("path",{d:"M18 0c1.105 0 2 .895 2 2v16c0 1.105-.895 2-2 2H2c-1.105 0-2-.895-2-2V2C0 .895.895 0 2 0h16zm0 1H2c-.513 0-.936.386-.993.883L1 2v16c0 .513.386.936.883.993L2 19h16c.513 0 .936-.386.993-.883L19 18V2c0-.513-.386-.936-.883-.993L18 1z",transform:"translate(-80 -213) translate(80 213)"}),(0,r.jsx)("path",{d:"M10 14c.54 0 1.028-.1 1.461-.299.433-.199.802-.475 1.106-.828.303-.353.535-.775.694-1.267.16-.492.239-1.028.239-1.606 0-.578-.08-1.112-.239-1.6-.16-.488-.39-.91-.694-1.268-.304-.356-.673-.634-1.106-.833C11.028 6.099 10.541 6 10 6c-.548 0-1.037.1-1.467.299-.43.199-.796.477-1.1.833-.303.357-.535.78-.694 1.268-.16.488-.239 1.022-.239 1.6 0 .578.08 1.114.239 1.606.16.492.39.914.694 1.267.304.353.67.63 1.1.828.43.2.919.299 1.467.299zm0-1.656c-.281 0-.53-.06-.744-.18-.215-.12-.395-.28
3506-.54-.496-.144-.21-.253-.459-.327-.744-.074-.286-.111-.593-.111-.924 0-.33.037-.638.11-.924.075-.285.184-.533.329-.744.144-.21.324-.375.539-.495.214-.12.463-.18.744-.18.281 0 .53.06.744.18.215.12.395.285.54.495.144.21.253.459.327.744.074.286.111.593.111.924 0 .33-.037.638-.11.924-.075.285-.184.533-.329.744-.144.21-.324.375-.539.495-.214.12-.463.18-.744.18z",transform:"translate(-80 -213) translate(80 213)"})]}))},17292:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapMissingAdSourcesToIngestJobs=void 0;let r=n(52408);t.mapMissingAdSourcesToIngestJobs=function(e){let{adSources:t,adMediaMap:n,distributionTenant:i}=e;return t.reduce((e,t)=>{var a;let o=n.get(t.hash);if(o){let{adInformation:n}=o,s=(0,r.getHighestResolutionMediafile)(o);if(s.isJust())return[...e,{adInformation:n,hash:t.hash,mediaSourceUrl:s.value,metadata:{distributionTenant:i,vastURIs:null!=(a=o.vastURIs)?a:[]}}]}return e},[])}},17352:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormattedTimeRange=void 0;let r=n(80263),i=n(74363);t.FormattedTimeRange=e=>{let{from:t,to:n,className:a}=e;return(0,r.jsxs)("span",Object.assign({className:a},{children:[(0,r.jsx)(i.FormattedTime,{value:t}),` â `,(0,r.jsx)(i.FormattedTime,{value:n})]}))}},17409:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCore=void 0;let r=n(70015),i=r.__importDefault(n(32704)),a=r.__importDefault(n(16861)),o=n(47561),s=n(41701),l=n(22940),u=n(72678),c=n(19196),d=n(57531),p=n(63658),f=n(54694),h=n(39050),m=n(97110),g=n(96108),y=n(17526),v=n(86304),b=n(80697),_=n(5211),S=n(40012),E=n(80300),k=n(98044),A=n(25487);t.createCore=e=>{let{clock:t,errorReporter:n,concurrentStreamingObserver:T,versionString:x,platformPlayerController:w,config:C={},userSettings:I,toggleRouter:O,networkInformation:R,invoker:P,fetchElectronicProgramGuideData:N=()=>r.__awaiter(void 0,void 0,void 0,function*(){return{bookmarkedBrandIds:[],liveChannels:new Map}}),fetchContentResources:L,fetchContentSource:j,isNextEpisodeOverlayAllowed:M,joynCountry:D,joynDistributionTenant:F,disableEPG:U,epgButtonId:V,fetchUserState:B,isSelfManaged:G}=e;C.logLevel&&_.logger.setLevel(C.logLevel);let{logServiceCalls:Y,logServiceEvents:z}=C,W=(0,m.createDispatcher)(),{dispatch:Z,destroy:H,isDestroyed:K}=W,X=(0,h.createDataUsageGuardService)({dispatch:Z,networkInformationApi:R}),$=(0,f.createCredentialsService)({clock:t,dispatch:Z,errorReporter:n,fetchUserState:B}),J=(0,p.createContentService)({dispatch:Z,fetchContentResources:L,fetchContentSource:j,isDestroyed:K}),q=(0,g.createEventsTracer)(),Q=(0,S.createPlaybackService)({dispatch:(e,...t)=>(q.saveEvent(e,t),Z(e,...t)),logEvents:z,platformPlayerController:w}),ee=I.load().liveChannelGroupFilter.unwrapOr("DEFAULT"),et=(0,l.createLiveChannelDataService)({clock:t,errorReporter:n,fetchElectronicProgramGuideData:N,liveChannelGroupFilter:ee,waitForUserState:$.waitForUserState}),en=(0,c.createUiStateService)({getCurrentTimestamp:t.getCurrentTimestamp,liveChannelDataService:et,logger:_.logger,toggleRouter:O},{disableEPG:U,epgButtonId:V,isNextEpisodeOverlayAllowed:M,joynCountry:D,joynDistributionTenant:F,liveChannelGroupFilter:o.Maybe.just(ee)}),er=(0,A.createUiService)({debounceFunction:i.default,dispatch:Z,uiStateService:en,userSettingsStorage:I}),ei=(0,E.createPlaylistService)({dispatch:Z}),ea=(0,v.createLifecycleService)({createUuid:s.v4,dispatch:Z}),eo=(0,k.createTrackingService)({invoker:P,versionString:x}),es=(0,d.createApiService)({dispatch:Z,eventsTracer:q,invoker:P}),el={apiService:es,contentService:J,lifecycleService:ea,playbackService:Q,playlistService:ei,trackingService:eo,uiService:er};!0===Y&&Object.keys(el).forEach(e=>{let t=el[e],n=(0,u.traceProxy)(t,e,_.logger.log);el[e]=n});let eu=new a.default({concurrency:1}),ec=(0,y.createHandlers)(Object.assign(Object.assign({},el),{concurrentStreamingObserver:T,credentialsService:$,dataUsageGuardService:X,destroyDispatcher:H,errorReporter:n,invoker:P,isSelfManaged:G,networkInformation:R,playlistIndexChangedQueue:eu,toggleRouter:O,userSettings:I}));return W.registerHandlers(ec),X.start(),en.start(),Q.start(),$.start(),(0,b.loadUserSettings)({playbackService:Q,userSettings:I}),es.getPublicApi()}},17485:(e,t,n)=>{"use strict";n.r(t),n.d(t,{chainFrom:()=>eU,compose:()=>b,count:()=>$,cycle:()=>eN,dedupe:()=>E,drop:()=>A,dropWhile:()=>x,every:()=>J,filter:()=>C,find:()=>q,first:()=>Q,flatMap:()=>R,flatten:()=>O,forEach:()=>et,interpose:()=>N,isEmpty:()=>en,isReduced:()=>y,iterate:()=>eR,joinToString:()=>ei,lazyTransduce:()=>ej,map:()=>j,mapIndexed:()=>D,max:()=>e_,min:()=>eS,partitionAll:()=>U,partitionBy:()=>G,range:()=>ew,reduced:()=>g,remove:()=>z,repeat:()=>eI,some:()=>ea,sum:()=>eE,take:()=>W,takeNth:()=>H,takeWhile:()=>X,toArray:()=>eo,toAverage:()=>ey,toMap:()=>el,toMapGroupBy:()=>ed,toObject:()=>ef,toObjectGroupBy:()=>em,toSet:()=>eg,transduce:()=>eM,transducerBuilder:()=>eV});var r,i,a,o,s,l,u,c,d="@@transducer/init",p="@@transducer/result",f="@@transducer/step",h="@@transducer/reduced",m="@@transducer/value";function g(e){var t;return(t={})[h]=!0,t[m]=e,t}function y(e){return e&&!0===e[h]}function v(e){return y(e)?e[m]:e}function b(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){for(var n=t,r=e.length-1;r>=0;r--)n=e[r](n);return n}}function _(e,t){return y(t)?(e.value=t[m],g(e)):(e.value=t,e)}var S=function(){function e(e){this.xf=e}return e.prototype[d]=function(){return{last:{},value:this.xf[d]()}},e.prototype[p]=function(e){return this.xf[p](e.value)},e.prototype[f]=function(e,t){return t!==e.last?(e.last=t,_(e,this.xf[f](e.value,t))):e},e}();function E(){return function(e){return new S(e)}}var k=function(){function e(e,t){this.xf=e,this.n=t,this.i=0}return e.prototype[d]=function(){return this.xf[d]()},e.prototype[p]=function(e){return this.xf[p](e)},e.prototype[f]=function(e,t){return this.i++<this.n?e:this.xf[f](e,t)},e}();function A(e){return function(t){return new k(t,e)}}var T=function(){function e(e,t){this.xf=e,this.pred=t}return e.prototype[d]=function(){return{value:this.xf[d](),isDoneDropping:!1}},e.prototype[p]=function(e){return this.xf[p](e.value)},e.prototype[f]=function(e,t){return e.isDoneDropping?_(e,this.xf[f](e.value,t)):this.pred(t)?e:(e.isDoneDropping=!0,_(e,this.xf[f](e.value,t)))},e}();function x(e){return function(t){return new T(t,e)}}var w=function(){function e(e,t){this.xf=e,this.pred=t}return e.prototype[d]=function(){return this.xf[d]()},e.prototype[p]=function(e){return this.xf[p](e)},e.prototype[f]=function(e,t){return this.pred(t)?this.xf[f](e,t):e},e}();function C(e){return function(t){return new w(t,e)}}var I=function(){function e(e){this.xf=e,this.step=e[f].bind(e)}return e.prototype[d]=function(){return this.xf[d]()},e.prototype[p]=function(e){return this.xf[p](e)},e.prototype[f]=function(e,t){return eD(t,this.step,e)},e}();function O(){return function(e){return new I(e)}}function R(e){return function(t){return new L(new I(t),e)}}var P=function(){function e(e,t){this.xf=e,this.separator=t,this.isStarted=!1}return e.prototype[d]=function(){return this.xf[d]()},e.prototype[p]=function(e){return this.xf[p](e)},e.prototype[f]=function(e,t){if(!this.isStarted)return this.isStarted=!0,this.xf[f](e,t);var n=this.xf[f](e,this.separator);return y(n)?n:this.xf[f](n,t)},e}();function N(e){return function(t){return new P(t,e)}}var L=function(){function e(e,t){this.xf=e,this.f=t}return e.prototype[d]=function(){return this.xf[d]()},e.prototype[p]=function(e){return this.xf[p](e)},e.prototype[f]=function(e,t){return this.xf[f](e,this.f(t))},e}();function j(e){return function(t){return new L(t,e)}}var M=function(){function e(e,t){this.xf=e,this.f=t}return e.prototype[d]=function(){return{value:this.xf[d](),i:0}},e.prototype[p]=function(e){return this.xf[p](e.value)},e.prototype[f]=function(e,t){return _(e,this.xf[f](e.value,this.f(t,e.i++)))},e}();function D(e){return function(t){return new M(t,e)}}var F=function(){function e(e,t){this.xf=e,this.n=t,this.buffer=[]}return e.prototype[d]=function(){return this.xf[d]()},e.prototype[p]=function(e){return this.buffer.length>0&&(e=v(this.xf[f](e,this.buffer)),this.buffer=[]),this.xf[p](e)},e.prototype[f]=function(e,t){if(this.buffer.push(t),this.buffer.length!==this.n)return e;var n=this.xf[f](e,this.buffer);return this.buffer=[],n},e}();function U(e){if(0===e)throw Error("Size in partitionAll() cannot be 0");if(e<0)throw Error("Size in partitionAll() cannot be negative");return function(t){return new F(t,e)}}var V={},B=function(){function e(e,t){this.xf=e,this.f=t}return e.prototype[d]=function(){return{value:this.xf[d](),buffer:[],lastKey:V}},e.prototype[p]=function(e){return e.buffer.length>0&&(e.value=v(this.xf[f](e.value,e.buffer)),e.buffer=[]),this.xf[p](e.value)},e.prototype[f]=function(e,t){var n,r=this.f(t),i=e.value,a=e.buffer,o=e.lastKey;return e.lastKey=r,o===V||o===r?n=e:v(n=_(e,this.xf[f](i,a))).buffer=[],v(n).buffer.push(t),n},e}();function G(e){return function(t){return new B(t,e)}}var Y=function(){function e(e,t){this.xf=e,this.n=t,this.i=0}return e.prototype[d]=function(){return this.xf[d]()},e.prototype[p]=function(e){return this.xf[p](e)},e.prototype[f]=function(e,t){if(this.n<=0)return g(e);var n=this.xf[f](e,t);return this.i++<this.n-1||y(n)?n:g(n)},e}();function z(e){return C(function(t){return!e(t)})}function W(e){return function(t){return new Y(t,e)}}var Z=function(){function e(e,t){this.xf=e,this.n=t}return e.prototype[d]=function(){return{value:this.xf[d](),i:0}},e.prototype[p]=function(e){return this.xf[p](e.value)},e.prototype[f]=function(e,t){return e.i++%this.n==0?_(e,this.xf[f](e.value,t)):e},e}();function H(e){if(0===e)throw Error("Step in takeNth() cannot be 0");if(e<0)throw Error("Step in takeNth() cannot be negative");return function(t){return new Z(t,e)}}var K=function(){function e(e,t){this.xf=e,this.pred=t}return e.prototype[d]=function(){return this.xf[d]()},e.prototype[p]=function(e){return this.xf[p](e)},e.prototype[f]=function(e,t){return this.pred(t)?this.xf[f](e,t):g(e)},e}();function X(e){return function(t){return new K(t,e)}}function $(){var e;return r||((e={})[d]=function(){return 0},e[p]=function(e){return e},e[f]=function(e){return e+1},r=e),r}function J(e){return z(e)(en())}function q(e){return C(e)(Q())}function Q(){var e;
350return i||((e={})[d]=function(){return null},e[p]=function(e){return e},e[f]=function(e,t){return g(t)},i=e),i}var ee=function(){function e(e){this.f=e}return e.prototype[d]=function(){},e.prototype[p]=function(){},e.prototype[f]=function(e,t){return this.f(t)},e}();function et(e){return new ee(e)}function en(){var e;return a||((e={})[d]=function(){return!0},e[p]=function(e){return e},e[f]=function(){return g(!1)},a=e),a}var er=function(){function e(e){this.separator=e}return e.prototype[d]=function(){return[]},e.prototype[p]=function(e){return e.join(this.separator)},e.prototype[f]=function(e,t){return e.push(t),e},e}();function ei(e){return new er(e)}function ea(e){var t;return o||((t={})[d]=function(){return!1},t[p]=function(e){return e},t[f]=function(){return g(!0)},o=t),C(e)(o)}function eo(){var e;return s||((e={})[d]=function(){return[]},e[p]=function(e){return e},e[f]=function(e,t){return e.push(t),e},s=e),s}var es=function(){function e(e,t){this.getKey=e,this.getValue=t}return e.prototype[d]=function(){return new Map},e.prototype[p]=function(e){return e},e.prototype[f]=function(e,t){return e.set(this.getKey(t),this.getValue(t)),e},e}();function el(e,t){return new es(e,t)}var eu=function(){function e(e){this.xf=e,this.isReduced=!1,this.result=e[d]()}return e.prototype.step=function(e){if(!this.isReduced){var t=this.xf[f](this.result,e);y(t)?(this.result=t[m],this.isReduced=!0):this.result=t}},e.prototype.getResult=function(){return this.xf[p](this.result)},e}(),ec=function(){function e(e,t){this.getKey=e,this.xf=t}return e.prototype[d]=function(){return new Map},e.prototype[p]=function(e){for(var t=new Map,n=e.entries(),r=n.next();!r.done;r=n.next()){var i=r.value,a=i[0],o=i[1];t.set(a,o.getResult())}return t},e.prototype[f]=function(e,t){var n=this.getKey(t);return e.has(n)||e.set(n,new eu(this.xf)),e.get(n).step(t),e},e}();function ed(e,t){return void 0===t&&(t=eo()),new ec(e,t)}var ep=function(){function e(e,t){this.getKey=e,this.getValue=t}return e.prototype[d]=function(){return{}},e.prototype[p]=function(e){return e},e.prototype[f]=function(e,t){return e[this.getKey(t)]=this.getValue(t),e},e}();function ef(e,t){return new ep(e,t)}var eh=function(){function e(e,t){this.getKey=e,this.xf=t}return e.prototype[d]=function(){return{}},e.prototype[p]=function(e){var t={};return Object.keys(e).forEach(function(n){return t[n]=e[n].getResult()}),t},e.prototype[f]=function(e,t){var n=this.getKey(t);return e[n]||(e[n]=new eu(this.xf)),e[n].step(t),e},e}();function em(e,t){return void 0===t&&(t=eo()),new eh(e,t)}function eg(){var e;return l||((e={})[d]=function(){return new Set},e[p]=function(e){return e},e[f]=function(e,t){return e.add(t),e},l=e),l}function ey(){var e;return u||((e={})[d]=function(){return[0,0]},e[p]=function(e){return 0===e[1]?null:e[0]/e[1]},e[f]=function(e,t){return e[0]+=t,e[1]++,e},u=e),u}var ev=function(){function e(e){this.comparator=e}return e.prototype[d]=function(){return null},e.prototype[p]=function(e){return e},e.prototype[f]=function(e,t){return null===e||0>this.comparator(t,e)?t:e},e}(),eb=function(e,t){return e<t?-1:+(e>t)};function e_(e){var t;return void 0===e&&(e=eb),new ev((t=e,function(e,n){return-t(e,n)}))}function eS(e){return void 0===e&&(e=eb),new ev(e)}function eE(){var e;return c||((e={})[d]=function(){return 0},e[p]=function(e){return e},e[f]=function(e,t){return e+t},c=e),c}var ek="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function eA(e){if(e[ek])return e[ek]();if(Array.isArray(e)||"string"==typeof e)return new eT(e);throw Error("Cannot get iterator of non iterable value: "+e)}var eT=function(){function e(e){this.array=e,this.i=0}return e.prototype[ek]=function(){return this},e.prototype.next=function(){var e=this.i,t=this.array;return e<t.length?(this.i++,{done:!1,value:t[e]}):{done:!0}},e}(),ex=function(){function e(e,t,n){null==t?(this.i=0,this.end=e,this.step=1):null==n?(this.i=e,this.end=t,this.step=1):(this.i=e,this.end=t,this.step=n)}return e.prototype[ek]=function(){return this},e.prototype.next=function(){var e=this.i,t=this.end,n=this.step;return n>0&&e<t||n<0&&e>t?(this.i+=n,{done:!1,value:e}):{done:!0}},e}();
350function ew(e,t,n){var r;if(0===n)throw Error("Step in range() cannot be 0");return(r={})[ek]=function(){return new ex(e,t,n)},r}var eC=function(){function e(e,t){void 0===t&&(t=1/0),this.value=e,this.count=t,this.i=0}return e.prototype[ek]=function(){return this},e.prototype.next=function(){return null==this.count||this.i<this.count?(this.i++,{done:!1,value:this.value}):{done:!0}},e}();function eI(e,t){var n;if(null!=t&&t<0)throw Error("Repeat count cannot be negative");return(n={})[ek]=function(){return new eC(e,t)},n}var eO=function(){function e(e,t){this.getNextValue=t,this.hasEmittedInitialValue=!1,this.lastValue=e}return e.prototype[ek]=function(){return this},e.prototype.next=function(){return this.hasEmittedInitialValue?this.lastValue=this.getNextValue(this.lastValue):this.hasEmittedInitialValue=!0,{done:!1,value:this.lastValue}},e}();function eR(e,t){var n;return(n={})[ek]=function(){return new eO(e,t)},n}var eP=function(){function e(e){this.values=[],this.hasConsumedIterator=!1,this.i=0,this.valueIterator=e[ek]()}return e.prototype[ek]=function(){return this},e.prototype.next=function(){if(this.hasConsumedIterator){if(0===this.values.length)return{done:!0};var e=this.values[this.i];return this.i=(this.i+1)%this.values.length,{done:!1,value:e}}var t=this.valueIterator.next(),n=t.done,e=t.value;return n?(this.hasConsumedIterator=!0,this.next()):(this.values.push(e),t)},e}();function eN(e){var t;return(t={})[ek]=function(){return new eP(e)},t}var eL=function(){function e(e,t){this.iterator=e,this.upcoming=new eT([]),this.hasSeenEnd=!1,this.xfToArray=t(eo())}return e.prototype[ek]=function(){return this},e.prototype.next=function(){for(;;){var e=this.upcoming.next();if(!e.done)return e;if(this.hasSeenEnd)return{done:!0};var t=this.iterator.next(),n=t.done,r=t.value;if(n)return{done:n};var i=this.xfToArray[f]([],r);y(i)&&(this.hasSeenEnd=!0,i=i[m]),this.upcoming=new eT(i)}},e}();function ej(e,t){return new eL(eA(e),t)}function eM(e,t,n,r){var i,a;return a=eD(e,(i=t("function"==typeof n?new eF(n,r):n))[f].bind(i),i[d]()),i[p](v(a))}function eD(e,t,n){for(var r=eA(e),i=n;;){var a=r.next();if(a.done)return i;var o=t(i,a.value);if(y(o))return o;i=o}}var eF=function(){function e(e,t){this.initialValue=t,this[f]=e}return e.prototype[d]=function(){return this.initialValue},e.prototype[p]=function(e){return e},e}();function eU(e){return new eB(e)}function eV(){return new eB([])}var eB=function(){function e(e){this.collection=e,this.transducers=[]}return e.prototype.compose=function(e){return this.transducers.push(e),this},e.prototype.build=function(){var e=this;return function(t){for(var n=t,r=e.transducers.length-1;r>=0;r--)n=e.transducers[r](n);return n}},e.prototype.dedupe=function(){return this.compose(E())},e.prototype.drop=function(e){return this.compose(A(e))},e.prototype.dropWhile=function(e){return this.compose(x(e))},e.prototype.filter=function(e){return this.compose(C(e))},e.prototype.flatMap=function(e){return this.compose(R(e))},e.prototype.flatten=function(){return this.compose(O())},e.prototype.interpose=function(e){return this.compose(N(e))},e.prototype.map=function(e){return this.compose(j(e))},e.prototype.mapIndexed=function(e){return this.compose(D(e))},e.prototype.partitionAll=function(e){return this.compose(U(e))},e.prototype.partitionBy=function(e){return this.compose(G(e))},e.prototype.remove=function(e){return this.compose(z(e))},e.prototype.removeAbsent=function(){return this.remove(function(e){return null==e})},e.prototype.take=function(e){return this.compose(W(e))},e.prototype.takeNth=function(e){return this.compose(H(e))},e.prototype.takeWhile=function(e){return this.compose(X(e))},e.prototype.reduce=function(e,t){return"function"==typeof e?eM(this.collection,this.build(),e,t):eM(this.collection,this.build(),e)},e.prototype.average=function(){return this.reduce(ey())},e.prototype.count=function(){return this.reduce($())},e.prototype.every=function(e){return this.reduce(J(e))},e.prototype.find=function(e){return this.reduce(q(e))},e.prototype.first=function(){return this.reduce(Q())},e.prototype.forEach=function(e){this.reduce(et(e))},e.prototype.isEmpty=function(){return this.reduce(en())},e.prototype.joinToString=function(e){return this.reduce(ei(e))},e.prototype.max=function(e){return this.reduce(e_(e))},e.prototype.min=function(e){return this.reduce(eS(e))},e.prototype.some=function(e){return this.reduce(ea(e))},e.prototype.sum=function(){return this.reduce(eE())},e.prototype.toArray=function(){return this.reduce(eo())},e.prototype.toMap=function(e,t){return this.reduce(el(e,t))},e.prototype.toMapGroupBy=function(e,t){return this.reduce(ed(e,t))},e.prototype.toObject=function(e,t){return this.reduce(ef(e,t))},e.prototype.toObjectGroupBy=function(e,t){return this.reduce(em(e,t))},e.prototype.toSet=function(){return this.reduce(eg())},e.prototype.toIterator=function(){return ej(this.collection,this.build())},e}()},17526:(e,t,n)=>{"use strict";
350Object.defineProperty(t,"__esModule",{value:!0}),t.createHandlers=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47561),o=n(44539),s=n(30936),l=n(11897);function u(e,t){return t.equals(a.Maybe.of(e))}t.createHandlers=function({apiService:e,concurrentStreamingObserver:t,contentService:n,dataUsageGuardService:c,destroyDispatcher:d,networkInformation:p,playbackService:f,lifecycleService:h,playlistService:m,toggleRouter:g,trackingService:y,uiService:v,userSettings:b,credentialsService:_,errorReporter:S,invoker:E,playlistIndexChangedQueue:k,isSelfManaged:A}){let T=!1,x=e=>{let{volume:t,isMuted:n}=e;v.send({isMuted:n,type:"PLAYBACK.VOLUME_CHANGED",volume:t}),b.save(Object.assign({volume:a.Maybe.of(t)},"user"===e.origin?{isMuted:a.Maybe.of(n)}:null))},w=e=>{y.setState({fromPosition:f.getPosition()});let t=f.getSeekableRange(),[n,r]=f.getSeekableRange(),i=Math.max(Math.min(e,null!=r?r:e),null!=n?n:e);h.isLifecycleActive()||h.replay({origin:"api"}),y.setState({position:i}),v.send({position:i,seekableRange:t,type:"PLAYBACK.POSITION_CHANGE"}),f.seekTo(i)},C=()=>{let e=m.playlistPointer.index.unwrapOr(0),{playlist:t}=m,n=t[e];if(i.default.object(n))return n;throw Error(0===t.length?"Playlist is empty":`Playlist item at index ${e} doesn't exist`)},I=t=>{i.default.string(t)&&y.setState({destroyReason:t}),c.destroy(),_.destroy(),h.destroy(),f.destroy(),y.destroy(),v.destroy(),g.destroy(),d(),e.emit("destroyed",{reason:t}),e.destroyInternal(),p.destroy(),S.destroy()};function O(e){if(A){let t=n.getContentResource(e.id);if(t.isErr())throw t.error;return(0,o.mapContentResourceToLegacyContentResource)(t.value)}return n.getLegacyContentResource(e.id)}function R(){return O(C())}function P(){return m.playlist.map(O)}let N=()=>"live-on-demand"===R().contentType,L=()=>"live"===R().contentType;function j(e){e.forEach(e=>{let t=(0,o.mapContentResourceToLegacyContentResource)(e),r=n.addContentResource(t,e);"live-on-demand"===e.contentType?m.addPlaylistItem({childItemIndex:0,childPlaylistLength:e.onDemandContentResources.length,id:r}):m.addPlaylistItem({id:r})});let t=m.playlist.map(O);v.send([{playlist:t,type:"PLAYBACK.SET_PLAYLIST"},"ELECTRONIC_PROGRAM_GUIDE.LOAD"])}return{"api:addAdViewabilityProvider"({adViewabilityProvider:e}){f.addAdViewabilityProvider(e)},"api:addContent"({rawContentResourceOrArray:e}){A||([].concat(e).forEach(e=>{let t=n.addLegacyContentResource(e);(0,o.isLegacyLivestreamOnDemandChannelContentResource)(e)?m.addPlaylistItem({childItemIndex:0,childPlaylistLength:e.onDemandContentResources.length,id:t}):m.addPlaylistItem({id:t})}),v.send([{playlist:P(),type:"PLAYBACK.SET_PLAYLIST"},"ELECTRONIC_PROGRAM_GUIDE.LOAD"]))},"api:addTrackingProvider"({trackingProvider:e}){y.addTrackingProvider(e)},"api:destroy"({reason:e}){I(e)},"api:determineInitialPlaylistIndexForLive":function(){if(A)return 0;let e=P();if(0===e.length)throw Error("Cannot determine initial playlist index for live because playlist is empty");return b.load().lastSelectedLiveChannelId.mapOr(0,t=>{let n=e.findIndex(e=>e.id===t);return -1===n?0:n})},"api:getPlaylist":P,"api:getPlaylistIndex":()=>m.playlistPointer.index.unwrapOr(0),"api:pause"(e){return r.__awaiter(this,void 0,void 0,function*(){return f.pause({origin:e.origin})})},"api:play"(e){return r.__awaiter(this,void 0,void 0,function*(){yield f.play({origin:e.origin})})},"api:reset"(){h.reset(),n.reset(),m.reset(),v.reset()},"api:setPlaylistIndex"(e){if(A)return;let{playlistIndex:t}=e;if(t>m.playlist.length)return;let n=m.setPlaylistPointer({childIndex:a.Maybe.nothing(),index:a.Maybe.of(t)},{origin:e.origin});if(n.isErr())throw Error(n.error)},"api:setUi"({ui:e}){v.setUi(e)},"api:setUserToken"({userToken:e}){_.setUserToken(e)},"api:startSelfManagedPlaylist":t=>{A&&E.fireAndForget(()=>r.__awaiter(this,void 0,void 0,function*(){let{playlistType:r}=t;try{if("livestream"===r){m.setSelfManagedPlaylistOptions({playlistType:r,preselectedChannelId:t.preselectedChannelId});let e=yield _.waitForValidUserToken(),i=yield n.fetchContentResources({playlistType:r,userToken:e});j(i)}else{m.setSelfManagedPlaylistOptions({initialId:t.initialId,playlistType:r});let e=yield _.waitForValidUserToken(),i=yield n.fetchContentResources({id:t.initialId,initialFetch:!0,playlistLength:m.playlist.length,playlistType:r,userToken:e});j(i)}let e=(0,l.determineInitialSelfManagedPlaylistPointer)({contentService:n,playlistService:m,userSettings:b},t),i=m.setPlaylistPointer(e,{origin:t.origin});if(i.isErr())throw Error(i.error)}catch(t){let e=new s.PlayerError("content_unavailable","Unable to fetch content resources");throw h.setContentError(e),t}try{yield e.play()}catch(e){if(e instanceof s.PlayerError&&"playback_can_not_play_by_api"===e.type)return;throw e}}),[])},"content:actionRequired"({type:t}){let n=L()||N(),r=["login","subscribe","enter_personal_identification_number_considering_too_
350young","enter_personal_identification_number_considering_invalid","enter_personal_identification_number","cancel_personal_identification_number","setup_personal_identification_number"].includes(t),i=n?["set_user_token"].includes(t):["login","subscribe"].includes(t);T="login"===t||"subscribe"===t||"set_user_token"===t,r&&"set_user_token"!==t&&v.send({requiredAction:t,type:"CONTENT.ACTION_REQUIRED"}),y.track("action-required"),i&&e.emit("actionrequired",{isLivestream:n,type:t})},"content:resolveFailed"({error:e}){v.send({isStalling:!1,type:"PLAYBACK.SET_STALLING"}),y.track("error",{error:e}),h.setContentError(e)},"content:resolved"({contentResource:e,encodedEntitlementJsonWebToken:t,entitlementTokenPayload:r,playlistItemId:i,sources:a}){var o;let s=n.getPlaybackStartPosition(i);if(v.send({playlist:P(),playlistIndex:m.playlistPointer.index,position:s.unwrapOr(null),type:"CONTENT.RESOLVED"}),y.setState({contentResource:e,encodedEntitlementJsonWebToken:t,entitlementTokenPayload:r,position:s.unwrapOr(null)}),f.setContentAndSources({childPlaylistIndex:m.playlistPointer.childIndex,contentResource:e,encodedEntitlementJsonWebToken:t,entitlementTokenPayload:r,internalId:i,sources:a,startOffset:s}),h.shouldPlayAfterSettingContent()){let e=null!=(o=h.getPlayOrigin())?o:"api";f.play({origin:e})}},"credentials:actionRequired"(t){let n=!1;n=m.playlist.length>0?N()||L():"livestream"===m.getSelfManagedPlaylistOptions().unwrapOr({playlistType:""}).playlistType,y.track("action-required"),e.emit("actionrequired",Object.assign(Object.assign({},t),{isLivestream:n}))},"credentials:userTokenUpdated"({userToken:e}){try{if(T){T=!1;let t=C();n.resolve({childPlaylistIndex:m.playlistPointer.childIndex,playlistItemId:t.id,userToken:e})}}catch(e){}},"dataUsageGuard:disableBuffering"(){return r.__awaiter(this,void 0,void 0,function*(){yield f.disableBuffering(),v.send({isBufferingEnabled:!1,type:"SET_BUFFERING_ENABLED"})})},"dataUsageGuard:enableBuffering"(){return r.__awaiter(this,void 0,void 0,function*(){yield f.enableBuffering(),v.send({isBufferingEnabled:!0,type:"SET_BUFFERING_ENABLED"})})},"dataUsageGuard:error"(e){y.track("error",{error:e}),h.setPlaybackError(e)},"dataUsageGuard:replay"(){h.replay({origin:"api"})},"lifecycle:abort"({reason:e,error:t}){if(y.track("lifecycle-abort",{abortReason:e,error:t}),f.reset(),"userskip"===e||"destroy"===e||"reset"===e)return;v.send({error:t,type:"ERROR"});let n=null!=t?t:new s.PlayerError;c.setPlayerLifecycleError(n),n.hasType("ad_blocked")&&f.preventPlaybackCalls()},"lifecycle:contentBegin"(){let e=f.getVideoQuality();y.setState({videoQuality:e}),y.track("content-begin")},"lifecycle:contentComplete"(){y.track("content-complete")},"lifecycle:contentPause"(){y.track("pause")},"lifecycle:contentResume"(){let e=f.getVideoQuality();y.setState({videoQuality:e}),y.track("resume")},"lifecycle:create"(){return r.__awaiter(this,void 0,void 0,function*(){c.unsetPlayerLifecycleError();let e=C();f.allowPlaybackCalls(),f.reset(),v.reset(),v.send([{isAirPlayAvailable:f.isAirPlayAvailable(),isFullscreenModeSupported:f.isFullscreenModeSupported(),isPictureInPictureAvailable:f.isPictureInPictureAvailable(),type:"LIFECYCLE.CREATE"},{playlist:P(),type:"PLAYBACK.SET_PLAYLIST"},{playlistPointer:m.playlistPointer,type:"PLAYBACK.SET_PLAYLIST_POINTER"}]),y.reset();let t=R();y.setState({contentResource:t}),y.track("lifecycle-create");let r=yield _.waitForValidUserToken();n.resolve({childPlaylistIndex:m.playlistPointer.childIndex,playlistItemId:e.id,userToken:r})})},"lifecycle:end"(){y.track("lifecycle-end");let e=m.nextPlaylistPointer({origin:"api"});e.isErr()&&h.setContentError(new s.PlayerError("content_unavailable",e.error))},"lifecycle:start"(){let e,t=R();(0,o.isContentResourceWithPlaybackStartPosition)(t)&&(e=t.playbackStartPosition);let n=i.default.number(e)?e:f.getPosition();v.send("LIFECYCLE.SET_IS_STARTED"),y.setState({position:n}),y.track("lifecycle-start")},"playback:adBlockerStateChanged"({isAdBlockerEnabled:e}){y.setState({isAdBlockerEnabled:e})},"playback:adClickThrough"({ad:e}){y.setState({ad:e}),y.track("ad-click-through")},"playback:adClickThroughBlocked"({ad:e}){y.setState({ad:e}),y.track("ad-click-through-blocked")},"playback:adError"({error:e,ad:t}){y.setState({ad:t,adDuration:null,adPosition:null}),y.track("ad-error",{error:s.PlayerError.fromUnknown(e)}),v.send("RESET_AD_STATE")},"playback:adFinished"({adHasViewContent:e}){y.track("ad-complete"),y.setState({adPosition:null}),v.send({adHasViewContent:e,type:"PLAYBACK.AD_FINISHED"})},"playback:adFullscreenEntered"(){y.setState({isFullscreen:!0}),v.send({isFullscreen:!0,type:"PLAYBACK.FULLSCREEN_CHANGED"})},"playback:adFullscreenExited"(){y.setState({isFullscreen:!1}
350),v.send({isFullscreen:!1,type:"PLAYBACK.FULLSCREEN_CHANGED"})},"playback:adImpression"({ad:t}){y.setState({ad:t}),y.track("ad-impression"),e.emit("adimpression")},"playback:adLoaded"({ad:e,whyThisAdIcon:t}){var n;let r=f.getVideoQuality(),i=f.getDuration();y.setState({ad:e,adDuration:i,videoQuality:r}),y.track("ad-loaded"),v.send({adIsSkippable:null!=(n=null==e?void 0:e.isSkippable)&&n,adRollName:null==e?void 0:e.rollName,type:"PLAYBACK.AD_LOADED",whyThisAdIcon:t})},"playback:adNonLinearAdHidden"(){},"playback:adNonLinearAdShown"(){},"playback:adNonLinearAdStarted"(e){v.send({adNonLinearAd:a.Maybe.of(e),type:"PLAYBACK.AD_NON_LINEAR_AD_STARTED"})},"playback:adNonLinearAdStopped"(){v.send({type:"PLAYBACK.AD_NON_LINEAR_AD_FINISHED"})},"playback:adPaused"(){let t=f.getPosition();v.send({position:t,type:"PLAYBACK.SET_PAUSED"}),y.setState({position:t}),y.track("pause"),e.emit("adpaused")},"playback:adPlaying"(){v.send("PLAYBACK.SET_PLAYING"),y.track("resume"),e.emit("adplaying")},"playback:adPositionChange"({isSkipOffsetReached:t,position:n}){v.send({isAdSkipOffsetReached:t,position:n,seekableRange:f.getSeekableRange(),type:"PLAYBACK.POSITION_CHANGE"}),y.setState({adPosition:n}),y.track("position-change"),e.emit("adpositionchange",{position:n})},"playback:adRollEmpty"({ad:t}){y.setState({ad:t}),y.track("ad-roll-empty"),y.setState({ad:void 0,adDuration:null,adPosition:null}),e.emit("adrollempty"),v.send("RESET_AD_STATE")},"playback:adRollFinished"(){var t;e.emit("adrollfinished"),v.send(["RESET_AD_STATE",{isAd:!1,type:"PLAYBACK.IS_AD"},"UI.CHECK_SEEK_JUMP",{duration:f.getDuration(),position:null!=(t=f.getContentPosition())?t:0,type:"PLAYBACK.SET_DURATION"},"PLAYBACK.AD_ROLL_FINISHED"]),y.track("ad-roll-end"),y.setState({ad:void 0,adDuration:null,adPosition:null})},"playback:adRollMarkersUpdate"({adRollMarkers:e}){v.send({adRollMarkers:e,type:"PLAYBACK.AD_ROLL_MARKERS_UPDATE"})},"playback:adRollStarted"({ad:t}){y.setState({ad:t,adDuration:null,adPosition:null}),y.track("ad-roll-start"),e.emit("adrollstarted"),v.send("RESET_AD_STATE")},"playback:adSchedulerTimedOut"(){y.track("ad-scheduler-timed-out")},"playback:adSetDuration"({duration:e}){y.setState({adDuration:e}),v.send({duration:e,position:f.getPosition(),type:"PLAYBACK.SET_DURATION"})},"playback:adSkipped"({adHasViewContent:e}){y.setState({adPosition:null}),y.track("ad-skipped"),v.send({adHasViewContent:e,type:"PLAYBACK.AD_FINISHED"})},"playback:adSlotRequested"({fetchingAd:e}){y.setState({fetchingAd:e}),y.track("ad-slot-requested")},"playback:adStallEnded"(){y.setState({position:f.getPosition()}),y.track("ad-stall-ended"),v.send({isStalling:!1,type:"PLAYBACK.SET_STALLING"})},"playback:adStallStarted"(){y.setState({position:f.getPosition()}),y.track("ad-stall-started"),v.send({isStalling:!0,type:"PLAYBACK.SET_STALLING"})},"playback:adStarted"({ad:t,adCanClickThrough:n,adPositionWithinRoll:r,adRollLength:i,adHasViewContent:a}){v.send({adCanClickThrough:n,adHasViewContent:a,adPositionWithinRoll:r,adRollLength:i,type:"PLAYBACK.AD_STARTED"}),y.setState({ad:t,adPosition:0}),y.track("ad-begin"),e.emit("adstarted")},"playback:adStopped"({adHasViewContent:e}){y.setState({adPosition:null}),v.send({adHasViewContent:e,type:"PLAYBACK.AD_FINISHED"})},"playback:adVideoFirstQuartile"(){y.track("ad-video-first-quartile")},"playback:adVideoMidpoint"(){y.track("ad-video-midpoint")},"playback:adVideoQualityChanged"(e){y.setState({videoQuality:e}),y.track("ad-video-quality-changed")},"playback:adVideoThirdQuartile"(){y.track("ad-video-third-quartile")},"playback:adVolumeChanged"(e){x(e),y.track("volume-change")},"playback:airPlayAvailableStateChanged"({isAirPlayAvailable:e}){v.send({isAirPlayAvailable:e,type:"PLAYBACK.AIR_PLAY_AVAILABILITY_CHANGED"})},"playback:airPlayEntered"(){v.send("PLAYBACK.AIR_PLAY_ENTERED")},"playback:airPlayExited"(){v.send("PLAYBACK.AIR_PLAY_EXITED")},"playback:appBackgrounded"(){y.track("app-backgrounded"),f.pause({origin:"api"})},"playback:appForegrounded"(){y.track("app-foregrounded")},"playback:audioTrackSelected"({id:e,label:t,language:n,role:r,origin:i}){v.send({audioTrackId:e,type:"PLAYBACK.SELECT_AUDIO_TRACK"}),y.setState({audioTrackLanguage:n,audioTrackRole:r}),"user"===i&&b.save({audioTrackLabel:a.Maybe.of(t),audioTrackLanguage:a.Maybe.of(n),audioTrackRole:a.Maybe.of(r)})},"playback:audioTracksUpdated"(e){v.send({audioTracks:e,type:"PLAYBACK.SET_AUDIO_TRACKS"});let t=Object.entries(e);if(0===t.length)return;let n=b.load(),r=t.find(([,e])=>u(null==e?void 0:e.label,n.audioTrackLabel)&&u(null==e?void 0:e.language,n.audioTrackLanguage)&&u(null==e?void 0:e.role,n.audioTrackRole));i.default.undefined(r)||f.selectAudioTrack({id:r[0],origin:"api"})},"playback:bufferedTimeRangesUpdate"({bufferedTimeRanges:e}){v.send({bufferedTimeRanges:e,type:"PLAYBACK.BUFFERED_TIME_RANGES_UPDATE"})},"playback:error"({error:e,usedSource:t}){y.setState({mimetype:null==t?void 0:t.mimetype,sourceUrl:null==t?void 0:t.url}),y.track("error",{error:e}),h.setPlaybackError(e)},"playback:finished"(){var e;let t=C();v.send({position:null!=(e=f.getDuration())?e:1/0,seekableRange:[],type:"PLAYBACK.POSITION_CHANGE"}),n.updatePosition(t.id,0),h.setPlaybackFinished()},"playback:finishedFollowedByAds"(){h.setContentCompleted()},"playback:fullscreenEntered"(){y.setState({isFullscreen:!0}),y.track("fullscreen-change"),e.emit("fullscreenentered"),v.send({isFullscreen:!0,type:"PLAYBACK.FULLSCREEN_CHANGED"})},"playback:fullscreenExited"(){y.setState({isFullscreen:!1}),y.track("fullscreen-change"),e.emit("fullscreenexited"),v.send({isFullscreen:!1,t
350ype:"PLAYBACK.FULLSCREEN_CHANGED"})},"playback:paused"(){let t=f.getPosition();v.send({position:t,type:"PLAYBACK.SET_PAUSED"}),y.setState({position:t}),e.emit("paused"),h.setPaused()},"playback:pictureInPictureAvailabilityChanged"({isPictureInPictureAvailable:e}){v.send({isPictureInPictureAvailable:e,type:"PLAYBACK.PICTURE_IN_PICTURE_AVAILABILITY_CHANGED"})},"playback:pictureInPictureEntered"(){v.send("PLAYBACK.PICTURE_IN_PICTURE_ENTERED")},"playback:pictureInPictureExited"(){v.send("PLAYBACK.PICTURE_IN_PICTURE_EXITED")},"playback:play"(){let e=f.getPosition();v.send({position:e,type:"PLAYBACK.PLAY"}),h.setPlay(),y.setState({position:e}),y.track("lifecycle-play")},"playback:playRejected"(){y.track("lifecycle-play-rejected")},"playback:playing"(){v.send("PLAYBACK.SET_PLAYING"),e.emit("playing"),h.setPlaying()},"playback:positionChange"({position:r,internalId:i}){let a=C(),o=null!=i?i:a.id,l=h.getLifecycleId();if(v.send({position:r,seekableRange:f.getSeekableRange(),type:"PLAYBACK.POSITION_CHANGE"}),null!==l){let e=n.getEntitlementTokenPayload(o);if(e.isJust()&&t.isTerminated(l,e.value))return void h.setContentError(new s.PlayerError("content_concurrent_stream_limit_reached","Concurrent stream limit reached"))}void 0!==i&&n.updatePosition(o,r),y.setState({position:r}),y.track("position-change"),e.emit("positionchange",{position:r})},"playback:ready"({volume:e,isMuted:t,isAdBlockerEnabled:n,hasAdvertisement:r}){y.setState({isAdBlockerEnabled:n}),!1===r&&N()&&f.seekTo(0),x({isMuted:t,origin:"api",volume:e})},"playback:replay"(e){h.replay({origin:e.origin})},"playback:seek"(){v.send("SEEK.SET_SEEKING"),y.track("seeking")},"playback:seekableRangeUpdate"({seekableRange:e}){v.send({seekableRange:e,type:"PLAYBACK.SET_SEEKABLE_RANGE"})},"playback:seeked"(){let e=f.getPosition();v.send(["SEEK.SET_NOT_SEEKING",{position:e,seekableRange:f.getSeekableRange(),type:"PLAYBACK.POSITION_CHANGE"}]),y.setState({fromPosition:null,position:e}),y.track("seeked")},"playback:setDuration"({duration:e}){v.send({duration:e,position:f.getPosition(),type:"PLAYBACK.SET_DURATION"}),y.setState({duration:e})},"playback:setNoAdNoContent"({ad:e,error:t}){let r=C();y.setState({ad:e,adDuration:null,adPosition:null}),y.track("ad-error",{error:t}),n.isNoAdNoContentDisabled(r.id)||h.setNoAdNoContentError(t)},"playback:sourcesLoaded"({usedSource:e}){let t=f.getVideoQuality(),n=f.isLivestream();y.setState({isLivestream:n,mimetype:e.mimetype,sourceUrl:e.url,videoQuality:t}),v.send({position:f.getPosition(),seekableRange:f.getSeekableRange(),type:"PLAYBACK.SOURCES_LOADED"})},"playback:stallEnded"(){y.setState({position:f.getPosition()}),y.track("stall-ended"),v.send({isStalling:!1,type:"PLAYBACK.SET_STALLING"})},"playback:stallStarted"(){y.setState({position:f.getPosition()}),y.track("stall-started"),v.send({isStalling:!0,type:"PLAYBACK.SET_STALLING"})},"playback:subtitleCuesChanged"({cues:e}){v.send({subtitleCues:e,type:"PLAYBACK.SUBTITLE_CUES_CHANGED"})},"playback:subtitleSelected"({id:e,subtitle:t,origin:n}){v.send({subtitleId:e,type:"PLAYBACK.SELECT_SUBTITLE"}),"user"===n&&(i.default.undefined(t)?b.save({subtitleLabel:a.Maybe.nothing(),subtitleLanguage:a.Maybe.nothing(),subtitleRole:a.Maybe.nothing()}):b.save({subtitleLabel:a.Maybe.of(t.label),subtitleLanguage:a.Maybe.of(t.language),subtitleRole:a.Maybe.of(t.role)}))},"playback:subtitleUnselected"({origin:e}){v.send({subtitleId:null,type:"PLAYBACK.SELECT_SUBTITLE"}),"user"===e&&b.save({subtitleLabel:a.Maybe.nothing(),subtitleLanguage:a.Maybe.nothing(),subtitleRole:a.Maybe.nothing()})},"playback:subtitlesUpdated"(e){if(null===e)return void v.send({subtitles:{},type:"PLAYBACK.SET_SUBTITLES"});v.send({subtitles:e,type:"PLAYBACK.SET_SUBTITLES"});let t=b.load(),n=Object.entries(e).find(([,e])=>u(e.label,t.subtitleLabel)&&u(e.language,t.subtitleLanguage)&&u(e.role,t.subtitleRole));i.default.undefined(n)||f.selectSubtitle({id:n[0],origin:"api"})},"playback:videoQualityChanged"(e){y.setState({videoQuality:e}),y.track("video-quality-changed")},"playback:volumeChanged"(e){x(e),y.track("volume-change")},"playlist:childPlaylistEnd"(){},"playlist:end"({playlistLength:t,playlistPointer:n}){f.exitFullscreen(),v.send([{playlistEnded:!0,type:"PLAYBACK.SET_PLAYLIST_ENDED"},"UI.CHECK_SEEK_JUMP"]),e.emit("playlistend",{playlistIndex:n.index.unwrapOr(0),playlistLength:t})},"playlist:pointerChanged"(t){let{playlistPointer:i,playlistLength:l}=t;h.playlistIndexChanged({origin:t.origin});let u=R();if(N()&&n.updatePosition(C().id,0),f.resetPlaybackCalls(),y.setState({contentResource:u,isLivestream:f.isLivestream(),onDemandChannelPlaylistIndex:m.playlistPointer.childIndex.unwrapOr(null),origin:t.origin,playlistIndex:i.index.unwrapOr(0),playlistLength:l}),["api","user"].includes(t.origin)&&y.track("video-playback-requested"),"live"===u.contentType&&b.save({lastSelectedLiveChannelId:a.Maybe.just(u.id)}),A){let t=(0,o.getPathFromContentResource)(function(){let e=C(),t=n.getContentResource(e.id);if(t.isErr())throw t.error;return t.value}());["live","live-on-demand"].includes(u.contentType)?e.emit("routechange",{path:"",query:u.tvShowId}):t.isJust()&&e.emit("routechange",{path:t.value,query:""});let a=m.getSelfManagedPlaylistOptions();if(0===i.index.unwrapOr(0)||a.isNothing()||"livestream"===a.value.playlistType)return;E.fireAndForget(k.add.bind(k),[()=>r.__awaiter(this,void 0,void 0,function*(){try{let e=yield _.waitForValidUserToken(),{id:t}=u;"series"===u.contentType&&(t=u.episodeId),"playlist"===a.value.playlistType&&(t=a.value.initialId);let r=yield n.fetchContentResources({id:t,initialFetch:!1,playlistLength:l,playlistType:a.value.playlistType,userToken:e});j(r)}catch(t){let e=new s.PlayerError("content_unavailable","Unable to fetch content resources");h.setContentError(e),k.clear()}})])}else e.emit("playlistindexchanged",{playlistIndex:i.index.unwrapOr(0),playlistItem:u,playlistLength:l})}
350,"playlist:pointerReselected"(e){L()||f.seekTo(0)},"ui:destroy"({reason:e}){I(e)},"ui:editEpgFavorites"(){e.emit("editepgfavorites")},"ui:login"(t){e.emit("actionrequired",{isLivestream:N()||L(),type:t.isEpgFavorite?"login_epg_favorite":"login"})},"ui:mute"(e){f.mute({origin:e.origin}),v.send("PLAYBACK.MUTE")},"ui:openAdClickThrough"(){f.openAdClickThrough()},"ui:pause"(e){f.isLivestream()||f.pause({origin:e.origin})},"ui:personalIdentificationNumberEntered"({personalIdentificationNumber:e}){return r.__awaiter(this,void 0,void 0,function*(){let t=C(),r=yield _.waitForValidUserToken();n.resolve({childPlaylistIndex:m.playlistPointer.childIndex,personalIdentificationNumber:e,playlistItemId:t.id,userToken:r})})},"ui:play"(e){f.play({origin:e.origin})},"ui:replay"(e){h.replay({origin:e.origin})},"ui:requestEnterFullscreen"(){f.enterFullscreen()},"ui:requestEnterPictureInPicture"(){f.enterPictureInPicture()},"ui:requestExitFullscreen"(){f.exitFullscreen()},"ui:requestExitPictureInPicture"(){f.exitPictureInPicture()},"ui:seek"({offset:e}){let t=f.isLivestream()?1e3*e:e;w(Math.max(0,f.getPosition()+t))},"ui:seekEnd"(){y.track("position-seek"),y.track("seek-end"),f.seekEnd()},"ui:seekStart"(){y.setState({fromPosition:f.getPosition()}),y.track("seek-start")},"ui:seekTo"({position:e}){w(e)},"ui:selectAudioTrack"({id:e}){f.selectAudioTrack({id:e,origin:"user"})},"ui:selectSubtitle"({id:e}){f.selectSubtitle({id:e,origin:"user"})},"ui:sendAdFeedback"(e){y.track("send-ad-feedback",{formData:e})},"ui:sendNonLinearAdEvent"(e){f.sendNonLinearAdEvent(e)},"ui:setVolume"({volume:e}){f.setVolume(e,{origin:"user"})},"ui:showPersonalIdentificationNumberSettings"(){let t=L()||N();e.emit("actionrequired",{isLivestream:t,type:"setup_personal_identification_number"})},"ui:skipAd"(){f.skipAd()},"ui:skipToNextPlaylistItem"(e){let t=m.nextPlaylistPointer({origin:e.origin});t.isErr()&&h.setContentError(new s.PlayerError("content_unavailable",t.error))},"ui:skipToPlaylistIndex"(e){let t=m.setPlaylistPointer({childIndex:a.Maybe.nothing(),index:a.Maybe.of(e.playlistIndex)},{origin:e.origin});t.isErr()&&h.setContentError(new s.PlayerError("content_unavailable",t.error))},"ui:skipToPlaylistPointer"(e){let t=m.setPlaylistPointer({childIndex:a.Maybe.of(e.playlistChildIndex),index:a.Maybe.of(e.playlistIndex)},{origin:e.origin});t.isErr()&&h.setContentError(new s.PlayerError("content_unavailable",t.error))},"ui:stateChanged"(){e.emit("uistatechanged",v.getUiState())},"ui:subscribe"(){e.emit("actionrequired",{isLivestream:N()||L(),type:"subscribe"})},"ui:togglePlayPause"(e){f.isPlaying()?f.pause({origin:e.origin}):f.play({origin:e.origin})},"ui:touchVideoElement"(e){y.setState({touchVideoElementEvent:e.event}),y.track("touch-video-element")},"ui:triggerPersonalIdentificationNumberCancellation"(){let t=L()||N();e.emit("actionrequired",{isLivestream:t,type:"cancel_personal_identification_number"})},"ui:unmute"(e){f.unmute({origin:e.origin}),v.send("PLAYBACK.UNMUTE")}}}},17538:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createYouboraSdkWrapper=void 0,t.createYouboraSdkWrapper=function(e){let{youbora:t}=e;function n(e){return new(t.Adapter.extend(e))}return{initializeSdk(e){let r=n(e.playbackAdapter),i=n(e.adsAdapter),a=new t.Plugin(e.pluginOptions);return a.setAdapter(r),a.setAdsAdapter(i),{adsAdapter:i,playbackAdapter:r,plugin:a}}}}},17653:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGraphqlClientLegacy=void 0;let r=n(70015),i=n(92712),a=n(47397),o=n(47725),s=n(82799),l=i.z.object({data:i.z.unknown(),extensions:i.z.unknown().optional()}).strict(),u=i.z.object({data:i.z.unknown().optional(),errors:i.z.array(i.z.unknown()).nonempty(),extensions:i.z.unknown().optional()}).strict(),c=i.z.union([l,u]);t.createGraphqlClientLegacy=function(e){let{httpClient:t,joynDistributionTenant:n}=e;return{request(e){return r.__awaiter(this,void 0,void 0,function*(){let{zodSchema:r,params:i,endpoint:l,headers:u,aliases:d,operationName:p}=e,f=(0,s.buildQuery)({aliases:d,operationName:p,params:i,zodSchema:r}),h={headers:Object.assign(Object.assign({},u),{"joyn-distribution-tenant":n}),searchParams:{operationName:p,query:f}},m=yield t.get({options:h,uri:l}),g=(0,o.validateAgainstSchema)(c,m);if(g.isOk()){if((0,a.hasProperty)(g.value,"errors")&&Array.isArray(g.value.errors))throw Error(`GraphQL response contained errors: 351* ${g.value.errors.map(e=>JSON.stringify(e)).join("\n* ")}`);let e=(0,o.validateAgainstSchema)(r,g.value.data);if(e.isOk())return e.value;throw Error(`Data received from GraphQL did not match the expected schema 352${e.error.message}`)}
352throw Error(`Received invalid response from GraphQL endpoint "${l}" 353${g.error.message}`)})}}}},17850:(e,t,n)=>{var r="Expected a function",i=0/0,a=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,p=c||d||Function("return this")(),f=Object.prototype.toString,h=Math.max,m=Math.min,g=function(){return p.Date.now()};function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==f.call(t))return i;if(y(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=y(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var r=s.test(e);return r||l.test(e)?u(e.slice(2),r?2:8):o.test(e)?i:+e}e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw TypeError(r);return y(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),function(e,t,n){var i,a,o,s,l,u,c=0,d=!1,p=!1,f=!0;if("function"!=typeof e)throw TypeError(r);function b(t){var n=i,r=a;return i=a=void 0,c=t,s=e.apply(r,n)}function _(e){var n=e-u,r=e-c;return void 0===u||n>=t||n<0||p&&r>=o}function S(){var e,n,r,i=g();if(_(i))return E(i);l=setTimeout(S,(e=i-u,n=i-c,r=t-e,p?m(r,o-n):r))}function E(e){return(l=void 0,f&&i)?b(e):(i=a=void 0,s)}function k(){var e,n=g(),r=_(n);if(i=arguments,a=this,u=n,r){if(void 0===l)return c=e=u,l=setTimeout(S,t),d?b(e):s;if(p)return l=setTimeout(S,t),b(u)}return void 0===l&&(l=setTimeout(S,t)),s}return t=v(t)||0,y(n)&&(d=!!n.leading,o=(p="maxWait"in n)?h(v(n.maxWait)||0,t):o,f="trailing"in n?!!n.trailing:f),k.cancel=function(){void 0!==l&&clearTimeout(l),c=0,i=u=a=l=void 0},k.flush=function(){return void 0===l?s:E(g())},k}(e,t,{leading:i,maxWait:t,trailing:a})}},18164:(e,t)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(r)};let r=new Uint8Array(16)},18273:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetchEntitlement=void 0;let r=n(72678),i=n(97373);t.createFetchEntitlement=({httpClient:e},{appVersion:t,entitlementBaseUrl:n,operatingSystem:a,appRuntimeEnvironment:o,b2bContext:s})=>{let l=(0,r.createLogger)(["player","entitlement"]);return(0,i.createFetchEntitlementApi)({httpClient:e,logger:l},{appRuntimeEnvironment:o,appVersion:t,b2bContext:s,entitlementBaseUrl:n,operatingSystem:a})}},18318:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPlatformAgnosticPlayerController=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(21639),o=n(24586),s=n(62300),l=n(47694),u=n(107),c=n(30936),d=n(7939),p=n(74605),f=n(89800),h=n(28707),m=n(92237),g=["getBoundingClientRect","getDuration","getPosition","getVideoQuality","getVolume","isAirPlaySupported","isFullscreenModeSupported","isLivestream","isMuted","mute","setVolume","unmute"];t.createPlatformAgnosticPlayerController=function(e){let t,{logger:n,platformSpecificPlayerAdapter:y}=e,v=n.createChildLogger(["platform-agnostic-controller"]),b=!1,_=!1,S=!1,E=(0,p.createEventEmitterProxy)(y),k=(0,o.createPromiseLock)();function A(e){let t=c.PlayerError.fromUnknown(e,"playback");return E.emit("error",{error:t}),t}let T=(0,d.createEventEmitter)(),x=(0,h.createPlaybackStateMachine)(T),w=(0,a.interpret)(x);w.start();let C=()=>w.getSnapshot().context;E.blockEventWhen("error",()=>b);let I=(e,t)=>w.initialized?w.send(e,t):w.getSnapshot();function O(e,t){return r.__awaiter(this,void 0,void 0,function*(){let{disableSeeking:n,internalId:r,preferSoftwareBasedContentDecryption:a,startOffset:o,mediaId:s}=t,{isLive:l}=e;I([{type:"ALLOW_PLAYBACK_FINISHED_EVENT"},{type:"UNSELECT_SUBTITLE"}]),v.log("loading source",e),E.emit("sourceLoad");let u=y.loadSource(e,{internalId:r,mediaId:s,preferSoftwareBasedContentDecryption:a,startOffset:i.default.truthy(l)?void 0:o});try{yield k.acquire(u),I({playheadPosition:y.getPosition(),type:"PLAYBACK_LOAD",usedSource:e})}catch(e){throw I({type:"PLAYBACK_LOAD_FAILED"}),e}n?I({type:"DISABLE_SEEKING"}):I({type:!i.default.undefined(o)&&o>0?"DISABLE_NEXT_SEEKING":"ENABLE_SEEKING"})})}E.on("audioTrackSelected",e=>{I("AUDIO_TRACK_SELECTED",{id:e.id})}),E.on("subtitleSelected",e=>{I({id:e.id,type:"SUBTITLE_SELECTED"})}),E.on("subtitleUnselected",()=>{I({type:"UNSELECT_SUBTITLE"})}),E.on("subtitlesUpdated",e=>{e&&Object.keys(e).length>0&&I({type:"SUBTITLES_AVAILABLE"})}),E.on("audioTracksUpdated",e=>{e&&Object.keys(e).length>0&&I({type:"AUDIO_TRACKS_AVAILABLE"})}),E.on("playbackFinished",()=>{I({type:"PLAYBACK_FINISHED"})}),E.on("positionChange",({position:e})=>{I({playheadPosition:e,type:"POSITION_CHANGE"})}),E.on("play",()=>{I({type:"PLAY"})}),E.on("playing",()=>{I({type:"PLAYING"}),w.getSnapshot().matches("playback.loaded.notFinished.nextSeekingDisabled")&&I("ENABLE_SEEKING")}),E.on("paused",()=>{I({type:"PAUSE"})}),T.on("RESTORE_AUDIO_TRACK",e=>{y.selectAudioTrack({id:e,origin:"api"})}),T.on("RESTORE_SUBTITLE",e=>{y.selectSubtitle({id:e,origin:"api"})}),T.on("RESTORE_PLAYBACK_FINISHED",()=>{E.emit("playbackFinished")}),T.on("SELECT_SUBTITLE",e=>{y.selectSubtitle(e)}
353),T.on("SELECT_AUDIO_TRACK",e=>{y.selectAudioTrack(e)}),w.onEvent(e=>{v.log("State Machine Event",e)}),(0,m.interceptSeekingAttempts)({eventEmitterProxy:E,platformSpecificPlayerAdapter:y,playbackStateMachineService:w});function R(){let{usedSource:e}=C();return e.isNothing()}function P(e){return r.__awaiter(this,void 0,void 0,function*(){if(yield k.waitUntilReleased(),R())throw new c.PlayerError("playback_play_without_sources","Can not play without a loaded source");yield y.play(e)})}function N(){return C().isPlaying}function L(){return w.getSnapshot().matches("playback.loaded.finished")}return E.blockEventWhen("playing",N),E.blockEventWhen("playbackFinished",L),E.blockEventWhen("paused",R),E.blockEventWhen("positionChange",()=>R()||L()),Object.assign(Object.assign({},(0,l.pick)(y,g)),{destroy(){return r.__awaiter(this,void 0,void 0,function*(){S=!0,yield y.destroy(),w.stop(),k.destroy()})},disableBuffering(){return r.__awaiter(this,void 0,void 0,function*(){y.isBufferingControlEnabled&&(yield y.disableBuffering())})},enableBuffering(){return r.__awaiter(this,void 0,void 0,function*(){y.isBufferingControlEnabled&&(yield y.enableBuffering())})},enterAirPlay(){y.isAirPlaySupported&&y.enterAirPlay()},enterFullscreen(){y.isFullscreenModeSupported&&y.enterFullscreen()},enterPictureInPicture(){y.isPictureInPictureModeSupported&&y.enterPictureInPicture()},exitAirPlay(){y.isAirPlaySupported&&y.exitAirPlay()},exitFullscreen(){y.isFullscreenModeSupported&&y.exitFullscreen()},exitPictureInPicture(){y.isPictureInPictureModeSupported&&y.exitPictureInPicture()},getCapabilities(){return r.__awaiter(this,void 0,void 0,function*(){return(t=i.default.nullOrUndefined(t)?yield y.getCapabilities():t,_)?Object.assign(Object.assign({},t),{maxSecurityLevel:1}):t})},getSeekableRange(){let{isSeekingAllowed:e}=C();if(!e)return[];let t=y.getSeekableRange();return 0===t.length?[]:(0,u.sanitizeTimeRange)(t)},isFullscreen:()=>!!y.isFullscreenModeSupported&&y.isFullscreen(),isPictureInPictureAvailable:()=>!!y.isPictureInPictureModeSupported&&y.isPictureInPictureAvailable(),isPlaybackFinished:L,isPlaying:N,off:E.off,on:E.on,pause(){return r.__awaiter(this,void 0,void 0,function*(){yield k.waitUntilReleased(),yield y.pause()})},play:P,prefetchRestoreState(){return r.__awaiter(this,void 0,void 0,function*(){if(y.isPrefetchSupported){let{snapshot:e}=C();e.isJust()&&e.value.usedSource.isJust()&&(yield y.prefetchSources([e.value.usedSource.value]))}})},prefetchSources(e){return r.__awaiter(this,void 0,void 0,function*(){y.isPrefetchSupported&&(yield y.prefetchSources(e))})},reset(...e){return r.__awaiter(this,void 0,void 0,function*(){yield k.waitUntilReleased(),w.stop();try{yield y.reset(...e),w.start()}catch(e){if(S)throw e;throw A(e)}})},restoreState(){return r.__awaiter(this,void 0,void 0,function*(){yield k.waitUntilReleased();let{snapshot:e}=C();if(e.isNothing())throw Error("No snapshot stored");I({type:"RESTORE_SNAPSHOT"});let{isSameSource:t}=C();t?E.emit("sourceLoad"):yield function(e){return r.__awaiter(this,void 0,void 0,function*(){yield y.unload();let{usedSource:t,playheadPosition:n,isSeekingAllowed:r,isPlaybackFinished:a}=e;if(!a){if(t.isNothing())throw new c.PlayerError("playback","Can not restore to a state without sources");yield O(t.value,{disableSeeking:!r,preferSoftwareBasedContentDecryption:!1,startOffset:i.default.truthy(t.value.isLive)?void 0:n.unwrapOr(0)})}})}(e.value);let n=e.value;if(n.isPlaying||n.isPlayingEventExpected)try{yield P({origin:"resume"})}catch(e){}})},saveStateAndPause(){return r.__awaiter(this,void 0,void 0,function*(){yield k.waitUntilReleased(),I({type:"SAVE_SNAPSHOT"}),yield y.pause()})},seekEnd(){y.seekEnd()},seekTo(e){return r.__awaiter(this,void 0,void 0,function*(){if(!(e>=0&&e!==-1/0&&e!==1/0))throw TypeError(`Invalid seek position ${e}`);y.isLivestream()&&0===e&&v.warn("Seeking to zero for a live stream will cause playback with the largest possible latency!"),yield k.waitUntilReleased(),yield y.seekTo(e)})},selectAudioTrack(e){I({audioTrackOptions:e,type:"SELECT_AUDIO_TRACK"})},selectSubtitle(e){I({subtitleOptions:e,type:"SELECT_SUBTITLE"})},setSources:function(e,t={}){return r.__awaiter(this,void 0,void 0,function*(){yield k.waitUntilReleased();let{disableSeeking:n=!1,internalId:a,startOffset:o,mediaId:l}=t;if(!(0,s.isNonEmptyArray)(e))throw A(new c.PlayerError("playback_no_source_provided","No sources provided"));for(let t of e)if(i.default.emptyString(t.url))throw A(new c.PlayerError("playback_source_invalid",`Invalid source provided (mimetype: ${t.mimetype}, url: ${t.url})`));let u=yield y.getPreferredSource(e),d=yield function e(t,n){return r.__awaiter(this,void 0,void 0,function*(){let{isFinalAttempt:i}=n,a=r.__rest(n,["isFinalAttempt"]);try{return b=!i,yield O(t,a),t}catch(n){if(S)throw n;if(i)throw A(n);if((0,f.hasFallbackSource)(t))return function(t,n){return r.__awaiter(this,void 0,void 0,function*(){return yield e(t.fallback,n),_=!0,t.fallback})}(t,Object.assign(Object.assign({},a),{isFinalAttempt:!1}));return e(t,Object.assign(Object.assign({},a),{isFinalAttempt:!0,preferSoftwareBasedContentDecryption:!0}
353))}finally{b=!1}})}(u,{disableSeeking:n,internalId:a,isFinalAttempt:!1,mediaId:l,preferSoftwareBasedContentDecryption:!1,startOffset:o}),p={hasAdvertisement:e.some(e=>e.isAdvertisement),isMuted:y.isMuted(),volume:y.getVolume()};return E.emit("ready",p),{duration:y.getDuration(),usedSource:d}})}})}},18477:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(63195).__exportStar(n(71271),t)},18894:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createIabOpenMeasurementApi=void 0;let r=n(70015),i=n(72678),a=r.__importDefault(n(68071)),o=(0,i.createLogger)(["advertisement","iab-open-measurement"]);t.createIabOpenMeasurementApi=({location:e,omidSessionClient:t,videoElement:n,loadScript:i},{iabOpenMeasurementPartnerName:s,appVersion:l})=>{let u,{AdEvents:c,AdSession:d,Context:p,MediaEvents:f,Partner:h,VastProperties:m,VerificationScriptResource:g}=t,y=new h(s,l),v=(()=>{let e={};return{get:()=>e,reset(){e={}},set(t){e=Object.assign(Object.assign({},e),t)}}})();return(t,s)=>r.__awaiter(void 0,void 0,void 0,function*(){let r,{adSession:l,adEvents:h,mediaEvents:b}=v.get();if(!("string"==typeof(r=s.adCursor.rollName)&&["preroll","postroll","midroll"].includes(r)))return;let _=()=>s.isMuted?0:s.volume/100;switch(u=null!=u?u:i(a.default,{async:!1,returnPromise:!0}),yield u,t){case"AdLoaded":{var S;let{adVerificationResources:t}=s,r=new p(y,t.filter(e=>{var t;return(null==(t=e.javascriptresource)?void 0:t.$apiframework)==="omid"}).map(e=>{var t,n;let{$vendor:r,verificationparameters:i,javascriptresource:a}=e;return new g(null!=(t=null==a?void 0:a.value)?t:null,r,null!=(n=null==i?void 0:i.value)?n:null,"full")}),e.href.split("?")[0]);r.setServiceWindow(globalThis.top),r.setVideoElement(n);let i=(e=>{let t=new d(e);try{t.setCreativeType("video"),t.setImpressionType("beginToRender")}catch(e){o.warn("Error on OM SDK while creating AdSession",e)}return t})(r);v.reset(),i.isSupported()&&(v.set({adEvents:new c(i),adSession:i,mediaEvents:new f(i)}),i.start());let a=new m(s.isSkippable,null,!1,s.adCursor.rollName);null==(S=v.get().adEvents)||S.loaded(a);break}case"AdImpression":null==h||h.impressionOccurred();break;case"AdStarted":null==b||b.start(s.duration,_());break;case"AdClickThru":null==b||b.adUserInteraction("click");break;case"AdPaused":null==b||b.pause();break;case"AdPlaying":null==b||b.resume();break;case"AdVideoFirstQuartile":null==b||b.firstQuartile();break;case"AdVideoMidpoint":null==b||b.midpoint();break;case"AdStallStarted":null==b||b.bufferStart();break;case"AdStallEnded":null==b||b.bufferFinish();break;case"AdVideoThirdQuartile":null==b||b.thirdQuartile();break;case"AdVideoComplete":null==b||b.complete(),null==l||l.finish(),v.reset();break;case"AdError":null==l||l.finish(),v.reset();break;case"AdSizeChange":{let{isFullscreen:e}=s;null==b||b.playerStateChange(e?"fullscreen":"normal");break}case"AdVolumeChange":null==b||b.volumeChange(_())}})}},19196:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUiStateService=void 0;let r=n(70015).__importDefault(n(19577)),i=n(21639),a=n(11948),o=n(8462);function s(e){var t;let{legalMarkingsService:n,isAd:i,isInteractive:a,isLivestream:o,isLiveOnDemandChannel:s,joynDistributionTenant:l,disableEPG:u,epgButtonId:c}=e.context,d=a||"ILLY"===l,p=!o&&!s&&!a,f=(p||s)&&!i,h=e.matches("alive.overlays.upNextHidden.controlsVisible.elements.tracksSelectionButtonVisible"),m=e.matches("alive.overlays.upNextHidden.controlsVisible.elements.tracksSelectionButtonVisible.tracksSelectionMenuVisible"),g=(e.matches("alive.overlays.electronicProgramGuideVisible")||e.matches("killed.electronicProgramGuideVisible"))&&!d,y=(e.matches("killed")?e.context.error.unwrapOr(null):null)!==null,v=e.matches("alive.overlays.upNextVisible"),b=y||o||s||f||d||g||v||i,_=h?{audioTracks:e.context.audioTracksSelectionGroup,mustShowButton:!0,mustShowMenu:m,subtitles:e.context.subtitlesSelectionGroup}:{mustShowButton:!1,mustShowMenu:!1},S=e.context.playlistIndex.unwrapOr(null),E=e.context.livePlaylistItems.find(e=>e.playlistIndex===S);return{adCanClickThrough:e.context.adCanClickThrough.unwrapOr(!1),adHasViewContent:e.context.adHasViewContent.unwrapOr(!1),adNonLinearAd:e.context.adNonLinearAd.unwrapOr(null),adPositionWithinRoll:e.context.adPositionWithinRoll.unwrapOr(null),adRollLength:e.context.adRollLength.unwrapOr(null),adRollMarkers:e.context.adRollMarkers,adRollName:e.context.adRollName.unwrapOr(null),ageRating:n.mapOr(null,e=>{let t=e.getSnapshot();return t?t.context.ageRating.unwrapOr(null):null}),ageRatingDescriptor:n.mapOr(null,e=>{let t=e.getSnapshot();return t?t.context.ageRatingDescriptor.unwrapOr(null):null}),bookmarkedBrandIds:e.context.bookmarkedBrandIds,brandLogo:n.mapOr(null,e=>{let t=e.getSnapshot();return t?t.context.brandLogo.unwrapOr(null):null}),bufferedTimeRanges:e.context.bufferedTimeRanges.unwrapOr([]),disableEPG:u,duration:e.context.videoDuration.unwrapOr(null),epgButtonId:c,epgFavouritesPlaylist:e.context.epgFavouritesPlaylist,error:e.matches("killed")?e.context.error.unwrapOr(null):null,isAd:i,isAdSkipOffsetReached:e.context.
353isAdSkipOffsetReached,isAdSkippable:e.context.isAdSkippable,isAirPlay:e.context.isAirPlay,isAirPlayAvailable:e.context.isAirPlayAvailable,isChannelSwitchPossible:e.context.isChannelSwitchPossible,isFullscreen:e.context.isFullscreen,isFullscreenModeSupported:e.context.isFullscreenModeSupported,isInteractive:e.context.isInteractive,isLiveOnDemandChannel:e.context.isLiveOnDemandChannel,isLivestream:e.context.isLivestream,isMobile:e.context.isMobile,isMuted:e.context.isMuted,isPaused:e.matches("alive.playback.paused"),isPausedByAdUserFeedback:e.context.isPausedByAdUserFeedback,isPausingSupported:!a,isPictureInPicture:e.context.isPictureInPicture,isPictureInPictureAvailable:e.context.isPictureInPictureAvailable,isPlaying:e.matches("alive.playback.playing"),isReadyForPlayback:e.context.isReadyForPlayback,isSeekBackwardJumpPossible:e.context.isSeekBackwardJumpPossible,isSeekForwardJumpPossible:e.context.isSeekForwardJumpPossible,isSeekToStartEnabled:e.context.isSeekToStartEnabled,isSeeking:e.context.isSeeking,isStalling:e.context.isStalling,isStarted:e.matches("alive.lifecycle.started"),isUpNextVisible:v,legalMarkingsVisible:e.matches("alive.overlays.upNextHidden.legalMarkingsVisible"),liveChannelGroupFilter:e.context.liveChannelGroupFilter.unwrapOr(null),liveChannels:e.context.liveChannels,livePlaylistItems:e.context.livePlaylistItems,livePlaylistItemsNonEpg:e.context.livePlaylistItemsNonEpg,liveVibrantColor:null!=(t=null==E?void 0:E.channelData.vibrantColor)?t:null,mustShowAdvertisementFeedbackButton:e.matches("alive.overlays.upNextHidden.controlsVisible.advertisementControls.feedbackButtonVisible"),mustShowAdvertisementFeedbackMenu:e.matches("alive.overlays.upNextHidden.controlsVisible.advertisementControls.feedbackButtonVisible.feedbackMenuVisible"),mustShowAdvertisementFeedbackSent:e.matches("alive.overlays.upNextHidden.controlsVisible.advertisementControls.feedbackButtonVisible.feedbackMenuSent"),mustShowAgeRating:n.mapOr(!1,e=>{var t,n;return null!=(n=null==(t=e.getSnapshot())?void 0:t.matches("legalMarkings.ageRatingVisible"))&&n}),mustShowAgeRatingDescriptor:n.mapOr(!1,e=>{var t;let n=e.getSnapshot(),i=null!=(t=null==n?void 0:n.matches("legalMarkings.ageRatingVisible"))&&t,a=null==n?void 0:n.context.ageRatingDescriptor.unwrapOr(null),o=!r.default.nullOrUndefined(a)&&!r.default.emptyStringOrWhitespace(a);return i&&o}),mustShowBrandLogo:n.mapOr(!1,e=>{var t,n;return null!=(n=null==(t=e.getSnapshot())?void 0:t.matches("legalMarkings.ageRatingHidden.brandLogoOrProductPlacementVisible.brandLogo.visible"))&&n}),mustShowCloseButton:!d,mustShowControls:e.matches("alive.overlays.upNextHidden.controlsVisible"),mustShowCornerBug:n.mapOr(!1,e=>{var t,n,r,i;return null!=(i=null!=(n=null==(t=e.getSnapshot())?void 0:t.matches("done"))&&n&&(null==(r=e.getSnapshot())?void 0:r.context.hasCornerBug.unwrapOr(!1)))&&i})&&!e.matches("alive.overlays.upNextHidden.controlsVisible"),mustShowCursor:b,mustShowElectronicProgramGuide:g,mustShowElectronicProgramGuideButton:!u,mustShowErrorBackButton:e.context.mustShowErrorBackButton,mustShowErrorFrequentlyAskedQuestionsButton:e.context.mustShowErrorFrequentlyAskedQuestionsButton,mustShowErrorRetryButton:e.context.mustShowErrorRetryButton,mustShowLiveChannelGroupFilter:e.matches("alive.overlays.electronicProgramGuideVisible.filterVisible")||e.matches("killed.electronicProgramGuideVisible.filterVisible"),mustShowNextPlaylistItemButton:e.context.playlist.length>1&&!e.context.isLiveOnDemandChannel,mustShowPauseButton:!d||p,mustShowPlaybackInfo:!d,mustShowProductPlacement:n.mapOr(!1,e=>{var t,n;return null!=(n=null==(t=e.getSnapshot())?void 0:t.matches("legalMarkings.ageRatingHidden.brandLogoOrProductPlacementVisible.productPlacement.visible"))&&n}),mustShowSeekBackwardButton:f,mustShowSeekForwardButton:f,mustShowStartFromBeginningButton:f,mustShowTracksSelectionButton:h,mustShowTracksSelectionMenu:m,playlist:e.context.playlist,playlistChildIndex:e.context.playlistChildIndex.unwrapOr(null),playlistEnded:e.context.playlistEnded.unwrapOr(!1),playlistIndex:e.context.playlistIndex.unwrapOr(null),position:e.context.playbackPosition.unwrapOr(null),poster:e.context.poster,progressBar:{draggable:f&&e.matches("alive.overlays.upNextHidden.controlsVisible"),mustShow:f},remainingTime:e.context.playbackRemainingTime.unwrapOr(null),requiredAction:e.context.requiredAction.unwrapOr(null),seekableRange:e.context.seekableRange,selectedAudioTrackId:e.context.selectedAudioTrackId.unwrapOr(null),startOfCurrentHourTimestamp:e.context.startOfCurrentHourTimestamp,startOfCurrentMinuteTimestamp:e.context.startOfCurrentMinuteTimestamp,subtitleCues:e.context.subtitleCues,tracksSelection:_,volume:e.context.volume,whyThisAdIcon:e.context.whyThisAdIcon.unwrapOr(null)}}function l(e,t){let{transitionListener:n,liveChannelDataService:r,getCurrentTimestamp:s,clock:l,toggleRouter:u}=e,c=(0,a.createLegalMarkingsMachine)({getCurrentTimestamp:s}),d=(0,o.createUiStateMachine)({legalMarkingsMachine:c,liveChannelDataService:r,toggleRouter:u}
353,t),p=void 0===l?(0,i.interpret)(d):(0,i.interpret)(d,{clock:l});return p.onTransition(n),{uiStateMachine:d,uiStateService:p}}t.createUiStateService=function(e,t){let n,{clock:r,liveChannelDataService:i,getCurrentTimestamp:a,logger:o,toggleRouter:u}=e,{isNextEpisodeOverlayAllowed:c,joynDistributionTenant:d,disableEPG:p,liveChannelGroupFilter:f,epgButtonId:h}=t,m=!1,g=e=>{if(m=e.context.isFullscreen,!0!==e.changed)return;if(void 0===n)return void o.error("No service subscriber given");let t=s(e);n(t)},{uiStateMachine:y,uiStateService:v}=l({clock:r,getCurrentTimestamp:a,liveChannelDataService:i,toggleRouter:u,transitionListener:g},{disableEPG:p,epgButtonId:h,isFullscreen:m,isNextEpisodeOverlayAllowed:c,joynDistributionTenant:d,liveChannelGroupFilter:f});return i.addUpdateEventListener(e=>{v.send("CONTENT.UPDATE_LIVE_CHANNEL_DATA",e)}),{get currentState(){return s(v.state)},destroy(){i.destroy(),v.stop()},get initialState(){return s(y.initialState)},onStateChange(e){n=e},reset(){let e=v.state.matches("alive.overlays.upNextHidden.controlsVisible.interaction.userInteracting");v.stop(),({uiStateMachine:y,uiStateService:v}=l({clock:r,getCurrentTimestamp:a,liveChannelDataService:i,toggleRouter:u,transitionListener:g},{disableEPG:p,epgButtonId:h,isFullscreen:m,isNextEpisodeOverlayAllowed:c,joynDistributionTenant:d,liveChannelGroupFilter:f})),v.start(),e&&v.send("USER.START_INTERACTION_ATTEMPT")},send(e){v.send(e)},start(){v.start()}}}},19282:e=>{e.exports={DATA:"/data",INIT:"/init",START:"/start",JOIN:"/joinTime",PAUSE:"/pause",RESUME:"/resume",SEEK:"/seek",BUFFER:"/bufferUnderrun",ERROR:"/error",STOP:"/stop",PING:"/ping",VIDEO_EVENT:"/infinity/video/event",AD_INIT:"/adInit",AD_START:"/adStart",AD_JOIN:"/adJoin",AD_PAUSE:"/adPause",AD_RESUME:"/adResume",AD_BUFFER:"/adBufferUnderrun",AD_STOP:"/adStop",AD_CLICK:"/adClick",AD_ERROR:"/adError",AD_MANIFEST:"/adManifest",AD_POD_START:"/adBreakStart",AD_POD_STOP:"/adBreakStop",AD_QUARTILE:"/adQuartile",EVENT:"/infinity/session/event",SESSION_START:"/infinity/session/start",SESSION_STOP:"/infinity/session/stop",NAV:"/infinity/session/nav",BEAT:"/infinity/session/beat",OFFLINE_EVENTS:"/offlineEvents"}},19397:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFireAndForgetInvoker=void 0;let r=n(70015),i=r.__importDefault(n(86588)),a=n(47561),o=n(96545);function s(e){return a.Result.isInstance(e)&&e.isErr()}t.createFireAndForgetInvoker=function(e){let{errorReporter:t}=e,n=[];function a(e){t.sendFireAndForgetError(e)}return{fireAndForget(e,t){try{let r=e(...t);(0,o.isPromiseLikeValue)(r)?(r.then(e=>{s(e)&&a(e.error)}).catch(a),n.push(r)):s(r)&&a(r.error)}catch(e){a(e)}},waitUntilAllFinished(){return r.__awaiter(this,void 0,void 0,function*(){yield(0,i.default)(n)})}}}},19561:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(7295),i=n(817);function a(e){(0,i.A)(1,arguments);var t=(0,r.A)(e);return t.setSeconds(0,0),t}},19577:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"],r=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Blob","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","FormData","URLSearchParams","HTMLElement",...n],i=["null","undefined","string","number","bigint","boolean","symbol"];function a(e){return t=>typeof t===e}let{toString:o}=Object.prototype,s=e=>{let t=o.call(e).slice(8,-1);return/HTML\w+Element/.test(t)&&u.domElement(e)?"HTMLElement":r.includes(t)?t:void 0},l=e=>t=>s(t)===e;function u(e){if(null===e)return"null";switch(typeof e){case"undefined":return"undefined";case"string":return"string";case"number":return"number";case"boolean":return"boolean";case"function":return"Function";case"bigint":return"bigint";case"symbol":return"symbol"}if(u.observable(e))return"Observable";if(u.array(e))return"Array";if(u.buffer(e))return"Buffer";let t=s(e);if(t)return t;if(e instanceof String||e instanceof Boolean||e instanceof Number)throw TypeError("Please don't use object wrappers for primitive types");return"Object"}
353u.undefined=a("undefined"),u.string=a("string");let c=a("number");u.number=e=>c(e)&&!u.nan(e),u.bigint=a("bigint"),u.function_=a("function"),u.null_=e=>null===e,u.class_=e=>u.function_(e)&&e.toString().startsWith("class "),u.boolean=e=>!0===e||!1===e,u.symbol=a("symbol"),u.numericString=e=>u.string(e)&&!u.emptyStringOrWhitespace(e)&&!Number.isNaN(Number(e)),u.array=(e,t)=>!!Array.isArray(e)&&(!u.function_(t)||e.every(t)),u.buffer=e=>{var t,n,r;return null!=(r=null==(n=null==(t=null==e?void 0:e.constructor)?void 0:t.isBuffer)?void 0:n.call(t,e))&&r},u.blob=e=>l("Blob")(e),u.nullOrUndefined=e=>u.null_(e)||u.undefined(e),u.object=e=>!u.null_(e)&&("object"==typeof e||u.function_(e)),u.iterable=e=>u.function_(null==e?void 0:e[Symbol.iterator]),u.asyncIterable=e=>u.function_(null==e?void 0:e[Symbol.asyncIterator]),u.generator=e=>u.iterable(e)&&u.function_(null==e?void 0:e.next)&&u.function_(null==e?void 0:e.throw),u.asyncGenerator=e=>u.asyncIterable(e)&&u.function_(e.next)&&u.function_(e.throw),u.nativePromise=e=>l("Promise")(e),u.promise=e=>u.nativePromise(e)||(e=>u.function_(null==e?void 0:e.then)&&u.function_(null==e?void 0:e.catch))(e),u.generatorFunction=l("GeneratorFunction"),u.asyncGeneratorFunction=e=>"AsyncGeneratorFunction"===s(e),u.asyncFunction=e=>"AsyncFunction"===s(e),u.boundFunction=e=>u.function_(e)&&!e.hasOwnProperty("prototype"),u.regExp=l("RegExp"),u.date=l("Date"),u.error=l("Error"),u.map=e=>l("Map")(e),u.set=e=>l("Set")(e),u.weakMap=e=>l("WeakMap")(e),u.weakSet=e=>l("WeakSet")(e),u.int8Array=l("Int8Array"),u.uint8Array=l("Uint8Array"),u.uint8ClampedArray=l("Uint8ClampedArray"),u.int16Array=l("Int16Array"),u.uint16Array=l("Uint16Array"),u.int32Array=l("Int32Array"),u.uint32Array=l("Uint32Array"),u.float32Array=l("Float32Array"),u.float64Array=l("Float64Array"),u.bigInt64Array=l("BigInt64Array"),u.bigUint64Array=l("BigUint64Array"),u.arrayBuffer=l("ArrayBuffer"),u.sharedArrayBuffer=l("SharedArrayBuffer"),u.dataView=l("DataView"),u.enumCase=(e,t)=>Object.values(t).includes(e),u.directInstanceOf=(e,t)=>Object.getPrototypeOf(e)===t.prototype,u.urlInstance=e=>l("URL")(e),u.urlString=e=>{if(!u.string(e))return!1;try{return new URL(e),!0}catch(e){return!1}},u.truthy=e=>!!e,u.falsy=e=>!e,u.nan=e=>Number.isNaN(e),u.primitive=e=>{var t;return u.null_(e)||(t=typeof e,i.includes(t))},u.integer=e=>Number.isInteger(e),u.safeInteger=e=>Number.isSafeInteger(e),u.plainObject=e=>{if("[object Object]"!==o.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.getPrototypeOf({})},u.typedArray=e=>{var t;return t=s(e),n.includes(t)},u.arrayLike=e=>!u.nullOrUndefined(e)&&!u.function_(e)&&(e=>u.safeInteger(e)&&e>=0)(e.length),u.inRange=(e,t)=>
353{if(u.number(t))return e>=Math.min(0,t)&&e<=Math.max(t,0);if(u.array(t)&&2===t.length)return e>=Math.min(...t)&&e<=Math.max(...t);throw TypeError(`Invalid range: ${JSON.stringify(t)}`)};let d=["innerHTML","ownerDocument","style","attributes","nodeValue"];u.domElement=e=>u.object(e)&&1===e.nodeType&&u.string(e.nodeName)&&!u.plainObject(e)&&d.every(t=>t in e),u.observable=e=>{var t,n;return!!e&&(e===(null==(t=e[Symbol.observable])?void 0:t.call(e))||e===(null==(n=e["@@observable"])?void 0:n.call(e)))},u.nodeStream=e=>u.object(e)&&u.function_(e.pipe)&&!u.observable(e),u.infinite=e=>e===1/0||e===-1/0;let p=e=>t=>u.integer(t)&&Math.abs(t%2)===e;u.evenInteger=p(0),u.oddInteger=p(1),u.emptyArray=e=>u.array(e)&&0===e.length,u.nonEmptyArray=e=>u.array(e)&&e.length>0,u.emptyString=e=>u.string(e)&&0===e.length,u.emptyStringOrWhitespace=e=>u.emptyString(e)||(e=>u.string(e)&&!/\S/.test(e))(e),u.nonEmptyString=e=>u.string(e)&&e.length>0,u.nonEmptyStringAndNotWhitespace=e=>u.string(e)&&!u.emptyStringOrWhitespace(e),u.emptyObject=e=>u.object(e)&&!u.map(e)&&!u.set(e)&&0===Object.keys(e).length,u.nonEmptyObject=e=>u.object(e)&&!u.map(e)&&!u.set(e)&&Object.keys(e).length>0,u.emptySet=e=>u.set(e)&&0===e.size,u.nonEmptySet=e=>u.set(e)&&e.size>0,u.emptyMap=e=>u.map(e)&&0===e.size,u.nonEmptyMap=e=>u.map(e)&&e.size>0,u.propertyKey=e=>u.any([u.string,u.number,u.symbol],e),u.formData=e=>l("FormData")(e),u.urlSearchParams=e=>l("URLSearchParams")(e);let f=(e,t,n)=>{if(!u.function_(t))throw TypeError(`Invalid predicate: ${JSON.stringify(t)}`);if(0===n.length)throw TypeError("Invalid number of values");return e.call(n,t)};u.any=(e,...t)=>(u.array(e)?e:[e]).some(e=>f(Array.prototype.some,e,t)),u.all=(e,...t)=>f(Array.prototype.every,e,t);let h=(e,t,n,r={})=>{if(!e){let{multipleValues:e}=r,i=e?`received values of types ${[...new Set(n.map(e=>`\`${u(e)}\``))].join(", ")}`:`received value of type \`${u(n)}\``;throw TypeError(`Expected value which is \`${t}\`, ${i}.`)}};t.assert={undefined:e=>h(u.undefined(e),"undefined",e),string:e=>h(u.string(e),"string",e),number:e=>h(u.number(e),"number",e),bigint:e=>h(u.bigint(e),"bigint",e),function_:e=>h(u.function_(e),"Function",e),null_:e=>h(u.null_(e),"null",e),class_:e=>h(u.class_(e),"Class",e),boolean:e=>h(u.boolean(e),"boolean",e),symbol:e=>h(u.symbol(e),"symbol",e),numericString:e=>h(u.numericString(e),"string with a number",e),array:(e,t)=>{h(u.array(e),"Array",e),t&&e.forEach(t)},buffer:e=>h(u.buffer(e),"Buffer",e),blob:e=>h(u.blob(e),"Blob",e),nullOrUndefined:e=>h(u.nullOrUndefined(e),"null or undefined",e),object:e=>h(u.object(e),"Object",e),iterable:e=>h(u.iterable(e),"Iterable",e),asyncIterable:e=>h(u.asyncIterable(e),"AsyncIterable",e),generator:e=>h(u.generator(e),"Generator",e),asyncGenerator:e=>h(u.asyncGenerator(e),"AsyncGenerator",e),nativePromise:e=>h(u.nativePromise(e),"native Promise",e),promise:e=>h(u.promise(e),"Promise",e),generatorFunction:e=>h(u.generatorFunction(e),"GeneratorFunction",e),asyncGeneratorFunction:e=>h(u.asyncGeneratorFunction(e),"AsyncGeneratorFunction",e),asyncFunction:e=>h(u.asyncFunction(e),"AsyncFunction",e),boundFunction:e=>h(u.boundFunction(e),"Function",e),regExp:e=>h(u.regExp(e),"RegExp",e),date:e=>h(u.date(e),"Date",e),error:e=>h(u.error(e),"Error",e),map:e=>h(u.map(e),"Map",e),set:e=>h(u.set(e),"Set",e),weakMap:e=>h(u.weakMap(e),"WeakMap",e),weakSet:e=>h(u.weakSet(e),"WeakSet",e),int8Array:e=>h(u.int8Array(e),"Int8Array",e),uint8Array:e=>
353h(u.uint8Array(e),"Uint8Array",e),uint8ClampedArray:e=>h(u.uint8ClampedArray(e),"Uint8ClampedArray",e),int16Array:e=>h(u.int16Array(e),"Int16Array",e),uint16Array:e=>h(u.uint16Array(e),"Uint16Array",e),int32Array:e=>h(u.int32Array(e),"Int32Array",e),uint32Array:e=>h(u.uint32Array(e),"Uint32Array",e),float32Array:e=>h(u.float32Array(e),"Float32Array",e),float64Array:e=>h(u.float64Array(e),"Float64Array",e),bigInt64Array:e=>h(u.bigInt64Array(e),"BigInt64Array",e),bigUint64Array:e=>h(u.bigUint64Array(e),"BigUint64Array",e),arrayBuffer:e=>h(u.arrayBuffer(e),"ArrayBuffer",e),sharedArrayBuffer:e=>h(u.sharedArrayBuffer(e),"SharedArrayBuffer",e),dataView:e=>h(u.dataView(e),"DataView",e),enumCase:(e,t)=>h(u.enumCase(e,t),"EnumCase",e),urlInstance:e=>h(u.urlInstance(e),"URL",e),urlString:e=>h(u.urlString(e),"string with a URL",e),truthy:e=>h(u.truthy(e),"truthy",e),falsy:e=>h(u.falsy(e),"falsy",e),nan:e=>h(u.nan(e),"NaN",e),primitive:e=>h(u.primitive(e),"primitive",e),integer:e=>h(u.integer(e),"integer",e),safeInteger:e=>h(u.safeInteger(e),"integer",e),plainObject:e=>h(u.plainObject(e),"plain object",e),typedArray:e=>h(u.typedArray(e),"TypedArray",e),arrayLike:e=>h(u.arrayLike(e),"array-like",e),domElement:e=>h(u.domElement(e),"HTMLElement",e),observable:e=>h(u.observable(e),"Observable",e),nodeStream:e=>h(u.nodeStream(e),"Node.js Stream",e),infinite:e=>h(u.infinite(e),"infinite number",e),emptyArray:e=>h(u.emptyArray(e),"empty array",e),nonEmptyArray:e=>h(u.nonEmptyArray(e),"non-empty array",e),emptyString:e=>h(u.emptyString(e),"empty string",e),emptyStringOrWhitespace:e=>h(u.emptyStringOrWhitespace(e),"empty string or whitespace",e),nonEmptyString:e=>h(u.nonEmptyString(e),"non-empty string",e),nonEmptyStringAndNotWhitespace:e=>h(u.nonEmptyStringAndNotWhitespace(e),"non-empty string and not whitespace",e),emptyObject:e=>h(u.emptyObject(e),"empty object",e),nonEmptyObject:e=>h(u.nonEmptyObject(e),"non-empty object",e),emptySet:e=>h(u.emptySet(e),"empty set",e),nonEmptySet:e=>h(u.nonEmptySet(e),"non-empty set",e),emptyMap:e=>h(u.emptyMap(e),"empty map",e),nonEmptyMap:e=>h(u.nonEmptyMap(e),"non-empty map",e),propertyKey:e=>h(u.propertyKey(e),"PropertyKey",e),formData:e=>h(u.formData(e),"FormData",e),urlSearchParams:e=>h(u.urlSearchParams(e),"URLSearchParams",e),evenInteger:e=>h(u.evenInteger(e),"even integer",e),oddInteger:e=>h(u.oddInteger(e),"odd integer",e),directInstanceOf:(e,t)=>h(u.directInstanceOf(e,t),"T",e),inRange:(e,t)=>
353h(u.inRange(e,t),"in range",e),any:(e,...t)=>h(u.any(e,...t),"predicate returns truthy for any value",t,{multipleValues:!0}),all:(e,...t)=>h(u.all(e,...t),"predicate returns truthy for all values",t,{multipleValues:!0})},Object.defineProperties(u,{class:{value:u.class_},function:{value:u.function_},null:{value:u.null_}}),Object.defineProperties(t.assert,{class:{value:t.assert.class_},function:{value:t.assert.function_},null:{value:t.assert.null_}}),t.default=u,e.exports=u,e.exports.default=u,e.exports.assert=t.assert},19612:(e,t,n)=>{"use strict";n.d(t,{k3:()=>d,lu:()=>u,zf:()=>c});var r=n(39149),i=n(33184);e=n.hmd(e);let a=(0,i.VZ)(),o={nowSeconds:()=>Date.now()/1e3},s=(0,r.wD)()?function(){try{return(0,r.fj)(e,"perf_hooks").performance}catch(e){return}}():function(){let{performance:e}=a;if(e&&e.now)return{now:()=>e.now(),timeOrigin:Date.now()-e.now()}}(),l=void 0===s?o:{nowSeconds:()=>(s.timeOrigin+s.now())/1e3},u=o.nowSeconds.bind(o),c=l.nowSeconds.bind(l),d=(()=>{let{performance:e}=a;if(!e||!e.now)return;let t=e.now(),n=Date.now(),r=e.timeOrigin?Math.abs(e.timeOrigin+t-n):36e5,i=e.timing&&e.timing.navigationStart,o="number"==typeof i?Math.abs(i+t-n):36e5;if(r<36e5||o<36e5)if(r<=o)return e.timeOrigin;else return i;return n})()},19630:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ControlButton=void 0;let r=n(70015),i=n(80263),a=n(30589),o=r.__importDefault(n(28909)),s=n(97403),l=n(34591),u=(0,o.default)(l.Spinner)(e=>{let{theme:t}=e;return{color:t.color.white,display:"block",height:t.iconsSize.medium,margin:0,opacity:t.opacity.decent,padding:0,width:t.iconsSize.medium}});
353t.ControlButton=e=>{let t=(0,a.useTheme)(),{icon:n,label:r,isDisabled:o=!1,showLoadingIndicator:l=!1}=e;return l?(0,i.jsx)(u,{size:t.iconsSize.medium}):(0,i.jsx)(s.IconButton,{"aria-label":r,onClick:t=>{var n;t.preventDefault(),t.stopPropagation(),null==(n=e.onClick)||n.call(e)},disabled:o,icon:n,iconSize:t.iconsSize.medium,defaultOpacity:"decent"})}},19665:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reachedUpNextThreshold=void 0,t.reachedUpNextThreshold=function(e,t){let{isAd:n,isLivestream:r,isMobile:i,error:a,playlist:o,playlistIndex:s,playbackPosition:l,videoDuration:u,preventUpNextVisibility:c}=e,d=e.isNextEpisodeOverlayAllowed.unwrapOr(!0);return!(n||r||a.isJust()||s.isNothing()||u.isNothing()||l.isNothing())&&!c&&!i&&!!d&&void 0!==o[s.value+1]&&u.value-t<=20}},19687:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vastIconsSchema=t.vastIconClickFallbackImagesSchema=void 0;let r=n(92712),i=n(65527),a=(...e)=>Array.from(e).flat(),o=r.z.preprocess(a,r.z.array(i.vastStaticResourceSchema.omit({$creativetype:!0}))),s=r.z.object({value:r.z.string().optional()}).passthrough(),l=r.z.object({$height:r.z.string().optional(),$width:r.z.string().optional(),alttext:s.optional(),staticresource:o.optional()}).passthrough();t.vastIconClickFallbackImagesSchema=r.z.object({$program:r.z.string().optional(),iconclickfallbackimage:r.z.preprocess(a,r.z.array(l)).optional()}).passthrough();let u=r.z.object({value:r.z.string().optional()}).passthrough(),c=r.z.object({iconclickfallbackimages:t.vastIconClickFallbackImagesSchema.optional(),iconclickthrough:u.optional()}).passthrough(),d=r.z.object({$alttext:r.z.string().optional(),$height:r.z.string().optional(),$program:r.z.string().optional(),$width:r.z.string().optional(),$xposition:r.z.string().optional(),$yposition:r.z.string().optional(),iconclicks:c.optional(),staticresource:o.optional()}).passthrough();t.vastIconsSchema=r.z.object({icon:r.z.array(d).optional()})},19937:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorView=t.getErrorViewRenderSpec=t.getDrmErrorViewSettings=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(95611)),s=r.__importDefault(n(22110)),l=n(53239),u=n(66976),c=n(37514),d=n(36449),p=n(75945),f=(0,i.jsx)(d.ErrorTriangleIcon,{size:55}),h=(0,s.default)({featureDetect:!0,tablet:!0}),m="https://faq.joyn.de/frage/technik/technikfragen/web/fehlende-sicherheitsfunktion-bei-linux-systemen-und-manchen-browsern",g=new Map([["DE",m],["AT","https://community.joyn.at"],["CH","https://community.joyn.ch/fehlermeldungen-hinweise-84/fehlende-sicherheitsfunktion-bei-alten-browserversionen-manchen-browsern-und-linux-systemen-923"]]),y="https://community.joyn.de/fehlermeldungen-hinweise-37/adblocker-ausschalten-276",v=new Map([["DE",y],["AT","https://community.joyn.at"],["CH","https://community.joyn.ch/fehlermeldungen-hinweise-84/adblocker-ausschalten-922"]]);function b(e){var t;return{faqButton:{url:null!=(t=g.get(e))?t:m}}}function _(e,t){var n;return{ad_blocked:{faqButton:{label:"Adblocker deaktivieren: So gehtâs",url:null!=(n=v.get(e))?n:y},icon:(0,i.jsx)(p.FaceWithRaisedHandIcon,{color:"white",width:140,height:80}),retryButton:{label:"Adblocker ist aus? Weiter"}},content_drm_no_key_system_supported:t,playback_drm_license_request_failed:t,playback_drm_no_key_system_supported:t}}t.getDrmErrorViewSettings=b,t.getErrorViewRenderSpec=_;let S=a.default.section(({theme:e})=>({backgroundColor:(0,o.default)(e.color.black,.9),display:"flex",height:"100%",justifyContent:"center",left:0,position:"absolute",top:0,width:"100%",zIndex:c.overlayLayer})),E=a.default.div({"> button ~ button, > button ~ a, a ~ button, a ~ a":{background:"transparent",margin:"10px auto 0 auto"},alignItems:"center",display:"flex",flexDirection:"column",width:"560px"}),k=a.default.figcaption({alignItems:"center",display:"flex",flexDirection:"column",fontSize:h?"24px":"28px",lineHeight:h?"30px":"33px",padding:h?"90px 0 20px":"140px 0px 32px",svg:{display:"block",margin:"0 auto 20px auto"},textAlign:"center"}),A=a.default.h2(()=>({fontSize:h?"24px":"28px",lineHeight:h?"30px":"33px",margin:"24px 0 0 ",textAlign:"center"})),T=a.default.p({fontSize:"17px",lineHeight:"normal",margin:"0 0 35px 0",padding:0,textAlign:"center"});function x({theme:e}){return{background:"#8e8e8e",border:"none",borderRadius:"2px",color:"#fff",cursor:"pointer",display:"block",fontFamily:e.fontFamilyBold,fontSize:"16px",height:"44px",lineHeight:"44px",margin:"0 auto",outline:"none",padding:0,textAlign:"center",textDecoration:"none",verticalAlign:"middle",width:"320px"}}let w=a.default.button(x),C=a.default.a(x);t.ErrorView=()=>{var e,t;let{state:n,actions:r}=(0,l.useContext)(u.PlayerContext),{error:a,mustShowErrorFrequentlyAskedQuestionsButton:o,mustShowErrorRetryButton:s,mustShowErrorBackButton:c,joynCountry:d}=n;if(!a)return null;let p=b(d),h=_(d,p)[a.type],m=null!=(e=null==h?void 0:h.icon)?e:f;return(0,i.jsx)(S,{children:(0,i.jsxs)(E,{children:[(0,i.jsxs)(k,{children:[m,(0,i.jsx)(A,{children:a.title})]}),(0,i.jsx)(T,{children:a.message}),(0,i.jsxs)(l.Fragment,{children:[s?function(e,t){return(0,i.jsx)(w,Object.assign({type:"button",onClick:()=>{e.replay()}},{children:null!=t?t:"Noch einmal versuchen"}))}(r,null==(t=null==h?void 0:h.retryButton)?void 0:t.label):null,o?function(e){let{url:t,label:n="Mehr erfahren"}=null!=e?e:{};return(0,i.jsx)(C,Object.assign({href:t,target:"_blank"},{children:n}))}(null==h?void 0:h.faqButton):null,c?(0,i.jsx)(w,Object.assign({type:"button",onClick:()=>{r.destroy()}},{children:"Zur\xfcck"})):null]})]})})}},20021:(e,t,n)=>{"use strict";
353Object.defineProperty(t,"__esModule",{value:!0}),t.mapPlaylistContentResourceToLegacyContentResource=t.buildContentResourcesForPlaylist=void 0;let r=n(47561),i=n(50160),a=n(29241),o=n(31408),s=n(13053),l=n(39352),u=e=>["Episode","Season"].includes(e.__typename);t.buildContentResourcesForPlaylist=function(e){var t,n;let{playlist:o}=e;function s(e){var t,n,s,l,c,d,p,f,h,m,g,y,v,b,_,S,E,k,A,T,x;if((null==e?void 0:e.__typename)==="Extra"){return{ageRating:r.Maybe.of(e.ageRating).map(e=>e.minAge),ageRatingDescriptors:(0,a.extractAgeRatingDescriptors)(e.ageRating),brandName:r.Maybe.of(e.brands).andThen(e=>r.Maybe.fromNullable(e[0])).map(e=>e.title),contentType:"short-form",externalTrackingId:r.Maybe.of(null==(t=e.tracking)?void 0:t.externalAssetId),genres:(e=>{var t;if(e.parent&&"Movie"===e.parent.__typename){let t=e.parent.genres.filter(e=>null==e?void 0:e.name).map(e=>e.name);return r.Maybe.of(t)}if(e.parent&&u(e.parent)){let n=null==(t=e.parent.series)?void 0:t.genres.filter(e=>null==e?void 0:e.name).map(e=>e.name);return r.Maybe.of(n)}return r.Maybe.nothing()})(e),id:r.Maybe.of(null==(n=e.video)?void 0:n.id).unwrapOr(""),infOnlineCode:r.Maybe.of(null==(s=e.tracking)?void 0:s.agofCode),parentTitle:(k=e).parent?u(k.parent)?r.Maybe.of(null==(A=k.parent.series)?void 0:A.title):"Movie"===k.parent.__typename||"Series"===k.parent.__typename?r.Maybe.of(k.parent.title):r.Maybe.nothing():r.Maybe.nothing(),path:r.Maybe.nothing(),poster:r.Maybe.of(null==o?void 0:o.posterImage).map(e=>new URL(e.url)),primaryColor:r.Maybe.of(null==o?void 0:o.playlistImage).map(e=>e.vibrantColor),title:e.title,titleImage:r.Maybe.nothing(),tvShowId:(T=e).parent&&["Compilation","Movie","Series","SportsCompetition"].includes(T.parent.__typename)?r.Maybe.just(T.parent.id):T.parent&&u(T.parent)?r.Maybe.just(null==(x=T.parent.series)?void 0:x.id):r.Maybe.just(T.id)}}return(null==e?void 0:e.__typename)==="Clip"?{ageRating:r.Maybe.of(e.ageRating).map(e=>e.minAge),ageRatingDescriptors:(0,a.extractAgeRatingDescriptors)(e.ageRating),brandName:r.Maybe.of(e.brands).andThen(e=>r.Maybe.fromNullable(e[0])).map(e=>e.title),contentType:"clip",externalTrackingId:r.Maybe.of(null==(l=e.tracking)?void 0:l.externalAssetId),id:r.Maybe.of(null==(c=e.video)?void 0:c.id).unwrapOr(""),infOnlineCode:r.Maybe.of(null==(d=e.tracking)?void 0:d.agofCode),path:r.Maybe.of(e.path),title:e.title,tvShowId:r.Maybe.of(e.id).unwrapOr("")}:{ageRating:r.Maybe.of(null==e?void 0:e.ageRating).map(e=>e.minAge),ageRatingDescriptors:(0,a.extractAgeRatingDescriptors)(null==e?void 0:e.ageRating),brandLogo:r.Maybe.of(null==(p=null==e?void 0:e.compilation)?void 0:p.brands[0]).map(e=>new URL(e.logo.url)),brandName:r.Maybe.of(null==(f=null==e?void 0:e.compilation)?void 0:f.brands[0]).map(e=>e.title),compilationItemPath:r.Maybe.of(null==e?void 0:e.path),compilationItemTitle:r.Maybe.of(null==e?void 0:e.title).unwrapOr(""),compilationTitle:r.Maybe.of(null==e?void 0:e.compilation).map(e=>e.title),contentType:"compilation-item",externalTrackingId:r.Maybe.of(null==(h=null==e?void 0:e.tracking)?void 0:h.externalAssetId),genres:r.Maybe.of(null==(g=null==(m=null==e?void 0:e.tracking)?void 0:m.genres)?void 0:g.filter(e=>e)).unwrapOr([]),hasCornerBug:(0,a.featureCheck)(i.FeatureType.CornerBug,r.Maybe.of(null==(y=null==e?void 0:e.compilation)?void 0:y.features)),hasProductPlacement:r.Maybe.of(null==e?void 0:e.productPlacement),id:r.Maybe.of(null==(v=null==e?void 0:e.video)?void 0:v.id).unwrapOr(""),infOnlineCode:r.Maybe.of(null==(b=null==e?void 0:e.tracking)?void 0:b.agofCode),licenseTypes:r.Maybe.of(null==e?void 0:e.licenseTypes).unwrapOr([]),playbackStartPosition:0,poster:r.Maybe.of(null==o?void 0:o.posterImage).map(e=>new URL(e.url)),primaryColor:r.Maybe.of(null==o?void 0:o.playlistImage).map(e=>e.vibrantColor),thumbnail:r.Maybe.of(null==e?void 0:e.thumbnailImage).map(e=>new URL(e.url)),titleImage:r.Maybe.of(null==(S=null==(_=null==e?void 0:e.compilation)?void 0:_.artLogoImage)?void 0:S.url).map(e=>new URL(e)),tvShowId:r.Maybe.of(null==(E=null==e?void 0:e.compilation)?void 0:E.id)}}return[s(null==(t=null==o?void 0:o.currentPlaylistItem)?void 0:t.asset),...(null!=(n=null==o?void 0:o.remainingPlaylistItems)?n:[]).map(e=>s(null==e?void 0:e.asset))]},t.mapPlaylistContentResourceToLegacyContentResource=function(e){return"short
353-form"===e.contentType?(0,s.mapShortFormContentResourceToLegacyContentResource)(e):"clip"===e.contentType?(0,l.mapClipContentResourceToLegacyContentResource)(e):(0,o.mapCompilationItemContentResourceToLegacyContentResource)(e)}},20531:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPlayerUi=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(32704)),o=n(53239),s=r.__importDefault(n(35009)),l=n(47613),u=n(31371),c=n(63547);t.createPlayerUi=function(e,t,n){let r,d,p,{toggleRouter:f,clock:h}=t,m={actions:null,controlsInteractions:null,state:null},g=(0,c.createKeyBindings)(m,{window:t.window}),y=s.default.createRoot(e);return y.render((0,i.jsx)(o.StrictMode,{children:(0,i.jsx)(l.App,{clock:h,fontsBaseUrl:n.fontsBaseUrl,getFeatureValue:f.getFeatureValue,keyBindings:g,joynCountry:n.joynCountry,joynDistributionTenant:n.joynDistributionTenant,externalChildren:n.externalChildren,isUserLoggedIn:n.isUserLoggedIn,registerActionsUpdateHandler:function(e){d=e,null!==m.actions&&e(m.actions)},registerControlsInteractionsUpdateHandler:function(e){p=e,null!==m.controlsInteractions&&e(m.controlsInteractions)},registerStateUpdateHandler:function(e){r=e,null!==m.state&&e(m.state)}})})),{destroy(){y.unmount(),g.unsubscribe()},setActions(e){let t={actions:e,debounce:a.default},n=(0,u.createControlsInteractions)(t);m.actions=e,m.controlsInteractions=n,null==d||d(e),null==p||p(n)},setState(e){m.state=e,null==r||r(m.state)}}}},20795:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.imageVibrantColorSchema=void 0;let r=n(47561),i=n(92712);t.imageVibrantColorSchema=i.z.object({vibrantColor:i.z.string()}).strict().nullable().transform(r.Maybe.of)},20805:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createConcurrentStreamingObserver=void 0;let r=n(70015),i=new Set(["HD","SVOD"]);t.createConcurrentStreamingObserver=function(e){let{concurrentStreamingServiceClient:t,clock:n,invoker:a}=e,o=-1,s={isTerminated:!1,lifecycleId:null},l=!1;function u(e,i){return r.__awaiter(this,void 0,void 0,function*(){l=!0,s={isTerminated:"terminated"===(yield t.checkStreamStatus({entitlementId:i.entitlement_id,userId:i.user_id})).status,lifecycleId:e},o=n.getCurrentTimestamp(),l=!1})}return{isTerminated(e,t){var r;return r=t.business_model,!!i.has(r)&&(n.getCurrentTimestamp()-o>=1e4&&!l&&a.fireAndForget(u,[e,t]),s.lifecycleId===e&&s.isTerminated)}}}},20901:(e,t)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.createDomLogger=void 0,t.createDomLogger=()=>{!function(){let e="playerDomLoggerRoot";(n=document.querySelector(`#${e}`))||((n=document.createElement("div")).id=e,Object.assign(n.style,{backgroundColor:"#000",bottom:"0",color:"#fff",height:"50vh",overflow:"auto",position:"fixed",width:"100vw",zIndex:99999}),document.body.prepend(n))}();let e=e=>(...t)=>{if(!n)return;let r=document.createElement("div");Object.assign(r.style,{borderColor:"#222",borderStyle:"solid",borderWidth:"0 0 1px 0",padding:"5px"}),r.textContent=`${e}: ${t.map(String).join(" ")}`,n.append(r),n.scrollTop=n.scrollHeight},t={createChildLogger:()=>t,error:e("error"),getLevel:()=>"debug",log:e("log"),setLevel(){},warn:e("warn")};return t}},21032:e=>{e.exports={cdnName:"AMAZON",parsers:[{element:"host",headerName:"x-amz-cf-pop",regex:/(.+)/},{element:"type",headerName:"x-cache",regex:/(.+)\sfrom.+/}],parseType:function(e){return -1!==e.toLowerCase().indexOf("hit")?1:2*(-1!==e.toLowerCase().indexOf("miss"))}}},21127:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAudioTrackLabel=t.formatTrackLabel=void 0;let r=n(70015).__importDefault(n(19577)),i=new Intl.DisplayNames(["de"],{fallback:"none",type:"language"}),a="Alternativ";function o(e){let{language:t,label:n}=e;if(r.default.nonEmptyString(t)){let e=i.of(t);if(r.default.string(e))return e}return r.default.string(n)?n:"Unbekannt"}t.formatTrackLabel=o,t.formatAudioTrackLabel=function(e){var t,n;if(r.default.string(e.language)){let t=e.language.toLowerCase();if("de-aa"===t)return"Umgebungsger\xe4usch";if(t.startsWith("q")&&"que"!==t)return"Ohne Kommentar"}let i=o(e);return((a="Alternativ",(null==(n=(t=e).role)?void 0:n.toLowerCase())==="enhanced-audio-intelligibility")?(a="Klare Sprache",0):"alternate"!==t.role&&(!r.default.string(t.label)||("klare sprache"===t.label.toLowerCase()?(a="Klare Sprache",0):"alternativ"!==t.label.toLocaleLowerCase())))?i:`${i} - ${a}`}},21273:(e,t,n)=>{"use strict";
353Object.defineProperty(t,"__esModule",{value:!0});var r=n(82486),i=n(81061),a=n(76737),o=n(66970),s=n(46523),l=n(82609);function u(e){return"object"==typeof e&&null!==e&&"value"in e&&"_event"in e}t.State=function(){function e(e){var t,n=this;this.actions=[],this.activities=i.EMPTY_ACTIVITY_MAP,this.meta={},this.events=[],this.value=e.value,this.context=e.context,this._event=e._event,this._sessionid=e._sessionid,this.event=this._event.data,this.historyValue=e.historyValue,this.history=e.history,this.actions=e.actions||[],this.activities=e.activities||i.EMPTY_ACTIVITY_MAP,this.meta=o.getMeta(e.configuration),this.events=e.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=e.configuration,this.transitions=e.transitions,this.children=e.children,this.done=!!e.done,this.tags=null!=(t=Array.isArray(e.tags)?new Set(e.tags):e.tags)?t:new Set,this.machine=e.machine,Object.defineProperty(this,"nextEvents",{get:function(){return o.nextEvents(n.configuration)}})}return e.from=function(t,n){return t instanceof e?t.context!==n?new e({value:t.value,context:n,_event:t._event,_sessionid:null,historyValue:t.historyValue,history:t.history,actions:[],activities:t.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):t:new e({value:t,context:n,_event:s.initEvent,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},e.create=function(t){return new e(t)},e.inert=function(t,n){if(t instanceof e){if(!t.actions.length)return t;var r=s.initEvent;return new e({value:t.value,context:n,_event:r,_sessionid:null,historyValue:t.historyValue,history:t.history,activities:t.activities,configuration:t.configuration,transitions:[],children:{}})}return e.from(t,n)},e.prototype.toStrings=function(e,t){var n=this;if(void 0===e&&(e=this.value),void 0===t&&(t="."),a.isString(e))return[e];var i=Object.keys(e);return i.concat.apply(i,r.__spreadArray([],r.__read(i.map(function(r){return n.toStrings(e[r],t).map(function(e){return r+t+e})})),!1))},e.prototype.toJSON=function(){this.configuration,this.transitions;var e=this.tags;this.machine;var t=r.__rest(this,["configuration","transitions","tags","machine"]);return r.__assign(r.__assign({},t),{tags:Array.from(e)})},e.prototype.matches=function(e){return a.matchesState(e,this.value)},e.prototype.hasTag=function(e){return this.tags.has(e)},e.prototype.can=function(e){l.IS_PRODUCTION&&a.warn(!!this.machine,"state.can(...) used outside of a machine-created State object; this will always return false.");var t,n=null==(t=this.machine)?void 0:t.getTransitionData(this,e);return!!(null==n?void 0:n.transitions.length)&&n.transitions.some(function(e){return void 0!==e.target||e.actions.length})},e}(),t.bindActionToState=function(e,t){var n=e.exec;return r.__assign(r.__assign({},e),{exec:void 0!==n?function(){return n(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0})},t.isState=u,t.isStateConfig=u,t.stateValuesEqual=function e(t,n){if(t===n)return!0;if(void 0===t||void 0===n)return!1;if(a.isString(t)||a.isString(n))return t===n;var r=Object.keys(t),i=Object.keys(n);return r.length===i.length&&r.every(function(r){return e(t[r],n[r])})}},21328:(e,t)=>{"use strict";function n(e,t){e.isPlaying&&e.isPausingSupported?t.pause():e.isPaused&&t.play()}Object.defineProperty(t,"__esModule",{value:!0}),t.createKeyBindingsMap=void 0,t.createKeyBindingsMap=function(e,t){let{keyHandler:r}=e;function i(e){return n=>{let{actions:i,state:a}=t;if(!i||!a)return;let o=n.target;o instanceof HTMLElement&&(o.isContentEditable||"INPUT"===o.tagName||"TEXTAREA"===o.tagName)||(n.preventDefault(),e(a,i,n),r())}}return{"+":i((e,t)=>{e.volume<100&&t.setVolume({volume:Math.min(e.volume+5,100)})}),"-":i((e,t)=>{e.volume>0&&t.setVolume({volume:Math.max(e.volume-5,0)})}),ArrowDown:i((e,t)=>{e.isChannelSwitchPossible&&t.skipToNextLivePlaylistItem()}),ArrowLeft:i((e,t)=>{e.isSeekBackwardJumpPossible&&t.seekBackwardJump()}),ArrowRight:i((e,t)=>{e.isSeekForwardJumpPossible&&t.seekForwardJump()}),ArrowUp:i((e,t)=>{e.isChannelSwitchPossible&&t.skipToPreviousLivePlaylistItem()}),Enter:i((e,t)=>{n(e,t)}),Escape:i((e,t)=>{e.mustShowElectronicProgramGuide?t.hideElectronicProgramGuide():e.isFullscreen&&t.exitFullscreen()}),Space:i((e,t)=>{n(e,t)}),f:i((e,t)=>
353{e.isFullscreen?t.exitFullscreen():t.enterFullscreen()}),m:i((e,t)=>{e.isMuted?t.unmute():t.mute()})}}},21340:(e,t,n)=>{var r=n(16533),i=n(84034),a=n(15210),o=n(2502),s=n(60161),l=n(23307),u=n(62257),c=n(48507),d=n(11462),p=n(6779),f=n(43446),h=n(56415),m=n(98048),g=n(5163),y=n(73471),v=n(3890),b=n(38672),_=n(58498),S=n(83945),E=n(15415),k=n(53725),A=n(75950),T=n(43122),x=r.extend({constructor:function(e,t,n){"string"!=typeof t||n||(n=t,t=null),this.storage=new m,this.uuidGenerator=new T(this),this.infinity=new v(this),this.productAnalytics=new b(this),this.isInitiated=!1,this.isAdsManifestSent=!1,this.playedPostrolls=0,this.isBreakStarted=!1,this.initChrono=new a,this.options=new h(e),this.storage=new m(null,this.options.disableCookies,this.options.forceCookies,this.options.disableStorage),this.options.disableStorage||(this.offlineStorage=new g),this._adapter=null,this._adsAdapter=null,this._ping=new i(this._sendPing.bind(this),5e3),this._beat=new i(this._sendBeat.bind(this),3e4),this._refreshData=new i(this._checkOldData.bind(this),36e5),this._refreshData.start(),this.sessionExpire=1e3*Number(this.storage.getLocal("sessionExpire"))||18e4,this.requestBuilder=new y(this),this.resourceTransform=new p(this),this.lastEventTime=null,this.restartViewTransform(n),this._initInfinity(),this.hybridNetwork=new _,this.browserLoadTimes=new S(this),this.deviceDetector=new k,this.backgroundDetector=new E(this),this.resizeScrollDetector=new A(this),this.options["background.enabled"]&&this.backgroundDetector.startDetection(),t&&this.setAdapter(t)},_checkOldData:function(){this._adapter&&this._adapter.flags.isStarted||this.infinity.infinityStarted||this.restartViewTransform()},restartViewTransform:function(e){if(this.viewTransform=new d(this),this.viewTransform.on(d.Event.DONE,this._receiveData.bind(this)),e)return void this.viewTransform.setData(e);this.getIsDataExpired()||!this.getStorageHost()||this.storage.getLocal("accCode")!==this.options.accountCode&&this.storage.getSession("accCode")!==this.options.accountCode?(this.storage.removeStorages("data"),this.storage.removeStorages("session"),this.storage.removeLocal("infinityStarted"),this.viewTransform.init()):this.viewTransform.setData(this.getStoredData())},_receiveData:function(e){this._ping.interval=1e3*e.target.response.pingTime,this._beat.interval=1e3*e.target.response.beatTime,this.sessionExpire=1e3*e.target.response.sessionExpire,this.storage.setStorages("data",e.target.response.msg),this.storage.setStorages("dataTime",new Date().getTime()),this.storage.setStorages("accCode",this.options.accountCode),this.getIsSessionExpired()?(this.viewTransform.setSession(this.viewTransform.response.code),this.storage.setStorages("session",this.viewTransform.response.code),this.storage.setStorages("host",this.viewTransform.response.host)):(this.viewTransform.setSession(this.getSession()),this.viewTransform.setHost(this.getStorageHost()))},_reset:function(){this._stopPings(),this.resourceTransform=new p(this),this._adapter&&this._adapter.flags.reset(),this.isInitiated=!1,this.isStarted=!1,this.startDelayed=!1,this.isAdsManifestSent=!1,this.initChrono.reset(),this._totalPrerollsTime=0,this.requestBuilder.lastSent.breakNumber=0,this.requestBuilder.lastSent.adNumber=0,this._savedAdManifest=null,this._savedAdError=null,this.playedPostrolls=0,this.isBreakStarted=!1},_send:function(e,t,n,r,i,a,s){var u=new Date().getTime();this.options.preventZombieViews&&this.lastEventTime&&u>this.lastEventTime+6e5&&this.viewTransform.nextView(),this.lastEventTime=t===o.Service.STOP?null:u,n=this.requestBuilder.buildParams(n,t),this.getIsLive()&&(n.mediaDuration=this.options["content.duration"],n.playhead=void 0);var c={params:n,plugin:this,adapter:this.getAdapter(),adsAdapter:this.getAdsAdapter()};if(this.emit(e,c),this._comm&&(null!==n||void 0!==i)&&this.options.enabled){this.lastServeiceSent=t;var d={};void 0!==i&&"GET"!==i&&(d.method=i);var p=new l(null,t,n,d);r&&p.setBody(r),this.isMethodPostEnabled()&&p.setPostRequest(!0),this._comm.sendRequest(p,a,s)}},_initComm:function(){var e=this._getResourceForTransform();this.resourceTransform.init(e),this._comm=new u,this._comm.addTransform(new c),this._comm.addTransform(this.viewTransform),this.options&&this.options.offline?this._comm.addTransform(new f(this)):this._comm.addTransform(this.resourceTransform)},_getResourceForTransform:function(){var e=this.getResource();
353return this._adapter&&this._adapter.getURLToParse()&&(e=this._adapter.getURLToParse()),e},getComm:function(){return this._comm},setOptions:function(e){e&&(this.options.setOptions(e),"boolean"==typeof e["background.enabled"]&&(e["background.enabled"]?this.backgroundDetector.startDetection():this.backgroundDetector.stopDetection()))},getFastDataConfig:function(){return this.viewTransform.response.msg},disable:function(){this.setOptions({enabled:!1})},enable:function(){this.setOptions({enabled:!0})}},{Event:o.WillSendEvent});s.assign(x.prototype,n(7614)),s.assign(x.prototype,n(59067)),s.assign(x.prototype,n(50229)),s.assign(x.prototype,n(55961)),s.assign(x.prototype,n(36378)),s.assign(x.prototype,n(76422)),s.assign(x.prototype,n(91161)),s.assign(x.prototype,n(97613)),s.assign(x.prototype,n(52518)),e.exports=x},21397:(e,t,n)=>{"use strict";var r=n(64060);e.exports=function(e){var t,n,a=[],o=1;if("string"==typeof e)if(r[e])a=r[e].slice(),n="rgb";else if("transparent"===e)o=0,n="rgb",a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var s=e.slice(1),l=s.length;o=1,l<=4?(a=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)],4===l&&(o=parseInt(s[3]+s[3],16)/255)):(a=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)],8===l&&(o=parseInt(s[6]+s[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),n="rgb"}else if(t=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var u=t[1],c="rgb"===u,s=u.replace(/a$/,"");n=s;var l="cmyk"===s?4:"gray"===s?1:3;a=t[2].trim().split(/\s*[,\/]\s*|\s+/).map(function(e,t){if(/%$/.test(e)){if(t===l)return parseFloat(e)/100;if("rgb"===s)return 255*parseFloat(e)/100}else if("h"===s[t]){if(/deg$/.test(e));else if(void 0!==i[e])return i[e]}return parseFloat(e)}),u===s&&a.push(1),o=c||void 0===a[l]?1:a[l],a=a.slice(0,l)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(a=e.match(/([0-9]+)/g).map(function(e){return parseFloat(e)}),n=e.match(/([a-z])/ig).join("").toLowerCase());else isNaN(e)?Array.isArray(e)||e.length?(a=[e[0],e[1],e[2]],n="rgb",o=4===e.length?e[3]:1):e instanceof Object&&(null!=e.r||null!=e.red||null!=e.R?(n="rgb",a=[e.r||e.red||e.R||0,e.g||e.green||e.G||0,e.b||e.blue||e.B||0]):(n="hsl",a=[e.h||e.hue||e.H||0,e.s||e.saturation||e.S||0,e.l||e.lightness||e.L||e.b||e.brightness]),o=e.a||e.alpha||e.opacity||1,null!=e.opacity&&(o/=100)):(n="rgb",a=[e>>>16,(65280&e)>>>8,255&e]);return{space:n,values:a,alpha:o}};var i={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}},21541:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TracksIcon=void 0;let r=n(80263),i=n(83947);t.TracksIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M23 4H5a3 3 0 00-3 3v10l.005.176A3 3 0 005 20l7.867-.001 4.776 4.409.145.12c.866.622 1.996.51 2.682-.233l.12-.144.11-.168c.204-.337.3-.687.3-1.045V20h2a3 3 0 003-3V7a3 3 0 00-3-3zM5 6h18a1 1 0 011 1v10a1 1 0 01-1 1h-4v4.939L13.65 18H5a1 1 0 01-1-1V7a1 1 0 011-1z M14 13a1 1 0 010 2H8a1 1 0 010-2h6zm6 0a1 1 0 010 2h-2a1 1 0 010-2h2zm0-4a1 1 0 010 2h-6a1 1 0 010-2h6zM10 9a1 1 0 010 2H8a1 1 0 010-2h2z"})}))},21639:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ActionTypes:()=>r,Interpreter:()=>te,InterpreterStatus:()=>o,Machine:()=>ts,SpecialTargets:()=>i,State:()=>e1,StateNode:()=>to,actions:()=>l,assign:()=>tf,createMachine:()=>tl,createSchema:()=>td,doneInvoke:()=>tb,forwardTo:()=>tv,interpret:()=>tn,mapState:()=>tu,matchState:()=>tc,matchesState:()=>L,raise:()=>t_,send:()=>th,sendParent:()=>tg,sendTo:()=>tm,sendUpdate:()=>ty,spawn:()=>tt,spawnBehavior:()=>e7,t:()=>tp,toActorRef:()=>eZ,toEventObject:()=>en,toObserver:()=>es,toSCXMLEvent:()=>er});var r,i,a,o,s={};n.r(s),n.d(s,{after:()=>S,assign:()=>_,cancel:()=>v,choose:()=>O,doneState:()=>E,error:()=>C,errorExecution:()=>x,errorPlatform:()=>w,init:()=>A,invoke:()=>T,log:()=>k,nullEvent:()=>b,pure:()=>R,raise:()=>g,send:()=>y,start:()=>h,stop:()=>m,update:()=>I});var l={};n.r(l),n.d(l,{actionTypes:()=>s,after:()=>eP,assign:()=>eO,cancel:()=>ex,choose:()=>eU,done:()=>eN,doneInvoke:()=>eL,error:()=>ej,escalate:()=>eF,forwardTo:()=>eD,getActionFunction:()=>ed,initEvent:()=>ec,isActionObject:()=>eR,log:()=>eA,pure:()=>eM,raise:()=>em,resolveActions:()=>eB,resolveLog:()=>eT,resolveRaise:()=>eg,resolveSend:()=>ev,resolveStop:()=>eI,respond:()=>eE,send:()=>ey,sendParent:()=>eb,sendTo:()=>e_,sendUpdate:()=>eS,start:()=>ew,stop:()=>eC,toActionObject:()=>ep,toActionObjects:()=>ef,toActivityDefinition:()=>eh});var u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function c(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function d(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);
353if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function p(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function f(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}!function(e){e.Start="xstate.start",e.Stop="xstate.stop",e.Raise="xstate.raise",e.Send="xstate.send",e.Cancel="xstate.cancel",e.NullEvent="",e.Assign="xstate.assign",e.After="xstate.after",e.DoneState="done.state",e.DoneInvoke="done.invoke",e.Log="xstate.log",e.Init="xstate.init",e.Invoke="xstate.invoke",e.ErrorExecution="error.execution",e.ErrorCommunication="error.communication",e.ErrorPlatform="error.platform",e.ErrorCustom="xstate.error",e.Update="xstate.update",e.Pure="xstate.pure",e.Choose="xstate.choose"}(r||(r={})),function(e){e.Parent="#_parent",e.Internal="#_internal"}(i||(i={}));var h=r.Start,m=r.Stop,g=r.Raise,y=r.Send,v=r.Cancel,b=r.NullEvent,_=r.Assign,S=r.After,E=r.DoneState,k=r.Log,A=r.Init,T=r.Invoke,x=r.ErrorExecution,w=r.ErrorPlatform,C=r.ErrorCustom,I=r.Update,O=r.Choose,R=r.Pure,P={},N="xstate.guard";function L(e,t,n){void 0===n&&(n=".");var r=D(e,n),i=D(t,n);return J(i)?!!J(r)&&i===r:J(r)?r in i:Object.keys(r).every(function(e){return e in i&&L(r[e],i[e])})}function j(e){try{return J(e)||"number"==typeof e?"".concat(e):e.type}catch(e){throw Error("Events must be strings or objects with a string event.type property.")}}function M(e,t){try{if(X(e))return e;return e.toString().split(t)}catch(t){throw Error("'".concat(e,"' is not a valid state path."))}}function D(e,t){return"object"==typeof e&&"value"in e&&"context"in e&&"event"in e&&"_event"in e?e.value:X(e)?F(e):"string"!=typeof e?e:F(M(e,t))}function F(e){if(1===e.length)return e[0];for(var t={},n=t,r=0;r<e.length-1;r++)r===e.length-2?n[e[r]]=e[r+1]:(n[e[r]]={},n=n[e[r]]);return t}function U(e,t){for(var n={},r=Object.keys(e),i=0;i<r.length;i++){var a=r[i];n[a]=t(e[a],a,e,i)}return n}function V(e,t,n){var r,i,a={};try{for(var o=d(Object.keys(e)),s=o.next();!s.done;s=o.next()){var l=s.value,u=e[l];n(u)&&(a[l]=t(u,l,e))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return a}var B=function(e){return function(t){var n,r,i=t;try{for(var a=d(e),o=a.next();!o.done;o=a.next())i=i[o.value]}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}};function G(e){return e?J(e)?[[e]]:Y(Object.keys(e).map(function(t){var n=e[t];return"string"==typeof n||n&&Object.keys(n).length?G(e[t]).map(function(e){return[t].concat(e)}):[[t]]})):[[]]}function Y(e){var t;return(t=[]).concat.apply(t,f([],p(e),!1))}function z(e){var t;return void 0===e?[]:X(t=e)?t:[t]}function W(e,t,n){if($(e))return e(t,n.data);var r,i,a={};try{for(var o=d(Object.keys(e)),s=o.next();!s.done;s=o.next()){var l=s.value,u=e[l];$(u)?a[l]=u(t,n.data):a[l]=u}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return a}function Z(e){return!!(e instanceof Promise||null!==e&&($(e)||"object"==typeof e)&&$(e.then))}function H(e,t,n,r){return e?n.reduce(function(e,n){var i,a,o=n.assignment,s={state:r,action:n,_event:t},l={};if($(o))l=o(e,t.data,s);else try{for(var u=d(Object.keys(o)),c=u.next();!c.done;c=u.next()){var p=c.value,f=o[p];l[p]=$(f)?f(e,t.data,s):f}}catch(e){i={error:e}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}return Object.assign({},e,l)},e):e}var K=function(){};function X(e){return Array.isArray(e)}function $(e){return"function"==typeof e}function J(e){return"string"==typeof e}function q(e,t){if(e)return J(e)?{type:N,name:e,predicate:t?t[e]:void 0}:$(e)?{type:N,name:e.name,predicate:e}:e}var Q="function"==typeof Symbol&&Symbol.observable||"@@observable";function ee(e){return!!e&&"__xstatenode"in e}(a={})[Q]=function(){return this},a[Symbol.observable]=function(){return this};var et=function(){var e=0;return function(){return e++,e.toString(16)}}();function en(e,t){return J(e)||"number"==typeof e?u({type:e},t):e}function er(e,t){if(!J(e)&&"$$type"in e&&"scxml"===e.$$type)return e;var n=en(e);return u({name:n.type,data:n,$$type:"scxml",type:"external"},t)}function ei(e,t){var n;return(X(n=t)?n:[n]).map(function(t){return void 0===t||"string"==typeof t||ee(t)?{target:t,event:e}:u(u({},t),{event:e})})}function ea(e,t,n,r,i){var a=e.options.guards,o={state:i,cond:t,_event:r};
353if(t.type===N)return((null==a?void 0:a[t.name])||t.predicate)(n,r.data,o);var s=null==a?void 0:a[t.type];if(!s)throw Error("Guard '".concat(t.type,"' is not implemented on machine '").concat(e.id,"'."));return s(n,r.data,o)}function eo(e){return"string"==typeof e?{type:e}:e}function es(e,t,n){var r=function(){},i="object"==typeof e,a=i?e:null;return{next:((i?e.next:e)||r).bind(a),error:((i?e.error:t)||r).bind(a),complete:((i?e.complete:n)||r).bind(a)}}function el(e,t){return"".concat(e,":invocation[").concat(t,"]")}function eu(e){return(e.type===g||e.type===y&&e.to===i.Internal)&&"number"!=typeof e.delay}var ec=er({type:A});function ed(e,t){return t&&t[e]||void 0}function ep(e,t){var n;if(J(e)||"number"==typeof e){var r=ed(e,t);n=$(r)?{type:e,exec:r}:r||{type:e,exec:void 0}}else if($(e))n={type:e.name||e.toString(),exec:e};else{var r=ed(e.type,t);if($(r))n=u(u({},e),{exec:r});else if(r){var i=r.type||e.type;n=u(u(u({},r),e),{type:i})}else n=e}return n}var ef=function(e,t){return e?(X(e)?e:[e]).map(function(e){return ep(e,t)}):[]};function eh(e){var t=ep(e);return u(u({id:J(e)?e:t.id},t),{type:t.type})}function em(e,t){return{type:g,event:"function"==typeof e?e:en(e),delay:t?t.delay:void 0,id:null==t?void 0:t.id}}function eg(e,t,n,r){var i,a={_event:n},o=er($(e.event)?e.event(t,n.data,a):e.event);if(J(e.delay)){var s=r&&r[e.delay];i=$(s)?s(t,n.data,a):s}else i=$(e.delay)?e.delay(t,n.data,a):e.delay;return u(u({},e),{type:g,_event:o,delay:i})}function ey(e,t){return{to:t?t.to:void 0,type:y,event:$(e)?e:en(e),delay:t?t.delay:void 0,id:t&&void 0!==t.id?t.id:$(e)?e.name:j(e)}}function ev(e,t,n,r){var i,a={_event:n},o=er($(e.event)?e.event(t,n.data,a):e.event);if(J(e.delay)){var s=r&&r[e.delay];i=$(s)?s(t,n.data,a):s}else i=$(e.delay)?e.delay(t,n.data,a):e.delay;var l=$(e.to)?e.to(t,n.data,a):e.to;return u(u({},e),{to:l,_event:o,event:o.data,delay:i})}function eb(e,t){return ey(e,u(u({},t),{to:i.Parent}))}function e_(e,t,n){return ey(t,u(u({},n),{to:e}))}function eS(){return eb(I)}function eE(e,t){return ey(e,u(u({},t),{to:function(e,t,n){return n._event.origin}}))}var ek=function(e,t){return{context:e,event:t}};function eA(e,t){return void 0===e&&(e=ek),{type:k,label:t,expr:e}}var eT=function(e,t,n){return u(u({},e),{value:J(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})},ex=function(e){return{type:v,sendId:e}};function ew(e){var t=eh(e);return{type:r.Start,activity:t,exec:void 0}}function eC(e){var t=$(e)?e:eh(e);return{type:r.Stop,activity:t,exec:void 0}}function eI(e,t,n){var i=$(e.activity)?e.activity(t,n.data):e.activity;return{type:r.Stop,activity:"string"==typeof i?{id:i}:i}}var eO=function(e){return{type:_,assignment:e}};function eR(e){return"object"==typeof e&&"type"in e}function eP(e,t){return"".concat(r.After,"(").concat(e,")").concat(t?"#".concat(t):"")}function eN(e,t){var n="".concat(r.DoneState,".").concat(e),i={type:n,data:t};return i.toString=function(){return n},i}function eL(e,t){var n="".concat(r.DoneInvoke,".").concat(e),i={type:n,data:t};return i.toString=function(){return n},i}function ej(e,t){var n="".concat(r.ErrorPlatform,".").concat(e),i={type:n,data:t};return i.toString=function(){return n},i}function eM(e){return{type:r.Pure,get:e}}function eD(e,t){return ey(function(e,t){return t},u(u({},t),{to:e}))}function eF(e,t){return eb(function(t,n,r){return{type:C,data:$(e)?e(t,n,r):e}},u(u({},t),{to:i.Parent}))}function eU(e){return{type:r.Choose,conds:e}}var eV=function(e){var t,n,r=[];try{for(var i=d(e),a=i.next();!a.done;a=i.next())for(var o=a.value,s=0;s<o.actions.length;){if(o.actions[s].type===_){r.push(o.actions[s]),o.actions.splice(s,1);continue}s++}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r};function eB(e,t,n,r,a,o,s){void 0===s&&(s=!1);var l=s?[]:eV(a),c=l.length?H(n,r,l,t):n,h=s?[n]:void 0,v=[];return[Y(a.map(function(a){var l,b,S=[];try{for(var E=d(a.actions),A=E.next();!A.done;A=E.next()){var T=A.value,x=function(a,l){var d;switch(l.type){case g:var b=eg(l,c,r,e.options.delays);return o&&"number"==typeof b.delay&&o(b,c,r),b;case y:var S=ev(l,c,r,e.options.delays);return o&&S.to!==i.Internal&&("entry"===a?v.push(S):o(S,c,r)),S;case k:var E=eT(l,c,r);return null==o||o(E,c,r),E;case O:var A=null==(d=l.conds.find(function(n){var i=q(n.cond,e.o
353ptions.guards);return!i||ea(e,i,c,r,o?void 0:t)}))?void 0:d.actions;if(!A)return[];var T=p(eB(e,t,c,r,[{type:a,actions:ef(z(A),e.options.actions)}],o,s),2),x=T[0];return c=T[1],null==h||h.push(c),x;case R:var A=l.get(c,r.data);if(!A)return[];var w=p(eB(e,t,c,r,[{type:a,actions:ef(z(A),e.options.actions)}],o,s),2),C=w[0];return c=w[1],null==h||h.push(c),C;case m:var E=eI(l,c,r);return null==o||o(E,n,r),E;case _:c=H(c,r,[l],o?void 0:t),null==h||h.push(c);break;default:var I=ep(l,e.options.actions),P=I.exec;if(o)o(I,c,r);else if(P&&h){var N=h.length-1;I=u(u({},I),{exec:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];P.apply(void 0,f([h[N]],p(t),!1))}})}return I}}(a.type,T);x&&(S=S.concat(x))}}catch(e){l={error:e}}finally{try{A&&!A.done&&(b=E.return)&&b.call(E)}finally{if(l)throw l.error}}return v.forEach(function(e){o(e,c,r)}),v.length=0,S})),c]}var eG=[],eY=function(e,t){eG.push(e);var n=t(e);return eG.pop(),n};function ez(e){var t;return(t={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}})[Q]=function(){return this},t}function eW(e,t,n){var r=ez(t);if(r.deferred=!0,ee(e)){var i=r.state=eY(void 0,function(){return(n?e.withContext(n):e).initialState});r.getSnapshot=function(){return i}}return r}function eZ(e){var t;return u(((t={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}})[Q]=function(){return this},t),e)}var eH=function(e){return"atomic"===e.type||"final"===e.type};function eK(e){return Object.keys(e.states).map(function(t){return e.states[t]})}function eX(e){return eK(e).filter(function(e){return"history"!==e.type})}function e$(e,t){var n,r,i,a,o,s,l,u,c=eJ(new Set(e)),p=new Set(t);try{for(var f=d(p),h=f.next();!h.done;h=f.next())for(var m=h.value,g=m.parent;g&&!p.has(g);)p.add(g),g=g.parent}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}var y=eJ(p);try{for(var v=d(p),b=v.next();!b.done;b=v.next()){var m=b.value;if("compound"!==m.type||y.get(m)&&y.get(m).length){if("parallel"===m.type)try{for(var _=(o=void 0,d(eX(m))),S=_.next();!S.done;S=_.next()){var E=S.value;p.has(E)||(p.add(E),c.get(E)?c.get(E).forEach(function(e){return p.add(e)}):E.initialStateNodes.forEach(function(e){return p.add(e)}))}}catch(e){o={error:e}}finally{try{S&&!S.done&&(s=_.return)&&s.call(_)}finally{if(o)throw o.error}}}else c.get(m)?c.get(m).forEach(function(e){return p.add(e)}):m.initialStateNodes.forEach(function(e){return p.add(e)})}}catch(e){i={error:e}}finally{try{b&&!b.done&&(a=v.return)&&a.call(v)}finally{if(i)throw i.error}}try{for(var k=d(p),A=k.next();!A.done;A=k.next())for(var m=A.value,g=m.parent;g&&!p.has(g);)p.add(g),g=g.parent}catch(e){l={error:e}}finally{try{A&&!A.done&&(u=k.return)&&u.call(k)}finally{if(l)throw l.error}}return p}function eJ(e){var t,n,r=new Map;try{for(var i=d(e),a=i.next();!a.done;a=i.next()){var o=a.value;r.has(o)||r.set(o,[]),o.parent&&(r.has(o.parent)||r.set(o.parent,[]),r.get(o.parent).push(o))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}function eq(e,t){return Array.isArray(e)?e.some(function(e){return e===t}):e instanceof Set&&e.has(t)}function eQ(e,t){return"compound"===t.type?eX(t).some(function(t){return"final"===t.type&&eq(e,t)}):"parallel"===t.type&&eX(t).every(function(t){return eQ(e,t)})}function e0(e){return new Set(Y(e.map(function(e){return e.tags})))}var e1=function(){function e(e){var t,n,r=this;this.actions=[],this.activities=P,this.meta={},this.events=[],this.value=e.value,this.context=e.context,this._event=e._event,this._sessionid=e._sessionid,this.event=this._event.data,this.historyValue=e.historyValue,this.history=e.history,this.actions=e.actions||[],this.activities=e.activities||P,this.meta=(void 0===(t=e.configuration)&&(t=[]),t.reduce(function(e,t){return void 0!==t.meta&&(e[t.id]=t.meta),e},{})),this.events=e.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=e.configuration,this.transitions=e.transitions,this.children=e.children,this.done=!!e.done,this.tags=null!=(n=Array.isArray(e.tags)?new Set(e.tags):e.tags)?n:new Set,this.machine=e.machine,Object.defineProperty(this,"nextEvents",{get:function(){return f([],p(new Set(Y(f([],p(r.configuration.map(function(e){return e.ownEvents})),!1)))),!1)}})}return e.from=function(t,n){return t instanceof e?t.context!==n?new e({value:t.value,context:n,_event:t._event,_sessionid:null,historyValue:t.historyValue,history:t.history,actions:[],activities:t.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):t:new e({value:t,context:n,_event:ec,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},e.create=function(t){return new e(t)},e.inert=function(t,n){return t instanceof e?t.actions.length?new e({value:t.value,context:n,_event:ec,_sessionid:null,historyValue:t.historyValue,history:t.history,activities:t.activities,configuration:t.configuration,transitions:[],children:{}}):t:e.from(t,n)},e.prototype.toStrings=function(e,t){var n=this;if(void 0===e&&(e=this.value),void 0===t&&(t="."),J(e))return[e];var r=Object.keys(e);return r.concat.apply(r,f([],p(r.map(function(r){return n.toStrings(e[r],t).map(function(e){return r+t+e})})),!1))},e.prototype.toJSON=function(){this.configuration,this.transitions;var e=this.tags;this.machine;var t=c(this,["configuration","transitions","tags","machine"]);return u(u({},t),{tags:Array.from(e)})},e.prototype.matches=function(e){return L(e,this.value)},e.prototype.hasTag=function(e){return this.tags.has(e)},e.prototype.can=function(e){K(!!this.machine,"state.can(...) used outside of a machine-created State object; this will always return false.");var t,n=null==(t=this.machine)?void 0:t.getTransitionData(this,e);return!!(null==n?void 0:n.transitions.length)&&n.transitions.some(function(e){return void 0!==e.target||e.actions.length})},e}(),e2={deferEvents:!1},e5=function(){function e(e){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=u(u({},e2),e)}return e.prototype.initialize=function(e){if(this.initialized=!0,e){if(!this.options.deferEvents)return void this.schedule(e);this.process(e)}this.flushEvents()},e.prototype.schedule=function(e){if(!this.initialized||this.processingEvent)return void this.queue.push(e);if(0!==this.queue.length)throw Error("Event queue should be empty when it is not processing events");this.process(e),this.flushEvents()},e.prototype.clear=function(){this.queue=[]},e.prototype.flushEvents=function(){for(var e=this.queue.shift();e;)this.process(e),e=this.queue.shift()},e.prototype.process=function(e){this.processingEvent=!0;try{e()}catch(e){throw this.clear(),e}finally{this.processingEvent=!1}},e}(),e3=new Map,e9=0,e4={bookId:function(){return"x:".concat(e9++)},register:function(e,t){return e3.set(e,t),e},get:function(e){return e3.get(e)},free:function(e){e3.delete(e)}};function e6(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:void 0}function e7(e,t){void 0===t&&(t={});var n=e.initialState,r=new Set,i=[],a=!1,o=function(){if(!a){for(a=!0;i.length>0;){var t=i.shift();n=e.transition(n,t,l),r.forEach(function(e){return e.next(n)})}a=!1}},s=eZ({id:t.id,send:function(e){i.push(e),o()},getSnapshot:function(){return n},subscribe:function(e,t,i){var a=es(e,t,i);return r.add(a),a.next(n),{unsubscribe:function(){r.delete(a)}}}}),l={parent:t.parent,self:s,id:t.id||"anonymous",observers:r};return n=e.start?e.start(l):n,s}var e8={sync:!1,autoForward:!1};!function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"}(o||(o={}));var te=function(){function e(t,n){void 0===n&&(n=e.defaultOptions);var a=this;this.machine=t,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=o.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(e,t){if(X(e))return a.batch(e),a.state;var n=er(en(e,t));if(a.status===o.Stopped)return a.state;if(a.status!==o.Running&&!a.options.deferEvents)throw Error('Event "'.concat(n.name,'" was sent to uninitialized service "').concat(a.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.\nEvent: ').concat(JSON.stringify(n.data)));return a.scheduler.schedule(function(){a.forward(n);var e=a._nextState(n);a.update(e,n)}),a._state},this.sendTo=function(e,t,n){var r=a.parent&&(t===i.Parent||a.parent.id===t),s=r?a.parent:J(t)?t===i.Internal?a:a.children.get(t)||e4.get(t):t&&"function"==typeof t.send?t:void 0;if(!s){if(!r)throw Error("Unable to send event to child '".concat(t,"' from service '").concat(a.id,"'."));return}if("machine"in s){if(a.status!==o.Stopped||a.parent!==s||a.state.done){var l=u(u({},e),{name:e.name===C?"".concat(ej(a.id)):e.name,origin:a.sessionId});!n&&a.machine.config.predictableActionArguments?a._outgoingQueue.push([s,l]):s.send(l)}}else!n&&a.machine.config.predictableActionArguments?a._outgoingQueue.push([s,e.data]):s.send(e.data)},this._exec=function(e,t,n,i){void 0===i&&(i=a.machine.options.actions);var s=e.exec||ed(e.type,i),l=$(s)?s:s?s.exec:e.exec;if(l)try{return l(t,n.data,a.machine.config.predictableActionArguments?{action:e,_event:n}:{action:e,state:a.state,_event:n})}catch(e){throw a.parent&&a.parent.send({type:"xstate.error",data:e}),e}switch(e.type){case g:a.defer(e);break;case y:if("number"==typeof e.delay)return void a.defer(e);e.to?a.sendTo(e._event,e.to,n===ec):a.send(e._event);break;case v:a.cancel(e.sendId);break;case h:if(a.status!==o.Running)return;var u=e.activity;if(!a.machine.config.predictableActionArguments&&!a.state.activities[u.id||u.type])break;if(u.type===r.Invoke){var c=eo(u.src),d=a.machine.options.services?a.machine.options.services[c.type]:void 0,p=u.id,f=u.data,b="autoForward"in u?u.autoF
353orward:!!u.forward;if(!d)return;var _=f?W(f,t,n):void 0;if("string"==typeof d)return;var S=$(d)?d(t,n.data,{data:_,src:c,meta:u.meta}):d;if(!S)return;var E=void 0;ee(S)&&(S=_?S.withContext(_):S,E={autoForward:b}),a.spawn(S,p,E)}else a.spawnActivity(u);break;case m:a.stopChild(e.activity.id);break;case k:var A=e.label,T=e.value;A?a.logger(A,T):a.logger(T)}};var s=u(u({},e.defaultOptions),n),l=s.clock,c=s.logger,d=s.parent,p=s.id,f=void 0!==p?p:t.id;this.id=f,this.logger=c,this.clock=l,this.parent=d,this.options=s,this.scheduler=new e5({deferEvents:this.options.deferEvents}),this.sessionId=e4.bookId()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var e=this;return this._initialState?this._initialState:eY(this,function(){return e._initialState=e.machine.initialState,e._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),e.prototype.execute=function(e,t){var n,r;try{for(var i=d(e.actions),a=i.next();!a.done;a=i.next()){var o=a.value;this.exec(o,e,t)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e.prototype.update=function(e,t){var n,r,i,a,o,s,l,u,c=this;if(e._sessionid=this.sessionId,this._state=e,(!this.machine.config.predictableActionArguments||t===ec)&&this.options.execute)this.execute(this.state);else for(var p=void 0;p=this._outgoingQueue.shift();)p[0].send(p[1]);if(this.children.forEach(function(e){c.state.children[e.id]=e}),this.devTools&&this.devTools.send(t.data,e),e.event)try{for(var f=d(this.eventListeners),h=f.next();!h.done;h=f.next()){var m=h.value;m(e.event)}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}try{for(var g=d(this.listeners),y=g.next();!y.done;y=g.next()){var m=y.value;m(e,e.event)}}catch(e){i={error:e}}finally{try{y&&!y.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}try{for(var v=d(this.contextListeners),b=v.next();!b.done;b=v.next())(0,b.value)(this.state.context,this.state.history?this.state.history.context:void 0)}catch(e){o={error:e}}finally{try{b&&!b.done&&(s=v.return)&&s.call(v)}finally{if(o)throw o.error}}if(this.state.done){var _=e.configuration.find(function(e){return"final"===e.type&&e.parent===c.machine}),S=_&&_.doneData?W(_.doneData,e.context,t):void 0;this._doneEvent=eL(this.id,S);try{for(var E=d(this.doneListeners),k=E.next();!k.done;k=E.next()){var m=k.value;m(this._doneEvent)}}catch(e){l={error:e}}finally{try{k&&!k.done&&(u=E.return)&&u.call(E)}finally{if(l)throw l.error}}this._stop(),this._stopChildren(),e4.free(this.sessionId)}},e.prototype.onTransition=function(e){return this.listeners.add(e),this.status===o.Running&&e(this.state,this.state.event),this},e.prototype.subscribe=function(e,t,n){var r=this,i=es(e,t,n);this.listeners.add(i.next),this.status!==o.NotStarted&&i.next(this.state);var a=function(){r.doneListeners.delete(a),r.stopListeners.delete(a),i.complete()};return this.status===o.Stopped?i.complete():(this.onDone(a),this.onStop(a)),{unsubscribe:function(){r.listeners.delete(i.next),r.doneListeners.delete(a),r.stopListeners.delete(a)}}},e.prototype.onEvent=function(e){return this.eventListeners.add(e),this},e.prototype.onSend=function(e){return this.sendListeners.add(e),this},e.prototype.onChange=function(e){return this.contextListeners.add(e),this},e.prototype.onStop=function(e){return this.stopListeners.add(e),this},e.prototype.onDone=function(e){return this.status===o.Stopped&&this._doneEvent?e(this._doneEvent):this.doneListeners.add(e),this},e.prototype.off=function(e){return this.listeners.delete(e),this.eventListeners.delete(e),this.sendListeners.delete(e),this.stopListeners.delete(e),this.doneListeners.delete(e),this.contextListeners.delete(e),this},e.prototype.start=function(e){var t=this;if(this.status===o.Running)return this;this.machine._init(),e4.register(this.sessionId,this),this.initialized=!0,this.status=o.Running;var n=void 0===e?this.initialState:eY(this,function(){return"object"==typeof e&&null!==e&&"value"in e&&"_event"in e?t.machine.resolveState(e):t.machine.resolveState(e1.from(e,t.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){t.update(n,ec)}),this}
353,e.prototype._stopChildren=function(){this.children.forEach(function(e){$(e.stop)&&e.stop()}),this.children.clear()},e.prototype._stop=function(){var e,t,n,r,i,a,s,l,u,c;try{for(var p=d(this.listeners),f=p.next();!f.done;f=p.next()){var h=f.value;this.listeners.delete(h)}}catch(t){e={error:t}}finally{try{f&&!f.done&&(t=p.return)&&t.call(p)}finally{if(e)throw e.error}}try{for(var m=d(this.stopListeners),g=m.next();!g.done;g=m.next()){var h=g.value;h(),this.stopListeners.delete(h)}}catch(e){n={error:e}}finally{try{g&&!g.done&&(r=m.return)&&r.call(m)}finally{if(n)throw n.error}}try{for(var y=d(this.contextListeners),v=y.next();!v.done;v=y.next()){var h=v.value;this.contextListeners.delete(h)}}catch(e){i={error:e}}finally{try{v&&!v.done&&(a=y.return)&&a.call(y)}finally{if(i)throw i.error}}try{for(var b=d(this.doneListeners),_=b.next();!_.done;_=b.next()){var h=_.value;this.doneListeners.delete(h)}}catch(e){s={error:e}}finally{try{_&&!_.done&&(l=b.return)&&l.call(b)}finally{if(s)throw s.error}}if(!this.initialized)return this;this.initialized=!1,this.status=o.Stopped,this._initialState=void 0;try{for(var S=d(Object.keys(this.delayedEventsMap)),E=S.next();!E.done;E=S.next()){var k=E.value;this.clock.clearTimeout(this.delayedEventsMap[k])}}catch(e){u={error:e}}finally{try{E&&!E.done&&(c=S.return)&&c.call(S)}finally{if(u)throw u.error}}this.scheduler.clear(),this.scheduler=new e5({deferEvents:this.options.deferEvents})},e.prototype.stop=function(){var e=this,t=this.scheduler;return this._stop(),t.schedule(function(){var t=er({type:"xstate.stop"}),n=eY(e,function(){var n=Y(f([],p(e.state.configuration),!1).sort(function(e,t){return t.order-e.order}).map(function(t){return ef(t.onExit,e.machine.options.actions)})),r=p(eB(e.machine,e.state,e.state.context,t,[{type:"exit",actions:n}],e.machine.config.predictableActionArguments?e._exec:void 0,e.machine.config.predictableActionArguments||e.machine.config.preserveActionOrder),2),i=r[0],a=r[1],o=new e1({value:e.state.value,context:a,_event:t,_sessionid:e.sessionId,historyValue:void 0,history:e.state,actions:i.filter(function(e){return!eu(e)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:e.state.done,tags:e.state.tags,machine:e.machine});return o.changed=!0,o});e.update(n,t),e._stopChildren(),e4.free(e.sessionId)}),this},e.prototype.batch=function(e){var t=this;if(this.status===o.NotStarted&&this.options.deferEvents);else if(this.status!==o.Running)throw Error("".concat(e.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'));if(e.length){var n=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var r,i,a=t.state,o=!1,s=[];try{for(var l=d(e),c=l.next();!c.done;c=l.next()){var h=c.value;!function(e){var r=er(e);t.forward(r),a=eY(t,function(){return t.machine.transition(a,r,void 0,n||void 0)}),s.push.apply(s,f([],p(t.machine.config.predictableActionArguments?a.actions:a.actions.map(function(e){var t,n;return t=a,n=e.exec,u(u({},e),{exec:void 0!==n?function(){return n(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0})})),!1)),o=o||!!a.changed}(h)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}a.changed=o,a.actions=s,t.update(a,er(e[e.length-1]))})}},e.prototype.sender=function(e){return this.send.bind(this,e)},e.prototype._nextState=function(e,t){var n=this;void 0===t&&(t=!!this.machine.config.predictableActionArguments&&this._exec);var r=er(e);if(0===r.name.indexOf(w)&&!this.state.nextEvents.some(function(e){return 0===e.indexOf(w)}))throw r.data.data;return eY(this,function(){return n.machine.transition(n.state,r,void 0,t||void 0)})},e.prototype.nextState=function(e){return this._nextState(e,!1)},e.prototype.forward=function(e){var t,n;try{for(var r=d(this.forwardTo),i=r.next();!i.done;i=r.next()){var a=i.value,o=this.children.get(a);if(!o)throw Error("Unable to forward event '".concat(e,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(a,"'."));o.send(e)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},e.prototype.defer=function(e){var t=this,n=this.clock.setTimeout(function(){"to"in e&&e.to?t.sendTo(e._event,e.to,!0):t.send(e._event)},e.delay);e.id&&(this.delayedEventsMap[e.id]=n)},e.prototype.cancel=function(e){this.clock.clearTimeout(this.delayedEventsMap[e]),delete this.delayedEventsMap[e]},e.prototype.exec=function(e,t,n){void 0===n&&(n=this.machine.options.actions),this._exec(e,t.context,t._event,n)},e.prototype.removeChild=function(e){var t;this.children.delete(e),this.forwardTo.delete(e),null==(t=this.state)||delete t.children[e]},e.prototype.stopChild=function(e){var t=this.children.get(e);
353t&&(this.removeChild(e),$(t.stop)&&t.stop())},e.prototype.spawn=function(e,t,n){if(this.status!==o.Running)return eW(e,t);if(Z(e))return this.spawnPromise(Promise.resolve(e),t);if($(e))return this.spawnCallback(e,t);if(function(e){try{return"function"==typeof e.send}catch(e){return!1}}(e)&&"id"in e)return this.spawnActor(e,t);if(function(e){try{return"subscribe"in e&&$(e.subscribe)}catch(e){return!1}}(e))return this.spawnObservable(e,t);if(ee(e))return this.spawnMachine(e,u(u({},n),{id:t}));if(null!==e&&"object"==typeof e&&"transition"in e&&"function"==typeof e.transition)return this.spawnBehavior(e,t);throw Error('Unable to spawn entity "'.concat(t,'" of type "').concat(typeof e,'".'))},e.prototype.spawnMachine=function(t,n){var r=this;void 0===n&&(n={});var i=new e(t,u(u({},this.options),{parent:this,id:n.id||t.id})),a=u(u({},e8),n);return a.sync&&i.onTransition(function(e){r.send(I,{state:e,id:i.id})}),this.children.set(i.id,i),a.autoForward&&this.forwardTo.add(i.id),i.onDone(function(e){r.removeChild(i.id),r.send(er(e,{origin:i.id}))}).start(),i},e.prototype.spawnBehavior=function(e,t){var n=e7(e,{id:t,parent:this});return this.children.set(t,n),n},e.prototype.spawnPromise=function(e,t){var n,r,i=this,a=!1;e.then(function(e){a||(r=e,i.removeChild(t),i.send(er(eL(t,e),{origin:t})))},function(e){if(!a){i.removeChild(t);var n=ej(t,e);try{i.send(er(n,{origin:t}))}catch(e){i.devTools&&i.devTools.send(n,i.state),i.machine.strict&&i.stop()}}});var o=((n={id:t,send:function(){},subscribe:function(t,n,r){var i=es(t,n,r),a=!1;return e.then(function(e){!a&&(i.next(e),a||i.complete())},function(e){a||i.error(e)}),{unsubscribe:function(){return a=!0}}},stop:function(){a=!0},toJSON:function(){return{id:t}},getSnapshot:function(){return r}})[Q]=function(){return this},n);return this.children.set(t,o),o},e.prototype.spawnCallback=function(e,t){var n,r,i,a=this,o=!1,s=new Set,l=new Set;try{i=e(function(e){r=e,l.forEach(function(t){return t(e)}),o||a.send(er(e,{origin:t}))},function(e){s.add(e)})}catch(e){this.send(ej(t,e))}if(Z(i))return this.spawnPromise(i,t);var u=((n={id:t,send:function(e){return s.forEach(function(t){return t(e)})},subscribe:function(e){var t=es(e);return l.add(t.next),{unsubscribe:function(){l.delete(t.next)}}},stop:function(){o=!0,$(i)&&i()},toJSON:function(){return{id:t}},getSnapshot:function(){return r}})[Q]=function(){return this},n);return this.children.set(t,u),u},e.prototype.spawnObservable=function(e,t){var n,r,i=this,a=e.subscribe(function(e){r=e,i.send(er(e,{origin:t}))},function(e){i.removeChild(t),i.send(er(ej(t,e),{origin:t}))},function(){i.removeChild(t),i.send(er(eL(t),{origin:t}))}),o=((n={id:t,send:function(){},subscribe:function(t,n,r){return e.subscribe(t,n,r)},stop:function(){return a.unsubscribe()},getSnapshot:function(){return r},toJSON:function(){return{id:t}}})[Q]=function(){return this},n);return this.children.set(t,o),o},e.prototype.spawnActor=function(e,t){return this.children.set(t,e),e},e.prototype.spawnActivity=function(e){var t=this.machine.options&&this.machine.options.activities?this.machine.options.activities[e.type]:void 0;if(t){var n=t(this.state.context,e);this.spawnEffect(e.id,n)}},e.prototype.spawnEffect=function(e,t){var n;this.children.set(e,((n={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:t||void 0,getSnapshot:function(){},toJSON:function(){return{id:e}}})[Q]=function(){return this},n))},e.prototype.attachDev=function(){var e=e6();if(this.options.devTools&&e){if(e.__REDUX_DEVTOOLS_EXTENSION__){var t="object"==typeof this.options.devTools?this.options.devTools:void 0;this.devTools=e.__REDUX_DEVTOOLS_EXTENSION__.connect(u(u({name:this.id,autoPause:!0,stateSanitizer:function(e){return{value:e.value,context:e.context,actions:e.actions}}},t),{features:u({jump:!1,skip:!1},t?t.features:void 0)}),this.machine),this.devTools.init(this.state)}if(e6()){var n=function(){var e=e6();if(e&&"__xstate__"in e)return e.__xstate__}();n&&n.register(this)}}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[Q]=function(){return this},e.prototype.getSnapshot=function(){return this.status===o.NotStarted?this.initialState:this._state},e.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(e,t){return setTimeout(e,t)},clearTimeout:function(e){return clearTimeout(e)}},logger:console.log.bind(console),devTools:!1},e.interpret=tn,e}();function tt(e,t){var n=J(t)?u(u({},e8),{name:t}):u(u(u({},e8),{name:et()}),t),r=eG[eG.length-1];return r?r.spawn(e,n.name,n):eW(e,n.name)}function tn(e,t){return new te(e,t)}function tr(e){return u(u({type:T},e),{toJSON:function(){e.onDone,e.onError;var t=c(e,["onDone","onError"]);return u(u({},t),{type:T,src:function(e){if("string"==typeof e){var t={type:e};return t.toString=function(){return e},t}return e}(e.src)})}})}var ti={},ta=function(e){return"#"===e[0]},to=function(){function e(t,n,r,i){void 0===r&&(r="context"in t?t.context:void 0);var a,o=this;this.config=t,this._context=r,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign({actions:{},guards:{},services:{},activities:{},delays:{}},n),this.parent=null==i?void 0:i.parent,this.key=this.config.key||(null==i?void 0:i.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:"."),this.id=this.config.id||f([this.machine.key],p(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:null!=(a=this.config.schema)?a:{},this.description=this.config.description,this.initial=this.config.initial,this.states=this.config.states?U(this.config.states,function(t,n){var r,i=new e(t,{},void 0,{parent:o,key:n});return Object.assign(o.idMap,u(((r={})[i.id]=i,r),i.idMap)),i}):ti;var s=0;!function e(t){var n,r;t.order=s++;try{for(var i=d(eK(t)),a=i.next();!a.done;a=i.next()){var o=a.value;e(o)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}(this),this.history=!0===this.config.history?"shallow":this.config.history||
353!1,this._transient=!!this.config.always||!!this.config.on&&(Array.isArray(this.config.on)?this.config.on.some(function(e){return""===e.event}):""in this.config.on),this.strict=!!this.config.strict,this.onEntry=z(this.config.entry||this.config.onEntry).map(function(e){return ep(e)}),this.onExit=z(this.config.exit||this.config.onExit).map(function(e){return ep(e)}),this.meta=this.config.meta,this.doneData="final"===this.type?this.config.data:void 0,this.invoke=z(this.config.invoke).map(function(e,t){if(ee(e)){var n,r,i=el(o.id,t);return o.machine.options.services=u(((n={})[i]=e,n),o.machine.options.services),tr({src:i,id:i})}if(J(e.src)){var i=e.id||el(o.id,t);return tr(u(u({},e),{id:i,src:e.src}))}if(ee(e.src)||$(e.src)){var i=e.id||el(o.id,t);return o.machine.options.services=u(((r={})[i]=e.src,r),o.machine.options.services),tr(u(u({id:i},e),{src:i}))}var a=e.src;return tr(u(u({id:el(o.id,t)},e),{src:a}))}),this.activities=z(this.config.activities).concat(this.invoke).map(function(e){return eh(e)}),this.transition=this.transition.bind(this),this.tags=z(this.config.tags)}return e.prototype._init=function(){this.__cache.transitions||(function e(t){var n=[t];return eH(t)?n:n.concat(Y(eX(t).map(e)))})(this).forEach(function(e){return e.on})},e.prototype.withConfig=function(t,n){var r=this.options,i=r.actions,a=r.activities,o=r.guards,s=r.services,l=r.delays;return new e(this.config,{actions:u(u({},i),t.actions),activities:u(u({},a),t.activities),guards:u(u({},o),t.guards),services:u(u({},s),t.services),delays:u(u({},l),t.delays)},null!=n?n:this.context)},e.prototype.withContext=function(t){return new e(this.config,this.options,t)},Object.defineProperty(e.prototype,"context",{get:function(){return $(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:U(this.states,function(e){return e.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return this.definition},Object.defineProperty(e.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var e=this.transitions;return this.__cache.on=e.reduce(function(e,t){return e[t.eventType]=e[t.eventType]||[],e[t.eventType].push(t),e},{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),e.prototype.getCandidates=function(e){if(this.__cache.candidates[e])return this.__cache.candidates[e];var t=""===e,n=this.transitions.filter(function(n){var r=n.eventType===e;return t?r:r||"*"===n.eventType});return this.__cache.candidates[e]=n,n},e.prototype.getDelayedTransitions=function(){var e=this,t=this.config.after;if(!t)return[];var n=function(t,n){var r=eP($(t)?"".concat(e.id,":delay[").concat(n,"]"):t,e.id);return e.onEntry.push(ey(r,{delay:t})),e.onExit.push(ex(r)),r};return(X(t)?t.map(function(e,t){var r=n(e.delay,t);return u(u({},e),{event:r})}):Y(Object.keys(t).map(function(e,r){var i=t[e],a=J(i)?{target:i}:i,o=isNaN(+e)?e:+e,s=n(o,r);return z(a).map(function(e){return u(u({},e),{event:s,delay:o})})}))).map(function(t){var n=t.delay;return u(u({},e.formatTransition(t)),{delay:n})})},e.prototype.getStateNodes=function(e){var t,n=this;if(!e)return[];var r=e instanceof e1?e.value:D(e,this.delimiter);if(J(r)){var i=this.getStateNode(r).initial;return void 0!==i?this.getStateNodes(((t={})[r]=i,t)):[this,this.states[r]]}var a=Object.keys(r),o=[this];return o.push.apply(o,f([],p(Y(a.map(function(e){return n.getStateNode(e).getStateNodes(r[e])}))),!1)),o},e.prototype.handles=function(e){var t=j(e);return this.events.includes(t)},e.prototype.resolveState=function(e){var t=e instanceof e1?e:e1.create(e),n=Array.from(e$([],this.get
353StateNodes(t.value)));return new e1(u(u({},t),{value:this.resolve(t.value),configuration:n,done:eQ(n,this),tags:e0(n),machine:this.machine}))},e.prototype.transitionLeafNode=function(e,t,n){var r=this.getStateNode(e).next(t,n);return r&&r.transitions.length?r:this.next(t,n)},e.prototype.transitionCompoundNode=function(e,t,n){var r=Object.keys(e),i=this.getStateNode(r[0])._transition(e[r[0]],t,n);return i&&i.transitions.length?i:this.next(t,n)},e.prototype.transitionParallelNode=function(e,t,n){var r,i,a={};try{for(var o=d(Object.keys(e)),s=o.next();!s.done;s=o.next()){var l=s.value,u=e[l];if(u){var c=this.getStateNode(l)._transition(u,t,n);c&&(a[l]=c)}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}var p=Object.keys(a).map(function(e){return a[e]}),f=Y(p.map(function(e){return e.transitions}));if(!p.some(function(e){return e.transitions.length>0}))return this.next(t,n);var h=Y(Object.keys(a).map(function(e){return a[e].configuration}));return{transitions:f,exitSet:Y(p.map(function(e){return e.exitSet})),configuration:h,source:t,actions:Y(Object.keys(a).map(function(e){return a[e].actions}))}},e.prototype._transition=function(e,t,n){return J(e)?this.transitionLeafNode(e,t,n):1===Object.keys(e).length?this.transitionCompoundNode(e,t,n):this.transitionParallelNode(e,t,n)},e.prototype.getTransitionData=function(e,t){return this._transition(e.value,e,er(t))},e.prototype.next=function(e,t){var n,r,i,a=this,o=t.name,s=[],l=[];try{for(var u=d(this.getCandidates(o)),c=u.next();!c.done;c=u.next()){var h=c.value,m=h.cond,g=h.in,y=e.context,v=!g||(J(g)&&ta(g)?e.matches(D(this.getStateNodeById(g).path,this.delimiter)):L(D(g,this.delimiter),B(this.path.slice(0,-2))(e.value))),b=!1;try{b=!m||ea(this.machine,m,y,t,e)}catch(e){throw Error("Unable to evaluate guard '".concat(m.name||m.type,"' in transition for event '").concat(o,"' in state node '").concat(this.id,"':\n").concat(e.message))}if(b&&v){void 0!==h.target&&(l=h.target),s.push.apply(s,f([],p(h.actions),!1)),i=h;break}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}if(i){if(!l.length)return{transitions:[i],exitSet:[],configuration:e.value?[this]:[],source:e,actions:s};var _=Y(l.map(function(t){return a.getRelativeStateNodes(t,e.historyValue)})),S=!!i.internal;return{transitions:[i],exitSet:S?[]:Y(l.map(function(e){return a.getPotentiallyReenteringNodes(e)})),configuration:_,source:e,actions:s}}},e.prototype.getPotentiallyReenteringNodes=function(e){if(this.order<e.order)return[this];for(var t=[],n=this;n&&n!==e;)t.push(n),n=n.parent;return n!==e?[]:(t.push(e),t)},e.prototype.getActions=function(e,t,n,r,i,a,o){var s,l,u,c,h=this,m=a?e$([],this.getStateNodes(a.value)):[],g=new Set;try{for(var y=d(Array.from(e).sort(function(e,t){return e.order-t.order})),v=y.next();!v.done;v=y.next()){var b=v.value;(!eq(m,b)||eq(n.exitSet,b)||b.parent&&g.has(b.parent))&&g.add(b)}}catch(e){s={error:e}}finally{try{v&&!v.done&&(l=y.return)&&l.call(y)}finally{if(s)throw s.error}}try{for(var _=d(m),S=_.next();!S.done;S=_.next()){var b=S.value;(!eq(e,b)||eq(n.exitSet,b.parent))&&n.exitSet.push(b)}}catch(e){u={error:e}}finally{try{S&&!S.done&&(c=_.return)&&c.call(_)}finally{if(u)throw u.error}}n.exitSet.sort(function(e,t){return t.order-e.order});var E=Array.from(g).sort(function(e,t){return e.order-t.order}),k=new Set(n.exitSet),A=Y(E.map(function(e){var t=[];if("final"!==e.type)return t;var a=e.parent;if(!a.parent)return t;
353t.push(eN(e.id,e.doneData),eN(a.id,e.doneData?W(e.doneData,r,i):void 0));var o=a.parent;return"parallel"===o.type&&eX(o).every(function(e){return eQ(n.configuration,e)})&&t.push(eN(o.id)),t})),T=E.map(function(e){var t=e.onEntry,n=e.activities.map(function(e){return ew(e)});return{type:"entry",actions:ef(o?f(f([],p(t),!1),p(n),!1):f(f([],p(n),!1),p(t),!1),h.machine.options.actions)}}).concat({type:"state_done",actions:A.map(function(e){return em(e)})}),x=Array.from(k).map(function(e){return{type:"exit",actions:ef(f(f([],p(e.onExit),!1),p(e.activities.map(function(e){return eC(e)})),!1),h.machine.options.actions)}}).concat({type:"transition",actions:ef(n.actions,this.machine.options.actions)}).concat(T);if(t){var w=ef(Y(f([],p(e),!1).sort(function(e,t){return t.order-e.order}).map(function(e){return e.onExit})),this.machine.options.actions).filter(function(e){return!eu(e)});return x.concat({type:"stop",actions:w})}return x},e.prototype.transition=function(e,t,n,r){void 0===e&&(e=this.initialState);var i,a,o=er(t);if(e instanceof e1)a=void 0===n?e:this.resolveState(e1.from(e,n));else{var s=J(e)?this.resolve(F(this.getResolvedPath(e))):this.resolve(e),l=null!=n?n:this.machine.context;a=this.resolveState(e1.from(s,l))}if(this.strict&&!this.events.includes(o.name)&&(i=o.name,!/^(done|error)\./.test(i)))throw Error("Machine '".concat(this.id,"' does not accept event '").concat(o.name,"'"));var u=this._transition(a.value,a,o)||{transitions:[],configuration:[],exitSet:[],source:a,actions:[]},c=e$([],this.getStateNodes(a.value)),d=u.configuration.length?e$(c,u.configuration):c;return u.configuration=f([],p(d),!1),this.resolveTransition(u,a,a.context,r,o)},e.prototype.resolveRaisedTransition=function(e,t,n,r){var i,a=e.actions;return(e=this.transition(e,t,void 0,r))._event=n,e.event=n.data,(i=e.actions).unshift.apply(i,f([],p(a),!1)),e},e.prototype.resolveTransition=function(e,t,n,r,i){var a,o,s,l,c,f,g=this;void 0===i&&(i=ec);var y=e.configuration,v=!t||e.transitions.length>0,_=v?e.configuration:t?t.configuration:[],S=eQ(_,this),E=v?(o=e$([a=this.machine],y),function e(t,n){var r=n.get(t);if(!r)return{};if("compound"===t.type){var i=r[0];if(!i)return{};if(eH(i))return i.key}var a={};return r.forEach(function(t){a[t.key]=e(t,n)}),a}(a,eJ(o))):void 0,k=t?t.historyValue?t.historyValue:e.source?this.machine.historyValue(t.value):void 0:void 0,A=this.getActions(new Set(_),S,e,n,i,t,r),x=t?u({},t.activities):{};try{for(var w=d(A),C=w.next();!C.done;C=w.next()){var O=C.value;try{for(var R=(c=void 0,d(O.actions)),P=R.next();!P.done;P=R.next()){var N=P.value;N.type===h?x[N.activity.id||N.activity.type]=N:N.type===m&&(x[N.activity.id||N.activity.type]=!1)}}catch(e){c={error:e}}finally{try{P&&!P.done&&(f=R.return)&&f.call(R)}finally{if(c)throw c.error}}}}catch(e){s={error:e}}finally{try{C&&!C.done&&(l=w.return)&&l.call(w)}finally{if(s)throw s.error}}var L=p(eB(this,t,n,i,A,r,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),j=L[0],M=L[1],D=p(function(e,t){var n,r,i=p([[],[]],2),a=i[0],o=i[1];try{for(var s=d(e),l=s.next();!l.done;l=s.next()){var u=l.value;t(u)?a.push(u):o.push(u)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return[a,o]}(j,eu),2),F=D[0],V=D[1],B=j.filter(function(e){var t;return e.type===h&&(null==(t=e.activity)?void 0:t.type)===T}).reduce(function(e,t){var n,r,a,o,s,l,u,c;return e[t.activity.id]=(n=t.activity,r=g.machine,a=i,s=eo(n.src),l=null==(o=null==r?void 0:r.options.services)?void 0:o[s.type],u=n.data?W(n.data,M,a):void 0,(c=l?eW(l,n.id,u):ez(n.id)).meta=n,c),e},t?u({},t.children):{}),G=new e1({value:E||t.value,context:M,_event:i,_sessionid:t?t._sessionid:null,historyValue:E?k?{current:E,states:function e(t,n){return U(t.states,function(t,r){if(t){var i=(J(n)?void 0:n[r])||(t?t.current:void 0);if(i)return{current:i,states:e(t,i)}}})}(k,E)}:void 0:t?t.historyValue:void 0,history:!E||e.source?t:void 0,actions:E?V:[],activities:E?x:t?t.activities:{},events:[],configuration:_,transitions:e.transitions,children:B,done:S,tags:e0(_),machine:this}),Y=n!==M;G.changed=i.name===I||Y;var z=G.history;z&&delete z.history;var Z=!S&&(this._transient||y.some(function(e){return e._transient}));if(!v&&(!Z||""===i.name))return G;var H=G;if(!S)for(Z&&(H=this.resolveRaisedTransition(H,{type:b},i,r));F.length;){var K=F.shift();H=this.resolveRaisedTransition(H,K._event,i,r)}var X=H.changed||(z?!!H.actions.length||Y||typeof z.value!=typeof H.value||!function e(t,n){if(t===n)return!0;
353if(void 0===t||void 0===n)return!1;if(J(t)||J(n))return t===n;var r=Object.keys(t),i=Object.keys(n);return r.length===i.length&&r.every(function(r){return e(t[r],n[r])})}(H.value,z.value):void 0);return H.changed=X,H.history=z,H},e.prototype.getStateNode=function(e){if(ta(e))return this.machine.getStateNodeById(e);if(!this.states)throw Error("Unable to retrieve child state '".concat(e,"' from '").concat(this.id,"'; no child states exist."));var t=this.states[e];if(!t)throw Error("Child state '".concat(e,"' does not exist on '").concat(this.id,"'"));return t},e.prototype.getStateNodeById=function(e){var t=ta(e)?e.slice(1):e;if(t===this.id)return this;var n=this.machine.idMap[t];if(!n)throw Error("Child state node '#".concat(t,"' does not exist on machine '").concat(this.id,"'"));return n},e.prototype.getStateNodeByPath=function(e){if("string"==typeof e&&ta(e))try{return this.getStateNodeById(e.slice(1))}catch(e){}for(var t=M(e,this.delimiter).slice(),n=this;t.length;){var r=t.shift();if(!r.length)break;n=n.getStateNode(r)}return n},e.prototype.resolve=function(e){var t,n=this;if(!e)return this.initialStateValue||ti;switch(this.type){case"parallel":return U(this.initialStateValue,function(t,r){return t?n.getStateNode(r).resolve(e[r]||t):ti});case"compound":if(J(e)){var r=this.getStateNode(e);if("parallel"===r.type||"compound"===r.type)return(t={})[e]=r.initialStateValue,t;return e}if(!Object.keys(e).length)return this.initialStateValue||{};return U(e,function(e,t){return e?n.getStateNode(t).resolve(e):ti});default:return e||ti}},e.prototype.getResolvedPath=function(e){if(ta(e)){var t=this.machine.idMap[e.slice(1)];if(!t)throw Error("Unable to find state node '".concat(e,"'"));return t.path}return M(e,this.delimiter)},Object.defineProperty(e.prototype,"initialStateValue",{get:function(){var e,t;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;if("parallel"===this.type)t=V(this.states,function(e){return e.initialStateValue||ti},function(e){return"history"!==e.type});else if(void 0!==this.initial){if(!this.states[this.initial])throw Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));t=eH(this.states[this.initial])?this.initial:((e={})[this.initial]=this.states[this.initial].initialStateValue,e)}else t={};return this.__cache.initialStateValue=t,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),e.prototype.getInitialState=function(e,t){this._init();var n=this.getStateNodes(e);return this.resolveTransition({configuration:n,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,null!=t?t:this.machine.context,void 0)},Object.defineProperty(e.prototype,"initialState",{get:function(){var e=this.initialStateValue;if(!e)throw Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){var e;if("history"===this.type){var t=this.config;e=J(t.target)&&ta(t.target)?F(this.machine.getStateNodeById(t.target).path.slice(this.path.length-1)):t.target}return e},enumerable:!1,configurable:!0}),e.prototype.getRelativeStateNodes=function(e,t,n){return void 0===n&&(n=!0),n?"history"===e.type?e.resolveHistory(t):e.initialStateNodes:[e]},Object.defineProperty(e.prototype,"initialStateNodes",{get:function(){var e=this;return eH(this)?[this]:"compound"!==this.type||this.initial?Y(G(this.initialStateValue).map(function(t){return e.getFromRelativePath(t)})):[this]},enumerable:!1,configurable:!0}),e.prototype.getFromRelativePath=function(e){if(!e.length)return[this];var t=p(e),n=t[0],r=t.slice(1);if(!this.states)throw Error("Cannot retrieve subPath '".concat(n,"' from node with no states"));var i=this.getStateNode(n);if("history"===i.type)return i.resolveHistory();if(!this.states[n])throw Error("Child state '".concat(n,"' does not exist on '").concat(this.id,"'"));return this.states[n].getFromRelativePath(r)},e.prototype.historyValue=function(e){if(Object.keys(this.states).length)return{current:e||this.initialStateValue,states:V(this.states,function(t,n){if(!e)return t.historyValue();var r=J(e)?void 0:e[n];return t.historyValue(r||t.initialStateValue)},function(e){return!e.history})}},e.prototype.resolveHistory=function(e){var t,n=this;if("history"!==this.type)return[this];var r=this.parent;if(!e){var i=this.target;return i?Y(G(i).map(function(e){return r.getFromRelativePath(e)})):r.initialStateNodes}var a=(t=r.path,function(e){var n,r,i=e;try{for(var a=d(t),o=a.next();!o.done;o=a.next()){var s=o.value;i=i.states[s]}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i})(e).current;return J(a)?[r.getStateNode(a)]:Y(G(a).map(function(e){return"deep"===n.history?r.getFromRelativePath(e):[r.states[e[0]]]}))},Object.defineProperty(e.prototype,"stateIds",{get:function(){var e=this,t=Y(Object.keys(this.states).map(function(t){return e.states[t].stateIds}));return[this.id].concat(t)}
353,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{get:function(){if(this.__cache.events)return this.__cache.events;var e,t,n,r,i=this.states,a=new Set(this.ownEvents);if(i)try{for(var o=d(Object.keys(i)),s=o.next();!s.done;s=o.next()){var l=i[s.value];if(l.states)try{for(var u=(n=void 0,d(l.events)),c=u.next();!c.done;c=u.next()){var p=c.value;a.add("".concat(p))}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return this.__cache.events=Array.from(a)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ownEvents",{get:function(){return Array.from(new Set(this.transitions.filter(function(e){return!(!e.target&&!e.actions.length&&e.internal)}).map(function(e){return e.eventType})))},enumerable:!1,configurable:!0}),e.prototype.resolveTarget=function(e){var t=this;if(void 0!==e)return e.map(function(e){if(!J(e))return e;var n=e[0]===t.delimiter;if(n&&!t.parent)return t.getStateNodeByPath(e.slice(1));var r=n?t.key+e:e;if(!t.parent)return t.getStateNodeByPath(r);try{return t.parent.getStateNodeByPath(r)}catch(e){throw Error("Invalid transition definition for state node '".concat(t.id,"':\n").concat(e.message))}})},e.prototype.formatTransition=function(e){var t=this,n=function(e){if(void 0!==e&&""!==e)return z(e)}(e.target),r="internal"in e?e.internal:!n||n.some(function(e){return J(e)&&e[0]===t.delimiter}),i=this.machine.options.guards,a=this.resolveTarget(n),o=u(u({},e),{actions:ef(z(e.actions)),cond:q(e.cond,i),target:a,source:this,internal:r,eventType:e.event,toJSON:function(){return u(u({},o),{target:o.target?o.target.map(function(e){return"#".concat(e.id)}):void 0,source:"#".concat(t.id)})}});return o},e.prototype.formatTransitions=function(){var e,t,n,r=this;if(this.config.on)if(Array.isArray(this.config.on))n=this.config.on;else{var i=this.config.on,a=i["*"],o=c(i,["*"]);n=Y(Object.keys(o).map(function(e){return ei(e,o[e])}).concat(ei("*",void 0===a?[]:a)))}else n=[];var s=this.config.always?ei("",this.config.always):[],l=this.config.onDone?ei(String(eN(this.id)),this.config.onDone):[],u=Y(this.invoke.map(function(e){var t=[];return e.onDone&&t.push.apply(t,f([],p(ei(String(eL(e.id)),e.onDone)),!1)),e.onError&&t.push.apply(t,f([],p(ei(String(ej(e.id)),e.onError)),!1)),t})),h=this.after,m=Y(f(f(f(f([],p(l),!1),p(u),!1),p(n),!1),p(s),!1).map(function(e){return z(e).map(function(e){return r.formatTransition(e)})}));try{for(var g=d(h),y=g.next();!y.done;y=g.next()){var v=y.value;m.push(v)}}catch(t){e={error:t}}finally{try{y&&!y.done&&(t=g.return)&&t.call(g)}finally{if(e)throw e.error}}return m},e}();function ts(e,t,n){return void 0===n&&(n=e.context),new to(e,t,n)}function tl(e,t){return new to(e,t)}function tu(e,t){try{for(var n,r,i,a=d(Object.keys(e)),o=a.next();!o.done;o=a.next()){var s=o.value;L(s,t)&&(!i||t.length>i.length)&&(i=s)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return e[i]}function tc(e,t,n){var r,i,a=e1.from(e,e instanceof e1?e.context:void 0);try{for(var o=d(t),s=o.next();!s.done;s=o.next()){var l=p(s.value,2),u=l[0],c=l[1];if(a.matches(u))return c(a)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return n(a)}function td(e){return e}var tp=td,tf=eO,th=ey,tm=e_,tg=eb,ty=eS,tv=eD,tb=eL,t_=em},21744:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createShakaSubtitles=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47561),o=n(9404),s=n(42975);function l(e){let{roles:t}=e;return i.default.undefined(t)||0===t.length?[{forced:e.forced,label:e.label,language:e.language,role:null}]:t.map(t=>({forced:e.forced,label:e.label,language:e.language,role:t}))}function u(e){return e.active}t.createShakaSubtitles=function(e){let{shakaPlayer:t,videoElement:n,createSubtitles:c,emit:d}=e,p=c({emit:d,videoElement:n}),f=e=>"Shaka Player TextTrack"===e.label,h=null,m=()=>{let e;for(let t of n.textTracks)f(t)&&(e=t);return e},g=()=>t.getTextTracks().filter(e=>
353{let t=o.languageTagSchema.safeParse(e.language);return t.success||s.logger.warn(`Ignoring text track ${e.id} with invalid language setting.`),t.success}),y=()=>{let e=p.getAvailableSubtitles();if(!i.default.emptyObject(e))return e;let t=g();return 0===t.length?{}:t.flatMap(l).filter((e,t,n)=>n.findIndex(t=>t.language===e.language&&t.role===e.role&&t.forced===e.forced)===t).reduce((e,t,n)=>Object.assign(Object.assign({},e),{[n]:t}),{})};function v(){let e=g();return a.Maybe.find(u,e)}function b(e,t){let n=v().andThen(t=>(function(e,t){let n=Object.entries(e);return a.Maybe.find(([,e])=>(!i.default.string(e.role)||!!i.default.array(t.roles)&&!!t.roles.includes(e.role))&&e.language===t.language&&e.forced===t.forced,n).map(([e])=>e)})(e,t));if(n.isJust()){let r=e[n.value];if(!i.default.undefined(r)){(null===h||h.language!==r.language||h.label!==r.label||h.forced!==r.forced||h.role!==r.role)&&d("subtitleSelected",{id:n.value,origin:t,subtitle:r}),h=r;return}}h=null}n.textTracks.onaddtrack=({track:e})=>{!i.default.nullOrUndefined(e)&&f(e)&&(e.oncuechange=()=>{let{activeCues:t}=e;d("subtitleCuesChanged",{cues:i.default.nullOrUndefined(t)?[]:Array.from(t)})}),d("subtitlesUpdated",y())};let _=()=>r.__awaiter(this,void 0,void 0,function*(){return new Promise(e=>{let t=m();if(i.default.nullOrUndefined(t)||"showing"!==t.mode)return void e();setTimeout(()=>{t.mode="hidden",e()},0)})});return{clear(){h=null},destroy(){p.destroy()},getAvailableSubtitles:y,select(e){return r.__awaiter(this,void 0,void 0,function*(){if(Object.keys(p.getAvailableSubtitles()).length>0)return void p.select(e);(e=>{let{id:n}=e,r=y();if(!i.default.string(n)){var a={origin:e.origin};t.setTextTrackVisibility(!1);let n=m();n&&(n.mode="disabled"),d("subtitleCuesChanged",{cues:[]}),d("subtitleUnselected",{origin:a.origin}),h=null;return}let o=r[n];!i.default.undefined(o)&&i.default.string(o.language)&&(t.setTextTrackVisibility(!1),t.selectTextLanguage(o.language,o.role,o.forced),t.setTextTrackVisibility(!0),b(r,e.origin))})(e),yield _()})},syncSubtitles(){let e=y();if(d("subtitlesUpdated",e),v().isJust())return void b(e,"api");d("subtitleCuesChanged",{cues:[]})}}}},21787:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selfManagedPlaylistOptionsSchema=void 0;let r=n(70015).__importDefault(n(92712)),i=n(99663),a=r.default.string().min(1);t.selfManagedPlaylistOptionsSchema=r.default.discriminatedUnion("playlistType",[r.default.object({initialId:a,playlistType:i.playlistTypeClipSchema}).strict(),r.default.object({initialId:a,playlistType:i.playlistTypeCompilationItemSchema}).strict(),r.default.object({initialId:a,playlistType:i.playlistTypeExtraSchema}).strict(),r.default.object({initialId:a,playlistType:i.playlistTypeHighlightSchema}).strict(),r.default.object({playlistType:i.playlistTypeLivestreamSchema,preselectedChannelId:a.optional()}).strict(),r.default.object({initialId:a,playlistType:i.playlistTypeMovieSchema}).strict(),r.default.object({initialId:a,playlistType:i.playlistTypePlaylistSchema}).strict(),r.default.object({initialId:a,playlistType:i.playlistTypeSeriesEpisodeSchema}).strict(),r.default.object({initialId:a,playlistType:i.playlistTypeSportsMatchSchema}).strict()])},21805:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetchAdMediaFilesApi=void 0;let r=n(70015),i=n(47561),a=n(74824),o=n(52408),s=n(17292);function l(e){return"READY"===e.status}t.createFetchAdMediaFilesApi=function(e,t){let{adSourceClient:n}=e,{allowedSourceStreamingFormats:u,fallbackToSourceAssetOnFailure:c,joynDistributionTenant:d}=t;return e=>r.__awaiter(this,void 0,void 0,function*(){let t=Array.from(e.keys()),r=yield n.fetchAdSources(t);return r.isErr()&&c?i.Result.ok(e):r.map(t=>{let{ads:r,stitchedM3u8Url:i,stitchedMpdUrl:c}=t,[p,f]=(0,a.partitionByTypeguard)(l,r),h=(0,o.mapReadyAdSourcesToAdMediaMap)({adSources:p,allowedSourceStreamingFormats:u,dashUrl:c,hlsUrl:i}),m=(0,s.mapMissingAdSourcesToIngestJobs)({adMediaMap:e,adSources:f,distributionTenant:d});return m.length>0&&n.ingestAdSources(m),h})})}},21930:(e,t,n)=>{"use strict";
353Object.defineProperty(t,"__esModule",{value:!0}),t.createIabOpenMeasurement=void 0;let r=n(70015).__importDefault(n(78084)),i=n(18894),a=n(22747);t.createIabOpenMeasurement=(e,t)=>(0,i.createIabOpenMeasurementApi)(Object.assign(Object.assign({},e),{loadScript:r.default,omidSessionClient:a.OmidSessionClient}),t)},22110:e=>{"use strict";e.exports=i,e.exports.isMobile=i,e.exports.default=i;let t=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,n=/CrOS/,r=/android|ipad|playbook|silk/i;function i(e){e||(e={});let i=e.ua;if(i||"undefined"==typeof navigator||(i=navigator.userAgent),i&&i.headers&&"string"==typeof i.headers["user-agent"]&&(i=i.headers["user-agent"]),"string"!=typeof i)return!1;let a=t.test(i)&&!n.test(i)||!!e.tablet&&r.test(i);return!a&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==i.indexOf("Macintosh")&&-1!==i.indexOf("Safari")&&(a=!0),a}},22154:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdClickThroughButton=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(53239),s=n(66976),l=a.default.button({all:"unset"},({theme:e})=>({":hover":{opacity:e.opacity.medium},"@media (max-width: 950px)":{":hover":{opacity:e.opacity.decent},bottom:"100%",marginBottom:e.spacing.smaller,opacity:e.opacity.little,paddingLeft:0,position:"absolute"},alignItems:"center",cursor:"pointer",fontFamily:e.fontFamilyBold,fontSize:e.fontSize.normal,fontWeight:e.fontWeight.bold,paddingLeft:e.spacing.medium})),u=a.default.span({});t.AdClickThroughButton=()=>{let{actions:e}=(0,o.useContext)(s.PlayerContext);return(0,i.jsx)(l,Object.assign({type:"button",onClick:e.openAdClickThrough,title:"Zum Werbetreibenden","aria-label":"Zum Werbetreibenden"},{children:(0,i.jsx)(u,{children:"Zum Werbetreibenden"})}))}},22747:function(e,t,n){"use strict";!function(e,t,n){if("object"==typeof n&&"string"!=typeof n.nodeName)t(e,n);else{var n={},r=["1.4.2-iab3703"],i="default";for(var a in i&&r.push(i),t(e,n),n)n.hasOwnProperty(a)&&(null==Object.getOwnPropertyDescriptor(e,a)&&Object.defineProperty(e,a,{value:{}}),r.forEach(function(t){if(null==Object.getOwnPropertyDescriptor(e[a],t)){var r=function e(t){for(var n in t)t.hasOwnProperty(n)&&(t[n]=e(t[n]));return Object.freeze(t)}(n[a]);Object.defineProperty(e[a],t,{get:function(){return r},enumerable:!0})}}))}}(void 0===n.g?this:n.g,function(e,t){var r,i=i||{};i.scope={},i.arrayIteratorImpl=function(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}},i.arrayIterator=function(e){return{next:i.arrayIteratorImpl(e)}},i.makeIterator=function(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):i.arrayIterator(e)},i.arrayFromIterator=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n},i.arrayFromIterable=function(e){return e instanceof Array?e:i.arrayFromIterator(i.makeIterator(e))},i.ASSUME_ES5=!1,i.ASSUME_NO_NATIVE_MAP=!1,i.ASSUME_NO_NATIVE_SET=!1,i.SIMPLE_FROUND_POLYFILL=!1,i.objectCreate=i.ASSUME_ES5||"function"==typeof Object.create?Object.create:function(e){var t=function(){};return t.prototype=e,new t},i.underscoreProtoCanBeSet=function(){var e={};try{return e.__proto__={a:!0},e.a}catch(e){}return!1},i.setPrototypeOf="function"==typeof Object.setPrototypeOf?Object.setPrototypeOf:i.underscoreProtoCanBeSet()?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw TypeError(e+" is not extensible");return e}:null,i.inherits=function(e,t){if(e.prototype=i.objectCreate(t.prototype),e.prototype.constructor=e,i.setPrototypeOf){var n=i.setPrototypeOf;n(e,t)}else for(n in t)if("prototype"!=n)if(Object.defineProperties){var r=Object.getOwnPropertyDescriptor(t,n);r&&Object.defineProperty(e,n,r)}else e[n]=t[n];e.superClass_=t.prototype},i.defineProperty=i.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){e!=Array.prototype&&e!=Object.prototype&&(e[t]=n.value)},i.getGlobal=function(e){e=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof n.g&&n.g,e];for(var t=0;t<e.length;++t){var r=e[t];if(r&&r.Math==Math)return r}return globalThis},i.global=i.getGlobal(this),i.SYMBOL_PREFIX="jscomp_symbol_",i.initSymbol=function(){i.initSymbol=function(){},i.global.Symbol||(i.global.Symbol=i.Symbol)},i.SymbolClass=function(e,t){this.$jscomp$symbol$id_=e,i.defineProperty(this,"description",{configurable:!0,writable:!0,value:t})},i.SymbolClass.prototype.toString=function(){return this.$jscomp$symbol$id_},r=0,i.Symbol=function e(t){if(this instanceof e)throw TypeError("Symbol is not a constructor");return new i.SymbolClass(i.SYMBOL_PREFIX+(t||"")+"_"+r++,t)},i.initSymbolIterator=function(){i.initSymbol();var e=i.global.Symbol.iterator;e||(e=i.global.Symbol.iterator=i.global.Symbol("Symbol.iterator")),"function"!=typeof Array.prototype[e]&&i.defineProperty(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return i.iteratorPrototype(i.arrayIteratorImpl(this))}}),i.initSymbolIterator=function(){}},i.initSymbolAsyncIterator=function(){i.initSymbol();var e=i.global.Symbol.asyncIterator;e||(e=i.global.Symbol.asyncIterator=i.global.Symbol("Symbol.asyncIterator")),i.initSymbolAsyncIterator=function(){}},i.iteratorPrototype=function(e){return i.initSymbolIterator(),(e={next:e})[i.global.Symbol.iterator]=function(){return this},e},i.iteratorFromArray=function(e,t){i.initSymbolIterator(),e instanceof String&&(e+="");var n=0,r={next:function(){if(n<e.length){var i=n++;return{value:t(i,e[i]),done:!1}}return r.next=function(){return{done:!0,value:void 0}},r.next()}};return r[Symbol.iterator]=function(){return r},r},i.polyfill=function(e,t,n,r){if(t){for(r=0,n=i.global,e=e.split(".");r<e.length-1;r++){var a=e[r];a in n||(n[a]={}),n=n[a]}(t=t(r=n[e=e[e.length-1]]))!=r&&null!=t&&i.defineProperty(n,e,{configurable:!0,writable:!0,value:t})}},i.checkEs6ConformanceViaProxy=function(){try{var e={},t=Object.create(new i.global.Proxy(e,{get:function(n,r,i){return n==e&&"q"==r&&i==t}}));return!0===t.q}catch(e){return!1}},i.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS=!1,i.ES6_CONFORMANCE=i.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS&&i.checkEs6ConformanceViaProxy(),i.owns=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.polyfill("WeakMap",function(e){function t(){}function n(e){var t=typeof e;return"object"===t&&null!==e||"function"===t}function r(e){if(!i.owns(e,o)){var n=new t;i.defineProperty(e,o,{value:n})}}function a(e){var n=Object[e];n&&(Object[e]=function(e){return e instanceof t?e:(r(e),n(e))})}if(i.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS){if(e&&i.ES6_CONFORMANCE)return e}else if(function(){if(!e||!Object.seal)return!1;try{var t=Object.seal({}
353),n=Object.seal({}),r=new e([[t,2],[n,3]]);if(2!=r.get(t)||3!=r.get(n))return!1;return r.delete(t),r.set(n,4),!r.has(t)&&4==r.get(n)}catch(e){return!1}}())return e;var o="$jscomp_hidden_"+Math.random();a("freeze"),a("preventExtensions"),a("seal");var s=0,l=function(e){if(this.id_=(s+=Math.random()+1).toString(),e){e=i.makeIterator(e);for(var t;!(t=e.next()).done;)t=t.value,this.set(t[0],t[1])}};return l.prototype.set=function(e,t){if(!n(e))throw Error("Invalid WeakMap key");if(r(e),!i.owns(e,o))throw Error("WeakMap key fail: "+e);return e[o][this.id_]=t,this},l.prototype.get=function(e){return n(e)&&i.owns(e,o)?e[o][this.id_]:void 0},l.prototype.has=function(e){return n(e)&&i.owns(e,o)&&i.owns(e[o],this.id_)},l.prototype.delete=function(e){return!!(n(e)&&i.owns(e,o)&&i.owns(e[o],this.id_))&&delete e[o][this.id_]},l},"es6","es3"),i.MapEntry=function(){},i.polyfill("Map",function(e){if(i.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS){if(e&&i.ES6_CONFORMANCE)return e}else if(function(){if(i.ASSUME_NO_NATIVE_MAP||!e||"function"!=typeof e||!e.prototype.entries||"function"!=typeof Object.seal)return!1;try{var t=Object.seal({x:4}),n=new e(i.makeIterator([[t,"s"]]));if("s"!=n.get(t)||1!=n.size||n.get({x:4})||n.set({x:4},"t")!=n||2!=n.size)return!1;var r=n.entries(),a=r.next();if(a.done||a.value[0]!=t||"s"!=a.value[1])return!1;return!(a=r.next()).done&&4==a.value[0].x&&"t"==a.value[1]&&!!r.next().done}catch(e){return!1}}())return e;i.initSymbolIterator();var t=new WeakMap,n=function(e){if(this.data_={},this.head_=o(),this.size=0,e){e=i.makeIterator(e);for(var t;!(t=e.next()).done;)t=t.value,this.set(t[0],t[1])}};n.prototype.set=function(e,t){var n=r(this,e=0===e?0:e);return n.list||(n.list=this.data_[n.id]=[]),n.entry?n.entry.value=t:(n.entry={next:this.head_,previous:this.head_.previous,head:this.head_,key:e,value:t},n.list.push(n.entry),this.head_.previous.next=n.entry,this.head_.previous=n.entry,this.size++),this},n.prototype.delete=function(e){return!!(e=r(this,e)).entry&&!!e.list&&(e.list.splice(e.index,1),e.list.length||delete this.data_[e.id],e.entry.previous.next=e.entry.next,e.entry.next.previous=e.entry.previous,e.entry.head=null,this.size--,!0)},n.prototype.clear=function(){this.data_={},this.head_=this.head_.previous=o(),this.size=0},n.prototype.has=function(e){return!!r(this,e).entry},n.prototype.get=function(e){return(e=r(this,e).entry)&&e.value},n.prototype.entries=function(){return a(this,function(e){return[e.key,e.value]})},n.prototype.keys=function(){return a(this,function(e){return e.key})},n.prototype.values=function(){return a(this,function(e){return e.value})},n.prototype.forEach=function(e,t){for(var n,r=this.entries();!(n=r.next()).done;)n=n.value,e.call(t,n[1],n[0],this)},n.prototype[Symbol.iterator]=n.prototype.entries;var r=function(e,n){var r=n&&typeof n;"object"==r||"function"==r?t.has(n)?r=t.get(n):(r=""+ ++s,t.set(n,r)):r="p_"+n;var a=e.data_[r];if(a&&i.owns(e.data_,r))for(e=0;e<a.length;e++){var o=a[e];if(n!=n&&o.key!=o.key||n===o.key)return{id:r,list:a,index:e,entry:o}}return{id:r,list:a,index:-1,entry:void 0}},a=function(e,t){var n=e.head_;return i.iteratorPrototype(function(){if(n){for(;n.head!=e.head_;)n=n.previous;for(;n.next!=n.head;)return{done:!1,value:t(n=n.next)};n=null}return{done:!0,value:void 0}})},o=function(){var e={};return e.previous=e.next=e.head=e},s=0;return n},"es6","es3");var a="sessionStart",o="sessionFinish",s={LOADED:"loaded",START:"start",FIRST_QUARTILE:"firstQuartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdQuartile",COMPLETE:"complete",PAUSE:"pause",RESUME:"resume",BUFFER_START:"bufferStart",BUFFER_FINISH:"bufferFinish",SKIPPED:"skipped",VOLUME_CHANGE:"volumeChange",PLAYER_STATE_CHANGE:"playerStateChange",AD_USER_INTERACTION:"adUserInteraction"},l="definedByJavaScript",u="generic",c="full",d="definedByJavaScript",p="NONE",f="DIRECT",h="POST_MESSAGE",m="omid_message_guid",g="omid_message_method",y="omid_message_version",v="omid_message_args",b=function(e,t,n,r){this.guid=e,this.method=t,this.version=n,this.args=r};b.isValidSerializedMessage=function(e){return!!e&&void 0!==e[m]&&void 0!==e[g]&&void 0!==e[y]&&"string"==typeof e[m]&&"string"==typeof e[g]&&"string"==typeof e[y]&&(void 0===e[v]||void 0!==e[v])},b.deserialize=function(e){return new b(e[m],e[g],e[y],e[v])},b.prototype.serialize=function(){var e={};return e[m]=this.guid,e[g]=this.method,e[y]=this.version,void 0!==this.args&&(e[v]=this.args),e};var _=function(e){this.to=e,this.communicationType_=p};_.prototype.sendMessage=function(e,t){},_.prototype.handleMessage=function(e,t){this.onMessage&&this.onMessage(e,t)},_.prototype.serialize=function(e){return JSON.stringify(e)},_.prototype.deserialize=function(e){return JSON.parse(e)},_.prototype.isDirectCommunication=function(){return this.communicationType_===f},_.prototype.isCrossOrigin=function(){};var S={};function E(e,t){if(!t)throw Error("Value for "+e+" is undefined, null or blank.");
353if("string"!=typeof t&&!(t instanceof String))throw Error("Value for "+e+" is not a string.");if(""===t.trim())throw Error("Value for "+e+" is empty string.")}function k(e,t){if(null==t)throw Error("Value for "+e+" is undefined or null")}function A(e,t){if(null==t)throw Error(e+" must not be null or undefined.");if("number"!=typeof t||isNaN(t))throw Error("Value for "+e+" is not a number")}function T(e,t,n,r){if(A(e,t),t<n||t>r)throw Error("Value for "+e+" is outside the range ["+n+","+r+"]")}function x(e,t){return e&&(e[t]||(e[t]={}))}function w(e,n,r){(r=void 0===r?void 0===t?null:t:r)&&((e=e.split(".")).slice(0,e.length-1).reduce(x,r)[e[e.length-1]]=n)}S.assertTruthyString=E,S.assertNotNullObject=k,S.assertNumber=A,S.assertNumberBetween=T,S.assertFunction=function(e,t){if(!t)throw Error(e+" must not be truthy.")},S.assertPositiveNumber=function(e,t){if(A(e,t),0>t)throw Error(e+" must be a positive number.")},w("OmidSessionClient.Partner",function(e,t){E("Partner.name",e),E("Partner.version",t),this.name=e,this.version=t});var C=function(e,t,n,r){r=void 0===r?c:r,E("VerificationScriptResource.resourceUrl",e),this.resourceUrl=e,this.vendorKey=t,this.verificationParameters=n,this.accessMode=r};C.prototype.toJSON=function(){return{accessMode:this.accessMode,resourceUrl:this.resourceUrl,vendorKey:this.vendorKey,verificationParameters:this.verificationParameters}},w("OmidSessionClient.VerificationScriptResource",C);var I=function(e,t,n,r){n=void 0===n?null:n,r=void 0===r?null:r,k("Context.partner",e),this.partner=e,this.verificationScriptResources=t,this.videoElement=this.slotElement=null,this.contentUrl=n,this.customReferenceData=r,this.underEvaluation=!1,this.serviceWindow=null};I.prototype.setVideoElement=function(e){k("Context.videoElement",e),this.videoElement=e},I.prototype.setSlotElement=function(e){k("Context.slotElement",e),this.slotElement=e},I.prototype.setServiceWindow=function(e){k("Context.serviceWindow",e),this.serviceWindow=e},w("OmidSessionClient.Context",I);var O={};O.omidGlobal=function(){if(void 0!==e&&e)return e;if(void 0!==n.g&&n.g)return n.g;if("undefined"!=typeof window&&window)return window;if("undefined"!=typeof globalThis&&globalThis)return globalThis;var t=Function("return this")();if(t)return t;throw Error("Could not determine global object context.")}();var R={sessionError:"reportError"},P=Object.keys(s).map(function(e){return s[e]}),N=["impressionOccurred"],L=function(e){e=void 0===e?O.omidGlobal:e,this.interfaceRoot_=e.omidSessionInterface};L.prototype.isSupported=function(){return null!=this.interfaceRoot_},L.prototype.sendMessage=function(e,t,n){if("registerSessionObserver"==e&&(n=[t]),R[e]&&(e=R[e]),t=this.interfaceRoot_,0<=N.indexOf(e)&&(t=t.adEvents),0<=P.indexOf(e)&&(t=t.mediaEvents),!(t=t[e]))throw Error("Unrecognized method name: "+e+".");t.apply(null,i.arrayFromIterable(n))};var j={};function M(e){for(var t=[],n=0;n<arguments.length;++n)t[n-0]=arguments[n];D(function(){throw new(Function.prototype.bind.apply(Error,[null,"Could not complete the test successfully - "].concat(i.arrayFromIterable(t))))},function(){return console.error.apply(console,i.arrayFromIterable(t))})}function D(e,t){"undefined"!=typeof jasmine&&jasmine?e():"undefined"!=typeof console&&console&&console.error&&t()}j.error=M,j.debug=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n-0]=arguments[n];D(function(){},function(){return console.error.apply(console,i.arrayFromIterable(t))})};var F={};function U(e){return/\d+\.\d+\.\d+(-.*)?/.test(e)}function V(e,t){e=e.split("-")[0].split("."),t=t.split("-")[0].split(".");for(var n=0;n<3;n++){var r=parseInt(e[n],10),i=parseInt(t[n],10);if(r>i)break;if(r<i)return!1}return!0}F.isValidVersion=U,F.versionGreaterOrEqual=V;var B={},G="1.0.3";function Y(e,t){return U(e)&&V(e,G)?t:JSON.stringify(t)}function z(e,t){return U(e)&&V(e,G)?t||[]:t&&"string"==typeof t?JSON.parse(t):[]}B.serializeMessageArgs=Y,B.deserializeMessageArgs=z;var W={},Z="SessionService.",H="VerificationService.";function K(e){return Z+e}function X(e){return J(e,Z)}function $(e){return J(e,H)}function J(e,t){return(e=e.match(RegExp("^"+t+"(.*)")))&&e[1]}W.getPrefixedSessionServiceMethod=K,W.getPrefixedVerificationServiceMethod=function(e){return H+e},W.getUnprefixedSessionServiceMethod=X,W.getUnprefixedVerificationServiceMethod=$,W.isPrefixedSessionServiceMethod=function(e){return null!=X(e)},W.isPrefixedVerificationServiceMethod=function(e){return null!=$(e)};var q={};function Q(e){return null!=e&&void 0!==e.top&&null!=e.top}function ee(e){if(e===O.omidGlobal)return!1;try{var t;if(void 0===e.location.hostname)return!0;t=e,""===t.x||t.x}catch(e){return!0}return!1}function et(e){return void 0===e&&"undefined"!=typeof window&&window&&(e=window),Q(e)?e:O.omidGlobal}function en(e){return Q(e)?e.top:O.omidGlobal}q.evaluatePageUrl=function(e){if(!Q(e))return null;try{var t=e.top;return ee(t)?null:t.location.href}catch(e){return null}},q.isCrossOrigin=ee,q.removeDomElements=function(e){return e.type===a&&(void 0!==e.data.context.videoElement&&(e.data.context.videoElement="DOM Video Element - Present but not parsed to avoid parse error"),void 0!==e.data.context.slotElement&&(e.data.context.slotElement="DOM Slot Element - Present but not parsed to avoid parse error")),e},q.resolveGlobalContext=et,q.resolveTopWindowContext=en,q.isTopWindowAccessible=function(e){try{return!!e.top.location.href}catch(e){return!1}};var er=function(e){_.call(this,e),this.communicationType_=f,this.handleExportedMessage=er.prototype.handleExportedMessage.bind(this)};i.inherits(er,_),er.prototype.sendMessage=function(e,t){if(!(t=void 0===t?this.to:t))throw Error("Message destination must be defined at construction time or when sending the message.");t.handleExportedMessage(e.serialize(),this)},er.prototype.handleExportedMessage=function(e,t){b.isValidSerializedMessage(e)&&this.handleMessage(b.deserialize(e),t)},er.prototype.isCrossOrigin=function(){return!1};var ei=function(e,t){t=void 0===t?O.omidGlobal:t,_.call(this,t);var n=this;this.communicationType_=h,e.addEventListener("message",function(e){if("object"==typeof e.data){var t=e.data;b.isValidSerializedMessage(t)&&(t=b.deserialize(t),e.source&&n.handleMessage(t,e.source))}})};i.inherits(ei,_),ei.isCompatibleContext=function(e){return!!(e&&e.addEventListener&&e.postMessage)},ei.prototype.sendMessage=function(e,t){if(!(t=void 0===t?this.to:t))throw Error("Message destination must be defined at construction time or when sending the message.");t.postMessage(e.serialize(),"*")},ei.prototype.isCrossOrigin=function(){return!this.to||ee(this.to)};var ea={OMID_PRESENT_FRAME_NAME:"omid_v1_present",isOmidPresent:function(e){try{return!!e.frames&&!!e.frames[ea.OMID_PRESENT_FRAME_NAME]}catch(e){return!1}},declareOmidPresence:function(e){e.frames&&e.document&&(ea.OMID_PRESENT_FRAME_NAME in e.frames||(null==e.document.body&&ea.isMutationObserverAvailable_(e)?ea.registerMutationObserver_(e):e.document.body?ea.appendPresenceIframe_(e):e.document.write('
353<iframe style="display:none" id="'+ea.OMID_PRESENT_FRAME_NAME+'" name="'+ea.OMID_PRESENT_FRAME_NAME+'"></iframe>')))},appendPresenceIframe_:function(e){var t=e.document.createElement("iframe");t.id=ea.OMID_PRESENT_FRAME_NAME,t.name=ea.OMID_PRESENT_FRAME_NAME,t.style.display="none",e.document.body.appendChild(t)},isMutationObserverAvailable_:function(e){return"MutationObserver"in e},registerMutationObserver_:function(e){var t=new MutationObserver(function(n){n.forEach(function(n){"BODY"===n.addedNodes[0].nodeName&&(ea.appendPresenceIframe_(e),t.disconnect())})});t.observe(e.document.documentElement,{childList:!0})}},eo={},es=["omid","v1_SessionServiceCommunication"],el=["omid","v1_VerificationServiceCommunication"],eu=["omidVerificationProperties","serviceWindow"];function ec(e,t){return t.reduce(function(e,t){return e&&e[t]},e)}function ed(e,t,n,r){t=i.makeIterator(t);for(var a=t.next();!a.done;a=t.next())if(a=function(e,t,n,r){if(!ee(t))try{var i=ec(t,n);if(i)return new er(i)}catch(e){}return r(t)?new ei(e,t):null}(e,a.value,n,r))return a;return null}function ep(e,t,n){n=void 0===n?ea.isOmidPresent:n;var r=[e,en(e)];return t&&r.unshift(t),ed(e,r,es,n)}eo.startSessionServiceCommunication=ep,eo.startVerificationServiceCommunication=function(e,t){t=void 0===t?ea.isOmidPresent:t;var n=[],r=ec(e,eu);return r&&n.push(r),n.push(en(e)),ed(e,n,el,t)};var ef="1.4.2-iab3703",eh=function(e,t,n){k("AdSession.context",e),this.context_=e,this.impressionOccurred_=!1;var r=this.context_.serviceWindow||void 0;this.communication_=t||ep(et(),r),this.sessionInterface_=n||new L,this.isSessionRunning_=this.hasMediaEvents_=this.hasAdEvents_=!1,this.impressionType_=this.creativeType_=null,this.creativeLoaded_=!1,this.callbackMap_={},this.communication_&&(this.communication_.onMessage=this.handleInternalMessage_.bind(this)),this.setClientInfo_(),this.injectVerificationScripts_(e.verificationScriptResources),this.sendSlotElement_(e.slotElement),this.sendVideoElement_(e.videoElement),this.sendContentUrl_(e.contentUrl),this.watchSessionEvents_()};eh.prototype.setCreativeType=function(e){if(e===d)throw Error("Creative type cannot be redefined with value "+d);if(this.impressionOccurred_)throw Error("Impression has already occurred");if(this.creativeLoaded_)throw Error("Creative has already loaded");if(this.creativeType_&&this.creativeType_!==d)throw Error("Creative type cannot be redefined");if(void 0===this.creativeType_)throw Error("Native integration is using OMID 1.2 or earlier");this.sendOneWayMessage("setCreativeType",e),this.creativeType_=e},eh.prototype.setImpressionType=function(e){if(e===l)throw Error("Impression type cannot be redefined with value "+l);if(this.impressionOccurred_)throw Error("Impression has already occurred");if(this.creativeLoaded_)throw Error("Creative has already loaded");if(this.impressionType_&&this.impressionType_!==l)throw Error("Impression type cannot be redefined");if(void 0===this.impressionType_)throw Error("Native integration is using OMID 1.2 or earlier");this.sendOneWayMessage("setImpressionType",e),this.impressionType_=e},eh.prototype.isSupported=function(){return!!this.communication_||this.sessionInterface_.isSupported()},eh.prototype.isSendingElementsSupported_=function(){return this.communication_?this.communication_.isDirectCommunication():this.sessionInterface_.isSupported()},eh.prototype.registerSessionObserver=function(e){this.sendMessage("registerSessionObserver",e)},eh.prototype.start=function(){this.sendOneWayMessage("startSession",{customReferenceData:this.context_.customReferenceData,underEvaluation:this.context_.underEvaluation})},eh.prototype.finish=function(){this.sendOneWayMessage("finishSession")},eh.prototype.error=function(e,t){this.sendOneWayMessage("sessionError",e,t)},eh.prototype.registerAdEvents=function(){if(this.hasAdEvents_)throw Error("AdEvents already registered.");this.hasAdEvents_=!0,this.sendOneWayMessage("registerAdEvents")},eh.prototype.registerMediaEvents=function(){if(this.hasMediaEvents_)throw Error("MediaEvents already registered.");this.hasMediaEvents_=!0,this.sendOneWayMessage("registerMediaEvents")},eh.prototype.sendOneWayMessage=function(e,t){for(var n=[],r=1;r<arguments.length;++r)n[r-1]=arguments[r];this.sendMessage.apply(this,[e,null].concat(i.arrayFromIterable(n)))},eh.prototype.sendMessage=function(e,t,n){for(var r=[],i=2;i<arguments.length;++i)r[i-2]=arguments[i];this.communication_?this.sendInternalMessage_(e,t,r):this.sessionInterface_.isSupported()&&this.sendInterfaceMessage_(e,t,r)},eh.prototype.sendInternalMessage_=function(e,t,n){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return"y"===e?(3&t|8).toString(16):t.toString(16)});t&&(this.callbackMap_[r]=t),e=new b(r,K(e),ef,Y(ef,n)),this.communication_.sendMessage(e)},eh.prototype.handleInternalMessage_=function(e,t){t=e.method;var n=e.guid;if(e=e.args,"response"===t&&this.callbackMap_[n]){var r=z(ef,e);this.callbackMap_[n].apply(this,r)}"error"===t&&window.console&&M(e)},eh.prototype.sendInterfaceMessage_=function(e,t,n){try{this.sessionInterface_.sendMessage(e,t,n)}catch(e){M("Failed to communicate with SessionInterface with error:"),M(e)}},eh.prototype.assertSessionRunning=function(){if(!this.isSessionRunning_)throw Error("Session not started.")},eh.prototype.impressionOccurred=function(){if(this.creativeType_===d)throw Error("Creative type has not been redefined");if(this.impressionType_===l)throw Error("Impression type has not been redefined");this.impressionOccurred_=!0},eh.prototype.creativeLoaded=function(){if(this.creativeType_===d)throw Error("Creative type has not been redefined");if(this.impressionType_===l)throw Error("Impression type has not been redefined");this.creativeLoaded_=!0},eh.prototype.setClientInfo_=function(){this.sendOneWayMessage("setClientInfo",ef,this.context_.partner.name,this.context_.partner.version)}
353,eh.prototype.injectVerificationScripts_=function(e){e&&(e=e.map(function(e){return e.toJSON()}),this.sendOneWayMessage("injectVerificationScriptResources",e))},eh.prototype.sendSlotElement_=function(e){this.sendElement_(e,"setSlotElement")},eh.prototype.sendVideoElement_=function(e){this.sendElement_(e,"setVideoElement")},eh.prototype.sendElement_=function(e,t){e&&(this.isSendingElementsSupported_()?this.sendOneWayMessage(t,e):this.error(u,"Session Client "+t+" called when communication is cross-origin"))},eh.prototype.sendContentUrl_=function(e){e&&this.sendOneWayMessage("setContentUrl",e)},eh.prototype.setElementBounds=function(e){k("AdSession.elementBounds",e),this.sendOneWayMessage("setElementBounds",e)},eh.prototype.watchSessionEvents_=function(){var e=this;this.registerSessionObserver(function(t){t.type===a&&(e.isSessionRunning_=!0,e.creativeType_=t.data.creativeType,e.impressionType_=t.data.impressionType),t.type===o&&(e.isSessionRunning_=!1)})},w("OmidSessionClient.AdSession",eh);var em=function(e,t,n,r){this.isSkippable=e,this.skipOffset=t,this.isAutoPlay=n,this.position=r};em.prototype.toJSON=function(){return{isSkippable:this.isSkippable,skipOffset:this.skipOffset,isAutoPlay:this.isAutoPlay,position:this.position}};var eg=function(e){k("AdEvents.adSession",e);try{e.registerAdEvents(),this.adSession=e}catch(e){throw Error("AdSession already has an ad events instance registered")}};eg.prototype.impressionOccurred=function(){this.adSession.assertSessionRunning(),this.adSession.impressionOccurred(),this.adSession.sendOneWayMessage("impressionOccurred")},eg.prototype.loaded=function(e){e=void 0===e?null:e,this.adSession.creativeLoaded(),e?this.adSession.sendOneWayMessage("loaded",e.toJSON()):this.adSession.sendOneWayMessage("loaded")},w("OmidSessionClient.AdEvents",eg);var ey=function(e){k("MediaEvents.adSession",e);try{e.registerMediaEvents(),this.adSession=e}catch(e){throw Error("AdSession already has a media events instance registered")}};ey.prototype.start=function(e,t){A("MediaEvents.start.duration",e),T("MediaEvents.start.mediaPlayerVolume",t,0,1),this.adSession.sendOneWayMessage("start",e,t)},ey.prototype.firstQuartile=function(){this.adSession.sendOneWayMessage("firstQuartile")},ey.prototype.midpoint=function(){this.adSession.sendOneWayMessage("midpoint")},ey.prototype.thirdQuartile=function(){this.adSession.sendOneWayMessage("thirdQuartile")},ey.prototype.complete=function(){this.adSession.sendOneWayMessage("complete")},ey.prototype.pause=function(){this.adSession.sendOneWayMessage("pause")},ey.prototype.resume=function(){this.adSession.sendOneWayMessage("resume")},ey.prototype.bufferStart=function(){this.adSession.sendOneWayMessage("bufferStart")},ey.prototype.bufferFinish=function(){this.adSession.sendOneWayMessage("bufferFinish")},ey.prototype.skipped=function(){this.adSession.sendOneWayMessage("skipped")},ey.prototype.volumeChange=function(e){T("MediaEvents.volumeChange.mediaPlayerVolume",e,0,1),this.adSession.sendOneWayMessage("volumeChange",e)},ey.prototype.playerStateChange=function(e){k("MediaEvents.playerStateChange.playerState",e),this.adSession.sendOneWayMessage("playerStateChange",e)},ey.prototype.adUserInteraction=function(e){k("MediaEvents.adUserInteraction.interactionType",e),this.adSession.sendOneWayMessage("adUserInteraction",e)},w("OmidSessionClient.MediaEvents",ey),w("OmidSessionClient.OmidVersion",function(e,t){E("OmidVersion.semanticVersion",e),E("OmidVersion.apiLevel",t)}),w("OmidSessionClient.VastProperties",em);var ev={VerificationVendorId:{OTHER:1,MOAT:2,DOUBLEVERIFY:3,INTEGRAL_AD_SCIENCE:4,PIXELATE:5,NIELSEN:6,COMSCORE:7,MEETRICS:8,GOOGLE:9}};function eb(e){for(var t=i.makeIterator(e_.keys()),n=t.next();!n.done;n=t.next()){n=n.value;for(var r=i.makeIterator(e_.get(n)),a=r.next();!a.done;a=r.next())if(a.value.test(e))return n}return ev.VerificationVendorId.OTHER}var e_=new Map([[ev.VerificationVendorId.MOAT,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.moatads\.com\/.*$/]],[ev.VerificationVendorId.DOUBLEVERIFY,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.doubleverify\.com\/.*$/,/^(https?:\/\/|\/\/)?c\.[\w\-]+\.com\/vfw\/dv\/.*$/,/^(https?:\/\/|\/\/)?(www\.)?[\w]+\.tv\/r\/s\/d\/.*$/]],[ev.VerificationVen
353dorId.INTEGRAL_AD_SCIENCE,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.adsafeprotected\.com\/.*$/]],[ev.VerificationVendorId.PIXELATE,[/^https?:\/\/(q|cdn)\.adrta\.com\/s\/.*\/(aa|aanf)\.js.*$/,/^https:\/\/cdn\.rta247\.com\/s\/.*\/(aa|aanf)\.js.*$/]],[ev.VerificationVendorId.NIELSEN,[]],[ev.VerificationVendorId.COMSCORE,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.voicefive\.com\/.*$/,/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.measuread\.com\/.*$/,/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.scorecardresearch\.com\/.*$/]],[ev.VerificationVendorId.MEETRICS,[/^(https?:\/\/|\/\/)?s418\.mxcdn\.net\/bb-serve\/omid-meetrics.*\.js$/]],[ev.VerificationVendorId.GOOGLE,[/^(https?:\/\/|\/\/)?pagead2\.googlesyndication\.com\/.*$/,/^(https?:\/\/|\/\/)?www\.googletagservices\.com\/.*$/]]]);w("OmidSessionClient.verificationVendorIdForScriptUrl",eb),w("OmidSessionClient.VerificationVendorId",ev.VerificationVendorId),ev.verificationVendorIdForScriptUrl=eb;var eS={};function eE(e,t){return .01>Math.abs(e-t)}eS.roughlyLessThan=function(e,t){return t-e>.01},eS.lessThanOrRoughlyEqual=function(e,t){return e<t||eE(e,t)},eS.greaterThanOrRoughlyEqual=function(e,t){return e>t||eE(e,t)}},t)},22777:(e,t,n)=>{"use strict";let r=n(59012),i=e=>{if(!((Number.isInteger(e)||e===1/0)&&e>0))return Promise.reject(TypeError("Expected `concurrency` to be a number from 1 and up"));let t=[],n=0,i=()=>{n--,t.length>0&&t.shift()()},a=(e,t,...a)=>{n++;let o=r(e,...a);t(o),o.then(i,i)},o=(r,...i)=>new Promise(o=>((r,i,...o)=>{n<e?a(r,i,...o):t.push(a.bind(null,r,i,...o))})(r,o,...i));return Object.defineProperties(o,{activeCount:{get:()=>n},pendingCount:{get:()=>t.length},clearQueue:{value:()=>{t.length=0}}}),o};e.exports=i,e.exports.default=i},22851:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.platformPlayerEvents=t.createPlatformPlayerEventEmitter=void 0,t.createPlatformPlayerEventEmitter=n(7939).createEventEmitter,t.platformPlayerEvents=["airPlayAvailableStateChanged","airPlayEntered","airPlayExited","appBackgrounded","appForegrounded","audioTrackSelected","audioTracksUpdated","bufferedTimeRangesUpdate","durationUpdate","error","fullscreenEntered","fullscreenExited","paused","pictureInPictureAvailableStateChanged","pictureInPictureEntered","pictureInPictureExited","play","playbackFinished","playing","positionChange","ready","seek","seekTo","seekableRangeUpdate","seeked","sourceLoad","stallEnded","stallStarted","subtitleCuesChanged","subtitleSelected","subtitleUnselected","subtitlesUpdated","videoQualityChanged","volumeChanged"]},22940:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLiveChannelDataService=void 0;let r=n(21639),i=n(7939),a=n(68816);t.createLiveChannelDataService=function(e){let{clock:t,errorReporter:n,fetchElectronicProgramGuideData:o,waitForUserState:s,liveChannelGroupFilter:l}=e,u=(0,r.interpret)((0,a.createLiveChannelDataStateMachine)({clock:t,errorReporter:n,fetchElectronicProgramGuideData:o,liveChannelGroupFilter:l,waitForUserState:s})),c=(0,i.createEventEmitter)(),d=!1;return u.onChange((e,t)=>{e===t||d||c.emit("update",{bookmarkedBrandIds:e.bookmarkedBrandIds,liveChannels:e.liveChannels,startOfCurrentHourTimestamp:e.startOfCurrentHourTimestamp,startOfCurrentMinuteTimestamp:e.startOfCurrentMinuteTimestamp})}),u.start(),{addUpdateEventListener(e){c.on("update",e)},destroy(){d=!0,c.destroy(),u.send("DISABLE_FETCHING_MODE"),u.stop()},disableFetchingMode(){u.send("DISABLE_FETCHING_MODE")},enableFetchingMode(){u.send("ENABLE_FETCHING_MODE")},getLiveChannels:e=>(u.send("REFETCH",{livestreamGroupFilter:e.unwrapOr("DEFAULT")}),u.getSnapshot().context.liveChannels),getStartOfCurrentHourTimestamp:()=>u.getSnapshot().context.startOfCurrentHourTimestamp,getStartOfCurrentMinuteTimestamp:()=>u.getSnapshot().context.startOfCurrentMinuteTimestamp}}},23017:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vastAdVerificationsSchema=void 0;let r=n(92712),i=r.z.array(r.z.object({$event:r.z.string().optional(),value:r.z.string()}).passthrough()),a=r.z.object({$vendor:r.z.string(),executableresource:r.z.object({$apiframework:r.z.string(),language:r.z.string(),value:r.z.string()}).optional(),javascriptresource:r.z.object({$apiframework:r.z.union([r.z.string(),r.z.literal("omid")]),$browseroptional:r.z.string().optional(),value:r.z.string()}).optional(),trackingevents:r.z.object({tracking:i.optional()}).passthrough().optional(),verificationparameters:r.z.object({value:r.z.string()}).optional()}).passthrough();t.vastAdVerificationsSchema=r.z.object({verification:r.z.array(a).optional()})},23307:(e,t,n)=>{var r=n(54906),i=n(16421),a=n(60161),o=r.extend({constructor:function(e,t,n,r){this.xhr=this.createXHR(),this.host=e||"",this.service=t||"",this.params=n||{},this.options=a.assign({},o.defaultOptions,r),this.retries=0,this.sendPostRequest=!1,this.preparedPostRequest=!1,this.options.cache||this.setParam("timemark",new Date().getTime())},createXHR:function(){var e={};try{e=XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP")}catch(e){i.error(e)}return e},getXHR:function(){return this.xhr},getResponse:function(){return this.xhr.response},getResponseText:function(){return this.xhr.responseText},getResponseHeaders:function(){return this.xhr.getAllResponseHeaders()},getUrl:function(){return this.host+this.service+this.getParamString()},on:function(e,t,n){return this.xhr.addEventListener?this.xhr.addEventListener(e,t.bind(this,this,n)):e===o.Event.SUCCESS&&(this.xhr.onreadystatechange=(function(){4===this.xhr.readyState&&t.bind(this,this,n)}).bind(this)),this},off:function(e,t){return this.xhr.removeEventListener(e,t),this},getParamString:function(){try{var e="?";for(var t in this.params){var n=this.params[t];if(null!==n&&"object"==typeof n){var r=JSON.stringify(n);"{}"!==r&&(e+=encodeURIComponent(t)+"="+encodeURIComponent(r)+"&")}else null!=n&&""!==n&&(e+=encodeURIComponent(t)+"="+encodeURIComponent(n)+"&")}return e.slice(0,-1)}catch(e){return i.error(e),""}},getParam:function(e){return this.params[e]},setParam:function(e,t){return this.params[e]=t,this},setBody:function(e){this.body=e},setPostRequest:function(e){this.sendPostRequest=e},getParamsForPostMessages:function(){var e={};
353try{var t=this.getParam("timemark"),n=this.getParam("code"),r=this.getParam("sessionRoot"),a=this.getParam("sessionId");t&&(e.timemark=t),n&&(e.code=n),r&&(e.sessionRoot=r),a&&(e.sessionId=a)}catch(e){i.error(e)}return e},send:function(){try{try{this.sendPostRequest&&!this.preparedPostRequest&&(this.options.method="POST",this.body=JSON.stringify(this.params),this.params=this.getParamsForPostMessages(),this.preparedPostRequest=!0)}catch(e){}if(this.xhr.open(this.options.method,this.getUrl(),!0),this.options.requestHeaders)for(var e in this.options.requestHeaders)this.options.requestHeaders.hasOwnProperty(e)&&this.xhr.setRequestHeader(e,this.options.requestHeaders[e]);for(var t in this.options.retryAfter>0&&this.options.maxRetries>0&&0===this.retries&&this.on(o.Event.ERROR,(function(){if(this.retries>=this.options.maxRetries)i.error('Aborting failed request "'+this.service+'". Max retries reached.');else{i.warn('YBRequest "'+this.service+'" failed. Retry '+(this.retries+1)+" of "+this.options.maxRetries+" in "+this.options.retryAfter+"ms.");try{setTimeout((function(){this.retries+=1,this.send()}).bind(this),this.options.retryAfter)}catch(e){"undefined"!=typeof atv?atv.setTimeout((function(){this.retries+=1,this.send()}).bind(this),this.options.retryAfter):i.error(e)}}}).bind(this)),i.logLevel<=i.Level.VERBOSE&&i.verbose("XHR Req: "+this.getUrl()),o._globalListeners)o._globalListeners[t].forEach((function(e){this.on(t,e)}).bind(this));return this.xhr.send(this.body)}catch(e){i.error(e)}}},{Event:{SUCCESS:"load",LOAD:"load",ERROR:"error",ABORT:"abort"},defaultOptions:{method:"GET",requestHeaders:{},maxRetries:3,retryAfter:5e3,cache:!1},_globalListeners:{},onEvery:function(e,t){o._globalListeners[e]=o._globalListeners[e]||[],o._globalListeners[e].push(t)},offEvery:function(e,t){if(o._globalListeners[e]){var n=o._globalListeners[e].indexOf(t);-1!==n&&o._globalListeners[e].splice(n,1)}}});e.exports=o},23507:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RestrictedContentOnDemandOverlay=t.ContentGradient=t.RestrictedContentOnDemandOverlayStyled=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(19577)),s=n(53239),l=n(66976),u=n(37514),c=n(31511),d=n(36569),p=n(98263);t.RestrictedContentOnDemandOverlayStyled=a.default.div(({backgroundImage:e})=>({alignItems:"flex-start",backgroundColor:"#000000",backgroundImage:o.default.string(e)?`url(${e})`:"",backgroundPosition:"center center",backgroundRepeat:"no-repeat",backgroundSize:"cover",boxSizing:"border-box",display:"flex",flexDirection:"column",height:"100%",justifyContent:"center",left:0,padding:"0 40px",position:"absolute",top:0,width:"100%",zIndex:u.dialogLayer}));let f=a.default.h2(({theme:e})=>({fontFamily:e.fontFamilyBold,fontSize:"28px",lineHeight:"33px",margin:"0 0 50px"})),h=(0,a.default)(c.BrandLogo)({marginBottom:"20px"}),m=(0,a.default)(d.ProgramTitle)({marginBottom:"15px"}),g=a.default.div({backgroundImage:"linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%)",height:"100%",left:0,position:"absolute",top:0,width:"100%",zIndex:-1});t.ContentGradient=a.default.div(({gradientColor:e})=>({backgroundImage:`linear-gradient(180deg, transparent 50%, ${e})`,height:"100%",left:0,position:"absolute",top:0,width:"100%",zIndex:-2})),t.RestrictedContentOnDemandOverlay=({buttonListEntries:e,headerText:n,shouldBeShownForLiveContentResource:r})=>{let{state:a}=(0,s.useContext)(l.PlayerContext),{contentResource:u,vibrantColor:c,title:d,poster:y}=(e=>{var t;if(o.default.nullOrUndefined(e.playlistIndex)||o.default.nullOrUndefined(e.playlistChildIndex))return{contentResource:void 0,title:void 0,vibrantColor:"rgb(102, 102, 102)"};let n=null==(t=e.livePlaylistItems.find(t=>t.playlistIndex===e.playlistIndex))?void 0:t.contentResource,r=o.default.nullOrUndefined(n)?void 0:n.onDemandContentResources[e.playlistChildIndex],i=o.default.nullOrUndefined(r)?void 0:(e=>{switch(e.contentType){case"compilation":return e.compilationItemTitle;case"movie":case"short-form":case"clip":return e.title;case"series":return e.episodeTitle;case"sports-match":return e.sportsMatchTitle;default:return}})(r),a=o.default.nullOrUndefined(r)?void 0:(e=>{var t;switch(e.contentType){case"compilation":case"movie":case"short-form":case"series":case"sports-match":return null==(t=e.poster)?void 0:t.toString();default:return}})(r),s=o.default.nullOrUndefined(r)?"rgb(102, 102, 102)":(e=>{var t;switch(e.contentType){case"compilation":case"movie":case"short-form":case"series":case"sports-match":return null!=(t=e.primaryColor)?t:"rgb(102, 102, 102)";default:return"rgb(102, 102, 102)"}})(r);return{contentResource:n,contentResourceItem:r,poster:a,title:i,vibrantColor:s}})(a);return o.default.object(u)&&r(a)?(0,i.jsxs)(t.RestrictedContentOnDemandOverlayStyled,Object.assign({backgroundImage:y},{children:[(0,i.jsx)(g,{}),(0,i.jsx)(t.ContentGradient,{gradientColor:c}),(0,i.jsx)(h,{brandLogo:u.brandLogo,title:u.brandName}),(0,i.jsx)(m,{title:d}),(0,i.jsx)(f,{children:n}),(0,i.jsx)(p.RestrictedContentButtonList,{listEntries:e,mainButtonHoverColor:c})]})):null}},23669:(e,t)=>{"use strict";
353Object.defineProperty(t,"__esModule",{value:!0}),t.createRealClock=void 0,t.createRealClock=function(){return{clearTimeout(e){globalThis.clearTimeout(e)},getCurrentTimestamp:()=>Date.now(),setTimeout:(e,t,...n)=>globalThis.setTimeout(e,t,...n)}}},23751:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.zodNumericStringSchema=t.zodRequiredStringSchema=t.adValueSchema=t.zodIabNumberSchema=t.zodIabStringSchema=t.AdErrorMessage=void 0;let i=n(70015).__importDefault(n(19577)),a=n(92712),o=n(50454);!function(e){e.VAST_VALIDATION_FAILED="invalid vast",e.ERROR_TYPE_MISSING="missing",e.ERROR_TYPE_UNDEFINED_OR_LENGTH='"undefined" or .length is 0'}(r=t.AdErrorMessage||(t.AdErrorMessage={})),t.zodIabStringSchema=(e,t)=>a.z.string().optional().refine(Boolean,{message:null!=e?e:r.VAST_VALIDATION_FAILED,params:{code:null!=t?t:o.iabVastErrorCode.VAST_SCHEMA_VALIDATION_ERROR}}),t.zodIabNumberSchema=(e,t)=>a.z.number().optional().refine(Boolean,{message:null!=e?e:r.VAST_VALIDATION_FAILED,params:{code:null!=t?t:o.iabVastErrorCode.VAST_SCHEMA_VALIDATION_ERROR}}),t.adValueSchema=a.z.object({value:(0,t.zodIabStringSchema)(r.ERROR_TYPE_MISSING)}).optional().refine(Boolean,{message:r.ERROR_TYPE_MISSING,params:{code:o.iabVastErrorCode.VAST_SCHEMA_VALIDATION_ERROR}}),t.zodRequiredStringSchema=e=>a.z.string().refine(Boolean,{message:e}),t.zodNumericStringSchema=e=>a.z.string().refine(i.default.numericString,{message:`${e} is not a numeric string`})},23889:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetchAndBuildContentResourcesForMovie=void 0;let r=n(70015);t.createFetchAndBuildContentResourcesForMovie=function(e,t){let{buildContentResourceForMovie:n,fetchMovie:i,graphqlClient:a}=e,{graphqlEndpoint:o,graphqlServiceApiKey:s}=t;return function(e){return r.__awaiter(this,void 0,void 0,function*(){let{movieId:t,userState:r,userToken:l}=e;return[n((yield i({graphqlClient:a},{graphqlEndpoint:o,graphqlServiceApiKey:s,movieId:t,userState:r,userToken:l})))]})}}},23957:(e,t,n)=>{"use strict";n.d(t,{$x:()=>d,Mb:()=>f,qg:()=>c,u8:()=>p});var r=n(5311),i=n(35178),a=n(95340),o=n(26447),s=n(89556),l=n(72391),u=n(32355);function c(e,t){return new h(e,t).parseDocument()}function d(e,t){let n=new h(e,t);n.expectToken(u.Y.SOF);let r=n.parseValueLiteral(!1);return n.expectToken(u.Y.EOF),r}function p(e,t){let n=new h(e,t);n.expectToken(u.Y.SOF);let r=n.parseConstValueLiteral();return n.expectToken(u.Y.EOF),r}function f(e,t){let n=new h(e,t);n.expectToken(u.Y.SOF);let r=n.parseTypeReference();return n.expectToken(u.Y.EOF),r}class h{constructor(e,t={}){let n=(0,l._)(e)?e:new l.k(e);this._lexer=new s.J(n),this._options=t,this._tokenCounter=0}parseName(){let e=this.expectToken(u.Y.NAME);return this.node(e,{kind:o.b.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:o.b.DOCUMENT,definitions:this.many(u.Y.SOF,this.parseDefinition,u.Y.EOF)})}parseDefinition(){if(this.peek(u.Y.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===u.Y.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw(0,r.I)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(u.Y.BRACE_L))return this.node(t,{kind:o.b.OPERATION_DEFINITION,operation:i.cE.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseOperationType();return this.peek(u.Y.NAME)&&(e=this.parseName()),this.node(t,{kind:o.b.OPERATION_DEFINITION,operation:n,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(u.Y.NAME);switch(e.value){case"query":return i.cE.QUERY;case"mutation":return i.cE.MUTATION;case"subscription":return i.cE.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(u.Y.PAREN_L,this.parseVariableDefinition,u.Y.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:o.b.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(u.Y.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(u.Y.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(u.Y.DOLLAR),this.node(e,{kind:o.b.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:o.b.SELECTION_SET,selections:this.many(u.Y.BRACE_L,this.parseSelection,u.Y.BRACE_R)})}parseSelection(){return this.peek(u.Y.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(u.Y.COLON)?(e=r,t=this.parseName()):t=r,this.node(n,{kind:o.b.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(u.Y.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(u.Y.PAREN_L,t,u.Y.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(u.Y.COLON),this.node(t,{kind:o.b.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(u.Y.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(u.Y.NAME)?this.node(e,{kind:o.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:o.b.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:o.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:o.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case u.Y.BRACKET_L:return this.parseList(e);case u.Y.BRACE_L:return this.parseObject(e);case u.Y.INT:return this.advanceLexer(),this.node(t,{kind:o.b.INT,value:t.value});case u.Y.FLOAT:return this.advanceLexer(),this.node(t,{kind:o.b.FLOAT,value:t.value});case u.Y.STRING:case u.Y.BLOCK_STRING:return this.parseStringLiteral();case u.Y.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:o.b.BOOLEAN,value:!0});case"false":return this.node(t,{kind:o.b.BOOLEAN,value:!1});case"null":return this.node(t,{kind:o.b.NULL});default:return this.node(t,{kind:o.b.ENUM,value:t.value})}case u.Y.DOLLAR:if(e){if(this.expectToken(u.Y.DOLLAR),this._lexer.token.kind===u.Y.NAME){let e=this._lexer.token.value;throw(0,r.I)(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:o.b.STRING,value:e.value,block:e.kind===u.Y.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:o.b.LIST,values:this.any(u.Y.BRACKET_L,t,u.Y.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:o.b.OBJECT,fields:this.any(u.Y.BRACE_L,t,u.Y.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(u.Y.COLON),this.node(t,{kind:o.b.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(u.Y.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(u.Y.AT),this.node(t,{kind:o.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(u.Y.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(u.Y.BRACKET_R),e=this.node(t,{kind:o.b.LIST_TYPE,type:n})}else e=this.parseNamedType();return this.expectOptionalToken(u.Y.BANG)?this.node(t,{kind:o.b.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:o.b.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(u.Y.STRING)||this.peek(u.Y.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.many(u.Y.BRACE_L,this.parseOperationTypeDefinition,u.Y.BRACE_R);return this.node(e,{kind:o.b.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(u.Y.COLON);let n=this.parseNamedType();return this.node(e,{kind:o.b.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:o.b.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:o.b.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(u.Y.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(u.Y.BRACE_L,this.parseFieldDefinition,u.Y.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(u.Y.COLON);let i=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(e,{kind:o.b.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:a})}parseArgumentDefs(){return this.optionalMany(u.Y.PAREN_L,this.parseInputValueDef,u.Y.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(u.Y.COLON);let i=this.parseTypeReference();this.expectOptionalToken(u.Y.EQUALS)&&(e=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(t,{kind:o.b.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:e,directives:a})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:o.b.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:o.b.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(u.Y.EQUALS)?this.delimitedMany(u.Y.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:o.b.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(u.Y.BRACE_L,this.parseEnumValueDefinition,u.Y.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:o.b.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw(0,r.I)(this._lexer.source,this._lexer.token.start,`${m(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:o.b.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(u.Y.BRACE_L,this.parseInputValueDef,u.Y.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===u.Y.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),n=this.optionalMany(u.Y.BRACE_L,this.parseOperationTypeDefinition,u.Y.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:o.b.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:o.b.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:o.b.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:o.b.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:o.b.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:o.b.ENUM_TYPE_EXTENSION,name:t,directive
353s:n,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:o.b.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(u.Y.AT);let n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(e,{kind:o.b.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:a})}parseDirectiveLocations(){return this.delimitedMany(u.Y.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(a.H,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new i.aZ(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw(0,r.I)(this._lexer.source,t.start,`Expected ${g(e)}, found ${m(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===u.Y.NAME&&t.value===e)this.advanceLexer();else throw(0,r.I)(this._lexer.source,t.start,`Expected "${e}", found ${m(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===u.Y.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return(0,r.I)(this._lexer.source,t.start,`Unexpected ${m(t)}.`)}any(e,t,n){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e));return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==u.Y.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw(0,r.I)(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function m(e){let t=e.value;return g(e.kind)+(null!=t?` "${t}"`:"")}function g(e){return(0,s.Z)(e)?`"${e}"`:e}},24041:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HighDefinitionQualityIcon=void 0;let r=n(80263),i=n(83947);t.HighDefinitionQualityIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({defaultWidth:15,defaultHeight:7,defaultColor:"#fff",defaultViewBox:"0 0 15 7"},e,{children:(0,r.jsx)("path",{d:"M6.4 7H4.72V4.45H1.95V7H.26V.2h1.69v2.73h2.77V.2H6.4V7zM10.33.2c.54 0 1.03.08 1.47.25a3.37 3.37 0 011.92 1.76c.19.41.28.87.28 1.37a3.38 3.38 0 01-1.04 2.47c-.32.3-.7.53-1.16.7-.44.17-.93.25-1.47.25H7.6V.2h2.73zm0 5.28a1.99 1.99 0 001.39-.54 1.9 1.9 0 000-2.68c-.17-.17-.38-.3-.62-.39-.23-.1-.49-.15-.77-.15H9.3v3.76h1.04z"})}))},24134:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=function(e){return"string"==typeof e?0===e.length:0===e.byteLength}},24196:(e,t)=>{"use strict";function n(e,t){Object.entries(t).forEach(([t,n])=>{void 0!==n&&e.style.setProperty(t,n)})}Object.defineProperty(t,"__esModule",{value:!0}),t.createBaseUiLayers=void 0,t.createBaseUiLayers=function(e){let{domNode:t,videoElement:r,fullscreenNode:i,createElement:a}=e;function o(e,t={}){let{children:r,styles:i}=t,s=a(e);return i&&n(s,i),r&&r.forEach(e=>{s.append(e)}),s}let s=a("div"),l=null!=i?i:t,u=o("div",{styles:{"aspect-ratio":"16/9",margin:"auto","max-height":"100%",width:"100%"}});n(l,{height:"100%",width:"100%"}),n(r,{display:"block",left:"0",position:"absolute"});let c=o("div",{children:[u,s],styles:{"background-color":"#000",height:"100%",overflow:"hidden",position:"relative",width:"100%"}});return t.append(c),{domNode:t,fullscreenNode:l,playbackUiLayer:u,uiLayer:s}}}
353,24202:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UpsellingOverlay=void 0;let r=n(80263),i=n(53239),a=n(66976),o=n(23507),s=n(67933);t.UpsellingOverlay=()=>{let{actions:e,state:t}=(0,i.useContext)(a.PlayerContext);return t.isLiveOnDemandChannel?(0,r.jsx)(o.RestrictedContentOnDemandOverlay,{buttonListEntries:[{handler:e.subscribe,label:"Joyn+ kostenlos testen",type:"main"}],shouldBeShownForLiveContentResource:({requiredAction:e})=>"subscribe"===e,headerText:"Hole dir diesen Sender im Joyn+ Abo"}):(0,r.jsx)(s.RestrictedContentOverlay,{buttonListEntries:[{handler:e.subscribe,label:"Joyn+ kostenlos testen",type:"main"}],shouldBeShownForLiveContentResource:({requiredAction:e})=>"subscribe"===e,headerText:"Hole dir diesen Sender im Joyn+ Abo"})}},24348:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchClip=void 0;let r=n(70015),i=n(53078);t.fetchClip=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){let{clipId:n,userState:r,userToken:a}=t,{graphqlClient:o}=e;return o.query(i.CLIP_GRAPHQL_QUERY_DOCUMENT,{id:n},{authorization:`Bearer ${a}`,"joyn-user-state":r})})}},24474:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createErrorReporter=void 0;let r=n(75359);t.createErrorReporter=function(e){let{errorTransport:t}=e;function n(e,n,i){let a=(0,r.extractErrorDetails)(e);t.send(e,{customData:i,errorDetails:a,tags:n})}return{destroy:t.destroy,recordEvent:t.recordEvent,sendError:function(e,t){n(e,void 0,t)},sendFireAndForgetError:function(e){n(e,{"dispatch-method":"fire-and-forget","user-impact":!1})},sendNonUserImpactingError:function(e){n(e,{"user-impact":!1})}}}},24586:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPromiseLock=void 0;let r=n(70015),i=r.__importDefault(n(37153));t.createPromiseLock=function(){let e=!1,t=!1,n=[];function a(){return Error("Lock has been already destroyed")}function o(){if(e)throw a()}function s(){return r.__awaiter(this,void 0,void 0,function*(){if(o(),!t)return;let e=(0,i.default)();n.push(e),yield e.promise})}return{acquire(i){return r.__awaiter(this,void 0,void 0,function*(){o(),yield s(),t=!0;try{let e=yield i;return o(),e}finally{n.forEach(t=>{e?t.reject(a()):t.resolve(void 0)}),n=[],t=!1}})},destroy(){e=!0},isAcquired:()=>t,waitUntilReleased:s}}},24630:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.categorySchema=void 0;let r=n(92712),i=n(23751);t.categorySchema=r.z.object({$authority:(0,i.zodIabStringSchema)(i.AdErrorMessage.ERROR_TYPE_MISSING),value:(0,i.zodIabStringSchema)(i.AdErrorMessage.ERROR_TYPE_MISSING)})},25078:(e,t,n)=>{"use strict";function r(e){function t(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.message=e,this.code=t}return t.prototype=Error(),t.prototype.name=e,t.prototype.constructor=t,t}n.r(t),n.d(t,{basicLogger:()=>tp,createConsoleLogger:()=>tf,default:()=>tm,initialize:()=>td,version:()=>th});let i=r("LaunchDarklyUnexpectedResponseError"),a=r("LaunchDarklyInvalidEnvironmentIdError"),o=r("LaunchDarklyInvalidUserError"),s=r("LaunchDarklyInvalidEventKeyError"),l=r("LaunchDarklyInvalidArgumentError"),u=r("LaunchDarklyFlagFetchError");for(var c={LDUnexpectedResponseError:i,LDInvalidEnvironmentIdError:a,LDInvalidUserError:o,LDInvalidEventKeyError:s,LDInvalidArgumentError:l,LDInvalidDataError:r("LaunchDarklyInvalidDataError"),LDFlagFetchError:u,isHttpErrorRecoverable:function(e){return!(e>=400&&e<500)||400===e||408===e||429===e}},d=[],p=[],f=("undefined"!=typeof Uint8Array&&Uint8Array,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),h=0;h<64;++h)d[h]=f[h],p[f.charCodeAt(h)]=h;p[45]=62,p[95]=63;var m={fromByteArray:function(e){for(var t,n=e.length,r=n%3,i=[],a=0,o=n-r;a<o;a+=16383)i.push(function(e,t,n){for(var r,i=[],a=t;a<n;a+=3)i.push(d[(r=(e[a]<<16&0xff0000)+(e[a+1]<<8&65280)+(255&e[a+2]))>>18&63]+d[r>>12&63]+d[r>>6&63]+d[63&r]);return i.join("")}(e,a,a+16383>o?o:a+16383));return 1===r?i.push(d[(t=e[n-1])>>2]+d[t<<4&63]+"=="):2===r&&i.push(d[(t=(e[n-2]<<8)+e[n-1])>>10]+d[t>>4&63]+d[t<<2&63]+"="),i.join("")}},g=Array.isArray,y=Object.keys,v=Object.prototype.hasOwnProperty,b=function e(t,n){if(t===n)return!0;
353if(t&&n&&"object"==typeof t&&"object"==typeof n){var r,i,a,o=g(t),s=g(n);if(o&&s){if((i=t.length)!=n.length)return!1;for(r=i;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(o!=s)return!1;var l=t instanceof Date,u=n instanceof Date;if(l!=u)return!1;if(l&&u)return t.getTime()==n.getTime();var c=t instanceof RegExp,d=n instanceof RegExp;if(c!=d)return!1;if(c&&d)return t.toString()==n.toString();var p=y(t);if((i=p.length)!==y(n).length)return!1;for(r=i;0!=r--;)if(!v.call(n,p[r]))return!1;for(r=i;0!=r--;)if(!e(t[a=p[r]],n[a]))return!1;return!0}return t!=t&&n!=n};let _=["key","ip","country","email","firstName","lastName","avatar","name"];function S(e){let t=unescape(encodeURIComponent(e));return m.fromByteArray(function(e){let t=[];for(let n=0;n<e.length;n++)t.push(e.charCodeAt(n));return t}(t))}function E(e){return S(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function k(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var A,T={appendUrlPath:function(e,t){return(e.endsWith("/")?e.substring(0,e.length-1):e)+(t.startsWith("/")?"":"/")+t},base64URLEncode:E,btoa:S,chunkEventsForUrl:function(e,t){let n=t.slice(0),r=[],i,a=e;for(;n.length>0;){for(i=[];a>0;){let e=n.shift();if(!e)break;(a-=E(JSON.stringify(e)).length)<0&&i.length>0?n.unshift(e):i.push(e)}a=e,r.push(i)}return r},clone:function(e){return JSON.parse(JSON.stringify(e))},deepEquals:function(e,t){return b(e,t)},extend:function(...e){return e.reduce((e,t)=>({...e,...t}),{})},getLDUserAgentString:function(e){let t=e.version||"?";return e.userAgent+"/"+t},objectHasOwnProperty:k,onNextTick:function(e){setTimeout(e,0)},sanitizeContext:function(e){let t;return e?(null!==e.kind&&void 0!==e.kind||_.forEach(n=>{let r=e[n];void 0!==r&&"string"!=typeof r&&((t=t||{...e})[n]=String(r))}),t||e):e},transformValuesToVersionedValues:function(e){let t={};for(let n in e)k(e,n)&&(t[n]={value:e[n],version:0});return t},transformVersionedValuesToValues:function(e){let t={};for(let n in e)k(e,n)&&(t[n]=e[n].value);return t},wrapPromiseCallback:function(e,t){let n=e.then(e=>(t&&setTimeout(()=>{t(null,e)},0),e),e=>{if(!t)return Promise.reject(e);setTimeout(()=>{t(e,null)},0)});return t?void 0:n}},x=new Uint8Array(16);function w(){if(!A&&!(A="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return A(x)}var C=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function I(e){return"string"==typeof e&&C.test(e)}for(var O,R,P=[],N=0;N<256;++N)P.push((N+256).toString(16).substr(1));function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(P[e[t+0]]+P[e[t+1]]+P[e[t+2]]+P[e[t+3]]+"-"+P[e[t+4]]+P[e[t+5]]+"-"+P[e[t+6]]+P[e[t+7]]+"-"+P[e[t+8]]+P[e[t+9]]+"-"+P[e[t+10]]+P[e[t+11]]+P[e[t+12]]+P[e[t+13]]+P[e[t+14]]+P[e[t+15]]).toLowerCase();if(!I(n))throw TypeError("Stringified UUID is invalid");return n}var j=0,M=0;function D(e){if(!I(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/0x10000000000&255,n[11]=t/0x100000000&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}function F(e,t,n){function r(e,r,i,a){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=D(r)),16!==r.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var o=new Uint8Array(16+e.length);if(o.set(r),o.set(e,r.length),(o=n(o))[6]=15&o[6]|t,o[8]=63&o[8]|128,i){a=a||0;for(var s=0;s<16;++s)i[a+s]=o[s];return i}return L(o)}try{r.name=e}catch(e){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}function U(e){return 14+(e+64>>>9<<4)+1}function V(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function B(e,t,n,r,i,a){var o;return V((o=V(V(t,e),V(r,a)))<<i|o>>>32-i,n)}function G(e,t,n,r,i,a,o){return B(t&n|~t&r,e,t,i,a,o)}function Y(e,t,n,r,i,a,o){return B(t&r|n&~r,e,t,i,a,o)}function z(e,t,n,r,i,a,o){return B(t^n^r,e,t,i,a,o)}function W(e,t,n,r,i,a,o){return B(n^(t|~r),e,t,i,a,o)}function Z(e,t){return e<<t|e>>>32-t}var H=Object.freeze({__proto__:null,v1:function(e,t,n){var r=t&&n||0,i=t||Array(16),a=(e=e||{}).node||O,o=void 0!==e.clockseq?e.clockseq:R;if(null==a||null==o){var s=e.random||(e.rng||w)();null==a&&(a=O=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==o&&(o=R=16383&(s[6]<<8|s[7]))}var l=void 0!==e.msecs?e.msecs:Date.now(),u=void 0!==e.nsecs?e.nsecs:M+1,c=l-j+(u-M)/1e4;if(c<0&&void 0===e.clockseq&&(o=o+1&16383),(c<0||l>j)&&void 0===e.nsecs&&(u=0),u>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");j=l,M=u,R=o;var d=(1e4*(0xfffffff&(l+=122192928e5))+u)%0x100000000;i[r++]=d>>>24&255,i[r++]=d>>>16&255,i[r++]=d>>>8&255,i[r++]=255&d;var p=l/0x100000000*1e4&0xfffffff;i[r++]=p>>>8&255,i[r++]=255&p,i[r++]=p>>>24&15|16,i[r++]=p>>>16&255,i[r++]=o>>>8|128,i[r++]=255&o;for(var f=0;f<6;++f)i[r+f]=a[f];return t||L(i)},v3:F("v3",48,function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){for(var t=[],n=32*e.length,r="0123456789abcdef",i=0;i<n;i+=8){var a=e[i>>5]>>>i%32&255,o=parseInt(r.charAt(a>>>4&15)+r.charAt(15&a),16);t.push(o)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[U(t)-1]=t;
vendor: 3,878 bytes, line 353
353for(var n=0x67452301,r=-0x10325477,i=-0x67452302,a=0x10325476,o=0;o<e.length;o+=16){var s=n,l=r,u=i,c=a;n=G(n,r,i,a,e[o],7,-0x28955b88),a=G(a,n,r,i,e[o+1],12,-0x173848aa),i=G(i,a,n,r,e[o+2],17,0x242070db),r=G(r,i,a,n,e[o+3],22,-0x3e423112),n=G(n,r,i,a,e[o+4],7,-0xa83f051),a=G(a,n,r,i,e[o+5],12,0x4787c62a),i=G(i,a,n,r,e[o+6],17,-0x57cfb9ed),r=G(r,i,a,n,e[o+7],22,-0x2b96aff),n=G(n,r,i,a,e[o+8],7,0x698098d8),a=G(a,n,r,i,e[o+9],12,-0x74bb0851),i=G(i,a,n,r,e[o+10],17,-42063),r=G(r,i,a,n,e[o+11],22,-0x76a32842),n=G(n,r,i,a,e[o+12],7,0x6b901122),a=G(a,n,r,i,e[o+13],12,-0x2678e6d),i=G(i,a,n,r,e[o+14],17,-0x5986bc72),n=Y(n,r=G(r,i,a,n,e[o+15],22,0x49b40821),i,a,e[o+1],5,-0x9e1da9e),a=Y(a,n,r,i,e[o+6],9,-0x3fbf4cc0),i=Y(i,a,n,r,e[o+11],14,0x265e5a51),r=Y(r,i,a,n,e[o],20,-0x16493856),n=Y(n,r,i,a,e[o+5],5,-0x29d0efa3),a=Y(a,n,r,i,e[o+10],9,0x2441453),i=Y(i,a,n,r,e[o+15],14,-0x275e197f),r=Y(r,i,a,n,e[o+4],20,-0x182c0438),n=Y(n,r,i,a,e[o+9],5,0x21e1cde6),a=Y(a,n,r,i,e[o+14],9,-0x3cc8f82a),i=Y(i,a,n,r,e[o+3],14,-0xb2af279),r=Y(r,i,a,n,e[o+8],20,0x455a14ed),n=Y(n,r,i,a,e[o+13],5,-0x561c16fb),a=Y(a,n,r,i,e[o+2],9,-0x3105c08),i=Y(i,a,n,r,e[o+7],14,0x676f02d9),n=z(n,r=Y(r,i,a,n,e[o+12],20,-0x72d5b376),i,a,e[o+5],4,-378558),a=z(a,n,r,i,e[o+8],11,-0x788e097f),i=z(i,a,n,r,e[o+11],16,0x6d9d6122),r=z(r,i,a,n,e[o+14],23,-0x21ac7f4),n=z(n,r,i,a,e[o+1],4,-0x5b4115bc),a=z(a,n,r,i,e[o+4],11,0x4bdecfa9),i=z(i,a,n,r,e[o+7],16,-0x944b4a0),r=z(r,i,a,n,e[o+10],23,-0x41404390),n=z(n,r,i,a,e[o+13],4,0x289b7ec6),a=z(a,n,r,i,e[o],11,-0x155ed806),i=z(i,a,n,r,e[o+3],16,-0x2b10cf7b),r=z(r,i,a,n,e[o+6],23,0x4881d05),n=z(n,r,i,a,e[o+9],4,-0x262b2fc7),a=z(a,n,r,i,e[o+12],11,-0x1924661b),i=z(i,a,n,r,e[o+15],16,0x1fa27cf8),n=W(n,r=z(r,i,a,n,e[o+2],23,-0x3b53a99b),i,a,e[o],6,-0xbd6ddbc),a=W(a,n,r,i,e[o+7],10,0x432aff97),i=W(i,a,n,r,e[o+14],15,-0x546bdc59),r=W(r,i,a,n,e[o+5],21,-0x36c5fc7),n=W(n,r,i,a,e[o+12],6,0x655b59c3),a=W(a,n,r,i,e[o+3],10,-0x70f3336e),i=W(i,a,n,r,e[o+10],15,-1051523),r=W(r,i,a,n,e[o+1],21,-0x7a7ba22f),n=W(n,r,i,a,e[o+8],6,0x6fa87e4f),a=W(a,n,r,i,e[o+15],10,-0x1d31920),i=W(i,a,n,r,e[o+6],15,-0x5cfebcec),r=W(r,i,a,n,e[o+13],21,0x4e0811a1),n=W(n,r,i,a,e[o+4],6,-0x8ac817e),a=W(a,n,r,i,e[o+11],10,-0x42c50dcb),i=W(i,a,n,r,e[o+2],15,0x2ad7d2bb),r=W(r,i,a,n,e[o+9],21,-0x14792c6f),n=V(n,s),r=V(r,l),i=V(i,u),a=V(a,c)}return[n,r,i,a]}(function(e){if(0===e.length)return[];for(var t=8*e.length,n=new Uint32Array(U(t)),r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))}),v4:function(e,t,n){var r=(e=e||{}).random||(e.rng||w)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return L(r)},v5:F("v5",80,function(e){var t=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6],n=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0];if("string"==typeof e){var r=unescape(encodeURIComponent(e));e=[];for(var i=0;i<r.length;++i)e.push(r.charCodeAt(i))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var a=e.length/4+2,o=Math.ceil(a/16),s=Array(o),l=0;l<o;++l){for(var u=new Uint32Array(16),c=0;c<16;++c)u[c]=e[64*l+4*c]<<24|e[64*l+4*c+1]<<16|e[64*l+4*c+2]<<8|e[64*l+4*c+3];s[l]=u}s[o-1][14]=8*(e.length-1)/0x100000000,s[o-1][14]=Math.floor(s[o-1][14]),s[o-1][15]=8*(e.length-1)|0;for(var d=0;d<o;++d){for(var p=new Uint32Array(80),f=0;f<16;++f)p[f]=s[d][f];for(var h=16;h<80;++h)p[h]=Z(p[h-3]^p[h-8]^p[h-14]^p[h-16],1);for(var m=n[0],g=n[1],y=n[2],v=n[3],b=n[4],_=0;_<80;++_){var S=Math.floor(_/20),E=Z(m,5)+function(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}(S,g,y,v)+b+t[S]+p[_]>>>0;b=v,v=y,y=Z(g,30)>>>0,g=m,m=E}n[0]=n[0]+m>>>0,n[1]=n[1]+g>>>0,n[2]=n[2]+y>>>0,n[3]=n[3]+v>>>0,n[4]=n[4]+b>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>
353>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}),NIL:"00000000-0000-0000-0000-000000000000",version:function(e){if(!I(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)},validate:I,stringify:L,parse:D});let K=["debug","info","warn","error","none"];var X={commonBasicLogger:function(e,t){if(e&&e.destination&&"function"!=typeof e.destination)throw Error("destination for basicLogger was set to a non-function");function n(e){return function(t){console&&console[e]&&console[e].call(console,t)}}let r=e&&e.destination?[e.destination,e.destination,e.destination,e.destination]:[n("log"),n("info"),n("warn"),n("error")],i=!(!e||!e.destination),a=e&&void 0!==e.prefix&&null!==e.prefix?e.prefix:"[LaunchDarkly] ",o=1;if(e&&e.level)for(let t=0;t<K.length;t++)K[t]===e.level&&(o=t);let s={};for(let e=0;e<K.length;e++){let n=K[e];if("none"!==n)if(e<o)s[n]=()=>{};else{let o=e;s[n]=function(){!function(e,n,o){let s;if(o.length<1)return;let l=i?n+": "+a:a;if(1!==o.length&&t){let e=[...o];e[0]=l+e[0],s=t(...e)}else s=l+o[0];try{r[e](s)}catch(e){console&&console.log&&console.log("[LaunchDarkly] Configured logger's "+n+" method threw an exception: "+e)}}(o,n,arguments)}}}return s},validateLogger:function(e){K.forEach(t=>{if("none"!==t&&(!e[t]||"function"!=typeof e[t]))throw Error("Provided logger instance must support logger."+t+"(...) method")})}};function $(e){return e&&e.message?e.message:"string"==typeof e||e instanceof String?e:JSON.stringify(e)}let J=" Please see https://docs.launchdarkly.com/sdk/client-side/javascript#initializing-the-client for instructions on SDK initialization.";var q={bootstrapInvalid:function(){return"LaunchDarkly bootstrap data is not available because the back end could not read the flags."},bootstrapOldFormat:function(){return"LaunchDarkly client was initialized with bootstrap data that did not include flag metadata. Events may not be sent correctly."+J},clientInitialized:function(){return"LaunchDarkly client initialized"},clientNotReady:function(){return"LaunchDarkly client is not ready"},debugEnqueueingEvent:function(e){return'enqueueing "'+e+'" event'},debugPostingDiagnosticEvent:function(e){return"sending diagnostic event ("+e.kind+")"},debugPostingEvents:function(e){return"sending "+e+" events"},debugStreamDelete:function(e){return'received streaming deletion for flag "'+e+'"'},debugStreamDeleteIgnored:function(e){return'received streaming deletion for flag "'+e+'" but ignored due to version check'},debugStreamPatch:function(e){return'received streaming update for flag "'+e+'"'},debugStreamPatchIgnored:function(e){return'received streaming update for flag "'+e+'" but ignored due to version check'},debugStreamPing:function(){return"received ping message from stream"},debugPolling:function(e){return"polling for feature flags at "+e},debugStreamPut:function(){return"received streaming update for all flags"},deprecated:function(e,t){return t?'"'+e+'" is deprecated, please use "'+t+'"':'"'+e+'" is deprecated'},environmentNotFound:function(){return"Environment not found. Double check that you specified a valid environment/client-side ID."+J},environmentNotSpecified:function(){return"No environment/client-side ID was specified."+J},errorFetchingFlags:function(e){return"Error fetching flag settings: "+$(e)},eventCapacityExceeded:function(){return"Exceeded event queue capacity. Increase capacity to avoid dropping events."},eventWithoutContext:function(){return"Be sure to call `identify` in the LaunchDarkly client: https://docs.launchdarkly.com/sdk/features/identify#javascript"},httpErrorMessage:function(e,t,n){return"Received error "+e+(401===e?" (invalid SDK key)":"")+" for "+t+" - "+(c.isHttpErrorRecoverable(e)?n:"giving up permanently")},httpUnavailable:function(){return"Cannot make HTTP requests in this environment."+J},identifyDisabled:function(){return"identify() has no effect here; it must be called on the main client instance"},inspectorMethodError:(e,t)=>`an inspector: "${t}" of type: "${e}" generated an exception`,invalidContentType:function(e){return'Expected application/json content type but got "'+e+'"'},invalidData:function(){return"Invalid data received from LaunchDarkly; connection may have been interrupted"},invalidInspector:(e,t)=>
353`an inspector: "${t}" of an invalid type (${e}) was configured`,invalidKey:function(){return"Event key must be a string"},invalidContext:function(){return"Invalid context specified."+J},invalidTagValue:e=>`Config option "${e}" must only contain letters, numbers, ., _ or -.`,localStorageUnavailable:function(e){return"local storage is unavailable: "+$(e)},networkError:e=>"network error"+(e?" ("+e+")":""),optionBelowMinimum:(e,t,n)=>'Config option "'+e+'" was set to '+t+", changing to minimum value of "+n,streamClosing:function(){return"Closing stream connection"},streamConnecting:function(e){return"Opening stream connection to "+e},streamError:function(e,t){return"Error on stream connection: "+$(e)+", will continue retrying after "+t+" milliseconds."},tagValueTooLong:e=>`Value of "${e}" was longer than 64 characters and was discarded.`,unknownCustomEventKey:function(e){return'Custom event "'+e+'" does not exist'},unknownOption:e=>'Ignoring unknown config option "'+e+'"',contextNotSpecified:function(){return"No context specified."+J},unrecoverableStreamError:e=>`Error on stream connection ${$(e)}, giving up permanently`,wrongOptionType:(e,t,n)=>'Config option "'+e+'" should be of type '+t+", got "+n+", using default value",wrongOptionTypeBoolean:(e,t)=>'Config option "'+e+'" should be a boolean, got '+t+", converting to boolean"};let{validateLogger:Q}=X,ee={baseUrl:{default:"https://app.launchdarkly.com"},streamUrl:{default:"https://clientstream.launchdarkly.com"},eventsUrl:{default:"https://events.launchdarkly.com"},sendEvents:{default:!0},streaming:{type:"boolean"},sendLDHeaders:{default:!0},requestHeaderTransform:{type:"function"},sendEventsOnlyForVariation:{default:!1},useReport:{default:!1},evaluationReasons:{default:!1},eventCapacity:{default:100,minimum:1},flushInterval:{default:2e3,minimum:2e3},samplingInterval:{default:0,minimum:0},streamReconnectDelay:{default:1e3,minimum:0},allAttributesPrivate:{default:!1},privateAttributes:{default:[]},bootstrap:{type:"string|object"},diagnosticRecordingInterval:{default:9e5,minimum:2e3},diagnosticOptOut:{default:!1},wrapperName:{type:"string"},wrapperVersion:{type:"string"},stateProvider:{type:"object"},application:{validator:function(e,t,n){let r={};return t.id&&(r.id=er(`${e}.id`,t.id,n)),t.version&&(r.version=er(`${e}.version`,t.version,n)),r}},inspectors:{default:[]}},et=/^(\w|\.|-)+$/;function en(e){return e&&e.replace(/\/+$/,"")}function er(e,t,n){if("string"==typeof t&&t.match(et)){if(!(t.length>64))return t;n.warn(q.tagValueTooLong(e))}else n.warn(q.invalidTagValue(e))}var ei={baseOptionDefs:ee,validate:function(e,t,n,r){var i;let a=T.extend({logger:{default:r}},ee,n),o={};function s(e){T.onNextTick(()=>{t&&t.maybeReportError(new c.LDInvalidArgumentError(e))})}let l=T.extend({},e||{});return i=l,Object.keys(o).forEach(e=>{if(void 0!==i[e]){let t=o[e];r&&r.warn(q.deprecated(e,t)),t&&(void 0===i[t]&&(i[t]=i[e]),delete i[e])}}),Q((l=function(e){let t=T.extend({},e),n=e=>{if(null===e)return"any";if(void 0===e)return;if(Array.isArray(e))return"array";let t=typeof e;return"boolean"===t||"string"===t||"number"===t||"function"===t?t:"object"};return Object.keys(e).forEach(i=>{let o=e[i];if(null!=o){let l=a[i];if(void 0===l)s(q.unknownOption(i));else{let a=l.type||n(l.default),u=l.validator;if(u){let n=u(i,e[i],r);void 0!==n?t[i]=n:delete t[i]}else if("any"!==a){let e=a.split("|"),r=n(o);0>e.indexOf(r)?"boolean"===a?(t[i]=!!o,s(q.wrongOptionTypeBoolean(i,r))):(s(q.wrongOptionType(i,a,r)),t[i]=l.default):"number"===r&&void 0!==l.minimum&&o<l.minimum&&(s(q.optionBelowMinimum(i,o,l.minimum)),t[i]=l.minimum)}}}}),t.baseUrl=en(t.baseUrl),t.streamUrl=en(t.streamUrl),t.eventsUrl=en(t.eventsUrl),t}(l=function(e){let t=T.extend({},e);return Object.keys(a).forEach(e=>{void 0!==t[e]&&null!==t[e]||(t[e]=a[e]&&a[e].default)}),t}(l))).logger),l},getTags:function(e){let t={};return e&&(e.application&&void 0!==e.application.id&&null!==e.application.id&&(t["application-id"]=[e.application.id]),e.application&&void 0!==e.application.version&&null!==e.application.id&&(t["application-version"]=[e.application.version]
353)),t}};let{getLDUserAgentString:ea}=T;var eo={getLDHeaders:function(e,t){if(t&&!t.sendLDHeaders)return{};let n={};n[e.userAgentHeaderName||"User-Agent"]=ea(e),t&&t.wrapperName&&(n["X-LaunchDarkly-Wrapper"]=t.wrapperVersion?t.wrapperName+"/"+t.wrapperVersion:t.wrapperName);let r=ei.getTags(t),i=Object.keys(r);return i.length&&(n["x-launchdarkly-tags"]=i.sort().map(e=>Array.isArray(r[e])?r[e].sort().map(t=>`${e}/${t}`):[`${e}/${r[e]}`]).reduce((e,t)=>e.concat(t),[]).join(" ")),n},transformHeaders:function(e,t){return t&&t.requestHeaderTransform?t.requestHeaderTransform({...e}):e}};let{v1:es}=H,{getLDHeaders:el,transformHeaders:eu}=eo;var ec=function(e,t,n){let r="/a/"+t+".gif",i=T.extend({"Content-Type":"application/json"},el(e,n)),a=e.httpFallbackPing,o={};return o.sendChunk=(t,o,s,l)=>{let u=JSON.stringify(t),d=s?null:es();return l?(function t(r){let a=s?i:T.extend({},i,{"X-LaunchDarkly-Event-Schema":"4","X-LaunchDarkly-Payload-ID":d});return e.httpRequest("POST",o,eu(a,n),u).promise.then(e=>{if(e)return e.status>=400&&c.isHttpErrorRecoverable(e.status)&&r?t(!1):function(e){let t={status:e.status},n=e.header("date");if(n){let e=Date.parse(n);e&&(t.serverTime=e)}return t}(e)}).catch(()=>r?t(!1):Promise.reject())})(!0).catch(()=>{}):(a&&a(o+r+"?d="+T.base64URLEncode(u)),Promise.resolve())},o.sendEvents=function(t,n,r){let i;if(!e.httpRequest)return Promise.resolve();let a=e.httpAllowsPost();i=a?[t]:T.chunkEventsForUrl(2e3-n.length,t);let s=[];for(let e=0;e<i.length;e++)s.push(o.sendChunk(i[e],n,r,a));return Promise.all(s)},o};let{commonBasicLogger:ed}=X;function ep(e){return"string"==typeof e&&"kind"!==e&&e.match(/^(\w|\.|-)+$/)}function ef(e){return e.includes("%")||e.includes(":")?e.replace(/%/g,"%25").replace(/:/g,"%3A"):e}var eh={checkContext:function(e,t){if(e){if(t&&(void 0===e.kind||null===e.kind))return void 0!==e.ke
353y&&null!==e.key;let n=e.key,r=void 0===e.kind?"user":e.kind,i=ep(r),a="multi"===r||null!=n&&""!==n;if("multi"===r){let t=Object.keys(e).filter(e=>"kind"!==e);return a&&t.every(e=>ep(e))&&t.every(t=>{let n=e[t].key;return null!=n&&""!==n})}return a&&i}return!1},getContextKeys:function(e,t=ed()){if(!e)return;let n={},{kind:r,key:i}=e;switch(r){case void 0:n.user=`${i}`;break;case"multi":Object.entries(e).filter(([e])=>"kind"!==e).forEach(([e,t])=>{t&&t.key&&(n[e]=t.key)});break;case null:t.warn(`null is not a valid context kind: ${e}`);break;case"":t.warn(`'' is not a valid context kind: ${e}`);break;default:n[r]=`${i}`}return n},getContextKinds:function(e){return e?null===e.kind||void 0===e.kind?["user"]:"multi"!==e.kind?[e.kind]:Object.keys(e).filter(e=>"kind"!==e):[]},getCanonicalKey:function(e){if(e){if((void 0===e.kind||null===e.kind||"user"===e.kind)&&e.key)return e.key;if("multi"!==e.kind&&e.key)return`${e.kind}:${ef(e.key)}`;if("multi"===e.kind)return Object.keys(e).sort().filter(e=>"kind"!==e).map(t=>`${t}:${ef(e[t].key)}`).join(":")}}};let{getContextKinds:em}=eh;var eg=function(){let e={},t=0,n=0,r={},i={};return e.summarizeEvent=e=>{if("feature"===e.kind){let a=e.key+":"+(null!==e.variation&&void 0!==e.variation?e.variation:"")+":"+(null!==e.version&&void 0!==e.version?e.version:""),o=r[a],s=i[e.key];s||(s=new Set,i[e.key]=s),(e.context?em(e.context):e.contextKeys?Object.keys(e.contextKeys):[]).forEach(e=>s.add(e)),o?o.count=o.count+1:r[a]={count:1,key:e.key,version:e.version,variation:e.variation,value:e.value,default:e.default},(0===t||e.creationDate<t)&&(t=e.creationDate),e.creationDate>n&&(n=e.creationDate)}},e.getSummary=()=>{let e={},a=!0;for(let t of Object.values(r)){let n=e[t.key];n||(n={default:t.default,counters:[],contextKinds:[...i[t.key]]},e[t.key]=n);let r={value:t.value,count:t.count};void 0!==t.variation&&null!==t.variation&&(r.variation=t.variation),void 0!==t.version&&null!==t.version?r.version=t.version:r.unknown=!0,n.counters.push(r),a=!1}return a?null:{startDate:t,endDate:n,features:e}},e.clearSummary=()=>{t=0,n=0,r={},i={}},e};function ey(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function ev(e){return(e.startsWith("/")?e.substring(1):e).split("/").map(e=>e.indexOf("~")>=0?e.replace(/~1/g,"/").replace(/~0/g,"~"):e)}function eb(e){return!e.startsWith("/")}function e_(e,t){let n=eb(e),r=eb(t);if(n&&r)return e===t;if(n){let n=ev(t);return 1===n.length&&e===n[0]}if(r){let n=ev(e);return 1===n.length&&t===n[0]}return e===t}function eS(e){return`/${ey(e)}`}var eE={cloneExcluding:function(e,t){let n=[],r={},i=[];for(n.push(...Object.keys(e).map(t=>({key:t,ptr:eS(t),source:e,parent:r,visited:[e]})));n.length;){let e=n.pop();if(t.some(t=>e_(t,e.ptr)))i.push(e.ptr);else{let t=e.source[e.key];if(null===t)e.parent[e.key]=t;else if(Array.isArray(t))e.parent[e.key]=[...t];else if("object"==typeof t){if(e.visited.includes(t))continue;e.parent[e.key]={},n.push(...Object.keys(t).map(n=>{var r,i;return{key:n,ptr:(r=e.ptr,i=ey(n),`${r}/${i}`),source:t,parent:e.parent[e.key],visited:[...e.visited,t]}}))}else e.parent[e.key]=t}}return{cloned:r,excluded:i.sort()}},compare:e_,literalToReference:eS},ek=function(e){let t={},n=e.allAttributesPrivate,r=e.privateAttributes||[],i=["key","kind","_meta","anonymous"],a=["name","ip","firstName","lastName","email","avatar","country"],o=e=>{if("object"!=typeof e||null===e||Array.isArray(e))return;let{cloned:t,excluded:a}=eE.cloneExcluding(e,(n?Object.keys(e):[...r,...e._meta&&e._meta.privateAttributes||[]]).filter(e=>!i.some(t=>eE.compare(e,t))));return t.key=String(t.key),a.length&&(t._meta||(t._meta={}),t._meta.redactedAttributes=a),t._meta&&(delete t._meta.privateAttributes,0===Object.keys(t._meta).length&&delete t._meta),void 0!==t.anonymous&&(t.anonymous=!!t.anonymous),t};return t.filter=e=>void 0===e.kind||null===e.kind?o((e=>{let t={...e.custom||{},kind:"user",key:e.key};for(let n of(void 0!==e.anonymous&&(t.anonymous=!!e.anonymous),a))delete t[n],void 0!==e[n]&&null!==e[n]&&(t[n]=String(e[n]));return void 0!==e.privateAttributeNames&&null!==e.privateAttributeNames&&(t._meta=t._meta||{},t._meta.privateAttributes=e.privateAttributeNames.map(e=>e.startsWith("/")?eE.literalToReference(e):e)),t})(e)):"multi"===e.kind?(e=>{let t={kind:e.kind};for(let n of Object.keys(e))if("kind"!==n){let r=o(e[n]);r&&(t[n]=r)}return t})(e):o(e),t};let{getContextKeys:eA}=eh;var eT=function(e,t,n,r=null,i=null,a=null){let o={},s=a||ec(e,n,t),l=T.appendUrlPath(t.eventsUrl,"/events/bulk/"+n),u=eg(),d=ek(t),p=t.samplingInterval,f=t.eventCapacity,h=t.flushInterval,m=t.logger,g,y=[],v=0,b=!1,_=!1;function S(){return 0===p||0===Math.floor(Math.random()*p)}function E(e){y.length<f?(y.push(e),_=!1):(_||(_=!0,m.warn(q.eventCapacityExceeded())),r&&r.incrementDroppedEvents())}return o.enqueue=function(e){if(b)return;let t=!1,n=!1;if(u.summarizeEvent(e),"feature"===e.kind?S()&&(t=!!e.trackEvents,n=!!e.debugEventsUntilDate&&e.debugEventsUntilDate>v&&e.debugEventsUntilDate>(new Date).getTime()):t=S(),t&&E(function(e){let t=T.extend({},e);return"identify"===e.kind?t.context=d.filter(e.context):(t.contextKeys=eA(e.context,m),delete t.context),"feature"===e.kind&&(delete t.trackEvents,delete t.debugEventsUntilDate),t}(e)),n){let t=T.extend({},e,{kind:"debug"});t.context=d.filter(t.context),delete t.trackEvents,delete t.debugEventsUntilDate,E(t)}},o.flush=function(){if(b)return Promise.resolve();let e=y,t=u.getSummary();return u.clearSummary(),t&&(t.kind="summary",e.push(t)),r&&r.setEventsInLastBatch(e.length),0===e.length?Promise.resolve():(y=[],m.debug(q.debugPostingEvents(e.length)),s.sendEvents(e,l).then(e=>{let t=e&&e[0];t&&(t.serverTime&&(v=t.serverTime),c.isHttpErrorRecoverable(t.status)||(b=!0),t.status>=400&&T.onNextTick(()=>{i.maybeReportError(new c.LDUnexpectedResponseError(q.httpErrorMessage(t.status,"event posting","some events were dropped")))}))}))},o.start=function(){let e=()=>{o.flush(),g=setTimeout(e,h)};g=setTimeout(e,h)},o.stop=function(){clearTimeout(g)},o},ex=function(e){let t={},n={};return t.on=function(e,t,r){n[e]=n[e]||[],n[e]=n[e].concat({handler:t,context:r})},t.off=function(e,t,r){if(n[e])for(let i=0;i<n[e].length;i++)n[e][i].handler===t&&n[e][i].context===r&&(n[e]=n[e].slice(0,i).concat(n[e].slice(i+1)))},t.emit=function(e){if(!n[e])return;let t=n[e].slice(0);for(let e=0;e<t.length;e++)t[e].handler.apply(t[e].context,Array.prototype.slice.call(arguments,1
353))},t.getEvents=function(){return Object.keys(n)},t.getEventListenerCount=function(e){return n[e]?n[e].length:0},t.maybeReportError=function(t){t&&(n.error?this.emit("error",t):(e||console).error(t.message))},t};let ew="ready",eC="initialized",eI="failed";var eO=function(e){let t=!1,n=!1,r=null,i=null,a=new Promise(t=>{let n=()=>{e.off(ew,n),t()};e.on(ew,n)}).catch(()=>{});return{getInitializationPromise:()=>i||(t?Promise.resolve():n?Promise.reject(r):i=new Promise((t,n)=>{let r=()=>{e.off(eC,r),t()},i=t=>{e.off(eI,i),n(t)};e.on(eC,r),e.on(eI,i)})),getReadyPromise:()=>a,signalSuccess:()=>{t||n||(t=!0,e.emit(eC),e.emit(ew))},signalFailure:i=>{t||n||(n=!0,r=i,e.emit(eI,i),e.emit(ew)),e.maybeReportError(i)}}},eR=function(e,t,n,r){let i={};function a(){let e="",i=r.getContext();return i&&(e=n||T.btoa(JSON.stringify(i))),"ld:"+t+":"+e}return i.loadFlags=()=>e.get(a()).then(e=>{if(null==e)return null;try{let t=JSON.parse(e);if(t){let e=t.$schema;void 0===e||e<1?t=T.transformValuesToVersionedValues(t):delete t.$schema}return t}catch(e){return i.clearFlags().then(()=>null)}}),i.saveFlags=t=>{let n=T.extend({},t,{$schema:1});return e.set(a(),JSON.stringify(n))},i.clearFlags=()=>e.clear(a()),i},eP=function(e,t){let n={},r=!1,i=e=>{r||(r=!0,t.warn(q.localStorageUnavailable(e)))};return n.isEnabled=()=>!!e,n.get=t=>new Promise(n=>{e?e.get(t).then(n).catch(e=>{i(e),n(void 0)}):n(void 0)}),n.set=(t,n)=>new Promise(r=>{e?e.set(t,n).then(()=>r(!0)).catch(e=>{i(e),r(!1)}):r(!1)}),n.clear=t=>new Promise(n=>{e?e.clear(t).then(()=>n(!0)).catch(e=>{i(e),n(!1)}):n(!1)}),n};let{appendUrlPath:eN,base64URLEncode:eL,objectHasOwnProperty:ej}=T,{getLDHeaders:eM,transformHeaders:eD}=eo,{isHttpErrorRecoverable:eF}=c;var eU=function(e,t,n,r){let i=t.streamUrl,a=t.logger,o={},s=eN(i,"/eval/"+n),l=t.useReport,u=t.evaluationReasons,c=t.streamReconnectDelay,d=eM(e,t),p,f=!1,h=null,m=null,g=null,y=null,v=null,b=0;function _(e){if(e.status&&"number"==typeof e.status&&!eF(e.status))return k(),a.error(q.unrecoverableStreamError(e)),void(m&&(clearTimeout(m),m=null));let t=function(){var e;let t=(e=function(){let e=c*Math.pow(2,b);return e>3e4?3e4:e}())-Math.trunc(.5*Math.random()*e);return b+=1,t}();f||(a.warn(q.streamError(e,t)),f=!0),A(!1),k(),S(t)}function S(e){m||(e?m=setTimeout(E,e):E())}function E(){let r;m=null;let o="",c={headers:d,readTimeoutMillis:3e5};if(e.eventSourceFactory){for(let d in null!=y&&(o="h="+y),l?e.eventSourceAllowsReport?(r=s,c.method="REPORT",c.headers["Content-Type"]="application/json",c.body=JSON.stringify(g)):(r=eN(i,"/ping/"+n),o=""):r=s+"/"+eL(JSON.stringify(g)),c.headers=eD(c.headers,t),u&&(o=o+(o?"&":"")+"withReasons=true"),r=r+(o?"?":"")+o,k(),a.info(q.streamConnecting(r)),p=(new Date).getTime(),h=e.eventSourceFactory(r,c),v)ej(v,d)&&h.addEventListener(d,v[d]);h.onerror=_,h.onopen=()=>{b=0}}}function k(){h&&(a.info(q.streamClosing()),h.close(),h=null)}function A(e){p&&r&&r.recordStreamInit(p,!e,(new Date).getTime()-p),p=null}return o.connect=function(e,t,n){for(let r in g=e,y=t,v={},n||{})v[r]=function(e){f=!1,A(!0),n[r]&&n[r](e)};S()},o.disconnect=function(){clearTimeout(m),m=null,k()},o.isConnected=function(){return!!(h&&e.eventSourceIsActive&&e.eventSourceIsActive(h))},o},eV=function(e){let t,n,r,i,a={addPromise:(a,o)=>{t=a,n&&n(),n=o,a.then(n=>{t===a&&(r(n),e&&e())},n=>{t===a&&(i(n),e&&e())})}};return a.resultPromise=new Promise((e,t)=>{r=e,i=t}),a};let{transformHeaders:eB,getLDHeaders:eG}=eo,eY="application/json";var ez=function(e,t,n){let r=t.baseUrl,i=t.useReport,a=t.evaluationReasons,o=t.logger,s={},l={};function u(n,r){if(!e.httpRequest)return new Promise((e,t)=>{t(new c.LDFlagFetchError(q.httpUnavailable()))});let i=eG(e,t);r&&(i["Content-Type"]=eY);let a=l[n];a||(a=eV(()=>{delete l[n]}),l[n]=a);let o=e.httpRequest(r?"REPORT":"GET",n,eB(i,t),r),s=o.promise.then(e=>{if(200===e.status){if(e.header("content-type")&&e.header("content-type").substring(0,16)===eY)return JSON.parse(e.body);{let t=q.invalidContentType(e.header("content-type")||"");return Promise.reject(new c.LDFlagFetchError(t))}}return Promise.reject(404===e.status?new c.LDInvalidEnvironmentIdError(q.environmentNotFound()):new c.LDFlagFetchError(q.errorFetchingFlags(e.statusText||String(e.status))))},e=>Promise.reject(new c.LDFlagFetchError(q.networkError(e))));return a.addPromise(s,()=>{o.cancel&&o.cancel()}),a.resultPromise}return s.fetchJSON=function(e){return u(T.appendUrlPath(r,e),null)},s.fetchFlagSettings=function(e,t){let s,l,c="";return i?(s=r+"/sdk/evalx/"+n+"/context",l=JSON.stringify(e)):s=r+"/sdk/evalx/"+n+"/contexts/"+T.base64URLEncode(JSON.stringify(e)),t&&(c="h="+t),a&&(c=c+(c?"&":"")+"withReasons=true"),s=s+(c?"?":"")+c,o.debug(q.debugPolling(s)),u(s,l)},s},eW=function(e,t){let n,r={};return r.setContext=function(e){(n=T.sanitizeContext(e))&&t&&t(T.clone(n))},r.getContext=function(){return n?T.clone(n):null},e&&r.setContext(e),r};let{v1:eZ}=H,{getContextKinds:eH}=eh;var eK=function(e){function t(e){return null==e||"user"===e?"ld:$anonUserId":`ld:$contextKey:${e}`}function n(n,r){return null!==r.key&&void 0!==r.key?(r.key=r.key.toString(),Promise.resolve(r)):r.anonymous?e.get(t(n)).then(i=>{if(i)return r.key=i,r;{let i=eZ();return r.key=i,e.set(t(n),i).then(()=>r)}}):Promise.reject(new c.LDInvalidUserError(q.invalidContext()))}this.processContext=e=>{if(!e)return Promise.reject(new c.LDInvalidUserError(q.contextNotSpecified()));let t=T.clone(e);return"multi"===e.kind?Promise.all(eH(t).map(e=>n(e,t[e]))).then(()=>t):n(e.kind,t)}};let{v1:eX}=H,{baseOptionDefs:e$}=ei,{appendUrlPath:eJ}=T;var eq={DiagnosticId:function(e){let t={diagnosticId:eX()};return e&&(t.sdkKeySuffix=e.length>6?e.substring(e.length-6):e),t},DiagnosticsAccumulator:function(e){let t,n,r,i;function a(e){t=e,n=0,r=0,i=[]}return a(e),{getProps:()=>({dataSinceDate:t,droppedEvents:n,eventsInLastBatch:r,streamInits:i}),setProps:e=>{t=e.dataSinceDate,n=e.droppedEvents||0,r=e.eventsInLastBatch||0,i=e.streamInits||[]},incrementDroppedEvents:()=>{n++},setEventsInLastBatch:e=>{r=e}
353,recordStreamInit:(e,t,n)=>{i.push({timestamp:e,failed:t,durationMillis:n})},reset:a}},DiagnosticsManager:function(e,t,n,r,i,a,o){let s=!!e.diagnosticUseCombinedEvent,l="ld:"+i+":$diagnostics",u=eJ(a.eventsUrl,"/events/diagnostic/"+i),c=a.diagnosticRecordingInterval,d,p,f=!!a.streaming,h={};function m(){return{sdk:function(){let t={...e.diagnosticSdkData};return a.wrapperName&&(t.wrapperName=a.wrapperName),a.wrapperVersion&&(t.wrapperVersion=a.wrapperVersion),t}(),configuration:{customBaseURI:a.baseUrl!==e$.baseUrl.default,customStreamURI:a.streamUrl!==e$.streamUrl.default,customEventsURI:a.eventsUrl!==e$.eventsUrl.default,eventsCapacity:a.eventCapacity,eventsFlushIntervalMillis:a.flushInterval,reconnectTimeMillis:a.streamReconnectDelay,streamingDisabled:!f,allAttributesPrivate:!!a.allAttributesPrivate,diagnosticRecordingIntervalMillis:a.diagnosticRecordingInterval,usingSecureMode:!!a.hash,bootstrapMode:!!a.bootstrap,fetchGoalsDisabled:!a.fetchGoals,sendEventsOnlyForVariation:!!a.sendEventsOnlyForVariation},platform:e.diagnosticPlatformData}}function g(e){a.logger&&a.logger.debug(q.debugPostingDiagnosticEvent(e)),r.sendEvents(e,u,!0).then(()=>{}).catch(()=>{})}function y(){g(function(){let e=(new Date).getTime(),t={kind:s?"diagnostic-combined":"diagnostic",id:o,creationDate:e,...n.getProps()};return s&&(t={...t,...m()}),n.reset(e),t}()),p=setTimeout(y,c),d=(new Date).getTime(),s&&function(){if(t.isEnabled()){let e={...n.getProps()};t.set(l,JSON.stringify(e))}}()}return h.start=()=>{s?function(e){if(!t.isEnabled())return e(!1);t.get(l).then(t=>{if(t)try{let e=JSON.parse(t);n.setProps(e),d=e.dataSinceDate}catch(e){}e(!0)}).catch(()=>{e(!1)})}(e=>{if(e){let e=(d||0)+c,t=(new Date).getTime();t>=e?y():p=setTimeout(y,e-t)}else 0===Math.floor(4*Math.random())?y():p=setTimeout(y,c)}):(g({kind:"diagnostic-init",id:o,creationDate:n.getProps().dataSinceDate,...m()}),p=setTimeout(y,c))},h.stop=()=>{p&&clearTimeout(p)},h.setStreaming=e=>{f=e},h}},eQ=function(e,t){let n=!1,r={type:e.type,name:e.name,method:(...i)=>{try{e.method(...i)}catch{n||(n=!0,t.warn(q.inspectorMethodError(r.type,r.name)))}}};return r};let{onNextTick:e0}=T,e1={flagUsed:"flag-used",flagDetailsChanged:"flag-details-changed",flagDetailChanged:"flag-detail-changed",clientIdentityChanged:"client-identity-changed"};Object.freeze(e1);let{commonBasicLogger:e2}=X,{checkContext:e5,getContextKeys:e3}=eh,{InspectorTypes:e9,InspectorManager:e4}={InspectorTypes:e1,InspectorManager:function(e,t){let n={},r={[e1.flagUsed]:[],[e1.flagDetailsChanged]:[],[e1.flagDetailChanged]:[],[e1.clientIdentityChanged]:[]},i=e&&e.map(e=>eQ(e,t));return i&&i.forEach(e=>{Object.prototype.hasOwnProperty.call(r,e.type)?r[e.type].push(e):t.warn(q.invalidInspector(e.type,e.name))}),n.hasListeners=e=>r[e]&&r[e].length,n.onFlagUsed=(e,t,n)=>{r[e1.flagUsed].length&&e0(()=>{r[e1.flagUsed].forEach(r=>r.method(e,t,n))})},n.onFlags=e=>{r[e1.flagDetailsChanged].length&&e0(()=>{r[e1.flagDetailsChanged].forEach(t=>t.method(e))})},n.onFlagChanged=(e,t)=>{r[e1.flagDetailChanged].length&&e0(()=>{r[e1.flagDetailChanged].forEach(n=>n.method(e,t))})},n.onIdentityChanged=e=>{r[e1.clientIdentityChanged].length&&e0(()=>{r[e1.clientIdentityChanged].forEach(t=>t.method(e))})},n}},e6="change",e7="internal-change";var e8={initialize:function(e,t,n,r,i){let a=n&&n.logger?n.logger:i&&i.logger&&i.logger.default||e2("warn"),o=ex(a),s=eO(o),l=ei.validate(n,o,i,a),u=e4(l.inspectors,a),d=l.sendEvents,p=e,f=l.hash,h=eP(r.localStorage,a),m=ec(r,p,l),g=l.sendEvents&&!l.diagnosticOptOut,y=g?eq.DiagnosticId(p):null,v=g?eq.DiagnosticsAccumulator((new Date).getTime()):null,b=g?eq.DiagnosticsManager(r,h,v,m,p,l,y):null,_=eU(r,l,p,v),S=l.eventProcessor||eT(r,l,p,v,o,m),E=ez(r,l,p),k,A,x,w={},C=l.streaming,I=!1,O=!1,R=!0,P=l.stateProvider,N=eW(null,function(e){!P&&e&&M({kind:"identify",context:e,creationDate:(new Date).getTime()}),u.hasListeners(e9.clientIdentityChanged)&&u.onIdentityChanged(N.getContext())}),L=new eK(h),j=h.isEnabled()?eR(h,p,f,N):null;function M(e){p&&(P&&P.enqueueEvent&&P.enqueueEvent(e)||(e.context?(R=!1,!d||O||r.isDoNotTrack()||(a.debug(q.debugEnqueueingEvent(e.kind)),S.enqueue(e))):R&&(a.warn(q.eventWithoutContext()),R=!1)))}function D(e,t){u.hasListeners(e9.flagDetailChanged)&&u.onFlagChanged(e.key,G(t))}function F(){u.hasListeners(e9.flagDetailsChanged)&&u.onFlags(Object.entries(w).map(([e,t])=>({key:e,detail:G(t)})).reduce((e,t)=>
353(e[t.key]=t.detail,e),{}))}function U(e,t,n,r){let i=N.getContext(),a=new Date,o={kind:"feature",key:e,context:i,value:t?t.value:null,variation:t?t.variationIndex:null,default:n,creationDate:a.getTime()},s=w[e];s&&(o.version=s.flagVersion?s.flagVersion:s.version,o.trackEvents=s.trackEvents,o.debugEventsUntilDate=s.debugEventsUntilDate),(r||s&&s.trackReason)&&t&&(o.reason=t.reason),M(o)}function V(e){return e5(e,!1)?Promise.resolve(e):Promise.reject(new c.LDInvalidUserError(q.invalidContext()))}function B(e,t,n,r,i){var a;let o;if(w&&T.objectHasOwnProperty(w,e)&&w[e]&&!w[e].deleted){let n=w[e];o=G(n),null!==n.value&&void 0!==n.value||(o.value=t)}else o={value:t,variationIndex:null,reason:{kind:"ERROR",errorKind:"FLAG_NOT_FOUND"}};return n&&U(e,o,t,r),i||(a=o,u.hasListeners(e9.flagUsed)&&u.onFlagUsed(e,a,N.getContext())),o}function G(e){return{value:e.value,variationIndex:void 0===e.variation?null:e.variation,reason:e.reason||null}}function Y(){if(A=!0,!N.getContext())return;let e=e=>{try{return JSON.parse(e)}catch(e){return void o.maybeReportError(new c.LDInvalidDataError(q.invalidData()))}};_.connect(N.getContext(),f,{ping:function(){a.debug(q.debugStreamPing());let e=N.getContext();E.fetchFlagSettings(e,f).then(t=>{T.deepEquals(e,N.getContext())&&W(t||{})}).catch(e=>{o.maybeReportError(new c.LDFlagFetchError(q.errorFetchingFlags(e)))})},put:function(t){let n=e(t.data);n&&(a.debug(q.debugStreamPut()),W(n))},patch:function(t){let n=e(t.data);if(!n)return;let r=w[n.key];if(r&&r.version&&n.version&&!(r.version<n.version))a.debug(q.debugStreamPatchIgnored(n.key));else{a.debug(q.debugStreamPatch(n.key));let e={},t=T.extend({},n);delete t.key,w[n.key]=t;let i=G(t);e[n.key]=r?{previous:r.value,current:i}:{current:i},Z(e),D(n,t)}},delete:function(t){let n=e(t.data);if(n)if(!w[n.key]||w[n.key].version<n.version){a.debug(q.debugStreamDelete(n.key));let e={};w[n.key]&&!w[n.key].deleted&&(e[n.key]={previous:w[n.key].value}),w[n.key]={version:n.version,deleted:!0},D(n,w[n.key]),Z(e)}else a.debug(q.debugStreamDeleteIgnored(n.key))}})}function z(){A&&(_.disconnect(),A=!1)}function W(e){let t={};if(!e)return Promise.resolve();for(let n in w)T.objectHasOwnProperty(w,n)&&w[n]&&(e[n]&&!T.deepEquals(e[n].value,w[n].value)?t[n]={previous:w[n].value,current:G(e[n])}:e[n]&&!e[n].deleted||(t[n]={previous:w[n].value}));for(let n in e)T.objectHasOwnProperty(e,n)&&e[n]&&(!w[n]||w[n].deleted)&&(t[n]={current:G(e[n])});return w={...e},F(),Z(t).catch(()=>{})}function Z(e){let t=Object.keys(e);if(t.length>0){let n={};t.forEach(t=>{let r=e[t].current,i=r?r.value:void 0,a=e[t].previous;o.emit(e6+":"+t,i,a),n[t]=r?{current:i,previous:a}:{previous:a}}),o.emit(e6,n),o.emit(e7,w),l.sendEventsOnlyForVariation||P||t.forEach(t=>{U(t,e[t].current)})}return k&&j?j.saveFlags(w):Promise.resolve()}function H(){let e=C||x&&void 0===C;e&&!A?Y():!e&&A&&z(),b&&b.setStreaming(e)}function K(e){return e===e6||e.substr(0,7)===e6+":"}if("string"==typeof l.bootstrap&&"LOCALSTORAGE"===l.bootstrap.toUpperCase()&&(j?k=!0:a.warn(q.localStorageUnavailable())),"object"==typeof l.bootstrap&&(w=function(e){let t=Object.keys(e),n="$flagsState",r="$valid",i=e[n];!i&&t.length&&a.warn(q.bootstrapOldFormat()),!1===e[r]&&a.warn(q.bootstrapInvalid());let o={};return t.forEach(t=>{if(t!==n&&t!==r){let n={value:e[t]};i&&i[t]?n=T.extend(n,i[t]):n.version=0,o[t]=n}}),o}(l.bootstrap)),P){let e=P.getInitialState();e?X(e):P.on("init",X),P.on("update",function(e){e.context&&N.setContext(e.context),e.flags&&W(e.flags)})}else(!e?Promise.reject(new c.LDInvalidEnvironmentIdError(q.environmentNotSpecified())):L.processContext(t).then(V).then(e=>(N.setContext(e),"object"==typeof l.bootstrap?$():k?j.loadFlags().then(e=>null==e?(w={},E.fetchFlagSettings(N.getContext(),f).then(e=>W(e||{})).then($).catch(e=>{J(new c.LDFlagFetchError(q.errorFetchingFlags(e)))})):(w=e,T.onNextTick($),E.fetchFlagSettings(N.getContext(),f).then(e=>W(e)).catch(e=>o.maybeReportError(e)))):E.fetchFlagSettings(N.getContext(),f).then(e=>{w=e||{},F(),$()}).catch(e=>{w={},J(e)})))).catch(J);function X(e){p=e.environment,N.setContext(e.context),w={...e.flags},T.onNextTick($)}function $(){a.info(q.clientInitialized()),I=!0,H(),s.signalSuccess()}function J(e){s.signalFailure(e)}return{client:{waitForInitialization:()=>s.getInitializationPromise(),waitUntilReady:()=>s.getReadyPromise(),identify:function(e,t,n){if(O)return T.wrapPromiseCallback(Promise.resolve({}),n);if(P)return a.warn(q.identifyDisabled()),T.wrapPromiseCallback(Promise.resolve(T.transformVersionedValuesToValues(w)),n);let r=k&&j?j.clearFlags():Promise.resolve();return T.wrapPromiseCallback(r.then(()=>L.processContext(e)).then(V).then(e=>E.fetchFlagSettings(e,t).then(n=>{let r=T.transformVersionedValuesToValues(n);return N.setContext(e),f=t,n?W(n).then(()=>r):r})).then(e=>(A&&Y(),e)).catch(e=>(o.maybeReportError(e),Promise.reject(e))),n)},getContext:function(){return N.getContext()},variation:function(e,t){return B(e,t,!0,!1,!1).value},variationDetail:function(e,t){return B(e,t,!0,!0,!1)},track:function(e,t,n){if("string"!=typeof e)return void o.maybeReportError(new c.LDInvalidEventKeyError(q.unknownCustomEventKey(e)));r.customEventFilter&&!r.customEventFilter(e)&&a.warn(q.unknownCustomEventKey(e));let i=N.getContext(),s={kind:"custom",key:e,context:i,url:r.getCurrentUrl(),creationDate:(new Date).getTime()};i&&i.anonymous&&(s.contextKind=i.anonymous?"anonymousUser":"user"),null!=t&&(s.data=t),null!=n&&(s.metricValue=n),M(s)},on:function(e,t,n){K(e)?(x=!0,I&&H(),o.on(e,t,n)):o.on(...arguments)},off:function(e){if(o.off(...arguments),K(e)){let e=!1;
353o.getEvents().forEach(t=>{K(t)&&o.getEventListenerCount(t)>0&&(e=!0)}),e||(x=!1,A&&void 0===C&&z())}},setStreaming:function(e){let t=null===e?void 0:e;t!==C&&(C=t,H())},flush:function(e){return T.wrapPromiseCallback(d?S.flush():Promise.resolve(),e)},allFlags:function(){let e={};if(!w)return e;for(let t in w)T.objectHasOwnProperty(w,t)&&!w[t].deleted&&(e[t]=B(t,null,!l.sendEventsOnlyForVariation,!1,!0).value);return e},close:function(e){if(O)return T.wrapPromiseCallback(Promise.resolve(),e);let t=()=>{O=!0,w={}},n=Promise.resolve().then(()=>{if(z(),b&&b.stop(),d)return S.stop(),S.flush()}).then(t).catch(t);return T.wrapPromiseCallback(n,e)}},options:l,emitter:o,ident:N,logger:a,requestor:E,start:function(){d&&(b&&b.start(),S.start())},enqueueEvent:M,getFlagsInternal:function(){return w},getEnvironmentId:()=>p,internalChangeEventName:e7}},commonBasicLogger:e2,errors:c,messages:q},te=e8.initialize,tt=e8.errors,tn=e8.messages;function tr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ti(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tr(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ta=e8.commonBasicLogger,to={promise:Promise.resolve({status:200,header:function(){return null},body:null})},ts=e=>{if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};function tl(e,t){for(var n={},r=null,i=[],a=0;a<e.length;a++)for(var o=e[a],s=o.urls||[],l=0;l<s.length;l++)if(function(e,t,n,r){var i,a,o=(("substring"===e.kind||"regex"===e.kind)&&r.includes("/")?t:t.replace(r,"")).replace(n,"");switch(e.kind){case"exact":a=t,i=RegExp("^"+ts(e.url)+"/?$");break;case"canonical":a=o,i=RegExp("^"+ts(e.url)+"/?$");break;case"substring":a=o,i=RegExp(".*"+ts(e.substring)+".*$");break;case"regex":a=o,i=new RegExp(e.pattern);break;default:return!1}return i.test(a)}(s[l],window.location.href,window.location.search,window.location.hash)){"pageview"===o.kind?t("pageview",o):(i.push(o),t("click_pageview",o));break}return i.length>0&&(r=function(e){for(var n=function(e,t){for(var n=[],r=0;r<t.length;r++)for(var i=e.target,a=t[r],o=a.selector,s=document.querySelectorAll(o);i&&s.length>0;){for(var l=0;l<s.length;l++)i===s[l]&&n.push(a);i=i.parentNode}return n}(e,i),r=0;r<n.length;r++)t("click",n[r])},document.addEventListener("click",r)),n.dispose=function(){document.removeEventListener("click",r)},n}var tu="goalsReady",tc={fetchGoals:{default:!0},hash:{type:"string"},eventProcessor:{type:"object"},eventUrlTransformer:{type:"function"},disableSyncEventPost:{default:!1}};function td(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=function(e){var t,n={userAgentHeaderName:"X-LaunchDarkly-User-Agent",synchronousFlush:!1};if(window.XMLHttpRequest){var r=e&&e.disableSyncEventPost;n.httpRequest=function(e,t,i,a){var o=!r&n.synchronousFlush;return n.synchronousFlush=!1,function(e,t,n,r,i){if(i&&!function(){var e=window.navigator&&window.navigator.userAgent;if(e){var t=e.match(/Chrom(e|ium)\/([0-9]+)\./);if(t)return 73>parseInt(t[2],10)}return!0}())return to;var a,o=new window.XMLHttpRequest;for(var s in o.open(e,t,!i),n||{})Object.prototype.hasOwnProperty.call(n,s)&&o.setRequestHeader(s,n[s]);if(i){try{o.send(r)}catch(e){}return to}return{promise:new Promise(function(e,t){o.addEventListener("load",function(){a||e({status:o.status,header:function(e){return o.getResponseHeader(e)},body:o.responseText})}),o.addEventListener("error",function(){a||t(Error())}),o.send(r)}),cancel:function(){a=!0,o.abort()}}}(e,t,i,a,o)}}n.httpAllowsPost=function(){return void 0===t&&(t=!!window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest),t},n.httpFallbackPing=function(e){(new window.Image).src=e};var i,a=e&&e.eventUrlTransformer;n.getCurrentUrl=function(){return a?a(window.location.href):window.location.href},n.isDoNotTrack=function(){var e;return 1===(e=window.navigator&&void 0!==window.navigator.doNotTrack?window.navigator.doNotTrack:window.navigator&&void 0!==window.navigator.msDoNotTrack?window.navigator.msDoNotTrack:window.doNotTrack)||!0===e||"1"===e||"
353yes"===e};try{window.localStorage&&(n.localStorage={get:function(e){return new Promise(function(t){t(window.localStorage.getItem(e))})},set:function(e,t){return new Promise(function(n){window.localStorage.setItem(e,t),n()})},clear:function(e){return new Promise(function(t){window.localStorage.removeItem(e),t()})}})}catch(e){n.localStorage=null}return e&&e.useReport&&"function"==typeof window.EventSourcePolyfill&&window.EventSourcePolyfill.supportedOptions&&window.EventSourcePolyfill.supportedOptions.method?(n.eventSourceAllowsReport=!0,i=window.EventSourcePolyfill):(n.eventSourceAllowsReport=!1,i=window.EventSource),window.EventSource&&(n.eventSourceFactory=function(e,t){var n=ti(ti({},{heartbeatTimeout:3e5,silentTimeout:3e5,skipDefaultHeaders:!0}),t);return new i(e,n)},n.eventSourceIsActive=function(e){return e.readyState===window.EventSource.OPEN||e.readyState===window.EventSource.CONNECTING}),n.userAgent="JSClient",n.version="3.1.4",n.diagnosticSdkData={name:"js-client-sdk",version:"3.1.4"},n.diagnosticPlatformData={name:"JS"},n.diagnosticUseCombinedEvent=!0,n}(n),i=te(e,t,n,r,tc),a=i.client,o=i.options,s=i.emitter,l=new Promise(function(e){var t=s.on(tu,function(){s.off(tu,t),e()})});a.waitUntilGoalsReady=function(){return l},o.fetchGoals?function(e,t){var n,r;function i(){r&&r.dispose(),n&&n.length&&(r=tl(n,a))}function a(t,n){var r=e.ident.getContext(),i={kind:t,key:n.key,data:null,url:window.location.href,creationDate:(new Date).getTime(),context:r};return"click"===t&&(i.selector=n.selector),e.enqueueEvent(i)}e.requestor.fetchJSON("/sdk/goals/"+e.getEnvironmentId()).then(function(e){e&&e.length>0&&(r=tl(n=e,a),function(e,t){var n,r=window.location.href;function i(){(n=window.location.href)!==r&&(r=n,t())}!function e(t,n){t(),setTimeout(function(){e(t,n)},n)}(i,300),window.history&&window.history.pushState?window.addEventListener("popstate",i):window.addEventListener("hashchange",i)}(0,i)),t()}).catch(function(n){e.emitter.maybeReportError(new tt.LDUnexpectedResponseError((n&&n.message,n.message))),t()})}(i,function(){return s.emit(tu)}):s.emit(tu),"complete"!==document.readyState?window.addEventListener("load",i.start):i.start();var u=function(){r.synchronousFlush=!0,a.flush().catch(function(){}),r.synchronousFlush=!1};return document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&u()}),window.addEventListener("pagehide",u),a}var tp=function(e){return ta(ti({destination:console.log},e))},tf=void 0,th="3.1.4",tm={initialize:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return console&&console.warn&&console.warn(tn.deprecated("default export","named LDClient export")),td(e,t,n)},version:th}},25416:(e,t,n)=>{"use strict";n.r(t),n.d(t,{cache:()=>b,css:()=>y,cx:()=>p,flush:()=>c,getRegisteredStyles:()=>h,hydrate:()=>d,injectGlobal:()=>m,keyframes:()=>g,merge:()=>f,sheet:()=>v});var r=n(51364),i=n(41540),a=n(42487);function o(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function s(e,t,n){var r=[],i=(0,a.Rk)(e,r,n);return r.length<2?n:i+t(r)}var l=function e(t){for(var n="",r=0;r<t.length;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var o in a="",i)i[o]&&o&&(a&&(a+=" "),a+=o);break;default:a=i}a&&(n&&(n+=" "),n+=a)}}return n},u=function(e){var t=(0,r.A)(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=(0,i.J)(n,t.registered,void 0);return(0,a.sk)(t,o,!1),t.key+"-"+o.name};return{css:n,cx:function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];return s(t.registered,n,l(r))},injectGlobal:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var a=(0,i.J)(n,t.registered);o(t,a)},keyframes:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var a=(0,i.J)(n,t.registered),s="animation-"+a.name;return o(t,{name:a.name,styles:"@keyframes "+s+"{"+a.styles+"}"}),s},hydrate:function(e){e.forEach(function(e){t.inserted[e]=!0})},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:a.Rk.bind(null,t.registered),merge:s.bind(null,t.registered,n)}}({key:"css"}),c=u.flush,d=u.hydrate,p=u.cx,f=u.merge,h=u.getRegisteredStyles,m=u.injectGlobal,g=u.keyframes,y=u.css,v=u.sheet,b=u.cache},25487:(e,t,n)=>{"use strict";
353Object.defineProperty(t,"__esModule",{value:!0}),t.createUiService=t.noopUiActions=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=r.__importDefault(n(60024)),o=n(47561),s=n(3872),l=n(5211);t.noopUiActions={destroy:a.default,editEpgFavorites:a.default,enterFullscreen:a.default,enterPersonalIdentificationNumber:a.default,enterPictureInPicture:a.default,exitFullscreen:a.default,exitPictureInPicture:a.default,hideAdvertisementFeedbackMenu:a.default,hideElectronicProgramGuide:a.default,hideLiveChannelGroupFilter:a.default,hideNonRequiredElements:a.default,hideTracksSelectionMenu:a.default,hideUpNext:a.default,login:a.default,mute:a.default,openAdClickThrough:a.default,pause:a.default,play:a.default,register:a.default,replay:a.default,seek:a.default,seekBackwardJump:a.default,seekEnd:a.default,seekForwardJump:a.default,seekStart:a.default,seekTo:a.default,selectAudioTrack:a.default,selectSubtitle:a.default,sendAdFeedback:a.default,sendNonLinearAdEvent:a.default,sendUiEvent:a.default,setLiveChannelGroupFilter:a.default,setVolume:a.default,showAdvertisementFeedbackMenu:a.default,showAdvertisementFeedbackSent:a.default,showElectronicProgramGuide:a.default,showLiveChannelGroupFilter:a.default,showPersonalIdentificationNumberSettings:a.default,showTracksSelectionMenu:a.default,skipAd:a.default,skipToNextLivePlaylistItem:a.default,skipToNextPlaylistItem:a.default,skipToPlaylistIndex:a.default,skipToPlaylistPointer:a.default,skipToPreviousLivePlaylistItem:a.default,startInteractionAttempt:a.default,stopInteractionAttempt:a.default,subscribe:a.default,togglePlayPause:a.default,touchVideoElement:a.default,triggerImmediateInteractionAttempt:a.default,triggerPersonalIdentificationNumberCancellation:a.default,uiStateChanged:a.default,unmute:a.default,unsetLiveChannelGroupFilter:a.default},t.createUiService=function({dispatch:e,debounceFunction:n,uiStateService:r,userSettingsStorage:a}){let{initialState:u}=r,c={ui:null,uiActions:null},d={origin:"user"},p=(t,n,r)=>{if(t!==c.ui)return void l.logger.warn(`Event handler for UI no longer current tries to dispatch "${n}"`);e(n,r)},f=n(()=>{r.send(["USER.START_INTERACTION_ATTEMPT","USER.STOP_INTERACTION_ATTEMPT"])},50,{leading:!0});function h(){r.send(["TRACKS_SELECTION_MENU.HIDE","USER.STOP_INTERACTION_ATTEMPT"])}let m={destroy(){var e,n,i;null==(e=c.ui)||e.setActions(t.noopUiActions),null==(n=c.ui)||n.setState(u),null==(i=c.ui)||i.destroy(),r.destroy()},getUiState:()=>r.currentState,reset(){r.reset();let e=a.load();e.liveChannelGroupFilter.isJust()&&r.send({liveChannelGroupFilter:e.liveChannelGroupFilter.value,type:"ELECTRONIC_PROGRAM_GUIDE.FILTER.SET"})},send:r.send,setUi(e){if([typeof e.setActions,typeof e.setState,typeof e.destroy].some(e=>"function"!==e))return void l.logger.error(Error("Incompatible ui interface"));let t=(e=>{let t=t=>{p(e,"ui:skipToPlaylistIndex",Object.assign(Object.assign({},d),t))};return{destroy:()=>{p(e,"ui:destroy",Object.assign(Object.assign({},d),{reason:"ui-destroy"}))},editEpgFavorites:()=>{p(e,"ui:editEpgFavorites",d)},enterFullscreen:()=>{p(e,"ui:requestEnterFullscreen",d)},enterPersonalIdentificationNumber:t=>{p(e,"ui:personalIdentificationNumberEntered",Object.assign(Object.assign({},d),t))},enterPictureInPicture:()=>{p(e,"ui:requestEnterPictureInPicture",d)},exitFullscreen:()=>{p(e,"ui:requestExitFullscreen",d)},exitPictureInPicture:()=>{p(e,"ui:requestExitPictureInPicture",d)},hideAdvertisementFeedbackMenu:()=>{let{isPaused:t,isPausedByAdUserFeedback:n}=r.currentState;r.send("ADVERTISEMENT_FEEDBACK_MENU.HIDE"),t&&n&&p(e,"ui:play",d)},hideElectronicProgramGuide:()=>{r.send("ELECTRONIC_PROGRAM_GUIDE.HIDE")},hideLiveChannelGroupFilter:()=>{r.send("ELECTRONIC_PROGRAM_GUIDE.FILTER.HIDE")},hideNonRequiredElements:()=>{f.cancel(),r.send("USER.HIDE_NON_REQUIRED_ELEMENTS")},hideTracksSelectionMenu:h,hideUpNext:()=>{r.send("UP_NEXT.HIDE")},login:t=>{p(e,"ui:login",Object.assign(Object.assign({},d),t))},mute:()=>{p(e,"ui:mute",d)},openAdClickThrough:()=>{p(e,"ui:openAdClickThrough",d)},pause:()=>{p(e,"ui:pause",d),r.send(["USER.START_INTERACTION_ATTEMPT","USER.STOP_INTERACTION_ATTEMPT"])},play(){p(e,"ui:play",d),r.send(["USER.START_INTERACTION_ATTEMPT","USER.STOP_INTERACTION_ATTEMPT"])},register:()=>{p(e,"ui:login",d)},replay:()=>{p(e,"ui:replay",d)},seek:t=>{p(e,"ui:seek",Object.assign(Object.assign({},d),t))},seekBackwardJump:()=>{f(),p(e,"ui:seek",Object.assign(Object.assign({},d),{offset:-Math.abs(s.seekJumpOffsetInSeconds)}))},seekEnd:()=>{r.send("USER.STOP_INTERACTION_ATTEMPT"),r.send("SEEK.SEEK_END"),p(e,"ui:seekEnd",d)},seekForwardJump:()=>{f(),p(e,"ui:seek",Object.assign(Object.assign({}
353,d),{offset:Math.abs(s.seekJumpOffsetInSeconds)}))},seekStart:()=>{r.send(["USER.START_INTERACTION_ATTEMPT","SEEK.SET_SEEKING"]),p(e,"ui:seekStart",d)},seekTo:t=>{p(e,"ui:seekTo",Object.assign(Object.assign({},d),t))},selectAudioTrack:t=>{p(e,"ui:selectAudioTrack",Object.assign(Object.assign({},d),t)),h()},selectSubtitle:t=>{let n=""===t.id?null:t.id;p(e,"ui:selectSubtitle",Object.assign(Object.assign({},d),{id:n})),h()},sendAdFeedback:t=>{p(e,"ui:sendAdFeedback",Object.assign(Object.assign({},d),t))},sendNonLinearAdEvent:t=>{p(e,"ui:sendNonLinearAdEvent",Object.assign({origin:"api"},t))},sendUiEvent(e){r.send(e)},setLiveChannelGroupFilter(e){a.save({liveChannelGroupFilter:o.Maybe.just(e)}),r.send({liveChannelGroupFilter:e,type:"ELECTRONIC_PROGRAM_GUIDE.FILTER.SET"})},setVolume:t=>{p(e,"ui:setVolume",Object.assign(Object.assign({},d),t))},showAdvertisementFeedbackMenu:()=>{let{isPlaying:t}=r.currentState;r.send(["USER.START_INTERACTION_ATTEMPT","ADVERTISEMENT_FEEDBACK_MENU.SHOW"]),t&&p(e,"ui:pause",d)},showAdvertisementFeedbackSent:()=>{r.send("ADVERTISEMENT_FEEDBACK_MENU.SENT")},showElectronicProgramGuide:()=>{r.send("ELECTRONIC_PROGRAM_GUIDE.SHOW")},showLiveChannelGroupFilter:()=>{r.send("ELECTRONIC_PROGRAM_GUIDE.FILTER.SHOW")},showPersonalIdentificationNumberSettings:()=>{p(e,"ui:showPersonalIdentificationNumberSettings",d)},showTracksSelectionMenu(){r.send(["USER.START_INTERACTION_ATTEMPT","TRACKS_SELECTION_MENU.SHOW"])},skipAd:()=>{p(e,"ui:skipAd",d)},skipToNextLivePlaylistItem(){var e,n;let{playlistIndex:a,livePlaylistItems:o}=r.currentState,s=o.findIndex(e=>e.playlistIndex===a),l=null==(e=o[s+1])?void 0:e.playlistIndex;if(!i.default.number(l)){let e=null==(n=o[0])?void 0:n.playlistIndex;l=s===o.length-1&&i.default.number(e)?e:0}t({playlistIndex:l})},skipToNextPlaylistItem(){p(e,"ui:skipToNextPlaylistItem",d)},skipToPlaylistIndex:t,skipToPlaylistPointer(t){p(e,"ui:skipToPlaylistPointer",Object.assign(Object.assign({},d),t))},skipToPreviousLivePlaylistItem(){var e,n;let{playlistIndex:a,livePlaylistItems:o}=r.currentState,s=o.findIndex(e=>e.playlistIndex===a),l=null==(e=o[s-1])?void 0:e.playlistIndex;if(!i.default.number(l)){let e=null==(n=o[o.length-1])?void 0:n.playlistIndex;l=0===s&&i.default.number(e)?e:0}t({playlistIndex:l})},startInteractionAttempt:()=>{r.send("USER.START_INTERACTION_ATTEMPT")},stopInteractionAttempt:()=>{r.send("USER.STOP_INTERACTION_ATTEMPT")},subscribe(){p(e,"ui:subscribe",d)},togglePlayPause(){r.send(["USER.START_INTERACTION_ATTEMPT","USER.STOP_INTERACTION_ATTEMPT"]),p(e,"ui:togglePlayPause",d)},touchVideoElement(t){p(e,"ui:touchVideoElement",Object.assign(Object.assign({},d),t))},triggerImmediateInteractionAttempt:()=>{f()},triggerPersonalIdentificationNumberCancellation:()=>{p(e,"ui:triggerPersonalIdentificationNumberCancellation",d)},uiStateChanged:()=>{p(e,"ui:stateChanged",d)},unmute:()=>{p(e,"ui:unmute",d)},unsetLiveChannelGroupFilter(){a.save({liveChannelGroupFilter:o.Maybe.nothing()}),r.send("ELECTRONIC_PROGRAM_GUIDE.FILTER.UNSET")}}})(e);c.ui=e,c.uiActions=t,e.setActions(t),e.setState(u)}};return r.onStateChange(e=>{var t;null==(t=c.ui)||t.setState(e)}),m}},25597:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createClockNotifier=void 0;let r=n(70015),i=r.__importDefault(n(10660)),a=r.__importDefault(n(19561)),o=n(7939);t.createClockNotifier=function(e){let{clock:t}=e,n=(0,o.createEventEmitter)(),r=!1,s=null,l=null;function u(e){if(s=null,l=e,r)return;let i=e,o=t.getCurrentTimestamp();o>e&&(i=(0,a.default)(o).getTime()),n.emit("minuteChange",i),c()}function c(){if(null!==s)return;let e=t.getCurrentTimestamp(),n=function(e){let t=new Date(e);return(0,i.default)(t).getTime()+1}(e);n===l&&(n+=6e4);let r=n-e;s=t.setTimeout(u,r,n)}return{destroy(){r=!0,n.destroy()},off(e,r){n.off(e,r),n.hasListeners("minuteChange")||null===s||(t.clearTimeout(s),s=null)},on(e,t){n.on(e,t),c()}}}},25851:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatListOfValues=void 0;let r=n(70015).__importDefault(n(19577));function i(e){return r.default.undefined(e)?"undefined":r.default.null_(e)?"
353null":r.default.string(e)?`'${e}'`:String(e)}t.formatListOfValues=function(e){return e.map(i).join(", ")}},26161:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAdDecisionServiceProviderApi=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47561),o=n(44539),s=n(74816),l=n(2275),u=n(47760),c=n(85567),d=n(40650),p=(e,t)=>{let n={};return i.default.nonEmptyString(t)&&(n[e]=t),n};function f(e,t){return null===e||e<0?a.Result.err(Error(`Value ${e} for key ${t} is not a non-negative number`)):a.Result.ok(e.toString())}t.createAdDecisionServiceProviderApi=(e,t)=>{let{logger:n,store:h,handlers:m,errorReporter:g,toggleRouter:y,fallbackAdloadHandler:v,utmParametersApi:b}=e,{adDecisionBaseUrl:_,adLoadOverride:S}=t;return y.getFeatureValue("advertisement-quality-assurance").unwrapOr(!1)&&(0,c.isAdDecisionServiceResponse)(S)&&h.setState({adLoad:c.adDecisionServiceResponseSchema.parse(S),allowAdLoadOverride:!0}),{get:(m,y,_,S,E)=>r.__awaiter(void 0,void 0,void 0,function*(){h.setState({userId:S.mapOr(void 0,e=>e.user_id)});let{allowAdLoadOverride:k,adLoad:A}=h.getState();if(k&&!i.default.nullOrUndefined(A))return A;let T=yield b.getUtmParameters(),x=yield((e,{store:t,httpClient:n})=>r.__awaiter(void 0,void 0,void 0,function*(){let{adDecisionBaseUrl:r,contentResource:h,encodedEntitlementJsonWebToken:m,entitlementTokenPayload:g,playerState:{contentDuration:y,contentPosition:v},rollName:b,joynCountry:_,utmParameters:S}=e,{brandName:E,id:k,contentType:A,tvShowId:T}=h,{lastPlayHeadPosition:x,sessionVideoWatchTime:w,videoWatchTimeSinceLastBreak:C}=t.getState(),I=0;(0,o.isContentResourceWithPlaybackStartPosition)(h)&&(I=h.playbackStartPosition);let O=function(e,t){var n,r;let{brand:o,contentDuration:s,contentId:u,contentPosition:c,contentType:d,breakType:h,lastPlayHeadPosition:m,priestExperiments:g,playbackStartPosition:y,presentationalContext:v,sessionVideoWatchTime:b,tvShowId:_,userId:S,utmParameters:E,videoWatchTimeSinceLastBreak:k}=e;return(r={contentDuration:s,contentPosition:null!=(n=null!=m?m:c)?n:y,sessionVideoWatchTime:b,videoWatchTimeSinceLastBreak:k},a.Result.ok(e=>t=>n=>r=>({contentDuration:e,contentPosition:t,sessionVideoWatchTime:n,videoWatchTimeSinceLastBreak:r})).ap(f(r.contentDuration,"contentDuration")).ap(f(r.contentPosition,"contentPosition")).ap(f(r.sessionVideoWatchTime,"sessionVideoWatchTime")).ap(f(r.videoWatchTimeSinceLastBreak,"videoWatchTimeSinceLastBreak"))).map(e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({breakType:h,contentType:d},e),p("brand",o)),p("contentId",u)),p("presentationalContext",v)),p("urchinTrackingModuleSource",null==E?void 0:E.source)),p("userId",S)),p("tvShowId",_)),i.default.nonEmptyArray(g)&&{priestExperiments:JSON.stringify(g)})).andThen(e=>t.mapOr(a.Result.err(Error("Could not get entitlement token")),e=>{let{business_model:t,joyn_packages:n,user_id:r}=e;return(0,l.isJoynPackagesArray)(n)?a.Result.ok({businessModel:t,joynPackages:JSON.stringify(n),userId:r}):a.Result.err(Error("Could not get joyn_packages from entitlement token"))}).andThen(t=>a.Result.ok(Object.assign(Object.assign({},e),t))))}(Object.assign(Object.assign({},e),{brand:E,breakType:b,contentDuration:y,contentId:k,contentPosition:v,contentType:A,lastPlayHeadPosition:x,playbackStartPosition:I,sessionVideoWatchTime:w,tvShowId:T,utmParameters:S,videoWatchTimeSinceLastBreak:C}),g);if(O.isErr())return a.Result.err(O.error);try{let e=yield n.get({options:{headers:(e=>{let{encodedEntitlementJsonWebToken:t,joynDistributionTenant:n}=e;return{"Joyn-Distribution-Tenant":n,authorization:`Bearer ${t.unwrapOr("no-token-available")}`}})({encodedEntitlementJsonWebToken:m,joynDistributionTenant:(0,s.getJoynDistributionTenant)({entitlementTokenPayload:g,joynCountry:_})}),searchParams:O.value},uri:(0,d.createAdDecisionEndpointUrl)({adDecisionBaseUrl:r,route:"dynamic"})});return a.Result.ok(c.adDecisionServiceResponseSchema.parse(e))}catch(e){return a.Result.err(new u.AdDecisionError(`[AD-DECISION-SERVICE] get dynamic ad load failed. Reason ${e.message}`,e,{payload:new URLSearchParams(O.value).toString()}))}}))(Object.assign(Object.assign({},t),{contentResource:y,encodedEntitlementJsonWebToken:E,entitlementTokenPayload:S,playerState:m,rollName:_,utmParameters:T.unwrapOr({})}),e);return x.isErr()?(n.error(x.error.message),(e=>{let{error:t,playerState:r,rollName:i,entitlementTokenPayload:a}=e,{isLivestream:o,contentPosition:s}=r;n.log("fetching dynamic adLoad failed. Using fallback adLoad",t.message),g.sendError(t);let l=v({businessModel:a.mapOr(void 0,e=>e.business_model),contentPosition:null!=s?s:0,isLivestream:o,joynPackages:a.mapOr([],e=>e.joyn_packages),rollName:i});return h.setState({adLoad:l}),l})({entitlementTokenPayload:S,error:x.error,playerState:m,rollName:_})):(h.setState({adLoad:x.value}),x.value)}),getCurrentAdRollWatchTime:()=>h.getState().adRollWatchTime,track:(e,t)=>r.__awaiter(void 0,void 0,void 0,function*(){switch(e){case"lifecycle-create":m.handleLifecycleCreate(t);break;case"ad-roll-start":m.handleAdRollStart(t);break;case"lifecycle-abort":case"lifecycle-end":yield m.handleLifecycleAbortAndEnd();break;case"position-change":m.handlePositionChange(t);break;case"ad-begin":m.handleAdBegin();break;case"seeking":m.handlePositionSeek(t);break;case"ad-complete":m.handleAdComplete()}}),update:({hasRollEnded:t=!1}={})=>r.__awaiter(void 0,void 0,void 0,function*(){t&&m.handleAdRollEnd();let{rollPosition:n}=h.getState();i.default.nullOrUndefined(n)||(yield(0,d.updateDecisionService)(_,e),h.setState({adRollWatchTime:void 0}))})}}}
353,26189:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(82486),i=n(76737),a=n(28481);function o(e){var t;return(t={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}})[i.symbolObservable]=function(){return this},t}function s(e,t,n){var r=o(t);if(r.deferred=!0,i.isMachine(e)){var s=r.state=a.provide(void 0,function(){return(n?e.withContext(n):e).initialState});r.getSnapshot=function(){return s}}return r}function l(e){try{return"function"==typeof e.send}catch(e){return!1}}t.createDeferredActor=s,t.createInvocableActor=function(e,t,n,r){var a,l=i.toInvokeSource(e.src),u=null==(a=null==t?void 0:t.options.services)?void 0:a[l.type],c=e.data?i.mapContext(e.data,n,r):void 0,d=u?s(u,e.id,c):o(e.id);return d.meta=e,d},t.createNullActor=o,t.isActor=l,t.isSpawnedActor=function(e){return l(e)&&"id"in e},t.toActorRef=function(e){var t;return r.__assign(((t={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}})[i.symbolObservable]=function(){return this},t),e)}},26324:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extraGraphQlQuerySchema=t.extraBaseSchema=t.extraWithTitleOnlySchema=void 0;let r=n(47561),i=n(92712),a=n(493),o=n(78492),s=n(70351),l=n(16002),u=n(65317),c=n(9334),d=n(16104),p=i.z.object({__typename:i.z.literal("Series"),genres:s.parentGenresSchema,id:l.idSchema,title:i.z.string()}).strict().nullable().transform(r.Maybe.of),f=o.commonParentSchema.extend({__typename:i.z.literal("Episode"),series:p}).strict(),h=i.z.object({__typename:i.z.literal("Season"),series:p}).strict(),m=o.commonParentSchema.extend({__typename:i.z.literal("Compilation"),title:i.z.string()}).strict(),g=o.commonParentSchema.extend({__typename:i.z.literal("Movie"),genres:s.parentGenresSchema,title:i.z.string()}).strict(),y=o.commonParentSchema.extend({__typename:i.z.literal("Series"),genres:s.parentGenresSchema,title:i.z.string()}).strict(),v=o.commonParentSchema.extend({__typename:i.z.literal("SportsMatch"),title:i.z.string()}).strict(),b=i.z.object({__typename:i.z.literal("SportsStage"),title:i.z.string()}).strict(),_=i.z.object({__typename:i.z.literal("SportsCompetition"),title:i.z.string()}).strict(),S=i.z.discriminatedUnion("__typename",[f,h,m,g,y,v,b,_]);t.extraWithTitleOnlySchema=i.z.object({__typename:i.z.literal("Extra"),title:i.z.string()}).strict(),t.extraBaseSchema=i.z.object({__typename:i.z.literal("Extra"),ageRating:u.ageRatingSchema,brands:a.brandsSchema,id:l.idSchema,title:i.z.string(),tracking:c.trackingSchema,video:d.videoSchema}).strict();let E=t.extraBaseSchema.extend({parent:S.nullable().transform(r.Maybe.of)}).strict();t.extraGraphQlQuerySchema=i.z.object({extra:E}).strict()},26349:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.licenseTypesSchema=void 0;let r=n(92712),i=r.z.union([r.z.literal("AVOD"),r.z.literal("SVOD"),r.z.literal("FVOD"),r.z.literal("RVOD")]);t.licenseTypesSchema=r.z.array(i).transform(e=>e)},26447:(e,t,n)=>{"use strict";var r;n.d(t,{b:()=>r}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(r||(r={}))},26586:(e,t,n)=>{"use strict";var r;
353Object.defineProperty(t,"__esModule",{value:!0}),t.discriminatedUnion=t.date=t.boolean=t.bigint=t.array=t.any=t.coerce=t.ZodFirstPartyTypeKind=t.late=t.ZodSchema=t.Schema=t.custom=t.ZodPipeline=t.ZodBranded=t.BRAND=t.ZodNaN=t.ZodCatch=t.ZodDefault=t.ZodNullable=t.ZodOptional=t.ZodTransformer=t.ZodEffects=t.ZodPromise=t.ZodNativeEnum=t.ZodEnum=t.ZodLiteral=t.ZodLazy=t.ZodFunction=t.ZodSet=t.ZodMap=t.ZodRecord=t.ZodTuple=t.ZodIntersection=t.ZodDiscriminatedUnion=t.ZodUnion=t.ZodObject=t.ZodArray=t.ZodVoid=t.ZodNever=t.ZodUnknown=t.ZodAny=t.ZodNull=t.ZodUndefined=t.ZodSymbol=t.ZodDate=t.ZodBoolean=t.ZodBigInt=t.ZodNumber=t.ZodString=t.ZodType=void 0,t.NEVER=t.void=t.unknown=t.union=t.undefined=t.tuple=t.transformer=t.symbol=t.string=t.strictObject=t.set=t.record=t.promise=t.preprocess=t.pipeline=t.ostring=t.optional=t.onumber=t.oboolean=t.object=t.number=t.nullable=t.null=t.never=t.nativeEnum=t.nan=t.map=t.literal=t.lazy=t.intersection=t.instanceof=t.function=t.enum=t.effect=void 0;let i=n(45303),a=n(47428),o=n(62981),s=n(80750),l=n(90861);class u{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let c=(e,t)=>{if((0,o.isValid)(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new l.ZodError(e.common.issues);return this._error=t,this._error}}};function d(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:i}:{errorMap:(e,t)=>"invalid_type"!==e.code?{message:t.defaultError}:void 0===t.data?{message:null!=r?r:t.defaultError}:{message:null!=n?n:t.defaultError},description:i}}class p{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return(0,s.getParsedType)(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:(0,s.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new o.ParseStatus,ctx:{common:e.parent.common,data:e.data,parsedType:(0,s.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);
353if((0,o.isAsync)(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;let r={common:{issues:[],async:null!=(n=null==t?void 0:t.async)&&n,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,s.getParsedType)(e)},i=this._parseSync({data:e,path:r.path,parent:r});return c(r,i)}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,s.getParsedType)(e)},r=this._parse({data:e,path:n.path,parent:n});return c(n,await ((0,o.isAsync)(r)?r:Promise.resolve(r)))}refine(e,t){return this._refinement((n,r)=>{let i=e(n),a=()=>r.addIssue({code:l.ZodIssueCode.custom,..."string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(n):t});return"undefined"!=typeof Promise&&i instanceof Promise?i.then(e=>!!e||(a(),!1)):!!i||(a(),!1)})}refinement(e,t){return this._refinement((n,r)=>!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),!1))}_refinement(e){return new J({schema:this,typeName:r.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return q.create(this,this._def)}nullable(){return Q.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return L.create(this,this._def)}promise(){return $.create(this,this._def)}or(e){return M.create([this,e],this._def)}and(e){return U.create(this,e,this._def)}transform(e){return new J({...d(this._def),schema:this,typeName:r.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new ee({...d(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:r.ZodDefault})}brand(){return new er({typeName:r.ZodBranded,type:this,...d(this._def)})}catch(e){return new et({...d(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:r.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return ei.create(this,e)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}t.ZodType=p,t.Schema=p,t.ZodSchema=p;let f=/^c[^\s-]{8,}$/i,h=/^[a-z][a-z0-9]*$/,m=/[0-9A-HJKMNP-TV-Z]{26}/,g=/^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i,y=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\])|(\[IPv6:(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))\])|([A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9])*(\.[A-Za-z]{2,})+))$/,v=/^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/u,b=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,_=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,S=e=>{if(e.precision)if(e.offset)return RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`);else return RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`);if(0===e.precision)if(e.offset)return RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$");else return RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$");return e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$")};class E extends p{constructor(){super(...arguments),this._regex=(e,t,n)=>this.refinement(t=>e.test(t),{validation:t,code:l.ZodIssueCode.invalid_string,...a.errorUtil.errToObj(n)}),this.nonempty=e=>this.min(1,a.errorUtil.errToObj(e)),this.trim=()=>new E({...this._def,checks:[...this._def.checks,{kind:"trim"}]}),this.toLowerCase=()=>new E({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]}),this.toUpperCase=()=>new E({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}_parse(e){let t;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==s.ZodParsedType.string){let t=this._getOrReturnCtx(e);return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.string,received:t.parsedType}),o.INVALID}let n=new o.ParseStatus;for(let a of this._def.checks)if("min"===a.kind)e.data.length<a.value&&(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),n.dirty());else if("max"===a.kind)e.data.length>a.value&&(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),n.dirty());else if("length"===a.kind){let r=e.data.length>a.value,i=e.data.length<a.value;(r||i)&&(t=this._getOrReturnCtx(e,t),r?(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):i&&(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),n.dirty())}else if("email"===a.kind)y.test(e.data)||(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{validation:"email",code:l.ZodIssueCode.invalid_string,message:a.message}),n.dirty());else if("emoji"===a.kind)v.test(e.data)||(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{validation:"emoji",code:l.ZodIssueCode.invalid_string,message:a.message}),n.dirty());else if("uuid"===a.kind)g.test(e.data)||(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{validation:"uuid",code:l.ZodIssueCode.invalid_string,message:a.message}),n.dirty());else if("cuid"===a.kind)f.test(e.data)||(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{validation:"cuid",code:l.ZodIssueCode.invalid_string,message:a.message}),n.dirty());else if("cuid2"===a.kind)h.test(e.data)||(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{validation:"cuid2",code:l.ZodIssueCode.invalid_string,message:a.message}),n.dirty());else if("ulid"===a.kind)m.test(e.data)||(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{validation:"ulid",code:l.ZodIssueCode.invalid_string,message:a.message}),n.dirty());else if("url"===a.kind)try{new URL(e.data)}catch(r){t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{validation:"url",code:l.ZodIssueCode.invalid_string,message:a.message}),n.dirty()}else if("regex"===a.kind)a.regex.lastIndex=0,a.regex.test(e.data)||(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{validation:"regex",code:l.ZodIssueCode.invalid_string,message:a.message}),n.dirty());else if("trim"===a.kind)e.data=e.data.trim();else if("includes"===a.kind)e.data.includes(a.value,a.position)||(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),n.dirty());else if("toLowerCase"===a.kind)e.data=e.data.toLowerCase();else if("toUpperCase"===a.kind)e.data=e.data.toUpperCase();else if("startsWith"===a.kind)e.data.startsWith(a.value)||(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_string,validation:{startsWith:a.value},message:a.message}),n.dirty());else if("endsWith"===a.kind)e.data.endsWith(a.value)||(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_string,validation:{endsWith:a.value},message:a.message}),n.dirty());else if("datetime"===a.kind)S(a).test(e.data)||(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_string,validation:"datetime",message:a.message}),n.dirty());else if("ip"===a.kind){var r,i;r=e.data,!(("v4"===(i=a.version)||!i)&&b.test(r)||("v6"===i||!i)&&_.test(r))&&1&&(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{validation:"ip",code:l.ZodIssueCode.invalid_string,message:a.message}),n.dirty())}else s.util.assertNever(a);return{status:n.value,value:e.data}}_addCheck(e){return new E({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...a.errorUtil.errToObj(e)})}url(e){return this._addCheck({kind:"url",...a.errorUtil.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...a.errorUtil.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...a.errorUtil.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...a.errorUtil.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...a.errorUtil.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...a.errorUtil.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...a.errorUtil.errToObj(e)})}datetime(e){var t;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!=(t=null==e?void 0:e.offset)&&t,...a.errorUtil.errToObj(null==e?void 0:e.message)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...a.errorUtil.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...a.errorUtil.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...a.errorUtil.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...a.errorUtil.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...a.errorUtil.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...a.errorUtil.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...a.errorUtil.errToObj(t)})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}
353get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}t.ZodString=E,E.create=e=>{var t;return new E({checks:[],typeName:r.ZodString,coerce:null!=(t=null==e?void 0:e.coerce)&&t,...d(e)})};class k extends p{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==s.ZodParsedType.number){let t=this._getOrReturnCtx(e);return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.number,received:t.parsedType}),o.INVALID}let n=new o.ParseStatus;for(let r of this._def.checks)"int"===r.kind?s.util.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"multipleOf"===r.kind?0!==function(e,t){let n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r;return parseInt(e.toFixed(i).replace(".",""))%parseInt(t.toFixed(i).replace(".",""))/Math.pow(10,i)}(e.data,r.value)&&(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.not_finite,message:r.message}),n.dirty()):s.util.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,a.errorUtil.toString(t))}gt(e,t){return this.setLimit("min",e,!1,a.errorUtil.toString(t))}lte(e,t){return this.setLimit("max",e,!0,a.errorUtil.toString(t))}lt(e,t){return this.setLimit("max",e,!1,a.errorUtil.toString(t))}setLimit(e,t,n,r){return new k({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:a.errorUtil.toString(r)}]})}_addCheck(e){return new k({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:a.errorUtil.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:a.errorUtil.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:a.errorUtil.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:a.errorUtil.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:a.errorUtil.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:a.errorUtil.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:a.errorUtil.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:a.errorUtil.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:a.errorUtil.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&s.util.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks)if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;else"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value);return Number.isFinite(t)&&Number.isFinite(e)}}t.ZodNumber=k,k.create=e=>new k({checks:[],typeName:r.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...d(e)});class A extends p{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==s.ZodParsedType.bigint){let t=this._getOrReturnCtx(e);return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.bigint,received:t.parsedType}),o.INVALID}let n=new o.ParseStatus;for(let r of this._def.checks)"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):s.util.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,a.errorUtil.toString(t))}gt(e,t){return this.setLimit("min",e,!1,a.errorUtil.toString(t))}lte(e,t){return this.setLimit("max",e,!0,a.errorUtil.toString(t))}lt(e,t){return this.setLimit("max",e,!1,a.errorUtil.toString(t))}setLimit(e,t,n,r){return new A({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:a.errorUtil.toString(r)}]})}_addCheck(e){return new A({...this._def,checks:[...this._def.checks,e]})}
353positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:a.errorUtil.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:a.errorUtil.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:a.errorUtil.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:a.errorUtil.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:a.errorUtil.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}t.ZodBigInt=A,A.create=e=>{var t;return new A({checks:[],typeName:r.ZodBigInt,coerce:null!=(t=null==e?void 0:e.coerce)&&t,...d(e)})};class T extends p{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==s.ZodParsedType.boolean){let t=this._getOrReturnCtx(e);return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.boolean,received:t.parsedType}),o.INVALID}return(0,o.OK)(e.data)}}t.ZodBoolean=T,T.create=e=>new T({typeName:r.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...d(e)});class x extends p{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==s.ZodParsedType.date){let t=this._getOrReturnCtx(e);return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.date,received:t.parsedType}),o.INVALID}if(isNaN(e.data.getTime())){let t=this._getOrReturnCtx(e);return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_date}),o.INVALID}let n=new o.ParseStatus;for(let r of this._def.checks)"min"===r.kind?e.data.getTime()<r.value&&(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:"date"}),n.dirty()):"max"===r.kind?e.data.getTime()>r.value&&(t=this._getOrReturnCtx(e,t),(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),n.dirty()):s.util.assertNever(r);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new x({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:a.errorUtil.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:a.errorUtil.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}t.ZodDate=x,x.create=e=>new x({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:r.ZodDate,...d(e)});class w extends p{_parse(e){if(this._getType(e)!==s.ZodParsedType.symbol){let t=this._getOrReturnCtx(e);return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.symbol,received:t.parsedType}),o.INVALID}return(0,o.OK)(e.data)}}t.ZodSymbol=w,w.create=e=>new w({typeName:r.ZodSymbol,...d(e)});class C extends p{_parse(e){if(this._getType(e)!==s.ZodParsedType.undefined){let t=this._getOrReturnCtx(e);return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.undefined,received:t.parsedType}),o.INVALID}return(0,o.OK)(e.data)}}t.ZodUndefined=C,C.create=e=>new C({typeName:r.ZodUndefined,...d(e)});class I extends p{_parse(e){if(this._getType(e)!==s.ZodParsedType.null){let t=this._getOrReturnCtx(e);return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.null,received:t.parsedType}),o.INVALID}return(0,o.OK)(e.data)}}t.ZodNull=I,I.create=e=>new I({typeName:r.ZodNull,...d(e)});class O extends p{constructor(){super(...arguments),this._any=!0}_parse(e){return(0,o.OK)(e.data)}}t.ZodAny=O,O.create=e=>new O({typeName:r.ZodAny,...d(e)});class R extends p{constructor(){super(...arguments),this._unknown=!0}_parse(e){return(0,o.OK)(e.data)}}t.ZodUnknown=R,R.create=e=>new R({typeName:r.ZodUnknown,...d(e)});class P extends p{_parse(e){let t=this._getOrReturnCtx(e);return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.never,received:t.parsedType}),o.INVALID}}t.ZodNever=P,P.create=e=>new P({typeName:r.ZodNever,...d(e)});class N extends p{_parse(e){if(this._getType(e)!==s.ZodParsedType.undefined){let t=this._getOrReturnCtx(e);return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.void,received:t.parsedType}),o.INVALID}return(0,o.OK)(e.data)}}t.ZodVoid=N,N.create=e=>new N({typeName:r.ZodVoid,...d(e)});class L extends p{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==s.ZodParsedType.array)return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.array,received:t.parsedType}),o.INVALID;if(null!==r.exactLength){let e=t.data.length>r.exactLength.value,i=t.data.length<r.exactLength.value;(e||i)&&((0,o.addIssueToContext)(t,{code:e?l.ZodIssueCode.too_big:l.ZodIssueCode.too_small,minimum:i?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}if(null!==r.minLength&&t.data.length<r.minLength.value&&((0,o.addIssueToContext)(t,{code:l.ZodIssueCode.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),n.dirty()),null!==r.maxLength&&t.data.length>r.maxLength.value&&((0,o.addIssueToContext)(t,{code:l.ZodIssueCode.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>r.type._parseAsync(new u(t,e,t.path,n)))).then(e=>o.ParseStatus.mergeArray(n,e));let i=[...t.data].map((e,n)=>r.type._parseSync(new u(t,e,t.path,n)));return o.ParseStatus.mergeArray(n,i)}
353get element(){return this._def.type}min(e,t){return new L({...this._def,minLength:{value:e,message:a.errorUtil.toString(t)}})}max(e,t){return new L({...this._def,maxLength:{value:e,message:a.errorUtil.toString(t)}})}length(e,t){return new L({...this._def,exactLength:{value:e,message:a.errorUtil.toString(t)}})}nonempty(e){return this.min(1,e)}}t.ZodArray=L,L.create=(e,t)=>new L({type:e,minLength:null,maxLength:null,exactLength:null,typeName:r.ZodArray,...d(t)});class j extends p{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=s.util.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==s.ZodParsedType.object){let t=this._getOrReturnCtx(e);return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.object,received:t.parsedType}),o.INVALID}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof P&&"strip"===this._def.unknownKeys))for(let e in n.data)i.includes(e)||a.push(e);let c=[];for(let e of i){let t=r[e],i=n.data[e];c.push({key:{status:"valid",value:e},value:t._parse(new u(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof P){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of a)c.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)a.length>0&&((0,o.addIssueToContext)(n,{code:l.ZodIssueCode.unrecognized_keys,keys:a}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of a){let r=n.data[t];c.push({key:{status:"valid",value:t},value:e._parse(new u(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of c){let n=await t.key;e.push({key:n,value:await t.value,alwaysSet:t.alwaysSet})}return e}).then(e=>o.ParseStatus.mergeObjectSync(t,e)):o.ParseStatus.mergeObjectSync(t,c)}get shape(){return this._def.shape()}strict(e){return a.errorUtil.errToObj,new j({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{var r,i,o,s;let l=null!=(o=null==(i=(r=this._def).errorMap)?void 0:i.call(r,t,n).message)?o:n.defaultError;return"unrecognized_keys"===t.code?{message:null!=(s=a.errorUtil.errToObj(e).message)?s:l}:{message:l}}}:{}})}strip(){return new j({...this._def,unknownKeys:"strip"})}passthrough(){return new j({...this._def,unknownKeys:"passthrough"})}extend(e){return new j({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new j({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:r.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new j({...this._def,catchall:e})}pick(e){let t={};return s.util.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])}),new j({...this._def,shape:()=>t})}omit(e){let t={};return s.util.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new j({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof j){let n={};for(let r in t.shape){let i=t.shape[r];n[r]=q.create(e(i))}return new j({...t._def,shape:()=>n})}if(t instanceof L)return new L({...t._def,type:e(t.element)});if(t instanceof q)return q.create(e(t.unwrap()));if(t instanceof Q)return Q.create(e(t.unwrap()));if(t instanceof V)return V.create(t.items.map(t=>e(t)));else return t}(this)}partial(e){let t={};return s.util.objectKeys(this.shape).forEach(n=>{let r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}),new j({...this._def,shape:()=>t})}required(e){let t={};return s.util.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof q;)e=e._def.innerType;t[n]=e}}),new j({...this._def,shape:()=>t})}keyof(){return H(s.util.objectKeys(this.shape))}}t.ZodObject=j,j.create=(e,t)=>new j({shape:()=>e,unknownKeys:"strip",catchall:P.create(),typeName:r.ZodObject,...d(t)}),j.strictCreate=(e,t)=>
353new j({shape:()=>e,unknownKeys:"strict",catchall:P.create(),typeName:r.ZodObject,...d(t)}),j.lazycreate=(e,t)=>new j({shape:e,unknownKeys:"strip",catchall:P.create(),typeName:r.ZodObject,...d(t)});class M extends p{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map(async e=>{let n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;let n=e.map(e=>new l.ZodError(e.ctx.common.issues));return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_union,unionErrors:n}),o.INVALID});{let e,r=[];for(let i of n){let n={...t,common:{...t.common,issues:[]},parent:null},a=i._parseSync({data:t.data,path:t.path,parent:n});if("valid"===a.status)return a;"dirty"!==a.status||e||(e={result:a,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=r.map(e=>new l.ZodError(e));return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_union,unionErrors:i}),o.INVALID}}get options(){return this._def.options}}t.ZodUnion=M,M.create=(e,t)=>new M({options:e,typeName:r.ZodUnion,...d(t)});let D=e=>{if(e instanceof W)return D(e.schema);if(e instanceof J)return D(e.innerType());if(e instanceof Z)return[e.value];if(e instanceof K)return e.options;if(e instanceof X)return Object.keys(e.enum);else if(e instanceof ee)return D(e._def.innerType);else if(e instanceof C)return[void 0];else if(e instanceof I)return[null];else return null};class F extends p{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==s.ZodParsedType.object)return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.object,received:t.parsedType}),o.INVALID;let n=this.discriminator,r=t.data[n],i=this.optionsMap.get(r);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):((0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),o.INVALID)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){let i=new Map;for(let n of t){let t=D(n.shape[e]);if(!t)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let r of t){if(i.has(r))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(r)}`);i.set(r,n)}}return new F({typeName:r.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:i,...d(n)})}}t.ZodDiscriminatedUnion=F;class U extends p{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if((0,o.isAborted)(e)||(0,o.isAborted)(r))return o.INVALID;let i=function e(t,n){let r=(0,s.getParsedType)(t),i=(0,s.getParsedType)(n);if(t===n)return{valid:!0,data:t};if(r===s.ZodParsedType.object&&i===s.ZodParsedType.object){let r=s.util.objectKeys(n),i=s.util.objectKeys(t).filter(e=>-1!==r.indexOf(e)),a={...t,...n};for(let r of i){let i=e(t[r],n[r]);if(!i.valid)return{valid:!1};a[r]=i.data}return{valid:!0,data:a}}if(r===s.ZodParsedType.array&&i===s.ZodParsedType.array){if(t.length!==n.length)return{valid:!1};let r=[];for(let i=0;i<t.length;i++){let a=e(t[i],n[i]);if(!a.valid)return{valid:!1};r.push(a.data)}return{valid:!0,data:r}}if(r===s.ZodParsedType.date&&i===s.ZodParsedType.date&&+t==+n)return{valid:!0,data:t};return{valid:!1}}(e.value,r.value);return i.valid?(((0,o.isDirty)(e)||(0,o.isDirty)(r))&&t.dirty(),{status:t.value,value:i.data}):((0,o.addIssueToContext)(n,{code:l.ZodIssueCode.invalid_intersection_types}),o.INVALID)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>r(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}
353t.ZodIntersection=U,U.create=(e,t,n)=>new U({left:e,right:t,typeName:r.ZodIntersection,...d(n)});class V extends p{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==s.ZodParsedType.array)return(0,o.addIssueToContext)(n,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.array,received:n.parsedType}),o.INVALID;if(n.data.length<this._def.items.length)return(0,o.addIssueToContext)(n,{code:l.ZodIssueCode.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),o.INVALID;!this._def.rest&&n.data.length>this._def.items.length&&((0,o.addIssueToContext)(n,{code:l.ZodIssueCode.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let r=[...n.data].map((e,t)=>{let r=this._def.items[t]||this._def.rest;return r?r._parse(new u(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>o.ParseStatus.mergeArray(t,e)):o.ParseStatus.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new V({...this._def,rest:e})}}t.ZodTuple=V,V.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new V({items:e,typeName:r.ZodTuple,rest:null,...d(t)})};class B extends p{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==s.ZodParsedType.object)return(0,o.addIssueToContext)(n,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.object,received:n.parsedType}),o.INVALID;let r=[],i=this._def.keyType,a=this._def.valueType;for(let e in n.data)r.push({key:i._parse(new u(n,e,n.path,e)),value:a._parse(new u(n,n.data[e],n.path,e))});return n.common.async?o.ParseStatus.mergeObjectAsync(t,r):o.ParseStatus.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return new B(t instanceof p?{keyType:e,valueType:t,typeName:r.ZodRecord,...d(n)}:{keyType:E.create(),valueType:e,typeName:r.ZodRecord,...d(t)})}}t.ZodRecord=B;class G extends p{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==s.ZodParsedType.map)return(0,o.addIssueToContext)(n,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.map,received:n.parsedType}),o.INVALID;let r=this._def.keyType,i=this._def.valueType,a=[...n.data.entries()].map(([e,t],a)=>({key:r._parse(new u(n,e,n.path,[a,"key"])),value:i._parse(new u(n,t,n.path,[a,"value"]))}));if(n.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let n of a){let r=await n.key,i=await n.value;if("aborted"===r.status||"aborted"===i.status)return o.INVALID;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}})}{let e=new Map;for(let n of a){let r=n.key,i=n.value;if("aborted"===r.status||"aborted"===i.status)return o.INVALID;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}}t.ZodMap=G,G.create=(e,t,n)=>new G({valueType:t,keyType:e,typeName:r.ZodMap,...d(n)});class Y extends p{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==s.ZodParsedType.set)return(0,o.addIssueToContext)(n,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.set,received:n.parsedType}),o.INVALID;let r=this._def;null!==r.minSize&&n.data.size<r.minSize.value&&((0,o.addIssueToContext)(n,{code:l.ZodIssueCode.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),null!==r.maxSize&&n.data.size>r.maxSize.value&&((0,o.addIssueToContext)(n,{code:l.ZodIssueCode.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let i=this._def.valueType;function a(e){let n=new Set;for(let r of e){if("aborted"===r.status)return o.INVALID;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}let c=[...n.data.values()].map((e,t)=>i._parse(new u(n,e,n.path,t)));return n.common.async?Promise.all(c).then(e=>a(e)):a(c)}min(e,t){return new Y({...this._def,minSize:{value:e,message:a.errorUtil.toString(t)}})}max(e,t){return new Y({...this._def,maxSize:{value:e,message:a.errorUtil.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}t.ZodSet=Y,Y.create=(e,t)=>
353new Y({valueType:e,minSize:null,maxSize:null,typeName:r.ZodSet,...d(t)});class z extends p{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==s.ZodParsedType.function)return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.function,received:t.parsedType}),o.INVALID;function n(e,n){return(0,o.makeIssue)({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,(0,i.getErrorMap)(),i.defaultErrorMap].filter(e=>!!e),issueData:{code:l.ZodIssueCode.invalid_arguments,argumentsError:n}})}function r(e,n){return(0,o.makeIssue)({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,(0,i.getErrorMap)(),i.defaultErrorMap].filter(e=>!!e),issueData:{code:l.ZodIssueCode.invalid_return_type,returnTypeError:n}})}let a={errorMap:t.common.contextualErrorMap},u=t.data;return this._def.returns instanceof $?(0,o.OK)(async(...e)=>{let t=new l.ZodError([]),i=await this._def.args.parseAsync(e,a).catch(r=>{throw t.addIssue(n(e,r)),t}),o=await u(...i);return await this._def.returns._def.type.parseAsync(o,a).catch(e=>{throw t.addIssue(r(o,e)),t})}):(0,o.OK)((...e)=>{let t=this._def.args.safeParse(e,a);if(!t.success)throw new l.ZodError([n(e,t.error)]);let i=u(...t.data),o=this._def.returns.safeParse(i,a);if(!o.success)throw new l.ZodError([r(i,o.error)]);return o.data})}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new z({...this._def,args:V.create(e).rest(R.create())})}returns(e){return new z({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new z({args:e||V.create([]).rest(R.create()),returns:t||R.create(),typeName:r.ZodFunction,...d(n)})}}t.ZodFunction=z;class W extends p{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}t.ZodLazy=W,W.create=(e,t)=>new W({getter:e,typeName:r.ZodLazy,...d(t)});class Z extends p{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return(0,o.addIssueToContext)(t,{received:t.data,code:l.ZodIssueCode.invalid_literal,expected:this._def.value}),o.INVALID}return{status:"valid",value:e.data}}get value(){return this._def.value}}function H(e,t){return new K({values:e,typeName:r.ZodEnum,...d(t)})}t.ZodLiteral=Z,Z.create=(e,t)=>new Z({value:e,typeName:r.ZodLiteral,...d(t)});class K extends p{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),n=this._def.values;return(0,o.addIssueToContext)(t,{expected:s.util.joinValues(n),received:t.parsedType,code:l.ZodIssueCode.invalid_type}),o.INVALID}if(-1===this._def.values.indexOf(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return(0,o.addIssueToContext)(t,{received:t.data,code:l.ZodIssueCode.invalid_enum_value,options:n}),o.INVALID}return(0,o.OK)(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e){return K.create(e)}exclude(e){return K.create(this.options.filter(t=>!e.includes(t)))}}t.ZodEnum=K,K.create=H;class X extends p{_parse(e){let t=s.util.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==s.ZodParsedType.string&&n.parsedType!==s.ZodParsedType.number){let e=s.util.objectValues(t);return(0,o.addIssueToContext)(n,{expected:s.util.joinValues(e),received:n.parsedType,code:l.ZodIssueCode.invalid_type}),o.INVALID}if(-1===t.indexOf(e.data)){let e=s.util.objectValues(t);return(0,o.addIssueToContext)(n,{received:n.data,code:l.ZodIssueCode.invalid_enum_value,options:e}),o.INVALID}return(0,o.OK)(e.data)}get enum(){return this._def.values}}t.ZodNativeEnum=X,X.create=(e,t)=>new X({values:e,typeName:r.ZodNativeEnum,...d(t)});class $ extends p{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==s.ZodParsedType.promise&&!1===t.common.async)return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.promise,received:t.parsedType}),o.INVALID;
353let n=t.parsedType===s.ZodParsedType.promise?t.data:Promise.resolve(t.data);return(0,o.OK)(n.then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}t.ZodPromise=$,$.create=(e,t)=>new $({type:e,typeName:r.ZodPromise,...d(t)});class J extends p{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===r.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null;if("preprocess"===r.type){let e=r.transform(n.data);return n.common.async?Promise.resolve(e).then(e=>this._def.schema._parseAsync({data:e,path:n.path,parent:n})):this._def.schema._parseSync({data:e,path:n.path,parent:n})}let i={addIssue:e=>{(0,o.addIssueToContext)(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),"refinement"===r.type){let e=e=>{let t=r.refinement(e,i);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?o.INVALID:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))));{let r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?o.INVALID:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}}if("transform"===r.type)if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>(0,o.isValid)(e)?Promise.resolve(r.transform(e.value,i)).then(e=>({status:t.value,value:e})):e);else{let e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!(0,o.isValid)(e))return e;let a=r.transform(e.value,i);if(a instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:a}}s.util.assertNever(r)}}t.ZodEffects=J,t.ZodTransformer=J,J.create=(e,t,n)=>new J({schema:e,typeName:r.ZodEffects,effect:t,...d(n)}),J.createWithPreprocess=(e,t,n)=>new J({schema:t,effect:{type:"preprocess",transform:e},typeName:r.ZodEffects,...d(n)});class q extends p{_parse(e){return this._getType(e)===s.ZodParsedType.undefined?(0,o.OK)(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}t.ZodOptional=q,q.create=(e,t)=>new q({innerType:e,typeName:r.ZodOptional,...d(t)});class Q extends p{_parse(e){return this._getType(e)===s.ZodParsedType.null?(0,o.OK)(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}t.ZodNullable=Q,Q.create=(e,t)=>new Q({innerType:e,typeName:r.ZodNullable,...d(t)});class ee extends p{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===s.ZodParsedType.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}t.ZodDefault=ee,ee.create=(e,t)=>new ee({innerType:e,typeName:r.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...d(t)});class et extends p{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return(0,o.isAsync)(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new l.ZodError(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new l.ZodError(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}t.ZodCatch=et,et.create=(e,t)=>new et({innerType:e,typeName:r.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...d(t)});class en extends p{_parse(e){if(this._getType(e)!==s.ZodParsedType.nan){let t=this._getOrReturnCtx(e);return(0,o.addIssueToContext)(t,{code:l.ZodIssueCode.invalid_type,expected:s.ZodParsedType.nan,received:t.parsedType}),o.INVALID}
353return{status:"valid",value:e.data}}}t.ZodNaN=en,en.create=e=>new en({typeName:r.ZodNaN,...d(e)}),t.BRAND=Symbol("zod_brand");class er extends p{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}t.ZodBranded=er;class ei extends p{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?o.INVALID:"dirty"===e.status?(t.dirty(),(0,o.DIRTY)(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{let e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?o.INVALID:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new ei({in:e,out:t,typeName:r.ZodPipeline})}}t.ZodPipeline=ei,t.custom=(e,t={},n)=>e?O.create().superRefine((r,i)=>{var a,o;if(!e(r)){let e="function"==typeof t?t(r):"string"==typeof t?{message:t}:t,s=null==(o=null!=(a=e.fatal)?a:n)||o,l="string"==typeof e?{message:e}:e;i.addIssue({code:"custom",...l,fatal:s})}}):O.create(),t.late={object:j.lazycreate},function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline"}(r=t.ZodFirstPartyTypeKind||(t.ZodFirstPartyTypeKind={})),t.instanceof=(e,n={message:`Input not instance of ${e.name}`})=>(0,t.custom)(t=>t instanceof e,n);let ea=E.create;t.string=ea;let eo=k.create;t.number=eo,t.nan=en.create,t.bigint=A.create;let es=T.create;t.boolean=es,t.date=x.create,t.symbol=w.create,t.undefined=C.create,t.null=I.create,t.any=O.create,t.unknown=R.create,t.never=P.create,t.void=N.create,t.array=L.create,t.object=j.create,t.strictObject=j.strictCreate,t.union=M.create,t.discriminatedUnion=F.create,t.intersection=U.create,t.tuple=V.create,t.record=B.create,t.map=G.create,t.set=Y.create,t.function=z.create,t.lazy=W.create,t.literal=Z.create,t.enum=K.create,t.nativeEnum=X.create,t.promise=$.create;let el=J.create;t.effect=el,t.transformer=el,t.optional=q.create,t.nullable=Q.create,t.preprocess=J.createWithPreprocess,t.pipeline=ei.create,t.ostring=()=>ea().optional(),t.onumber=()=>eo().optional(),t.oboolean=()=>es().optional(),t.coerce={string:e=>E.create({...e,coerce:!0}),number:e=>k.create({...e,coerce:!0}),boolean:e=>T.create({...e,coerce:!0}),bigint:e=>A.create({...e,coerce:!0}),date:e=>x.create({...e,coerce:!0})},t.NEVER=o.INVALID},26774:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSomqueryUrl=void 0;let r=n(70015),i=n(74163),a=r.__importDefault(n(19577)),o=n(47561),s=r.__importDefault(n(92712)),l=n(91e3),u=n(75609),c=n(58302),d=n(44539),p=n(66023),f=n(50425),h=n(85883),m=n(63536),g=s.default.union([s.default.literal("android"),s.default.literal("any"),s.default.literal("ios"),s.default.literal("tizen"),s.default.literal("tvos")]);t.createSomqueryUrl=(e,t)=>{let{adClientInformation:n,bundleName:r,contentResource:s,nonceString:y,openMeasurementPartner:v,openMeasurementVersion:b,storeId:_,deviceProvidedId:S,storeUrl:E,somqueryBaseUrl:k,somqueryIntegrationId:A,somForcedCreativeId:T,somForcedShowroom:x,isWhyThisAdSupported:w=!1}=e,{createSomqueryUrls:C=i.createSomqueryUrl,errorReporter:I,logger:O,toggleRouter:R}=t,P=R.getFeatureValue("advertisement-quality-assurance").unwrapOr(!1),N=R.getFeatureValue("advertisement-debug").unwrapOr(!1),L=m.somqueryAdPodRollPlacementKeysSchema.safeParse(e.somqueryRollPlacement).success?{block:(e=>{let{maxAdBreakDuration:t,maxAdCount:n,rollIndex:r,somqueryRollPlacement:i}=e;return{duration:t,index:r+1,maxNonSponsorCount:n,name:i}})(e),path:"ad-pod"}:(({rollIndex:e})=>({path:"ad",slot:{adform:"cutin",index:e+1,name:"overlay"}}))(e);return o.Result.tryOrElse(e=>{let t="Error while creating Somquery";O.error(t,e);let n=(0,p.stampError)(t,e);
353return(0,d.isContentResourceWithTitle)(s)&&(n.name=`${t} for content resource: ${s.tvShowId} - ${s.title}`),I.sendError(n,{debugInformation:(e=>{let t,{brandName:n,contentType:r,id:i,tvShowId:a}=e;return(0,d.isContentResourceWithPlaybackStartPosition)(e)&&(t=e.playbackStartPosition),JSON.stringify(Object.assign(Object.assign(Object.assign(Object.assign({brandName:n,contentType:r,id:i,playbackStartPosition:t,tvShowId:a},(0,d.isContentResourceWithAgeRating)(e)?{ageRating:e.ageRating}:null),(0,d.isContentResourceWithTitle)(e)?{title:e.title}:null),(0,u.isContentResourceWithLicenseTypes)(e)?{licenseTypes:e.licenseTypes}:null),(e=>Object.assign(Object.assign(Object.assign({},(0,u.isSeriesContentResource)(e)?{episodeId:e.episodeId,episodeNumber:e.episodeNumber,episodeTitle:e.episodeTitle,seasonNumber:e.seasonNumber,seriesTitle:e.seriesTitle}:null),(0,u.isCompilationContentResource)(e)?{compilationItemTitle:e.compilationItemTitle,compilationTitle:e.compilationTitle}:null),(0,u.isSportsMatchContentResource)(e)?{sportsCompetitionTitle:e.sportsCompetitionTitle,sportsMatchTitle:e.sportsMatchTitle}:null))(e)))})(s),integrationId:A}),e},()=>C(Object.assign(Object.assign(Object.assign(Object.assign({baseUrl:k,consent:(e=>{let{iabTransparencyConsent:t="",iabAcceptNonCertifiedVendors:n}=e;return{gdprConsent:t,uncertifiedVendors:n?i.UncertifiedVendorsConsent.CONSENT:i.UncertifiedVendorsConsent.NOT_CONSENT}})(n),deviceProvidedId:o.Maybe.of(S).unwrapOr((e=>{let{appRuntimeEnvironment:t,adClientInformation:n,operatingSystem:r}=e,{advertisingId:i,appleIdForVendors:a}=n,o=(...e)=>e.includes((e=>g.safeParse(e).success?e:"ipados"===e?"ios":"any")(r))&&!(e=>"web"===e||"mobile-web"===e)(t);return Object.assign(Object.assign({},!!a&&{appleVendorId:a}),!!i&&Object.assign(Object.assign(Object.assign({},(e=>"tizen"===e||"webos"===e)(r)&&{tizenAdvertisingId:i}),o("android")&&{androidAdvertisingId:i}),o("ios","tvos")&&{appleAdvertisingId:i}))})(e)),iabApp:{bundle:r,storeid:_,storeurl:E},iabContent:((e,t,n)=>{var r;let{playerState:o,contentResource:s,adLoad:c,referrerUrl:p}=e,{isLivestream:f,contentDuration:m,audioTrackLanguage:g}=o,y=n.getFeatureValue("use-ad-load-meta-data").unwrapOr(!1)?null==(r=null==c?void 0:c.targetingData)?void 0:r.iabCategories:[];f||(0,h.logWarnWhenMissingParameters)(s,t);let v=(e=>(0,d.isContentResourceWithTitle)(e)?e.title:(0,u.isSeriesContentResource)(e)?e.episodeTitle:(0,u.isCompilationContentResource)(e)?e.compilationItemTitle:(0,u.isSportsMatchContentResource)(e)?e.sportsMatchTitle:"")(s),{id:b}=s;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({categories:y,context:i.Context.Video,id:b,language:null!=g?g:"de",livestream:f,productionQuality:i.ProductionQuality.ProfessionallyProduced,title:v,url:p},a.default.nonEmptyArray(y)&&{categoriesTaxonomy:i.CategoriesTaxonomy.IAB_TECH_LAB_CONTENT_TAXONOMY_3_0}),a.default.number(m)&&{contentDuration:Math.floor(m)}),(e=>Object.assign({},(0,l.isContentResourceWithGenres)(e)&&{genre:e.genres.join(",")}))(s)),(e=>(0,u.isSeriesContentResource)(e)?Object.assign(Object.assign({series:e.seriesTitle},a.default.number(e.episodeNumber)&&{episode:e.episodeNumber}),a.default.number(e.seasonNumber)&&{season:e.seasonNumber.toString()}):{})(s)),(e=>Object.assign(Object.assign(Object.assign({},(0,d.isContentResourceWithActors)(e)&&!a.default.nullOrUndefined(e.actors[0])&&{artist:e.actors[0]}),(0,d.isContentResourceWithContentTags)(e)&&{keywords:e.contentTags.join(",")}),(0,d.isContentResourceWithAgeRating)(e)&&{contentRating:`FSK ${e.ageRating}`}))(s))})(e,O,R),ids:(e=>{let{adClientInformation:t}=e,{adTechPassUserId:n,yieldlabUserId:r,publisherProvidedUserId:i,theAdexTargetingId:a,netId:o,liverampEnvelopes:s}=t;return{adTechPassUserId:n,liverampEnvelopes:s,netId:o,publisherProvidedId:i,theAdexId:a,yieldlabCookieId:r}})(e),integrationId:A,inventory:(e=>{let{contentResource:t,joynCountry:n,playerState:r,site:i="joyn"}=e,{isLivestream:o}=r,{brandName:s}=t;return{brand:s.replace(/^\s+|\s+$/g,""),category:((e,t,n)=>t?["live"]:!a.default.nullOrUndefined(n)&&["AT","CH"].includes(n)&&(0,l.isContentResourceW
353ithGenres)(e)?Array.from(e.genres):["other"])(t,o,n),format:(e=>{let{contentResource:t,playerState:n}=e,{isLivestream:r}=n;return r?"other":(e=>(0,c.isContentResourceWithParentTitle)(e)?e.parentTitle:(0,u.isSeriesContentResource)(e)?e.seriesTitle:(0,u.isCompilationContentResource)(e)?e.compilationTitle:(0,u.isSportsMatchContentResource)(e)?e.sportsMatchTitle:(0,d.isContentResourceWithTitle)(e)?e.title:"")(t)})(e),site:i}})(e),nonceString:e.playerState.isAdBlock?void 0:y,omid:{partnerName:v,partnerVersion:b},syndication:(e=>{let{id:t}=e;return{uniqueProductCode:t}})(s),tech:((e,t)=>{var n;let{adClientInformation:r,adLoad:i,b2bContext:o,playerState:s,playerPackageVersion:l,isUserLoggedIn:u=!1}=e,{sevenPassHashedId:c}=r,{ageGroup:d,genderGroup:p,targetingSource:h}=null!=(n=null==i?void 0:i.targetingData)?n:{},m=t.getFeatureValue("enable-7pass-hashed-id-use").unwrapOr(!1),g=t.getFeatureValue("use-demographic-targeting").unwrapOr(!1);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},!a.default.nullOrUndefined(c)&&m&&{seven_pass_id:c}),{ab:s.isAdBlock?"1":"0"}),g&&Object.assign(Object.assign(Object.assign({},!a.default.undefined(p)&&{d1_pbt:`${p}`}),!a.default.undefined(d)&&{d15_pbt:`${d}`}),!a.default.undefined(h)&&{pbt_src:`${h}`})),{d_pbt:g?"1":"0",entid:e.entitlementTokenPayload.mapOr("",e=>e.entitlement_id),loggedin:u?"1":"0",subscriptiontier:(0,f.isPremiumUser)(e.entitlementTokenPayload.mapOr([],e=>e.joyn_packages))?"premium":"free"}),!a.default.nullOrUndefined(o)&&{b2bcontext:o}),{playerBundle:l})})(e,R),utm:(e=>{let{utmParameters:t}=e,{campaign:n,content:r,medium:i,source:o,term:s}=t;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},!a.default.nullOrUndefined(n)&&{campaign:n}),!a.default.nullOrUndefined(r)&&{content:r}),!a.default.nullOrUndefined(i)&&{medium:i}),!a.default.nullOrUndefined(o)&&{source:o}),!a.default.nullOrUndefined(s)&&{term:s})})(e),whyThisAd:w?i.SomqueryWhyThisAd.SUPPORTED:i.SomqueryWhyThisAd.NOT_SUPPORTED},L),N&&{debug:i.SomqueryDebug.ENABLED}),!a.default.nullOrUndefined(x)&&P&&{showroom:x}),a.default.number(T)&&P&&{previewVast:T.toString()})))}},26852:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createBrokenVastReporter=void 0,t.createBrokenVastReporter=(e,t)=>{let{httpClient:n,logger:r,toggleRouter:i}=e,{adBrokenVastReporterBaseUrl:a="https://cpm6bo5v48.execute-api.eu-central-1.amazonaws.com/Prod/VAST"}=null!=t?t:{};return{sendData:(e,t={})=>{let{forceVastTracing:o=!1}=t;try{i.getFeatureValue("enable-vast-tracing").unwrapOr(o)&&n.postJson({options:{ignoreResponse:!0},payload:e,uri:a})}catch(e){r.error(`send VAST failed due to the reason: ${e.message}`)}}}}},26869:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PersonalIdentificationNumber=t.PersonalIdentificationNumberComponent=t.Title=t.InvalidPinText=t.NumberInputField=t.NumberInput=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(19577)),s=r.__importDefault(n(95611)),l=n(53239),u=n(66976),c=n(37514),d=n(945),p=n(77972);t.NumberInput=a.default.input(({disabled:e,theme:t,invalid:n,focused:r})=>{let i=r?t.color.white:(0,s.default)(t.color.white,.3),a=n&&r?t.color.red:(0,s.default)(t.color.red,.3);return{backgroundColor:e?(0,s.default)(t.color.primary,t.opacity.least):t.personalIdentificationNumber.inputFieldBackgroundColor,border:`1px solid ${n?a:i}`,borderRadius:"2px",color:t.color.white,fontFamily:t.fontFamily,fontSize:t.fontSize.biggest,fontWeight:t.fontWeight.bold,height:t.personalIdentificationNumber.inputFieldHeight,outline:"none",textAlign:"center",width:t.personalIdentificationNumber.inputFieldWidth}}),t.NumberInputField=({focused:e,index:n,onSuccessfullKeyUp:r,onFocused:a,invalid:o,disabled:s})=>{let u=(0,l.useRef)(null);return(0,l.useEffect)(()=>{let{current:t}=u;(e||s)&&t&&(t.value="",t.focus())},[u,e,s]),(0,i.jsx)(t.NumberInput,{autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",disabled:s,focused:e,inputMode:"numeric",invalid:o,max:1,maxLength:1,min:1,onFocus:e=>{e.preventDefault(),null==a||a({index:n})},onKeyPress:e=>{/^\d$/.test(e.key)||e.preventDefault()},onKeyUp:e=>{let{value:t}=e.currentTarget;e.preventDefault(),t&&(null==r||r({index:n,value:e.currentTarget.value}))},pattern:"[0-9]",ref:u,required:!0,type:"password"})},t.InvalidPinText=a.default.aside(({theme:e})=>({color:e.color.red,fontFamily:e.fontFamilyBold,fontSize:e.fontSize.small,height:"12px",padding:0}));let f=a.default.dd(({theme:e})=>({fontFamily:e.fontFamilyBold,fontSize:e.fontSize.biggest,marginBottom:e.spacing.small}));t.Title=a.default.title(({theme:e})=>({alignItems:"center",display:"flex",fontWeight:e.fontWeight.bold,marginBottom:e.spacing.medium}));let h=a.default.div(({theme:e})=>({alignItems:"center",backdropFilter:"blur(10px)",display:"flex",flexDirection:"column",height:"100%",
353justifyContent:"center",position:"relative",transition:(0,d.themedTransition)(e,"all"),width:"100%",zIndex:c.dialogLayer})),m=a.default.div(({theme:e})=>({alignItems:"center",columnGap:e.spacing.small,display:"flex",height:"100%",justifyContent:"center",width:"100%"}));t.PersonalIdentificationNumberComponent=({title:e,description:n,pinLength:r})=>{let{actions:a,state:s}=(0,l.useContext)(u.PlayerContext),[c,d]=(0,l.useState)(0),[p,g]=(0,l.useState)(!1),[y,v]=(0,l.useState)(!1),[b,_]=(0,l.useState)(Array.from({length:r}).fill(null)),S=(0,l.useCallback)(()=>{for(let[e,t]of b.entries())if(!o.default.number(Number(t))){g(!0),d(e);return}v(!0),a.enterPersonalIdentificationNumber({personalIdentificationNumber:b.join("")})},[a,b]),E=(0,l.useCallback)(({index:e,value:t})=>{let n=e+1>b.length?0:e+1;b[e]=t,d(n),_(b),g(!1),n===b.length&&S()},[b,S]),k=(0,l.useCallback)(({index:e})=>{d(e)},[]);return(0,l.useEffect)(()=>{"enter_personal_identification_number_considering_invalid"===s.requiredAction&&y&&(g(!0),v(!1),d(0),_(Array.from({length:r}).fill(null)))},[s.requiredAction,y,r]),(0,i.jsxs)(h,{children:[(0,i.jsx)(f,{children:n}),o.default.nonEmptyString(e)&&(0,i.jsx)(t.Title,Object.assign({"aria-label":"Titel"},{children:e})),(0,i.jsx)("form",{children:(0,i.jsx)(m,{children:b.map((e,n)=>(0,i.jsx)(t.NumberInputField,{invalid:p,disabled:y,focused:n===c,index:n,onFocused:k,onSuccessfullKeyUp:E},n))})}),(0,i.jsx)(t.InvalidPinText,Object.assign({role:"alert"}
353,{children:p?"Dein PIN ist leider nicht korrekt. Versuche es noch einmal!":null}))]})},t.PersonalIdentificationNumber=()=>{let{state:e}=(0,l.useContext)(u.PlayerContext),{isAd:n,isPlaying:r,playlist:a,playlistIndex:o,requiredAction:s}=e,c=a[null!=o?o:0],d=c?(0,p.createTitle)(c):void 0;return"enter_personal_identification_number"!==s&&"enter_personal_identification_number_considering_invalid"!==s||r||n?null:(0,i.jsx)(t.PersonalIdentificationNumberComponent,{description:"PIN eingeben f\xfcr jugendgesch\xfctzten Inhalt",pinLength:4,title:d})}},27432:(e,t,n)=>{"use strict";n.d(t,{Xr:()=>o,gt:()=>a,xv:()=>i});var r=n(48641);function i(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function a(e,t){if(!Array.isArray(e))return"";let n=[];for(let t=0;t<e.length;t++){let r=e[t];try{n.push(String(r))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function o(e,t=[],n=!1){return t.some(t=>(function(e,t,n=!1){return!!(0,r.Kg)(e)&&((0,r.gd)(t)?t.test(e):!!(0,r.Kg)(t)&&(n?e===t:e.includes(t)))})(e,t,n))}},27504:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAdVerifications=t.getAdVerificationsFromExtensions=t.isDuplicate=t.invalidateAdResource=t.isEmptyVast=t.hasInvalidationReason=t.getInvalidationReason=t.getImpressions=t.getExtensions=t.removeManifestMediaFiles=t.replaceMediaFiles=t.replaceArrayItem=t.getMezzanineFromFirstCreative=t.getMediaFilesFromFirstCreative=t.getMezzanine=t.getMediaFiles=t.getFirstCutInAd=t.getFirstNonLinearAdTracking=t.getFirstNonLinearAd=t.getSkipOffset=t.getWrapperChainUris=t.getFirstCreative=t.getAdSystem=t.getAdTitle=t.getInlineAdId=t.getInlineAd=t.isVastCutInAd=t.getVastAd=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47561),o=r.__importStar(n(92712)),s=n(70273),l=n(503),u=n(23751);t.getVastAd=(e,t)=>{var n,r;return a.Maybe.of(null==(r=null==(n=e.vast)?void 0:n.ad)?void 0:r[t])};let c=o.default.object({$height:(0,u.zodNumericStringSchema)("Height").transform(Number),$id:o.default.string().optional(),$width:(0,u.zodNumericStringSchema)("Width").transform(Number),staticresource:o.default.array(o.default.object({value:(0,u.zodRequiredStringSchema)("Static Resource url is empty")}).passthrough()).nonempty().transform(e=>e[0].value)}).passthrough().transform(e=>{var{$height:t,$width:n,staticresource:i}=e;
353return Object.assign({height:t,url:i,width:n},r.__rest(e,["$height","$width","staticresource"]))}),d=o.default.object({height:o.default.number(),url:o.default.string().nonempty(),width:o.default.number()}).passthrough(),p=s.vastCreativeNonLinearAdSchema.extend({trackingevents:l.trackingEventsSchema,type:o.default.literal("CUT-IN").default("CUT-IN")}).passthrough(),f=p.extend({bottomNonLinearAd:c,leftNonLinearAd:c}).passthrough(),h=p.extend({bottomNonLinearAd:d,leftNonLinearAd:d}).passthrough();t.isVastCutInAd=e=>h.safeParse(e).success;let m=(e,n)=>{let r=(0,t.getVastAd)(e,n);return r.chain(e=>a.Maybe.of(e.wrapper).chain(e=>m(e,0))).or(r)};t.getInlineAd=(e,t)=>m(e,t).andThen(({inline:e})=>a.Maybe.of(e)),t.getInlineAdId=(e,t)=>m(e,t).andThen(({$id:e})=>a.Maybe.of(e)),t.getAdTitle=(e,n)=>(0,t.getInlineAd)(e,n).chain(({adtitle:e})=>a.Maybe.of(null==e?void 0:e.value)),t.getAdSystem=(e,n)=>(0,t.getInlineAd)(e,n).or(m(e,n).andThen(({wrapper:e})=>a.Maybe.of(e))).andThen(e=>{var t;return a.Maybe.of(null==(t=e.adsystem)?void 0:t.value)}),t.getFirstCreative=(e,n)=>(0,t.getInlineAd)(e,n).chain(({creatives:e})=>{var t;return a.Maybe.of(null==(t=null==e?void 0:e.creative)?void 0:t[0])}),t.getWrapperChainUris=(e,n)=>(0,t.getVastAd)(e,n).chain(e=>a.Maybe.of(e.wrapper).chain(e=>{var n;return a.Maybe.of([...a.Maybe.of(null==(n=e.vastadtaguri)?void 0:n.value).map(e=>[e]).unwrapOr([]),...(0,t.getWrapperChainUris)(e,0)])})).unwrapOr([]),t.getSkipOffset=(e,n)=>(0,t.getFirstCreative)(e,n).chain(({linear:e})=>a.Maybe.of(null==e?void 0:e.$skipoffset));let g=(e,n,r)=>(0,t.getInlineAd)(e,n).chain(({creatives:e})=>{var t;return a.Maybe.of(null==(t=null==e?void 0:e.creative)?void 0:t.find(r))}),y=(e,t)=>g(e,t,({nonlinearads:e})=>i.default.object(e));t.getFirstNonLinearAd=(e,t)=>y(e,t).chain(({nonlinearads:e})=>{var t;return a.Maybe.of(null==(t=null==e?void 0:e.nonlinear)?void 0:t[0])}),t.getFirstNonLinearAdTracking=(e,t)=>y(e,t).chain(({nonlinearads:e})=>a.Maybe.of(null==e?void 0:e.trackingevents));let v=(e,...t)=>t.reduce((t,n)=>t.or(a.Maybe.of(n[e])),a.Maybe.nothing()),b=e=>{let t=f.safeParse(e);return t.success?a.Result.ok(t.data):a.Result.err(t.error)},_=Error("Error when building Cut-in ad"),S=e=>{var t;let{$adid:n,nonlinearads:r}=e,i=null==(t=null==r?void 0:r.trackingevents)?void 0:t.tracking;return a.Maybe.of(null==r?void 0:r.nonlinear).chain(e=>{let t=t=>a.Maybe.of(e.find(e=>e.$id===t)),r=t("image-left"),o=t("image-bottom");return r.chain(e=>o.map(t=>{let r=a.Maybe.of(n).unwrapOr(""),o=v("$minsuggestedduration",e,t).unwrapOr("00:00:10"),s=v("nonlinearclickthrough",e,t).unwrapOr(void 0),l=v("nonlinearclicktracking",e,t).unwrapOr(void 0);return{$id:r,$minsuggestedduration:o,bottomNonLinearAd:t,leftNonLinearAd:e,nonlinearclickthrough:s,nonlinearclicktracking:l,trackingevents:{tracking:i}}}))}).toOkOrErr(_).chain(b)};t.getFirstCutInAd=(e,n)=>{let r=g(e,n,({companionads:e})=>i.default.object(e)).toOkOrErr(_),s=y(e,n).toOkOrErr(_);return r.chain(r=>{let{$adid:i,companionads:o}=r;return a.Maybe.of(null==o?void 0:o.companion).chain(r=>{let o=(e,t)=>t.reduce((t,n)=>t.isJust()?t.map(t=>Number(t[e])>Number(n[e])?n:t):a.Maybe.of(n),a.Maybe.nothing()),s=o("$width",Array.from(r)),l=s.chain(e=>o("$height",r.filter(t=>t!==e))),u=(0,t.getFirstNonLinearAd)(e,n).chain(e=>a.Maybe.of(e.$minsuggestedduration)).unwrapOr("00:00:10");return s.chain(e=>l.map(t=>{let n=a.Maybe.of(i).unwrapOr(""),o=v("companionclickthrough",e,t).unwrapOr(void 0),s=v("companionclicktracking",e,t).unwrapOr(void 0);return{$id:n,$minsuggestedduration:u,bottomNonLinearAd:t,leftNonLinearAd:e,nonlinearclickthrough:o,nonlinearclicktracking:s,trackingevents:{tracking:r.flatMap(e=>{var t,n;return null!=(n=null==(t=e.trackingevents)?void 0:t.tracking)?n:[]})}}}))}).toOkOrErr(_).chain(b)}).orElse(e=>s.chain(S).mapErr(t=>{let n=[e,t].filter(e=>e instanceof o.ZodError).map(e=>Error(`Cut-in ad schema validation failed: ${e.message}`));return a.Maybe.of(n[0]).unwrapOr(t)}))},t.getMediaFiles=e=>{var t,n;return a.Maybe.of(null==(n=null==(t=e.linear)?void 0:t.mediafiles)?void 0:n.mediafile)},t.getMezzanine=e=>{var t,n;return a.Maybe.of(null==(n=null==(t=e.linear)?void 0:t.mediafiles)?void 0:n.mezzanine)},t.getMediaFilesFromFirstCreative=(e,n)=>(0,t.getFirstCreative)(e,n).chain(t.getMediaFiles),t.getMezzanineFromFirstCreative=(e,n)=>(0,t.getFirstCreative)(e,n).chain(t.getMezzanine),t.replaceArrayItem=(e,t,n
353)=>{let r=e.slice(0);return r.splice(t,1,n),r},t.replaceMediaFiles=(e,n,r,a)=>{let{vast:o}=e,s=null==o?void 0:o.ad,l=null==s?void 0:s[n];if(!s||!l)return e;let{wrapper:u}=l;return u?Object.assign(Object.assign({},e),{vast:Object.assign(Object.assign({},o),{ad:(0,t.replaceArrayItem)(s,n,Object.assign(Object.assign({},l),{wrapper:(0,t.replaceMediaFiles)(u,0,r,a)}))})}):((e,n,r,a)=>{let{vast:o}=e,s=null==o?void 0:o.ad,l=null==s?void 0:s[n],u=null==l?void 0:l.inline,c=null==u?void 0:u.creatives,d=null==c?void 0:c.creative,p=null==d?void 0:d[0];return!p||i.default.undefined(s)?e:Object.assign(Object.assign({},e),{vast:Object.assign(Object.assign({},o),{ad:(0,t.replaceArrayItem)(s,n,Object.assign(Object.assign({},l),{inline:Object.assign(Object.assign({},u),{creatives:Object.assign(Object.assign({},c),{creative:(0,t.replaceArrayItem)(d,0,Object.assign(Object.assign({},p),{linear:Object.assign(Object.assign({},p.linear),{mediafiles:Object.assign({mediafile:r},a&&{mezzanine:a})})}))})})}))})})})(e,n,r,a)},t.removeManifestMediaFiles=(e,n)=>{let{resource:r}=e,i=(0,t.getMediaFilesFromFirstCreative)(r,n).unwrapOr([]).filter(e=>(null==e?void 0:e.$type)!=="application/x-mpegURL"&&(null==e?void 0:e.$type)!=="application/dash+xml");return Object.assign(Object.assign({},e),{resource:(0,t.replaceMediaFiles)(r,n,i)})},t.getExtensions=(e,n)=>{var r,i,a,o;let s=[],l=null==(r=e.vast)?void 0:r.ad,u=null==l?void 0:l[n];if(u){let{inline:e,wrapper:n}=u,r=null!=(a=null==(i=null==e?void 0:e.extensions)?void 0:i.extension)?a:null==(o=null==n?void 0:n.extensions)?void 0:o.extension;r&&(s=s.concat(r)),n&&(s=s.concat((0,t.getExtensions)(n,0)))}return s},t.getImpressions=(e,n)=>{var r,i;let a=[],o=null==(r=e.vast)?void 0:r.ad,s=null==o?void 0:o[n];if(s){let{inline:e,wrapper:n}=s,r=null!=(i=null==e?void 0:e.impression)?i:null==n?void 0:n.impression;r&&(a=a.concat(r)),n&&(a=a.concat((0,t.getImpressions)(n,0)))}return a},t.getInvalidationReason=(e,n)=>{var r,o,s,l;return(null==(o=null==(r=e.vast)?void 0:r.ad)?void 0:o[n])?a.Maybe.of(null==(l=null==(s=(0,t.getExtensions)(e,n).find(e=>!i.default.nullOrUndefined(e.invalidationReason)))?void 0:s.invalidationReason)?void 0:l.value):a.Maybe.nothing()},t.hasInvalidationReason=(e,n,r)=>(0,t.getInvalidationReason)(e,n).map(e=>r===e).unwrapOr(!1),t.isEmptyVast=(e,n)=>{var r;let a=(null==(r=e.vast)?void 0:r.ad)?e.vast.ad[n]:void 0;return i.default.nullOrUndefined(a)?i.default.object(e.vast)&&i.default.nullOrUndefined(e.vast.error):!!i.default.object(a.wrapper)&&(0,t.isEmptyVast)(a.wrapper,0)};let E=(e,t)=>{var n;let r={invalidationReason:{value:t}},i=(null==(n=e.extensions)?void 0:n.extension)?{extension:Array.from(e.extensions.extension).concat([r])}:{extension:[r]};return Object.assign(Object.assign({},e),{creatives:void 0,extensions:i,impression:void 0})},k=(e,t)=>{var n,r,i;let a=Object.assign({},e);return(null==(r=null==(n=a.wrapper)?void 0:n.vast)?void 0:r.ad)&&(a.wrapper=E(a.wrapper,t),(null==(i=a.wrapper.vast)?void 0:i.ad)&&(a.wrapper.vast.ad=a.wrapper.vast.ad.map(e=>k(e,t)))),a.inline&&(a.inline=E(a.inline,t)),a};t.invalidateAdResource=(e,n,r)=>{var i;let a=null==(i=e.vast)?void 0:i.ad,o=null==a?void 0:a[n];return a&&o?Object.assign(Object.assign({},e),{vast:{ad:(0,t.replaceArrayItem)(a,n,k(o,r))}}):e},t.isDuplicate=(e,n)=>(0,t.getMediaFilesFromFirstCreative)(e,n).map(r=>{for(let i=n-1;i>=0;i-=1)if(r.map(e=>null==e?void 0:e.value).some(n=>(0,t.getMediaFilesFromFirstCreative)(e,i).map(e=>e.map(e=>null==e?void 0:e.value).includes(n)).unwrapOr(!1)))return!0;return!1}).unwrapOr(!1),t.getAdVerificationsFromExtensions=(e,n)=>(0,t.getExtensions)(e,n).filter(e=>"AdVerifications"===e.$type).map(e=>e.adverifications).filter(e=>void 0!==e&&"verification"in e).flatMap(e=>{var t;return null!=(t=e.verification)?t:[]}),t.getAdVerifications=(e,n)=>{var r,i,a;let o=[],s=null==(r=e.vast)?void 0:r.ad,l=null==s?void 0:s[n];if(l){let{inline:e,wrapper:n}=l;n?(n.adverifications&&(o=o.concat(null!=(i=n.adverifications.verification)?i:[])),o=o.concat((0,t.getAdVerifications)(n,0))):(null==e?void 0:e.adverifications)&&(o=o.concat(null!=(a=e.adverifications.verification)?a:[]))}return o}},27517:(e,t,n)=>{"use strict";
353Object.defineProperty(t,"__esModule",{value:!0}),t.createTranscodingHash=t.normaliseMediaUrl=t.createAdSourceHashParameters=void 0;let r=n(70015).__importDefault(n(19577)),i=n(29294),a=n(41078),o=n(47561);t.createAdSourceHashParameters=(e,t)=>{var n,i;let a=null==t?void 0:t.universaladid,o="";return r.default.plainObject(a)&&r.default.nonEmptyString(a.$idregistry)&&r.default.nonEmptyString(a.value)&&(o=`${a.$idregistry}-${a.value}`),{creativeAdId:null!=(n=null==t?void 0:t.$adid)?n:"",creativeId:null!=(i=null==t?void 0:t.$id)?i:"",extractedAdId:(e=>{var t;return null!=(t=e.split(".",1)[0])?t:""})(e),universalAdId:o,vastAdId:e}},t.normaliseMediaUrl=e=>e.startsWith("https://cd.sqrt-5041.de")?o.Maybe.of(new URL(e).searchParams.get("url")).mapOrElse(()=>e,e=>`https://${e}`):e,t.createTranscodingHash=e=>{let n=t=>{let{hostname:n}=(0,a.parse)(t);return null!==n&&e.includes(n)};return(e,r,o)=>{let s=(0,t.createAdSourceHashParameters)(e,r),l=(0,t.normaliseMediaUrl)(o),u=new URL(l),c=n(l)?`${u.origin}${u.pathname}`:((e,t)=>{let{universalAdId:n,creativeId:r,creativeAdId:i,extractedAdId:o}=e,s=[n,r,i,o].filter(Boolean).join("_");if(s){let{domain:e,hostname:n}=(0,a.parse)(t);return s.concat(`_${null!=e?e:n}`)}return t})(s,l);return{adSourceHashParameters:s,hash:i.x86.hash32(c).toString()}}}},27725:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetchAndBuildContentResourcesForHighlight=void 0;let r=n(70015),i=n(57788);t.createFetchAndBuildContentResourcesForHighlight=function(e,t){let{buildContentResourceForHighlight:n,fetchHighlight:a,graphqlClient:o}=e,{graphqlEndpoint:s,graphqlServiceApiKey:l}=t;return function(e){return r.__awaiter(this,void 0,void 0,function*(){let{highlightId:t,userState:r,userToken:u}=e,c=null!=a?a:i.fetchHighlight;return[n((yield c({graphqlClient:o},{graphqlEndpoint:s,graphqlServiceApiKey:l,highlightId:t,userState:r,userToken:u})))]})}}},28481:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=[];t.consume=function(e){return e(n[n.length-1])},t.provide=function(e,t){n.push(e);var r=t(e);return n.pop(),r}},28707:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPlaybackStateMachine=void 0;let r=n(47561),i=n(21639),a=n(46523);function o(e,t){let{isPlaybackFinished:n,isSeekingAllowed:r=e.isSeekingAllowed}=t;return{selectedAudioTrackId:e.selectedAudioTrackId,selectedSubtitleId:e.selectedSubtitleId,isSeekingAllowed:r,isPlaybackFinished:n,playheadPosition:e.playheadPosition,preventPlaybackFinishedEvent:e.preventPlaybackFinishedEvent,usedSource:e.usedSource,isPlaying:e.isPlaying,isPlayingEventExpected:e.isPlayingEventExpected}}function s(e,t){return r.Maybe.all(e,t).mapOr(!1,([e,t])=>e.url===t.url)}t.createPlaybackStateMachine=function(e){return(0,i.createMachine)({predictableActionArguments:!0,preserveActionOrder:!0,context:{selectedAudioTrackId:r.Maybe.nothing(),selectedSubtitleId:r.Maybe.nothing(),snapshot:r.Maybe.nothing(),isSameSource:!1,isSeekingAllowed:!0,playheadPosition:r.Maybe.nothing(),preventPlaybackFinishedEvent:!1,usedSource:r.Maybe.nothing(),isPlaying:!1,isPlayingEventExpected:!1},id:"PlaybackStateMachine",type:"parallel",on:{UNSELECT_SUBTITLE:{actions:"onUnselectSubtitle"},SELECT_SUBTITLE:{actions:"emitSelectSubtitle",cond:"hasNotSelectedTheSameSubtitle"},DISABLE_SEEKING:{actions:"disableSeeking"},DISABLE_NEXT_SEEKING:{actions:"disableSeeking"},ENABLE_SEEKING:{actions:"enableSeeking"},PREVENT_PLAYBACK_FINISHED_EVENT:{actions:"preventPlaybackFinishedEvent"},ALLOW_PLAYBACK_FINISHED_EVENT:{actions:"allowPlaybackFinishedEvent"},RESTORE_SNAPSHOT:{actions:["onRestoreSnapshot","resetTracks","emitRestorePlaybackFinished","updateSameSource"]}},states:{playback:{initial:"idle",on:{SAVE_SNAPSHOT:{actions:"saveSnapshotForPlaybackNotFinished"},PLAYBACK_LOAD:{actions:["saveUsedSource","updatePlayheadPosition"],target:".loaded"},PLAYBACK_LOAD_FAILED:{actions:"unsetUsedSource"}},states:{idle:{},loaded:{initial:"notFinished",states:{notFinished:{initial:"seekingEnabled",on:{PLAYBACK_FINISHED:{target:"finished",actions:"onFinished"},POSITION_CHANGE:{actions:"updatePlayheadPosition"},PLAY:{actions:"onPlay"},PLAYING:{actions:"onPlaying"},PAUSE:{actions:"onPause"}},states:{seekingEnabled:{on:{DISABLE_SEEKING:{target:"seekingDisabled",actions:"disableSeeking"},DISABLE_NEXT_SEEKING:{target:"nextSeekingDisabled",actions:"disableSeeking"},SAVE_SNAPSHOT:{actions:"saveSnapshotForPlaybackNotFinished"}}},nextSeekingDisabled:{on:{DISABLE_SEEKING:{target:"seekingDisabled"},ENABLE_SEEKING:{target:"seekingEnabled",actions:"enableSeeking"},PLAYBACK_FINISHED:{actions:"enableSeeking"},SAVE_SNAPSHOT:{actions:"saveSnapshotForNextDisabledSeeking"}}},seekingDisabled:{on:{ENABLE_SEEKING:{target:"seekingEnabled",actions:"enableSeeking"},DISABLE_NEXT_SEEKING:{target:"nextSeekingDisabled"},SAVE_SNAPSHOT:{actions:"saveSnapshotForPlaybackNotFinished"}}}}},finished:{on:{SAVE_SNAPSHOT:{actions:"saveSnapshotForPlaybackFinished"}}}}}}},audioTracks:{initial:"notAvailable",states:{available:{initial:"notRestored",on:{SELECT_AUDIO_TRACK:{actions:["emitSelectAudioTrack"],cond:"hasNotSelectedTheSameAudioTrack"},AUDIO_TRACK_SELECTED:{actions:["onAudioTrackSelected"]},RESET_TRACKS:{target:"notAvailable"}},states:{restored:{},notRestored:{on:{RESTORE_AUDIO_TRACK:{cond:"hasSelectedAudioTrackFromSnapshot",target:"restored",actions:["copyAudioTrackIdFromSnapshot","emitRestoreAudioTrack"]}}}}},notAvailable:{on:{AUDIO_TRACKS_AVAILABLE:{target:"available",actions:["restoreAudioTrack"]},SELECT_AUDIO_TRACK:{actions:"emitSelectAudioTrack",target:"available"}}}}},subtitles:{initial:"notAvailable",states:{available:{initial:"notRestored",on:{SUBTITLE_SELECTED:{actions:["onSubtitleSelected"]},RESET_TRACKS:{target:"notAvailable"}},states:{restored:{},notRestored:{entry:"restoreSubtitle",on:{RESTORE_SUBTITLE:{cond:"hasSelectedSubtitleFromSnapshot",target:"restored",actions:["copySubtitleIdFromSnapshot","emitRestoreSubtitle"]}}}}},notAvailable:{on:{SUBTITLES_AVAILABLE:{target:"available"}}}}}}},{guards:{hasNotSelectedTheSameSubtitle:(e,t)=>
353{let{subtitleOptions:n}=t;return e.selectedSubtitleId.mapOr(!0,e=>e!==n.id)},hasNotSelectedTheSameAudioTrack:(e,t)=>{let{audioTrackOptions:n}=t;return e.selectedAudioTrackId.mapOr(!0,e=>e!==n.id)},hasSelectedAudioTrackFromSnapshot:e=>e.snapshot.mapOr(!1,e=>e.selectedAudioTrackId.isJust()),hasSelectedSubtitleFromSnapshot:e=>e.snapshot.mapOr(!1,e=>e.selectedSubtitleId.isJust())},actions:{copyAudioTrackIdFromSnapshot:(0,i.assign)({selectedAudioTrackId:e=>e.snapshot.mapOr(r.Maybe.nothing(),e=>e.selectedAudioTrackId)}),copySubtitleIdFromSnapshot:(0,i.assign)({selectedSubtitleId:e=>e.snapshot.mapOr(r.Maybe.nothing(),e=>e.selectedSubtitleId)}),onSubtitleSelected:(0,i.assign)({selectedSubtitleId:(e,t)=>"SUBTITLE_SELECTED"===t.type&&t.id?r.Maybe.just(t.id):e.selectedSubtitleId}),onAudioTrackSelected:(0,i.assign)({selectedAudioTrackId:(e,t)=>"AUDIO_TRACK_SELECTED"===t.type&&t.id?r.Maybe.just(t.id):e.selectedAudioTrackId}),onRestoreSnapshot:(0,i.assign)((e,t)=>{let n={};return"RESTORE_SNAPSHOT"===t.type?e.snapshot.mapOr(n,e=>({preventPlaybackFinishedEvent:e.preventPlaybackFinishedEvent,isSeekingAllowed:e.isSeekingAllowed,isPlaying:e.isPlaying,snapshot:r.Maybe.just(e)})):n}),saveSnapshotForNextDisabledSeeking:(0,i.assign)({snapshot:e=>r.Maybe.just(o(e,{isPlaybackFinished:!1,isSeekingAllowed:!0}))}),saveSnapshotForPlaybackNotFinished:(0,i.assign)({snapshot:e=>r.Maybe.just(o(e,{isPlaybackFinished:!1}))}),saveSnapshotForPlaybackFinished:(0,i.assign)({snapshot:e=>r.Maybe.just(o(e,{isPlaybackFinished:!0}))}),saveUsedSource:(0,i.assign)({usedSource:(e,t)=>"PLAYBACK_LOAD"===t.type?r.Maybe.just(t.usedSource):e.usedSource,isPlaying:e=>!1,isPlayingEventExpected:e=>!1}),unsetUsedSource:(0,i.assign)({usedSource:(e,t)=>r.Maybe.nothing()}),onUnselectSubtitle:(0,i.assign)(e=>({selectedSubtitleId:r.Maybe.nothing()})),onUnselectAudioTrack:(0,i.assign)(e=>({selectedAudioTrackId:r.Maybe.nothing()})),emitSelectSubtitle:(t,n)=>{let{subtitleOptions:r}=n;e.emit("SELECT_SUBTITLE",r)},emitSelectAudioTrack:(t,n)=>{let{audioTrackOptions:r}=n;e.emit("SELECT_AUDIO_TRACK",r)},emitRestoreAudioTrack:t=>{t.selectedAudioTrackId.andThen(t=>((0,i.send)("AUDIO_TRACKS_AVAILABLE"),e.emit("RESTORE_AUDIO_TRACK",t),r.Maybe.of(t)))},emitRestoreSubtitle:t=>{t.selectedSubtitleId.andThen(t=>((0,i.send)("SUBTITLES_AVAILABLE"),e.emit("RESTORE_SUBTITLE",t),r.Maybe.of(t)))},emitRestorePlaybackFinished(t){let n=t.snapshot,i=n.get("isPlaybackFinished").unwrapOr(!1),a=n.get("usedSource").unwrapOr(r.Maybe.nothing());i&&!s(t.usedSource,a)&&e.emit("RESTORE_PLAYBACK_FINISHED")},disableSeeking:(0,i.assign)({isSeekingAllowed:e=>!1}),enableSeeking:(0,i.assign)({isSeekingAllowed:e=>!0}),preventPlaybackFinishedEvent:(0,i.assign)({preventPlaybackFinishedEvent:e=>!0}),allowPlaybackFinishedEvent:(0,i.assign)({preventPlaybackFinishedEvent:e=>!1}),resetTracks:(0,a.pure)((e,t)=>(0,i.send)("RESET_TRACKS")),restoreSubtitle:(0,i.send)("RESTORE_SUBTITLE"),restoreAudioTrack:(0,i.send)("RESTORE_AUDIO_TRACK"),updatePlayheadPosition:(0,i.assign)({playheadPosition:(e,t)=>"POSITION_CHANGE"===t.type||"PLAYBACK_LOAD"===t.type?r.Maybe.just(t.playheadPosition):e.playheadPosition}),updateSameSource:(0,i.assign)({isSameSource(e){let t=e.snapshot.get("usedSource").unwrapOr(r.Maybe.nothing());return s(e.usedSource,t)}}),onPlay:(0,i.assign)({isPlayingEventExpected:e=>!0}),onPlaying:(0,i.assign)({isPlaying:e=>!0,isPlayingEventExpected:e=>!1}),onPause:(0,i.assign)({isPlaying:e=>!1}),onFinished:(0,i.assign)({isPlaying:e=>!1,isPlayingEventExpected:e=>!1})}})}},28749:(e,t)=>{"use strict";function n(e){return(e+64>>>9<<4)+14+1}function r(e,t){let n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function i(e,t,n,i,a,o){var s;return r((s=r(r(t,e),r(i,o)))<<a|s>>>32-a,n)}function a(e,t,n,r,a,o,s){return i(t&n|~t&r,e,t,a,o,s)}function o(e,t,n,r,a,o,s){return i(t&r|n&~r,e,t,a,o,s)}function s(e,t,n,r,a,o,s){return i(t^n^r,e,t,a,o,s)}function l(e,t,n,r,a,o,s){return i(n^(t|~r),e,t,a,o,s)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){if("string"==typeof e){let t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){let t=[],n=32*e.length,r="0123456789abcdef";for(let i=0;i<n;i+=8){let n=e[i>>5]>>>i%32&255,a=parseInt(r.charAt(n>>>4&15)+r.charAt(15&n),16);t.push(a)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[n(t)-1]=t;let i=0x67452301,u=-0x10325477,c=-0x67452302,d=0x10325476;for(let t=0;t<e.length;t+=16){let n=i,p=u,f=c,h=d;i=a(i,u,c,d,e[t],7,-0x28955b88),d=a(d,i,u,c,e[t+1],12,-0x173848aa),c=a(c,d,i,u,e[t+2],17,0x242070db),u=a(u,c,d,i,e[t+3],22,-0x3e423112),i=a(i,u,c,d,e[t+4],7,-0xa83f051),d=a(d,i,u,c,e[t+5],12,0x4787c62a),c=a(c,d,i,u,e[t+6],17,-0x57cfb9ed),u=a(u,c,d,i,e[t+7],22,-0x2b96aff),i=a(i,u,c,d,e[t+8],7,0x698098d8),d=a(d,i,u,c,e[t+9],12,-0x74bb0851),c=a(c,d,i,u,e[t+10],17,-42063),u=a(u,c,d,i,e[t+11],22,-0x76a32842),i=a(i,u,c,d,e[t+12],7,0x6b901122),d=a(d,i,u,c,e[t+13],12,-0x2678e6d),c=a(c,d,i,u,e[t+14],17,-0x5986bc72),u=a(u,c,d,i,e[t+15],22,0x49b40821),i=o(i,u,c,d,e[t+1],5,-0x9e1da9e),d=o(d,i,u,c,e[t+6],9,-0x3fbf4cc0),c=o(c,d,i,u,e[t+11],14,0x265e5a51),u=o(u,c,d,i,e[t],20,-0x16493856),i=o(i,u,c,d,e[t+5],5,-0x29d0efa3),d=o(d,i,u,c,e[t+10],9,0
353x2441453),c=o(c,d,i,u,e[t+15],14,-0x275e197f),u=o(u,c,d,i,e[t+4],20,-0x182c0438),i=o(i,u,c,d,e[t+9],5,0x21e1cde6),d=o(d,i,u,c,e[t+14],9,-0x3cc8f82a),c=o(c,d,i,u,e[t+3],14,-0xb2af279),u=o(u,c,d,i,e[t+8],20,0x455a14ed),i=o(i,u,c,d,e[t+13],5,-0x561c16fb),d=o(d,i,u,c,e[t+2],9,-0x3105c08),c=o(c,d,i,u,e[t+7],14,0x676f02d9),u=o(u,c,d,i,e[t+12],20,-0x72d5b376),i=s(i,u,c,d,e[t+5],4,-378558),d=s(d,i,u,c,e[t+8],11,-0x788e097f),c=s(c,d,i,u,e[t+11],16,0x6d9d6122),u=s(u,c,d,i,e[t+14],23,-0x21ac7f4),i=s(i,u,c,d,e[t+1],4,-0x5b4115bc),d=s(d,i,u,c,e[t+4],11,0x4bdecfa9),c=s(c,d,i,u,e[t+7],16,-0x944b4a0),u=s(u,c,d,i,e[t+10],23,-0x41404390),i=s(i,u,c,d,e[t+13],4,0x289b7ec6),d=s(d,i,u,c,e[t],11,-0x155ed806),c=s(c,d,i,u,e[t+3],16,-0x2b10cf7b),u=s(u,c,d,i,e[t+6],23,0x4881d05),i=s(i,u,c,d,e[t+9],4,-0x262b2fc7),d=s(d,i,u,c,e[t+12],11,-0x1924661b),c=s(c,d,i,u,e[t+15],16,0x1fa27cf8),u=s(u,c,d,i,e[t+2],23,-0x3b53a99b),i=l(i,u,c,d,e[t],6,-0xbd6ddbc),d=l(d,i,u,c,e[t+7],10,0x432aff97),c=l(c,d,i,u,e[t+14],15,-0x546bdc59),u=l(u,c,d,i,e[t+5],21,-0x36c5fc7),i=l(i,u,c,d,e[t+12],6,0x655b59c3),d=l(d,i,u,c,e[t+3],10,-0x70f3336e),c=l(c,d,i,u,e[t+10],15,-1051523),u=l(u,c,d,i,e[t+1],21,-0x7a7ba22f),i=l(i,u,c,d,e[t+8],6,0x6fa87e4f),d=l(d,i,u,c,e[t+15],10,-0x1d31920),c=l(c,d,i,u,e[t+6],15,-0x5cfebcec),u=l(u,c,d,i,e[t+13],21,0x4e0811a1),i=l(i,u,c,d,e[t+4],6,-0x8ac817e),d=l(d,i,u,c,e[t+11],10,-0x42c50dcb),c=l(c,d,i,u,e[t+2],15,0x2ad7d2bb),u=l(u,c,d,i,e[t+9],21,-0x14792c6f),i=r(i,n),u=r(u,p),c=r(c,f),d=r(d,h)}return[i,u,c,d]}(function(e){if(0===e.length)return[];let t=8*e.length,r=new Uint32Array(n(t));for(let n=0;n<t;n+=8)r[n>>5]|=(255&e[n/8])<<n%32;return r}(e),8*e.length))}},28909:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r=n(91899),i=n(53239),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}(function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),s=n(62209),l=n(42487),u=n(41540),c=n(55855),d=function(e){return"theme"!==e},p=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?o:d},f=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},h=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,l.SF)(t,n,r),(0,c.s)(function(){return(0,l.sk)(t,n,r)}),null},m=(function e(t,n){var a,o,c=t.__emotion_real===t,d=c&&t.__emotion_base||t;void 0!==n&&(a=n.label,o=n.target);var m=f(t,n,c),g=m||p(d),y=!g("as");return function(){var v=arguments,b=c&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==a&&b.push("label:"+a+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);
353else{b.push(v[0][0]);for(var _=v.length,S=1;S<_;S++)b.push(v[S],v[0][S])}var E=(0,s.w)(function(e,t,n){var r=y&&e.as||d,a="",c=[],f=e;if(null==e.theme){for(var v in f={},e)f[v]=e[v];f.theme=i.useContext(s.T)}"string"==typeof e.className?a=(0,l.Rk)(t.registered,c,e.className):null!=e.className&&(a=e.className+" ");var _=(0,u.J)(b.concat(c),t.registered,f);a+=t.key+"-"+_.name,void 0!==o&&(a+=" "+o);var S=y&&void 0===m?p(r):g,E={};for(var k in e)(!y||"as"!==k)&&S(k)&&(E[k]=e[k]);return E.className=a,E.ref=n,i.createElement(i.Fragment,null,i.createElement(h,{cache:t,serialized:_,isStringTag:"string"==typeof r}),i.createElement(r,E))});return E.displayName=void 0!==a?a:"Styled("+("string"==typeof d?d:d.displayName||d.name||"Component")+")",E.defaultProps=t.defaultProps,E.__emotion_real=E,E.__emotion_base=d,E.__emotion_styles=b,E.__emotion_forwardProp=m,Object.defineProperty(E,"toString",{value:function(){return"."+o}}),E.withComponent=function(t,i){return e(t,(0,r.A)({},n,i,{shouldForwardProp:f(E,i,!0)})).apply(void 0,b)},E}}).bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){m[e]=m(e)})},29013:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utmParametersSchema=void 0;let r=n(70015).__importDefault(n(92712));t.utmParametersSchema=r.default.object({campaign:r.default.string().nullable().optional(),content:r.default.string().nullable().optional(),medium:r.default.string().nullable().optional(),source:r.default.string().nullable().optional(),term:r.default.string().nullable().optional()})},29064:(e,t,n)=>{var r=n(54906),i=n(15210);e.exports=r.extend({constructor:function(){this.reset()},reset:function(){this.join=new i,this.seek=new i,this.pause=new i,this.buffer=new i,this.total=new i,this.viewedMax=[]}})},29241:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.featureCheck=t.extractAgeRatingDescriptors=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47561);t.extractAgeRatingDescriptors=function(e){let t=i.Maybe.of(e).flatMap(e=>i.Maybe.of(e.descriptorsText));return i.Maybe.of(t.unwrapOr([]).map(e=>e))},t.featureCheck=function(e,t){if(r.default.nullOrUndefined(t))return i.Maybe.of(!1);let n=t.unwrapOr([]);return i.Maybe.of(n.includes(e))}},29294:(e,t,n)=>{e.exports=n(4448)},29390:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createEmitters=void 0;let r=n(70015).__importDefault(n(19577)),i=n(7939),a=n(56320);t.createEmitters=function({store:e}){let t=(0,i.createEventEmitter)(),n=(0,i.createEventEmitter)();return{emitExternal:(n,i)=>{let{isDestroyed:o,adMode:s,adPositionWithinRoll:l,adRollPositionWithinContent:u,adScheduleTimeOffsetIndex:c,adScheduleTimeOffset:d,adIndex:p,rollIndex:f}=e.getState();if(o)return;let h=Object.assign({adIndex:p,adPositionWithinRoll:l.unwrapOr(null),adRollPositionWithinContent:u.unwrapOr(null),positionIndex:c,rollIndex:f,rollPosition:d},null==i?void 0:i.ad);t.emit(n,Object.assign(Object.assign({},i),e.isInAdMode()&&Object.values(h).some(e=>!r.default.nullOrUndefined(e))&&{ad:Object.assign(Object.assign(Object.assign({},h),{rollName:(0,a.getRollNameByOffset)(d)}),s.isJust()&&{adMode:s.value})}))},emitInternal:(e,t)=>{n.emit(e,t)},externalEmitter:t,internalEmitter:n}}},29391:(e,t)=>{"use strict";
353Object.defineProperty(t,"__esModule",{value:!0}),t.HttpFailedRequestError=t.HttpError=void 0;class n extends Error{constructor(e,t){super(e),this.requestUri=t.requestUri,this.requestOptions=t.requestOptions,this.originalError=t.originalError,this.requestMethod=t.requestMethod}}t.HttpError=n;class r extends n{constructor(e,t){super(e,t),this.responseHeaders=t.response.headers,this.status=t.response.status}}t.HttpFailedRequestError=r},29414:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.actorSchema=void 0;let r=n(92712);t.actorSchema=r.z.object({name:r.z.string()}).strict()},29563:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNielsenTracker=void 0;let r=n(70015).__importDefault(n(78084)),i=n(49567),a=n(64267),o=n(76050);t.createNielsenTracker=(e,t)=>{let{clock:n}=e,s=(0,o.createLoadNielsen)({clock:n,loadScript:r.default},t);return(0,i.createLazyInitializationTrackerFactory)(e)({initializeLazy:s,track:(0,a.createNielsenApi)(e)})}},29655:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createVastStructure=void 0;let r=n(66159),i=n(87256),a=n(40087),o=n(58384),s=n(57620),l=n(15541);t.createVastStructure=function(){return{vast:{ad:[{inline:Object.assign(Object.assign({},(0,r.createAd)()),{adtitle:l.convertToEmptyString,adverifications:{verification:[{flashresource:{},javascriptresource:{},trackingevents:{tracking:[]},viewableimpression:l.convertToEmptyString}]},advertiser:l.convertToEmptyString,category:[],creatives:{creative:[{companionads:(0,i.createCompanionAds)(),creativeextensions:{creativeextension:[]},linear:{$skipoffset:l.convertToSecondsOrPercent,adparameters:l.convertToEmptyString,duration:l.convertToSeconds,icons:(0,a.createIcons)(),mediafiles:{interactivecreativefile:[],mediafile:[],mezzanine:{}},trackingevents:(0,s.createTrackingEvents)(),videoclicks:{clickthrough:l.convertToEmptyString,clicktracking:[],customclick:[]}},nonlinearads:(0,o.createNonLinearAds)(),universaladid:{}}]},description:l.convertToEmptyString}),wrapper:Object.assign(Object.assign({},(0,r.createAd)()),{adverifications:{verification:[{trackingevents:{tracking:[]},viewableimpression:[]}]},creatives:{creative:[{companionads:(0,i.createCompanionAds)(),linear:{icons:(0,a.createIcons)(),trackingevents:(0,s.createTrackingEvents)(),videoclicks:{clicktracking:[],customclick:[]}},nonlinearads:(0,o.createNonLinearAds)()}]},vastadtaguri:l.convertToEmptyString})}],error:[]}}}}
353,29688:(e,t,n)=>{var r=n(54906),i=n(16421);e.exports=r.extend({constructor:function(e,t){this._adapter=e,this._videoElement=e.getVideoObject(),this._startedStateCheck=!1,this._intervalCheckId=null,this._intervalMilliseconds=t||300},start:function(){var e=this._adapter.plugin;e&&e.getReadyStateMonitorEnabled()&&this._videoElement&&!this._startedStateCheck&&(this._intervalCheckId=setInterval(this.checkStateProperty.bind(this),this._intervalMilliseconds),this._startedStateCheck=!0)},stop:function(){try{this._startedStateCheck&&this._intervalCheckId&&clearInterval(this._intervalCheckId),this._intervalCheckId=null,this._startedStateCheck=!1}catch(e){i.error("Produced error stopping the network monitor")}},checkStateProperty:function(e){try{this._videoElement&&this._adapter&&this._videoElement.readyState&&(this._videoElement.readyState>3&&!this._adapter.flags.isSeeking?this._adapter.flags.isBuffering?this.fireBufferEnd({},"stateMonitor"):this._adapter.flags.isJoined||this.fireJoin({},"stateMonitor"):this._videoElement.readyState<4&&!this._adapter.flags.isBuffering&&this.fireBufferBegin({},!1,"stateMonitor",!0))}catch(e){}}})},29721:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BrandLogoMarker=void 0;let r=n(70015),i=n(80263),a=(0,r.__importDefault(n(28909)).default)("img")({marginTop:"3px"},e=>{var t;return{height:`${null!=(t=e.isCornerBug)&&t?"45px":"15px"}`}});t.BrandLogoMarker=e=>{let t=e.brandLogoUrl.mapOr(void 0,e=>e.toString());return(0,i.jsx)(a,{isCornerBug:e.isCornerBug,"aria-label":"Markenlogo",src:t})}},29819:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vastInlineCreativesSchema=void 0;let r=n(70015).__importDefault(n(19577)),i=n(92712),a=n(99918),o=n(50454),s=n(19687),l=n(70273),u=n(503),c=n(99367),d=n(23751),p=i.z.object({value:i.z.string().optional()}).passthrough().optional(),f=i.z.object({$bitrate:i.z.string().optional(),$delivery:(0,d.zodIabStringSchema)(d.AdErrorMessage.ERROR_TYPE_MISSING),$height:(0,d.zodIabStringSchema)(d.AdErrorMessage.ERROR_TYPE_MISSING),$maintainaspectratio:i.z.union([i.z.literal("true"),i.z.literal("false")]).optional(),$scalable:i.z.union([i.z.literal("true"),i.z.literal("false")]).optional(),$width:(0,d.zodIabStringSchema)(d.AdErrorMessage.ERROR_TYPE_MISSING)}).passthrough().optional(),h=i.z.object({$apiframework:i.z.string().optional(),$type:i.z.string().optional().refine(Boolean,{message:d.AdErrorMessage.ERROR_TYPE_MISSING,params:{code:o.iabVastErrorCode.VAST_SCHEMA_VALIDATION_ERROR}}),value:(0,d.zodIabStringSchema)(d.AdErrorMessage.ERROR_TYPE_MISSING)}).passthrough().optional().refine(e=>{let{$apiframework:t,$type:n}=null!=e?e:{};return r.default.undefined(t)&&"application/dash+xml"!==n&&"application/x-mpegURL"!==n?f.safeParse(e).success:!!e}),m=i.z.array(h).optional().refine(e=>e&&e.length>0,{message:d.AdErrorMessage.ERROR_TYPE_UNDEFINED_OR_LENGTH,params:{code:o.iabVastErrorCode.VAST_SCHEMA_VALIDATION_ERROR}}),g=i.z.object({mediafile:m,mezzanine:p}).passthrough(),y=i.z.object({$skipoffset:i.z.number().optional(),duration:i.z.object({value:(0,d.zodIabNumberSchema)(d.AdErrorMessage.ERROR_TYPE_MISSING)}).optional().refine(Boolean,{message:d.AdErrorMessage.ERROR_TYPE_MISSING,params:{code:o.iabVastErrorCode.VAST_SCHEMA_VALIDATION_ERROR}}),icons:s.vastIconsSchema.optional(),mediafiles:g.optional().refine(Boolean,{message:d.AdErrorMessage.ERROR_TYPE_MISSING,params:{code:o.iabVastErrorCode.VAST_SCHEMA_VALIDATION_ERROR}}),trackingevents:u.trackingEventsSchema.optional(),videoclicks:u.videoClicksSchema.optional()}).passthrough(),v=i.z.object({$adid:i.z.string().optional(),$apiframework:i.z.string().optional(),$id:i.z.string().optional(),$sequence:i.z.string().optional(),companionads:a.vastCreativeCompanionAdsSchema.optional(),linear:y.optional(),nonlinearads:l.vastCreativeNonLinearAdsSchema.optional(),universaladid:c.vastUniversalAdIdSchema.optional()}).passthrough();t.vastInlineCreativesSchema=i.z.object({creative:i.z.array(v).optional().refine(e=>e&&e.length>0,{message:d.AdErrorMessage.ERROR_TYPE_UNDEFINED_OR_LENGTH,params:{code:o.iabVastErrorCode.VAST_SCHEMA_VALIDATION_ERROR}})}).passthrough()},30029:e=>{"use strict";
353class t extends Error{constructor(e){super(e),this.name="TimeoutError"}}let n=(e,n,r,i)=>{let a,o=new Promise((o,s)=>{if("number"!=typeof n||n<0)throw TypeError("Expected `milliseconds` to be a positive number");if(n===1/0)return void o(e);a=(i={customTimers:{setTimeout,clearTimeout},...i}).customTimers.setTimeout.call(void 0,()=>{if("function"==typeof r){try{o(r())}catch(e){s(e)}return}let i="string"==typeof r?r:`Promise timed out after ${n} milliseconds`,a=r instanceof Error?r:new t(i);"function"==typeof e.cancel&&e.cancel(),s(a)},n),(async()=>{try{o(await e)}catch(e){s(e)}finally{i.customTimers.clearTimeout.call(void 0,a)}})()});return o.clear=()=>{clearTimeout(a),a=void 0},o};e.exports=n,e.exports.default=n,e.exports.TimeoutError=t},30174:(e,t,n)=>{var r=n(23307),i=n(33707),a=n(16421),o=n(87671);e.exports=i.extend({parse:function(e,t,n){n=n||"";var i=null;try{i=/((\S*?)(\.m3u8|\.m3u|\.ts|\.m4s|\.mp4|\.cmfv|\.m4a)((\?|;)\S*|\n|\r|$))/i.exec(e.replaceAll(",URI=","\n").replaceAll('"',"").replaceAll(",","\n"))}catch(e){a.warn("Parse HLS Regex failed",e),this.done()}if(null!==i){var s=i[1].trim(),l="",u=n.lastIndexOf("/");if(0!==s.indexOf("http")&&-1!==u){if("/"===s[0]&&"/"!==s[1]){var c=n.indexOf("/")+1;c+=n.substr(c,n.length).indexOf("/")+1,c+=n.substr(c,n.length).indexOf("/"),s=n.slice(0,c)+s}else s=n.slice(0,u)+"/"+s;l=n.slice(0,u)+"/"}if(".m3u8"===i[3]||".m3u"===i[3])if(t)this._parseWithManifest(t,l,i);else{var d=new r(s,null,null,{cache:!0,requestHeaders:this._headers});d.on(r.Event.SUCCESS,(function(e){this._parseWithManifest(e,l,i)}).bind(this)),d.on(r.Event.ERROR,(function(e){this.done()}).bind(this)),d.send()}else{switch(i[3]){case".mp4":case".m4s":case".m4a":this._transportFormat=o.MP4;break;case".ts":this._transportFormat=o.MPEG2;break;case".cmfv":this._transportFormat=o.CMF}this._realResource=s,this.done()}}else this.done()},_parseWithManifest:function(e,t,n){this._lastManifest=e,this.parse(e.getResponseText(),null,t+n[2])},shouldExecute:function(e){var t=!0;return e&&(t=-1!==e.getResponseText().indexOf("#EXTM3U")),t}})},30193:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.livestreamsGraphQlQuerySchema=void 0;let r=n(47561),i=n(92712),a=n(16002),o=n(80428),s=n(39909),l=n(45936),u=n(5123),c=n(2807),d=i.z.number().nonnegative(),p=i.z.object({brandCode:i.z.string().nullable().transform(r.Maybe.of),id:a.idSchema,livestream:i.z.object({logo:i.z.object({url:i.z.string().url().transform(e=>new URL(e))}).strict()}).strict()}).strict().nullable().transform(r.Maybe.of),f=i.z.array(i.z.union([i.z.literal("PREMIUM"),i.z.literal("PLUS")])),h=i.z.array(i.z.enum(["SPORTS","PUBLIC_VALUE"])),m=i.z.union([i.z.literal("HD"),i.z.literal("SD"),i.z.literal("UHD")]),g=i.z.union([i.z.literal("LINEAR"),i.z.literal("EVENT"),i.z.literal("ON_DEMAND")]),y=i.z.object({__typename:i.z.literal("EpgEntry")}).strict(),v=i.z.discriminatedUnion("__typename",[s.compilationItemOnDemandChannelSchema,y,l.highlightSchema,u.movieOnDemandChannelSchema,o.seriesEpisodeOnDemandChannelSchema,c.sportsMatchOnDemandChannelSchema]),b=i.z.object({endDate:d,program:v.nullable().transform(r.Maybe.of),startDate:d}).strict(),_=i.z.object({agofCode:i.z.string().nullable().transform(r.Maybe.of),brand:p,epgEvents:i.z.array(b),id:a.idSchema,liveStreamGroups:h.nullable().transform(r.Maybe.of),markings:f.nullable().transform(e=>null===e?[]:e),quality:m.nullable().transform(r.Maybe.of),title:i.z.string(),type:g.nullable().transform(r.Maybe.of)}).strict(),S=i.z.array(_);t.livestreamsGraphQlQuerySchema=i.z.object({liveStreams:S}).strict()},30474:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAdPayload=t.getContentPayload=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(75609),o=n(58302),s=e=>e.replace(" - "," ").toLowerCase(),l=(e,t)=>{let{brandName:n}=e,r=n.toLowerCase();return(0,a.isSeriesContentResource)(e)?s(e.seriesTitle):t&&(0,a.isLiveContentResource)(e)?`livestream|${n}`:"joyn"===r?r:s((0,o.formatFullTitle)(e))};t.getContentPayload=e=>r.__awaiter(void 0,void 0,void 0,function*(){let{runtime:{isLivestream:t,duration:n},content:{resource:r},windowLocation:i,utmParametersApi:u}=e,{id:c,externalTrackingId:d,infOnlineCode:p,brandName:f}=r,h=t?86400:Math.round(null!=n?n:0),m=l(r,t),g=((e,t)=>{if((0,a.isSeriesContentResource)(e)){let n=l(e,t),{seasonNumber:r,episodeNumber:i,episodeTitle:a}=e;return`${n}|${r} ${i} ${s(a)}`}return t&&(0,a.isLiveContentResource)(e)?`livestream|${e.brandName}`:s((0,o.formatFullTitle)(e))})(r,t),y=(yield u.getUtmParameters()).unwrapOr(void 0),v=y?Object.keys(y).filter(e=>y[e]).map(e=>`utm_${e}=${y[e]}`).join("&"):"",b=0===v.length?"":`?${v}`,_=`${i.origin}${i.pathname}${b}`,S={assetid:c,length:`${h}`,nol_c2:"p2,N",nol_c5:`p5,${_}`,nol_c7:`p7,${c}`,nol_c8:`p8,${h}`,nol_c9:`p9,${g}`,nol_c10:`p10,${f}
353`,nol_c12:"p12,Content",nol_c15:`p15,${d}`,nol_c16:`p16,${p}`,nol_c18:`p18,${t?"Y":"N"}`,program:m,title:`${c}|${g}`,type:"content"};return(0,a.isSeriesContentResource)(r)?Object.assign(Object.assign({},S),{nol_c0:`p0,${r.episodeId}`}):S}),t.getAdPayload=e=>{let{ad:t,runtime:{duration:n},content:{resource:{brandName:r,infOnlineCode:a}}}=e,o=null==t?void 0:t.rollName,s=i.default.plainObject(t)&&i.default.string(t.id)?t.id.replace("-"," ").replace(/[^\w|]/g,""):"",l=Math.round(null!=n?n:0);return{assetid:s,nol_c1:`p1,${s}`,nol_c2:"p2,N",nol_c4:o?`p4,${o}`:void 0,nol_c8:`p8,${l}`,nol_c10:`p10,${r}`,nol_c11:`p11,${null==t?void 0:t.id}`,nol_c12:"p12,Werbung",nol_c16:a?`p16,${a}`:void 0,nol_c17:`p17,${o}`,title:s,type:null!=o?o:"preroll"}}},30485:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transition=void 0;let r=n(80263),i=n(53239);t.Transition=({enter:e,className:t,children:n})=>{let[a,o]=(0,i.useState)(e?"entered":"exited");return((0,i.useEffect)(()=>{let t;return e&&"exited"===a&&(t=requestAnimationFrame(()=>{o("entered")})),e&&"exiting"===a&&o("entered"),e||"entered"!==a||o("exiting"),()=>{cancelAnimationFrame(t)}},[e,a]),e||"exited"!==a)?(0,r.jsx)("div",Object.assign({className:t,onTransitionEnd:()=>{"exiting"===a&&o("exited")}},{children:n("entered"===a)})):null}},30517:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSponsorSlotType=t.isSlotType=void 0;let r=n(92712).z.enum(["preroll","presplit","midroll","sponsoropener","postsplit"]);t.isSlotType=function(e){return r.safeParse(e).success},t.isSponsorSlotType=function(e){return"sponsoropener"===e||"postsplit"===e||"presplit"===e}},30567:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Header=void 0;let r=n(70015),i=n(80263),a=n(30589),o=r.__importDefault(n(28909)),s=n(53239),l=n(66976),u=n(945),c=n(42602),d=n(81727),p=n(30485),f=o.default.header(({theme:e})=>({fontSize:e.spacing.medium,lineHeight:0,padding:e.spacing.small,paddingRight:"40px",paddingTop:"30px",transition:(0,u.themedTransition)(e,"all")}),({isVisible:e})=>!e&&{opacity:0,transform:"translateY(-100%)"}),h=o.default.div(({theme:e})=>({"> :only-child":{marginLeft:"auto"},alignItems:"center",display:"flex",justifyContent:"space-between",marginBottom:e.spacing.smaller}));t.Header=({className:e})=>{let t=(0,a.useTheme)(),{state:n}=(0,s.useContext)(l.PlayerContext),{mustShowCloseButton:r}=n,{playlist:o,playlistIndex:u}=n,m="mini"===t.screenSize,g=o[null!=u?u:0];return m||!g?null:(0,i.jsx)(p.Transition,Object.assign({className:e,enter:function(e){let{mustShowControls:t,isUpNextVisible:n,error:r}=e;return!e.mustShowElectronicProgramGuide&&(t||n||null!==r)}(n)},{children:e=>(0,i.jsx)(f,Object.assign({isVisible:e},{children:(0,i.jsx)(h,{children:r?(0,i.jsxs)(s.Fragment,{children:[(0,i.jsx)(d.ElectronicProgramGuideButton,{}),(0,i.jsx)(c.CloseButton,{})]}):null})}))}))}},30589:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CacheProvider:()=>r.C,ClassNames:()=>h,Global:()=>u,ThemeContext:()=>r.T,ThemeProvider:()=>r.a,__unsafe_useEmotionCache:()=>r._,createElement:()=>l,css:()=>c,jsx:()=>l,keyframes:()=>d,useTheme:()=>r.u,withEmotionCache:()=>r.w,withTheme:()=>r.b});var r=n(62209),i=n(53239),a=n(42487),o=n(55855),s=n(41540);n(51364),n(78910);var l=function(e,t){var n=arguments;if(null==t||!r.h.call(t,"css"))return i.createElement.apply(void 0,n);var a=n.length,o=Array(a);o[0]=r.E,o[1]=(0,r.c)(e,t);for(var s=2;s<a;s++)o[s]=n[s];return i.createElement.apply(null,o)},u=(0,r.w)(function(e,t){var n=e.styles,l=(0,s.J)([n],void 0,i.useContext(r.T));if(!r.i){for(var u,c=l.name,d=l.styles,p=l.next;void 0!==p;)c+=" "+p.name,d+=p.styles,p=p.next;var f=!0===t.compat,h=t.insert("",{name:c,styles:d},t.sheet,f);return f?null:i.createElement("style",((u={})["data-emotion"]=t.key+"-global "+c,u.dangerouslySetInnerHTML={__html:h},u.nonce=t.sheet.nonce,u))}var m=i.useRef();return(0,o.i)(function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),m.current=[n,r],function(){n.flush()}},[t]),(0,o.i)(function(){var e=m.current,n=e[0];if(e[1]){e[1]=!1;return}if(void 0!==l.next&&(0,a.sk)(t,l.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",l,n,!1)},[t,l.name]),null});function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.J)(t)}var d=function(){var e=c.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},p=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var a=t[r];if(null!=a){var o=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))o=e(a);else for(var s in o="",a)a[s]&&s&&(o&&(o+=" "),o+=s);break;default:o=a}o&&(i&&(i+=" "),i+=o)}}return i},f=function(e){var t=e.cache,n=e.serializedArr;return(0,o.s)(function(){for(var e=0;e<n.length;e++)(0,a.sk)(t,n[e],!1)}),null},h=(0,r.w)(function(e,t){var n=[],o=function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];var o=(0,s.J)(r,t.registered);return n.push(o),(0,a.SF)(t,o,!1),t.key+"-"+o.name},l={css:o,cx:function(){for(var e,n,r,i,s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return e=t.registered,n=p(l),r=[],i=(0,a.Rk)(e,r,n),r.length<2?n:i+o(r)},theme:i.useContext(r.T)},u=e.children(l);return i.createElement(i.Fragment,null,i.createElement(f,{cache:t,serializedArr:n}),u)})},30836:(e,t,n)=>{"use strict";
353Object.defineProperty(t,"__esModule",{value:!0}),t.ChannelList=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(96399),s=a.default.ol({listStyleType:"none",margin:"0 20px",maxHeight:"calc(100% - 132px - 47px)",overflowX:"hidden",padding:0}),l=a.default.li({":first-of-type":{marginTop:0},display:"flex",flexWrap:"nowrap",justifyContent:"flex-start",marginTop:"2px"});t.ChannelList=e=>(0,i.jsx)(s,{children:function(e){return e.channels.map((t,n)=>(function(e,t,n){let{switchChannel:r,switchChannelEntry:a,selectedPlaylistIndex:s,selectedPlaylistChildIndex:u,selectedChannelItemRef:c}=n,d=e.playlistIndex===s;return(0,i.jsx)(l,Object.assign({ref:d?c:void 0},{children:(0,i.jsx)(o.ChannelItem,{switchChannel:r,switchChannelEntry:a,channel:e,selected:d,selectedPlaylistChildIndex:u})}),`${e.contentResource.title}-${t}`)})(t,n,e))}(e)})},30843:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdError=void 0;class n extends Error{constructor(e,t,n,r){super(e),this.message=e,this.code=null!=t?t:"ad_error",this.type=null!=n?n:"ad_scheduler_error",this.details=null!=r?r:""}}t.AdError=n},30936:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlayerError=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47397),a=["ad_blocked","ad_empty_body","ad_empty_vast","ad_mediafile_error","ad_network_error","ad_no_consent","ad_no_supported_mediafile_provided","ad_parsing_failed","ad_scheduler_error","ad_shimmed_vast","ad_viewability_error","ad_wrapper_limit_reached","called_multiple_times","content_concurrent_stream_limit_reached","content_drm_no_key_system_supported","content_drmblocking","content_geoblocking","content_login","content_personal_identification_number_insufficient_age","content_personal_identification_number_invalid","content_personal_identification_number_required","content_personal_identification_number_setup","content_subscription_required","content_takedown","content_unavailable","content_unknown","content_user_token","content_youth_protected","content_watch_limit_reached","content","internal","invalid_native_event_payload","playback_can_not_play_by_api","playback_destroyed","playback_drm_key_system_not_supported","playback_drm_license_request_failed","playback_drm_no_key_system_supported","playback_drm_output_restricted","playback_drm","playback_network_connection_problem","playback_no_source_provided","playback_no_supported_source_provided","playback_play_without_sources","playback_source_invalid","playback_buffering_not_allowed_for_connection_type","playback_invalid_subtitle_tracks","playback","player_config","playback_error","unknown"];class o extends Error{constructor(e,t,n){super(t),this.type="playback_error",Object.setPrototypeOf(this,new.target.prototype),this.type=null!=e?e:"playback_error",this.additionalDetails=n}static fromUnknown(e,t="playback_error"){var n;if(e instanceof o)return e;let s=[],l=t;return(0,i.isRecord)(e)?(s.push(r.default.string(e.message)?e.message:r.default.emptyObject(e)?"Unknown error without message property, got object without any key(s)":`Unknown error without message property, got object with key(s) ${Object.keys(e).join(", ")}`),(r.default.string(e.code)||r.default.number(e.code))&&s.push(`(code: ${e.code})`),n=e.type,a.includes(n))?l=e.type:r.default.string(e.type)&&s.push(`(type: ${e.type})`):s.push(`Unknown error, got "${Array.isArray(e)?"array":typeof e}" as error value`),new o(l,s.join(" "))}hasType(e){return this.type.startsWith(e)}}t.PlayerError=o},30967:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FadeTransition=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(945),s=n(30485),l=a.default.div(({isVisible:e,theme:t})=>({opacity:+!!e,transition:(0,o.themedTransition)(t,"opacity")}));t.FadeTransition=({isVisible:e,children:t,className:n})=>(0,i.jsx)(s.Transition,Object.assign({enter:e,className:n},{children:e=>(0,i.jsx)(l,Object.assign({isVisible:e},{children:t}))}))},31069:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});class r extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}},31096:(e,t,n)=>{"use strict";
353Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonGroup=t.EmptyElement=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(19577)),s=n(53239),l=a.default.ul(({theme:e,alignContent:t})=>{var n;return{alignItems:"center",display:"flex",flex:1,fontSize:e.spacing.medium,justifyContent:"right"===(n=t)?"flex-end":"center"===n?"center":"flex-start",listStyle:"none",margin:0,padding:0,position:"relative"}});t.EmptyElement=a.default.div(()=>({height:28,width:28}));let u=a.default.li(({theme:e,dense:t,hasEdgesStyles:n})=>{let r={display:"block"};if(t)return Object.assign(Object.assign(Object.assign({},r),n?{"&:first-of-type":{margin:"0 20px 0 0"},"&:last-of-type":{margin:"0 0 0 20px"}}:{}),{margin:"0 20px 0 20px"});let i=n?{"&:first-of-type":{margin:`0 ${e.spacing.smaller}`},"&:last-of-type":{margin:`0 ${e.spacing.smaller}`}}:{};return Object.assign(Object.assign(Object.assign({},r),i),{margin:`0 ${"mini"===e.screenSize?0:e.spacing.medium}`})});t.ButtonGroup=e=>{let{alignContent:n="left",dense:r=!1}=e,a=(0,s.useMemo)(()=>{let n=s.Children.toArray(e.children);return o.default.truthy(e.centerOdd)&&n.length%2==0&&n.push((0,i.jsx)(t.EmptyElement,{})),n},[e.children,e.centerOdd]),c=(0,s.useMemo)(()=>a.length>1,[a]);return(0,i.jsx)(l,Object.assign({alignContent:n,role:"group"},{children:a.map((e,t)=>(function(e,t,{dense:n,hasEdgesStyles:r}){return(0,i.jsx)(u,Object.assign({dense:n,hasEdgesStyles:r},{children:e}),t)})(e,t,{dense:r,hasEdgesStyles:c}))}))}},31335:(e,t,n)=>{e.exports=n(61823).version},31362:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},31371:(e,t)=>{"use strict";function n(e){return function(t){t.view.document.hasFocus()&&e(t)}}Object.defineProperty(t,"__esModule",{value:!0}),t.createControlsInteractions=void 0,t.createControlsInteractions=function(e){let{actions:t,debounce:r}=e,i=r(()=>{t.stopInteractionAttempt()},100);return{onClick(){t.triggerImmediateInteractionAttempt()},onMouseLeave:n(()=>{t.hideNonRequiredElements()}),onMouseMove:n(()=>{t.startInteractionAttempt(),i()}),onTouchEnd(){t.hideNonRequiredElements()},onTouchStart(){t.startInteractionAttempt()}}}},31408:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapCompilationItemContentResourceToLegacyContentResource=t.buildContentResourcesForCompilationItem=t.buildContentResourceForCompilationItem=void 0;let r=n(47561),i=n(50160),a=n(29241),o=n(14402);function s(e){var t,n,s,l,u,c,d,p,f,h,m,g,y;let v=r.Maybe.of(null==(t=null==e?void 0:e.compilation)?void 0:t.brands).andThen(e=>r.Maybe.fromNullable(e[0])),b=r.Maybe.of(null==(n=null==e?void 0:e.compilation)?void 0:n.features).andThen(e=>(0,a.featureCheck)(i.FeatureType.CornerBug,r.Maybe.of(e)));return{ageRating:r.Maybe.of(null==e?void 0:e.ageRating).map(e=>e.minAge),ageRatingDescriptors:(0,a.extractAgeRatingDescriptors)(null==e?void 0:e.ageRating),brandLogo:v.map(e=>new URL(e.logo.url)),brandName:v.map(e=>e.title),compilationItemPath:r.Maybe.of(null==e?void 0:e.path),compilationItemTitle:r.Maybe.of(null==e?void 0:e.title).unwrapOr(""),compilationTitle:r.Maybe.of(null==(s=null==e?void 0:e.compilation)?void 0:s.title),contentType:"compilation-item",externalTrackingId:r.Maybe.of(null==(l=null==e?void 0:e.tracking)?void 0:l.externalAssetId),genres:r.Maybe.of(null==(u=null==e?void 0:e.tracking)?void 0:u.genres).map(e=>r.Maybe.of(e).unwrapOr([])).unwrapOr([]),hasCornerBug:b,hasProductPlacement:r.Maybe.of(null==e?void 0:e.productPlacement),id:r.Maybe.of(null==(c=null==e?void 0:e.video)?void 0:c.id).unwrapOr(""),infOnlineCode:r.Maybe.of(null==(d=null==e?void 0:e.tracking)?void 0:d.agofCode),licenseTypes:r.Maybe.of(null==e?void 0:e.licenseTypes).unwrapOr([]),playbackStartPosition:(0,o.determinePlaybackStartPosition)(r.Maybe.of(null==e?void 0:e.resumePosition)),poster:r.Maybe.of(null==(p=null==e?void 0:e.posterImage)?void 0:p.url).andThen(e=>r.Maybe.of(new URL(e))),primaryColor:r.Maybe.of(null==(h=null==(f=null==e?void 0:e.compilation)?void 0:f.heroLandscapeImage)?void 0:h.vibrantColor),thumbnail:r.Maybe.of(null==(m=null==e?void 0:e.thumbnailImage)?void 0:m.url).andThen(e=>r.Maybe.of(new URL(e))),titleImage:r.Maybe.of(null==(y=null==(g=null==e?void 0:e.compilation)?void 0:g.artLogoImage)?void 0:y.url).andThen(e=>r.Maybe.of(new URL(e))),tvShowId:r.Maybe.of(null==e?void 0:e.compilation).map(e=>e.id)}}t.buildContentResourceForCompilationItem=s,t.buildContentResourcesForCompilationItem=function(e){var t;let{compilationItem:n}=e,i=s(n);return[i,s(r.Maybe.of(null==n?void 0:n.nextCompilationItem).unwrapOr(void 0)),s(r.Maybe.of(null==(t=null==n?void 0:n.nextCompilationItem)?void 0:t.nextCompilationItem).unwrapOr(void 0))]},t.mapCompilationItemContentResourceToLegacyContentResource=function(e){return{ageRating:e.ageRating.unwrapOr(void 0),ageRatingDescriptors:e.ageRatingDescriptors.unwrapOr(void 0),brandLogo:e.brandLogo.unwrapOr(void 0),brandName:e.brandName.unwrapOr(""),compilationItemTitle:e.compilationItemTitle,compilationTitle:e.compilationTitle.unwrapOr(""),contentType:"compilation",externalTrackingId:e.externalTrackingId.unwrapOr(""),genres:e.genres,hasCornerBug:e.hasCornerBug.unwrapOr(!1),hasProductPlacement:e.hasProductPlacement.unwrapOr(void 0),id:e.id,infOnlineCode:e.infOnlineCode.unwrapOr(""),licenseTypes:e.licenseTypes,playbackStartPosition:e.playbackStartPosition,poster:e.poster.unwrapOr(void 0),primaryColor:e.primaryColor.unwrapOr(void 0),thumbnail:e.thumbnail.unwrapOr(void 0),titleImage:e.titleImage.unwrapOr(void 0),tvShowId:e.tvShowId.unwrapOr("")}}},31456:(e,t,n)=>{"use strict";
353Object.defineProperty(t,"__esModule",{value:!0}),t.createCreateNonLinearAd=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47561),o=n(64799),s=n(27504),l=n(15541);t.createCreateNonLinearAd=({clock:e,eventEmitter:t,internalEmitter:n,openWebsite:u,logger:c,createTrackVastEvent:d})=>(p,f)=>{var h;let m=[],g=d(f),y=(e,n)=>{t.emit(e,null!=n?n:{})},v=null==(h=p.nonlinearclickthrough)?void 0:h.value,b=(e=>{var t;let n={clickThroughTarget:null==(t=e.nonlinearclickthrough)?void 0:t.value,id:e.$id,minSuggestedDuration:(0,l.convertToSeconds)(e.$minsuggestedduration)};if((0,s.isVastCutInAd)(e)){let{bottomNonLinearAd:t,leftNonLinearAd:r,type:i}=e;return Object.assign(Object.assign({},n),{imageBottom:t,imageLeft:r,type:i})}return n})(p),_=a.Maybe.of(b.minSuggestedDuration).unwrapOr(10),S={adNonLinearAdHidden(){m.forEach(e=>{e.pause()})},adNonLinearAdShown(){let t=(0,o.timerApi)({callback:()=>{y("adNonLinearAdStopped")},clock:e,durationInMilliseconds:1e3*_});t.start(),m.push(t),g("impression"),g("creativeView")}},E={close:()=>{},collapse:()=>{},expand:()=>{},getDuration:()=>0,getSkipOffset:()=>a.Maybe.nothing(),getVideoQuality:()=>null,mute:()=>{g("mute")},openClickThrough:()=>r.__awaiter(void 0,void 0,void 0,function*(){try{if(i.default.nullOrUndefined(v))throw Error("missing clickThroughTarget");yield u(v),g("click")}catch(e){y("adClickThroughBlocked",Object.assign(Object.assign({},b),{clickThroughTarget:v}))}}),pause:()=>r.__awaiter(void 0,void 0,void 0,function*(){g("pause"),m.forEach(e=>{e.pause()})}),resume:()=>r.__awaiter(void 0,void 0,void 0,function*(){g("resume"),m.forEach(e=>{e.resume()})}),setVolume:()=>{},skip:()=>{},start:()=>r.__awaiter(void 0,void 0,void 0,function*(){let t=(0,o.timerApi)({callback:()=>{y("adNonLinearAdStopped"),c.error("Non linear AD stopped by fallback timer with no messages from the client")},clock:e,durationInMilliseconds:(_+5)*1e3});return m.push(t),t.start(),n.on("adNonLinearAdShown",S.adNonLinearAdShown),n.on("adNonLinearAdHidden",S.adNonLinearAdHidden),y("adNonLinearAdStarted",b),a.Maybe.nothing()}),stop:()=>{m.forEach(e=>{e.pause()}),n.off("adNonLinearAdShown",S.adNonLinearAdShown),n.off("adNonLinearAdHidden",S.adNonLinearAdHidden),y("adNonLinearAdStopped")},unmute:()=>{g("unmute")}};return{init:()=>r.__awaiter(void 0,void 0,void 0,function*(){return E}),on:(e,n)=>{t.on(e,n)}}}},31511:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BrandLogo=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(19577)),s=a.default.img({margin:0});t.BrandLogo=({className:e,title:t,brandLogo:n})=>o.default.nullOrUndefined(t)||o.default.nullOrUndefined(n)?null:(0,i.jsx)(s,{alt:t,src:n.toString(),className:e})},31527:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.unsafeStringify=a;var r=function(e){return e&&e.__esModule?e:{default:e}}
353(n(55821));let i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));function a(e,t=0){return i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]}t.default=function(e,t=0){let n=a(e,t);if(!(0,r.default)(n))throw TypeError("Stringified UUID is invalid");return n}},31596:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MOVIE_GRAPHQL_QUERY_DOCUMENT=void 0;let r=n(42049);t.MOVIE_GRAPHQL_QUERY_DOCUMENT=(0,r.gql)` 354 query Movie($id: ID!) { 355 movie(id: $id) { 356 __typename 357 title 358 ageRating { 359 descriptorsText 360 minAge 361 } 362 artLogoImage: image(type: ART_LOGO) { 363 url(profile: "nextgen-web-artlogo-300x123") 364 } 365 brands { 366 logo { 367 url(profile: "nextgen-web-artlogo-183x75") 368 } 369 title 370 } 371 cast { 372 name 373 } 374 features 375 heroLandscapeImage: image(type: HERO_LANDSCAPE) { 376 vibrantColor: accentColor(type: DARK_VIBRANT) 377 } 378 id 379 licenseTypes 380 path 381 posterImage: image(type: PRIMARY) { 382 url(profile: "nextgen-web-primarycut-1920x1080") 383 } 384 productPlacement 385 resumePosition { 386 position 387 watchedPercentage 388 } 389 tracking { 390 agofCode 391 externalAssetId 392 genres 393 } 394 video { 395 id 396 } 397 videoDescriptors { 398 name 399 } 400 } 401 } 402`},31709:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let r=n(79293);class i{constructor(){this._queue=[]}enqueue(e,t){let n={priority:(t=Object.assign({priority:0},t)).priority,run:e};if(this.size&&this._queue[this.size-1].priority>=t.priority)return void this._queue.push(n);let i=r.default(this._queue,n,(e,t)=>t.priority-e.priority);this._queue.splice(i,0,n)}dequeue(){let e=this._queue.shift();return null==e?void 0:e.run}filter(e){return this._queue.filter(t=>t.priority===e.priority).map(e=>e.run)}get size(){return this._queue.length}}t.default=i},31735:e=>{e.exports={cdnName:"HIGHNEGR",parsers:[{element:"host+type",headerName:"X-HW",regex:/.+,[0-9]+\.(.+)\.(.+)/}],parseType:function(e){switch(e){case"c":case"x":return 1;default:return 2}}}},31777:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vastWrapperSchema=void 0;let r=n(92712),i=n(55263),a=n(23017),o=n(99918),s=n(50454),l=n(99315),u=n(70273),c=n(503),d=n(53843),p=n(23751),f=r.z.object({$adid:r.z.string().optional(),$apiframework:r.z.string().optional(),$id:r.z.string().optional(),$sequence:r.z.string().optional(),companionads:o.vastCreativeCompanionAdsSchema.optional(),linear:r.z.object({}).passthrough().optional(),nonlinearads:u.vastCreativeNonLinearAdsSchema.optional()}).passthrough(),h=r.z.object({creative:r.z.array(f).optional().refine(e=>e&&e.length>0,{message:p.AdErrorMessage.ERROR_TYPE_UNDEFINED_OR_LENGTH,params:{code:s.iabVastErrorCode.VAST_SCHEMA_VALIDATION_ERROR}})}).passthrough();t.vastWrapperSchema=r.z.object({adsystem:i.adSystemSchema.optional(),adverifications:a.vastAdVerificationsSchema.optional(),creatives:h.optional(),error:r.z.array(d.errorSchema).optional(),extensions:l.vastExtensionsSchema.optional(),impression:c.impressionSchema.optional(),vastadtaguri:p.adValueSchema}).passthrough()},31870:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VodIcon=void 0;let r=n(80263),i=n(83947);t.VodIcon=e=>(0,r.jsxs)(i.IconContainer,Object.assign({defaultViewBox:"0 0 21 20"},e,{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.19222C0 1.4784 0.598105 0.962402 1.25688 0.962402L19.7439 0.962585C20.4026 0.962585 21.0007 1.47859 21.0007 2.1924V11.7328C21.0007 12.4466 20.402
4026 12.9626 19.7439 12.9626L1.25688 12.9624C0.598105 12.9624 0 12.4464 0 11.7326V2.19222ZM0.629 2.19222C0.629 1.8629 0.91011 1.59594 1.25688 1.59594L19.7439 1.59613C20.0906 1.59613 20.3717 1.86309 20.3717 2.1924V11.7328C20.3717 12.0621 20.0906 12.329 19.7439 12.329L1.25688 12.3289C0.91011 12.3289 0.629 12.0619 0.629 11.7326V2.19222Z"}),(0,r.jsx)("path",{d:"M6.60741 4.50424L5.21061 7.82344L3.81381 4.50424H2.47461L4.59861 9.42904H5.82981L7.94661 4.50424H6.60741Z"}),(0,r.jsx)("path",{d:"M10.5216 4.41064C9.04557 4.41064 7.92957 5.52664 7.92957 6.95224C7.92957 8.37784 9.04557 9.49384 10.5216 9.49384C11.9976 9.49384 13.1136 8.37784 13.1136 6.95224C13.1136 5.52664 11.9976 4.41064 10.5216 4.41064ZM10.5216 8.35624C9.72957 8.35624 9.16077 7.72264 9.16077 6.95224C9.16077 6.18184 9.72957 5.54824 10.5216 5.54824C11.3136 5.54824 11.8824 6.18184 11.8824 6.95224C11.8824 7.72264 11.3136 8.35624 10.5216 8.35624Z"}),(0,r.jsx)("path",{d:"M15.8252 4.50424H13.8596V9.40024H15.8252C17.366 9.40024 18.4676 8.39224 18.4676 6.93784C18.4676 5.50504 17.366 4.50424 15.8252 4.50424ZM15.8252 8.30584H15.0764V5.59864H15.8252C16.6244 5.59864 17.2364 6.18184 17.2364 6.93784C17.2364 7.71544 16.6244 8.30584 15.8252 8.30584Z"})]}))},31989:(e,t,n)=>{var r=n(54906),i=n(84034),a=n(15210),o=r.extend({constructor:function(e,t,n){this._adapter=e,this._seekEnabled=t&o.Type.SEEK,this._bufferEnabled=t&o.Type.BUFFER,n=n||800,this._chrono=new a,this._lastPlayhead=0,n>0&&(this._timer=new i(this.progress.bind(this),n))},start:function(){this.stop(),this.canBeUsed()&&this._timer.start()},stop:function(){this._lastPlayhead=0,this._timer&&this._timer.stop()},skipNextTick:function(){this._lastPlayhead=0},progress:function(){var e=this._chrono.stop();this._chrono.start();var t=e*o.kBUFFER_THRESHOLD_RATIO,n=e*o.kSEEK_THRESHOLD_RATIO;this._adapter.getPlayrate&&this._adapter.getPlayrate()&&1!==this._adapter.getPlayrate()&&(t*=this._adapter.getPlayrate(),n*=this._adapter.getPlayrate());var r=this._getPlayhead(),i=1e3*Math.abs(this._lastPlayhead-r);i<t?this._bufferEnabled&&this._lastPlayhead>0&&!this._adapter.flags.isPaused&&!this._adapter.flags.isSeeking&&this._adapter.fireBufferBegin(null,!1,"playheadMonitor"):i>n?this._seekEnabled&&this._lastPlayhead>0&&this._adapter.fireSeekBegin(null,!1,"playheadMonitor"):(this._seekEnabled&&this._adapter.fireSeekEnd(null,"playheadMonitor"),this._bufferEnabled&&this._adapter.fireBufferEnd(null,"playheadMonitor")),this._lastPlayhead=r},canBeUsed:function(){var e=this._adapter.plugin;return!!(e&&e.getPlayheadMonitorEnabled())&&(!!this._seekEnabled||!!this._bufferEnabled)&&(!e.getIsLive()||!e.options["content.isLive.noMonitor"])},_getPlayhead:function(){return this._adapter.getPlayhead()}},{Type:{NONE:0,BUFFER:1,SEEK:2},kBUFFER_THRESHOLD_RATIO:.5,kSEEK_THRESHOLD_RATIO:2});e.exports=o},32023:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Filter=void 0;let r=n(80263),i=n(83947);t.Filter=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.9999 11.6428C16.5975 11.6428 17.9399 10.5501 18.3205 9.07136H21.4285C21.9019 9.07136 22.2857 8.6876 22.2857 8.21422C22.2857 7.74083 21.9019 7.35707 21.4285 7.35707H18.3205C17.9399 5.87831 16.5975 4.78564 14.9999 4.78564C13.4024 4.78564 12.06 5.87831 11.6794 7.35707H2.57138C2.09799 7.35707 1.71423 7.74083 1.71423 8.21422C1.71423 8.6876 2.09799 9.07136 2.57138 9.07136H11.6794C12.06 10.5501 13.4024 11.6428 14.9999 11.6428ZM14.9999 9.9285C15.9467 9.9285 16.7142 9.16099 16.7142 8.21422C16.7142 7.26744 15.9467 6.49993 14.9999 6.49993C14.0532 6.49993 13.2857 7.26744 13.2857 8.21422C13.2857 9.16099 14.0532 9.9285 14.9999 9.9285ZM5.67939 15.9285H2.57138C2.09799 15.9285 1.71423 16.3123 1.71423 16.7856C1.71423 17.259 2.09799 17.6428 2.57138 17.6428H5.67939C6.06 19.1216 7.40237 20.2142 8.99995 20.2142C10.5975 20.2142 11.9399 19.1216 12.3205 17.6428H21.4285C21.9019 17.6428 22.2857 17.259 22.2857 16.7856C22.2857 16.3123 21.9019 15.9285 21.4285 15.9285H12.3205C11.9399 14.4497 10.5975 13.3571 8.99995 13.3571C7.40237 13.3571 6.06 14.4497 5.67939 15.9285ZM10.7142 16.7856C10.7142 17.7324 9.94672 18.4999 8.99995 18.4999C8.05317 18.4999 7.28566 17.7324 7.28566 16.7856C7.28566 15.8389 8.05317 15.0714 8.99995 15.0714C9.94672 15.0714 10.7142 15.8389 10.7142 16.7856Z",fill:"white"})}))},32355:(e,t,n)=>{"use strict";var r;n.d(t,{Y:()=>r}),function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}
402",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(r||(r={}))},32385:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},32669:(e,t,n)=>{"use strict";let r=n(81621);class i extends Error{constructor(e){super(e),this.name="TimeoutError"}}let a=(e,t,n)=>new Promise((a,o)=>{if("number"!=typeof t||t<0)throw TypeError("Expected `milliseconds` to be a positive number");if(t===1/0)return void a(e);let s=setTimeout(()=>{if("function"==typeof n){try{a(n())}catch(e){o(e)}return}let r="string"==typeof n?n:`Promise timed out after ${t} milliseconds`,s=n instanceof Error?n:new i(r);"function"==typeof e.cancel&&e.cancel(),o(s)},t);r(e.then(a,o),()=>{clearTimeout(s)})});e.exports=a,e.exports.default=a,e.exports.TimeoutError=i},32704:(e,t,n)=>{var r=0/0,i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,d=u||c||Function("return this")(),p=Object.prototype.toString,f=Math.max,h=Math.min,m=function(){return d.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==p.call(t))return r;if(g(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=g(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var u=o.test(e);return u||s.test(e)?l(e.slice(2),u?2:8):a.test(e)?r:+e}e.exports=function(e,t,n){var r,i,a,o,s,l,u=0,c=!1,d=!1,p=!0;if("function"!=typeof e)throw TypeError("Expected a function");function v(t){var n=r,a=i;return r=i=void 0,u=t,o=e.apply(a,n)}function b(e){var n=e-l,r=e-u;return void 0===l||n>=t||n<0||d&&r>=a}function _(){var e,n,r,i=m();if(b(i))return S(i);s=setTimeout(_,(e=i-l,n=i-u,r=t-e,d?h(r,a-n):r))}function S(e){return(s=void 0,p&&r)?v(e):(r=i=void 0,o)}function E(){var e,n=m(),a=b(n);if(r=arguments,i=this,l=n,a){if(void 0===s)return u=e=l,s=setTimeout(_,t),c?v(e):o;if(d)return s=setTimeout(_,t),v(l)}return void 0===s&&(s=setTimeout(_,t)),o}return t=y(t)||0,g(n)&&(c=!!n.leading,a=(d="maxWait"in n)?f(y(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),E.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},E.flush=function(){return void 0===s?o:S(m())},E}},33184:(e,t,n)=>{"use strict";function r(e){return e&&e.Math==Math?e:void 0}n.d(t,{BY:()=>o,OW:()=>i,VZ:()=>a});let i="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof n.g&&r(n.g)||function(){return this}()||{};function a(){return i}function o(e,t,n){let r=n||i,a=r.__SENTRY__=r.__SENTRY__||{};return a[e]||(a[e]=t())}},33195:(e,t,n)=>{"use strict";let r,i,a;n.d(t,{Er:()=>h,ON:()=>y});var o=n(48641),s=n(98653),l=n(78066),u=n(3040),c=n(82137),d=n(33184);let p=(0,d.VZ)(),f=(0,d.VZ)(),h="__sentry_xhr_v2__",m={},g={};function y(e,t){m[e]=m[e]||[],m[e].push(t),function(e){if(!g[e])switch(g[e]=!0,e){case"console":"console"in f&&s.Ow.forEach(function(e){e in f.console&&(0,l.GS)(f.console,e,function(t){return function(...n){v("console",{args:n,level:e}),t&&t.apply(f.console,n)}})});break;case"dom":!function(){if(!("document"in f))return;let e=v.bind(null,"dom"),t=S(e,!0);f.document.addEventListener("click",t,!1),f.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=f[t]&&f[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,l.GS)(n,"addEventListener",function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){let r=S(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch(e){}return t.call(this,n,r,i)}}),(0,l.GS)(n,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}}))})}();break;case"xhr":!function(){if(!("XMLHttpRequest"in f))return;let e=XMLHttpRequest.prototype;(0,l.GS)(e,"open",function(e){return function(...t){let n=t[1],r=this[h]={method:(0,o.Kg)(t[0])?t[0].toUpperCase():t[0],url:t[1],request_headers:{}};
402(0,o.Kg)(n)&&"POST"===r.method&&n.match(/sentry_key/)&&(this.__sentry_own_request__=!0);let i=()=>{let e=this[h];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}v("xhr",{args:t,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,l.GS)(this,"onreadystatechange",function(e){return function(...t){return i(),e.apply(this,t)}}):this.addEventListener("readystatechange",i),(0,l.GS)(this,"setRequestHeader",function(e){return function(...t){let[n,r]=t,i=this[h];return i&&(i.request_headers[n.toLowerCase()]=r),e.apply(this,t)}}),e.apply(this,t)}}),(0,l.GS)(e,"send",function(e){return function(...t){let n=this[h];return n&&void 0!==t[0]&&(n.body=t[0]),v("xhr",{args:t,startTimestamp:Date.now(),xhr:this}),e.apply(this,t)}})}();break;case"fetch":(0,c.m7)()&&(0,l.GS)(f,"fetch",function(e){return function(...t){let{method:n,url:r}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:_(t),method:b(n,"method")?String(n.method).toUpperCase():"GET"}}let t=e[0];return{url:_(t),method:b(t,"method")?String(t.method).toUpperCase():"GET"}}(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return v("fetch",{...i}),e.apply(f,t).then(e=>(v("fetch",{...i,endTimestamp:Date.now(),response:e}),e),e=>{throw v("fetch",{...i,endTimestamp:Date.now(),error:e}),e})}});break;case"history":!function(){if(!function(){let e=p.chrome,t=e&&e.app&&e.app.runtime,n="history"in p&&!!p.history.pushState&&!!p.history.replaceState;return!t&&n}())return;let e=f.onpopstate;function t(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let e=r,t=String(n);r=t,v("history",{from:e,to:t})}return e.apply(this,t)}}f.onpopstate=function(...t){let n=f.location.href,i=r;if(r=n,v("history",{from:i,to:n}),e)try{return e.apply(this,t)}catch(e){}},(0,l.GS)(f.history,"pushState",t),(0,l.GS)(f.history,"replaceState",t)}();break;case"error":E=f.onerror,f.onerror=function(e,t,n,r,i){return v("error",{column:r,error:i,line:n,msg:e,url:t}),!!E&&!E.__SENTRY_LOADER__&&E.apply(this,arguments)},f.onerror.__SENTRY_INSTRUMENTED__=!0;break;case"unhandledrejection":k=f.onunhandledrejection,f.onunhandledrejection=function(e){return v("unhandledrejection",e),!k||!!k.__SENTRY_LOADER__||k.apply(this,arguments)},f.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0;break;default:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.warn("unknown instrumentation type:",e);return}}(e)}function v(e,t){if(e&&m[e])for(let n of m[e]||[])try{n(t)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.error(`Error while triggering instrumentation handler. 403Type: ${e} 404Name: ${(0,u.qQ)(n)} 405Error:`,t)}}function b(e,t){return!!e&&"object"==typeof e&&!!e[t]}function _(e){return"string"==typeof e?e:e?b(e,"url")?e.url:e.toString?e.toString():"":""}function S(e,t=!1){return n=>{if(!n||a===n||function(e){if("keypress"!==e.type)return!1;try{let t=e.target;if(!t||!t.tagName)return!0;if("INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable)return!1}catch(e){}return!0}(n))return;let r="keypress"===n.type?"input":n.type;void 0===i?(e({event:n,name:r,global:t}),a=n):function(e,t){if(!e||e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch(e){}return!1}(a,n)&&(e({event:n,name:r,global:t}),a=n),clearTimeout(i),i=f.setTimeout(()=>{i=void 0},1e3)}}let E=null,k=null},33309:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInvalidVastNetworkError=t.InvalidVastError=void 0;let r=n(50454),i=n(23751),a=n(56859);class o extends a.VastError{constructor(e,t){var n,a;super(e,t.adSource.resource,t.adSource.rawVast,null!=(n=t.code)?n:r.iabVastErrorCode.VAST_SCHEMA_VALIDATION_ERROR,(e=>e===r.iabVastErrorCode.VAST_RESPONSE_ERROR?"ad_empty_vast":e===r.iabVastErrorCode.VAST_RESPONSE_EMPTY_BODY?"ad_empty_body":e===r.iabVastErrorCode.VAST_RESPONSE_SHIMMED?"ad_shimmed_vast":"ad_parsing_failed")(t.code),t.adSource.url),this.message=e,this.details=t,this.code=null!=(a=t.code)?a:r.iabVastErrorCode.VAST_SCHEMA_VALIDATION_ERROR,this.message=`${i.AdErrorMessage.VAST_VALIDATION_FAILED}: ${e}`,this.adSource=t.adSource,this.vastString=t.adSource.rawVast,this.corruptV
405ast=t.adSource.resource}}t.InvalidVastError=o,t.isInvalidVastNetworkError=e=>(0,a.isVastError)(e)&&e.code===r.iabVastErrorCode.VAST_NETWORK_ERROR},33406:(e,t,n)=>{"use strict";n.d(t,{AD:()=>l,SB:()=>a,hH:()=>o});var r=n(31069);let i=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function a(e,t=!1){let{host:n,path:r,pass:i,port:o,projectId:s,protocol:l,publicKey:u}=e;return`${l}://${u}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${s}`}function o(e){let t=i.exec(e);if(!t)throw new r.U(`Invalid Sentry Dsn: ${e}`);let[n,a,o="",l,u="",c]=t.slice(1),d="",p=c,f=p.split("/");if(f.length>1&&(d=f.slice(0,-1).join("/"),p=f.pop()),p){let e=p.match(/^\d+/);e&&(p=e[0])}return s({host:l,pass:o,path:d,projectId:p,port:u,protocol:n,publicKey:a})}function s(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function l(e){let t="string"==typeof e?o(e):s(e);return!function(e){if(!("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__))return;let{port:t,projectId:n,protocol:i}=e;if(["protocol","publicKey","host","projectId"].forEach(t=>{if(!e[t])throw new r.U(`Invalid Sentry Dsn: ${t} missing`)}),!n.match(/^\d+$/))throw new r.U(`Invalid Sentry Dsn: Invalid projectId ${n}`);if("http"!==i&&"https"!==i)throw new r.U(`Invalid Sentry Dsn: Invalid protocol ${i}`);if(t&&isNaN(parseInt(t,10)))throw new r.U(`Invalid Sentry Dsn: Invalid port ${t}`)}(t),t}},33510:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTitle=t.createHeading=void 0;let r=n(77972);t.createHeading=function(e){return"series"!==e.contentType?"":e.seriesTitle},t.createTitle=function(e){return(0,r.createTitle)(e,{separator:": "})}},33707:(e,t,n)=>{var r=n(16533).extend({constructor:function(e){this._realResource=null,this._lastManifest=null,this._transportFormat=null,this.iterations=3,this._headers=e},done:function(){this.iterations=3,this.emit(r.Event.DONE)},parse:function(e,t){},getResource:function(){return this._realResource},getTransportFormat:function(){return this._transportFormat},getLastManifest:function(){return this._lastManifest},shouldExecute:function(e){return!0}},{Event:{DONE:"done"}});e.exports=r},33793:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TitleImageLogic=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(19577)),o=n(53239),s=n(75609),l=n(66976),u=n(77972),c=n(4125);t.TitleImageLogic=()=>{var e;let{state:t}=(0,o.useContext)(l.PlayerContext),{playlist:n,playlistIndex:r}=t,d=a.default.nullOrUndefined(r)?void 0:n[r];if(t.isAd||!t.mustShowPlaybackInfo||void 0===d||(0,s.isLiveContentResource)(d)||(0,s.isInteractiveContentResource)(d))return null;let{title:p,titleImageUrl:f}=function(e,t){var n,r;if((0,s.isLiveContentResource)(e)||(0,s.isInteractiveContentResource)(e))return{};if((0,s.isLiveOnDemandChannelContentResource)(e)){let r=a.default.nullOrUndefined(e)?void 0:e.onDemandContentResources[t];return a.default.nullOrUndefined(r)?{}:{title:(0,u.createTitle)(r),titleImageUrl:null==(n=r.titleImage)?void 0:n.toString()}}return{title:(0,u.createTitle)(e),titleImageUrl:(0,s.isClipContentResource)(e)||null==(r=e.titleImage)?void 0:r.toString()}}(d,null!=(e=t.playlistChildIndex)?e:0);return(0,s.isMovieContentResource)(d)&&void 0!==f?(0,i.jsx)(c.TitleImage,{imageUrl:f}):(0,i.jsx)(c.TitleImage,{title:p,imageUrl:f})}},34027:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(79030),i=n(87599),a=n(18477),o=n(2297),s=n(95371),l=n(36865),u=n(36875);t.Sha256=function(){function e(e){(0,o.supportsWebCrypto)((0,l.locateWindow)())?this.hash=new i.Sha256(e):(0,s.isMsWindow)((0,l.locateWindow)())?this.hash=new r.Sha256(e):this.hash=new a.Sha256(e)}return e.prototype.update=function(e,t){this.hash.update((0,u.convertToBuffer)(e))},e.prototype.digest=function(){return this.hash.digest()},e.prototype.reset=function(){this.hash.reset()},e}()},34591:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Spinner=void 0;let r=n(70015),i=n(80263),a=n(30589),o=r.__importDefault(n(28909)),s=(0,a.keyframes)({to:{transform:"rotate(360deg)"}}),l=o.default.svg({animation:`${s} 2s linear infinite`}),u=16*Math.PI,c=.8*u,d=(0,a.keyframes)({"0%":{strokeDashoffset:c-.1},"50%":{strokeDashoffset:0},"100%":{strokeDashoffset:`-${u-.1}`}}),p=o.default.circle(({color:e,opacity:t,theme:n})=>({animation:`${d} 1.5s ease-in-out infinite`,fill:"none",opacity:null!=t?t:n.opacity.opaque,stroke:null!=e?e:n.color.white,strokeDasharray:`${c}, ${u}`,strokeLinecap:"round",strokeWidth:"2",transformOrigin:"center center"}));
405t.Spinner=({size:e="1em",color:t,opacity:n})=>(0,i.jsx)(l,Object.assign({"aria-live":"polite","aria-busy":"true",width:e,height:e,opacity:n,viewBox:"0 0 24 24"},{children:(0,i.jsx)(p,{color:t,cx:"12",cy:"12",r:8})}))},34610:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.personalIdentificationNumber=void 0;let n={inputFieldBackgroundColor:"transparent",inputFieldHeight:"40px",inputFieldInvalidBackgroundColor:"red",inputFieldWidth:"40px"};t.personalIdentificationNumber={medium:{inputFieldBackgroundColor:"transparent",inputFieldHeight:"60px",inputFieldInvalidBackgroundColor:"red",inputFieldWidth:"60px"},mini:n,small:n,tiny:n}},34655:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAdvertisement=void 0;let r=n(7939),i=n(13940),a=n(77471),o=n(65228),s=n(98164),l=n(2821),u=n(29390),c=n(73316),d=n(50104),p=n(47778),f=n(57668),h=n(78851),m=n(89894),g=n(2961),y=n(31456),v=n(37051),b=n(62282),_=n(92272),S=n(72730),E=n(51666);t.createAdvertisement=({brokenVastReporter:e,domParser:t=new globalThis.DOMParser,generateAlternativeUrl:n,clock:k,httpClient:A,openWebsite:T,playbackCore:x,toggleRouter:w,viewabilityObserver:C},I)=>{let{appRuntimeEnvironment:O,enableAdBlockPrevention:R,operatingSystem:P,logLevel:N,adsXhrTimeoutMilliseconds:L,webviewUserAgent:j}=I;N&&g.logger.setLevel(N);let M=null!=n?n:e=>e,D=(0,b.createStore)(),F=w.getFeatureValue("disable-ad-block-prevention").unwrapOr(!1),U=!!n&&!!R&&!F;D.setState({adBlockPreventionEnabled:U,appRuntimeEnvironment:O,operatingSystem:P});let{emitInternal:V,emitExternal:B,externalEmitter:G,internalEmitter:Y}=(0,u.createEmitters)({store:D}),z=(0,m.createLoadXhr)({httpClient:A,timeout:L,userAgent:j}),W=(0,m.createLoadXhr)({httpClient:A,mode:"no-cors",timeout:L,userAgent:j}),Z=(0,c.createFetcher)({config:I,createVastFetcher:p.createVastFetcher,domParser:t,encodeUriComponent:globalThis.encodeURIComponent,loadPixel:(0,f.createLoadPixel)(),loadWithAdProxy:(0,h.createLoadWithAdProxy)(M,z),loadXhr:z,loadXhrNoCors:W,logger:g.logger,store:D}),H=(0,S.createValidators)({store:D}),K=()=>D.getState().adBlockPreventionIsActive,X=w.getFeatureValue("use-xhr-for-vast-tracking").unwrapOr(!1),$=e=>(0,_.createCreateTrackVastEvent)({collections:e,encodeURIComponent:globalThis.encodeURIComponent,fetchTrackingUrl:X?Z.fetchUrlNoCors:Z.fetchPixel,store:D}),J=(0,y.createCreateNonLinearAd)({clock:k,createTrackVastEvent:$,eventEmitter:(0,r.createEventEmitter)(),internalEmitter:Y,logger:g.logger,openWebsite:T}),q=(0,v.createCreateNonLinearAdFromSource)({createNonLinearAd:J}),Q=(0,i.createActions)({clock:k,createAdScheduleForContentResource:({actions:t,adScheduler:n,childPlaylistIndex:r,contentResource:i,encodedEntitlementJsonWebToken:s,entitlementTokenPayload:l})=>(0,o.createAdScheduler)({brokenVastReporter:e,childPlaylistIndex:r,contentResource:i,createAdFromAdSource:(0,a.createCreateAdFromAdSource)({adBlockPreventionIsActive:K,createVideoAd:(0,E.createCreateVideoAd)({actions:t,adBlockPreventionIsActive:K,createTrackVastEvent:$,generateAdProxyUrl:M,openWebsite:T,playbackCore:x,store:D})}),createNonLinearAdFromSource:q,createTrackVastEvent:$,emitInternal:V,encodedEntitlementJsonWebToken:s,entitlementTokenPayload:l,fetcher:Z,playbackCore:x,store:D,validateVastJson:p.validateVastJson,vendorAdScheduler:n}),emitExternal:B,emitInternal:V,fetcher:Z,generateAdProxyUrl:M,logger:g.logger,playbackCore:x,store:D,toggleRouter:w,validators:H}),ee=(0,d.createHandlers)({actions:Q,emitExternal:B,store:D,viewabilityObserver:C}),et=(0,s.createApi)({actions:Q,externalEmitter:G,playbackCore:x,store:D});return(0,l.bootstrap)({handlers:ee,internalEmitter:Y,playbackCore:x,store:D}),et}},34748:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildContentResourceForMovie=t.buildContentResourceForMovieInOnDemandChannel=void 0;let r=n(47561),i=n(50160),a=n(29241),o=n(14402);function s(e){var t,n,o;if(null==e)throw Error("Movie not found");if(!e.video)throw Error("Movie has no video");let s=r.Maybe.of(e.brands).andThen(e=>r.Maybe.fromNullable(e[0])),l=r.Maybe.of(e.videoDescriptors).unwrapOr([]).map(e=>
405null==e?void 0:e.name).filter(Boolean);return{actors:e.cast?e.cast.filter(Boolean).map(e=>{var t;return null!=(t=null==e?void 0:e.name)?t:""}):[],ageRating:r.Maybe.of(e.ageRating).map(e=>e.minAge),ageRatingDescriptors:(0,a.extractAgeRatingDescriptors)(e.ageRating),brandLogo:s.map(e=>new URL(e.logo.url)),brandName:s.map(e=>e.title),contentTags:l,contentType:"movie",externalTrackingId:r.Maybe.of(null==(t=e.tracking)?void 0:t.externalAssetId),genres:r.Maybe.of(null==(n=e.tracking)?void 0:n.genres).map(e=>r.Maybe.of(e).unwrapOr([])).unwrapOr([]),hasCornerBug:(0,a.featureCheck)(i.FeatureType.CornerBug,r.Maybe.of(e.features)),hasProductPlacement:r.Maybe.of(e.productPlacement),id:e.video.id,infOnlineCode:r.Maybe.of(null==(o=e.tracking)?void 0:o.agofCode),licenseTypes:e.licenseTypes,path:r.Maybe.of(e.path),poster:r.Maybe.of(e.posterImage).map(e=>new URL(e.url)),primaryColor:r.Maybe.of(e.heroLandscapeImage).map(e=>e.vibrantColor),title:e.title,titleImage:r.Maybe.of(e.artLogoImage).map(e=>new URL(e.url)),tvShowId:r.Maybe.just(e.id)}}t.buildContentResourceForMovieInOnDemandChannel=s,t.buildContentResourceForMovie=function(e){let{movie:t}=e;return Object.assign(Object.assign({},s(t)),{playbackStartPosition:(0,o.determinePlaybackStartPosition)(r.Maybe.of(null==t?void 0:t.resumePosition))})}},34928:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.playbackApiResponseSchema=void 0;let r=n(92712),i=n(47756),a=r.z.object({licenseUrl:r.z.string().url().optional(),manifestUrl:r.z.string().url()});t.playbackApiResponseSchema=a.extend({certificateUrl:r.z.string().url().optional(),fallback:a.optional(),streamingFormat:i.streamingFormatSchema})},34975:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAdLoadWithStartTime=t.isAdLoad=t.adLoadWithStartTimeSchema=t.adLoadSchema=t.targetingDataSchema=t.breakTypeSchema=void 0;let r=n(92712);t.breakTypeSchema=r.z.union([r.z.literal("midroll"),r.z.literal("overlay"),r.z.literal("postroll"),r.z.literal("preroll")]),t.targetingDataSchema=r.z.object({ageGroup:r.z.number().optional(),genderGroup:r.z.number().optional(),iabCategories:r.z.array(r.z.string()).optional(),targetingSource:r.z.string().optional()}),t.adLoadSchema=r.z.object({breakType:t.breakTypeSchema,desiredAdCount:r.z.number(),desiredBreakDuration:r.z.number(),startTimeOffset:r.z.number(),targetingData:t.targetingDataSchema.optional()}),t.adLoadWithStartTimeSchema=t.adLoadSchema.extend({startTime:r.z.number()}),t.isAdLoad=function(e){return t.adLoadSchema.safeParse(e).success},t.isAdLoadWithStartTime=function(e){return t.adLoadWithStartTimeSchema.safeParse(e).success}},35009:(e,t,n)=>{"use strict";var r=n(96694);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},35018:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChannelItemHeader=t.LiveOnDemandChannelIndicator=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(24041),s=n(12689),l=n(31870),u=n(14810),c=a.default.header(e=>({":hover":{background:e.colors.backgroundHoverColor},background:e.colors.backgroundColor,borderRadius:"2px",height:"80px",margin:0,minWidth:"80px",position:"relative",width:"80px"})),d=a.default.img({display:"block",maxHeight:"25px",maxWidth:"50px"}),p=a.default.figure({left:"50%",margin:0,position:"absolute",top:"50%",transform:"translate(-50%, -50%)"});t.LiveOnDemandChannelIndicator=(0,a.default)(l.VodIcon)({height:"auto",position:"absolute",right:"5px",top:"5px",width:"21px"});let f=(0,a.default)(o.HighDefinitionQualityIcon)({bottom:"5px",position:"absolute",right:"5px"}),h=(0,a.default)(s.PlusSubscriptionIcon)({background:"#fff",borderRadius:"2px",left:"5px",padding:"3.48px 3.15px 3.48px 3.6px",position:"absolute",top:"5px"});t.ChannelItemHeader=e=>{let{contentResource:n,darkVibrantColor:r,switchChannel:a,switchChannelEntry:o,playlistIndex:s,selected:l,vibrantColor:m}=e,g=(0,u.determineColors)({channelType:n.contentType,darkVibrantColor:r,isChannelItemHeader:!0,playlistChildIndex:null,selected:l,selectedPlaylistChildIndex:null,vibrantColor:m});return(0,i.jsxs)(c,Object.assign({selected:l,colors:g,darkVibrantColor:r,onClick:"live-on-demand"===n.contentType?()=>{o({playlistChildIndex:0,playlistIndex:s})}:()=>{a({playlistIndex:s})}},{children:["PLUS"!==n.requiredSubscription?null:(0,i.jsx)(h,{}),(0,i.jsx)(p,{children:(0,i.jsx)(d,{src:n.brandLogo.toString(),alt:n.title})}),"live-on-demand"!==n.contentType?null:(0,i.jsx)(t.LiveOnDemandChannelIndicator,{}
405),"HIGH_DEFINITION"!==n.highestStreamQualityProvided?null:(0,i.jsx)(f,{opacity:.5})]}))}},35121:(e,t,n)=>{var r=n(16533).extend({constructor:function(){this._isBusy=!0,this._sendRequest=!0,this.transformName="Transform"},parse:function(e){},isBlocking:function(e){return this._isBusy},done:function(){this._isBusy=!1,this.emit(r.Event.DONE)},hasToSend:function(e){return this._sendRequest},getState:function(){return this._sendRequest?this._isBusy?this.STATE_BLOCKED:this.STATE_NO_BLOCKED:this.STATE_OFFLINE}},{STATE_OFFLINE:2,STATE_BLOCKED:1,STATE_NO_BLOCKED:0,Event:{DONE:"done"}});e.exports=r},35171:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vastInlineSchema=void 0;let r=n(92712),i=n(55263),a=n(23017),o=n(24630),s=n(29819),l=n(50454),u=n(99315),c=n(503),d=n(53843),p=n(23751);t.vastInlineSchema=r.z.object({adsystem:i.adSystemSchema.optional(),adtitle:p.adValueSchema,adverifications:a.vastAdVerificationsSchema.optional(),category:r.z.array(o.categorySchema).optional(),creatives:s.vastInlineCreativesSchema.optional().refine(Boolean,{message:p.AdErrorMessage.ERROR_TYPE_MISSING,params:{code:l.iabVastErrorCode.VAST_SCHEMA_VALIDATION_ERROR}}),error:r.z.array(d.errorSchema).optional(),extensions:u.vastExtensionsSchema.optional(),impression:c.impressionSchema.optional()}).passthrough()},35178:(e,t,n)=>{"use strict";var r;n.d(t,{Ll:()=>l,aD:()=>o,aZ:()=>i,cE:()=>r,ou:()=>a});class i{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class a{constructor(e,t,n,r,i,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},s=new Set(Object.keys(o));function l(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&s.has(t)}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(r||(r={}))},35230:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapSportsMatchContentResourceToLegacyContentResource=t.buildContentResourceForSportsMatch=void 0;let r=n(47561),i=n(29241),a=n(14402);t.buildContentResourceForSportsMatch=function({sportsMatch:e}){var t,n,o,s,l;if(null==e)throw Error("Sports Match not found");if(!e.video)throw Error("Sports Match has no video");let u=r.Maybe.of(e.brands[0]);return{ageRating:r.Maybe.of(e.ageRating).map(e=>e.minAge),ageRatingDescriptors:(0,i.extractAgeRatingDescriptors)(e.ageRating),brandLogo:u.map(e=>new URL(e.logo.url)),brandName:u.map(e=>e.title),contentType:"sports-match",externalTrackingId:r.Maybe.of(null==(t=e.tracking)?void 0:t.externalAssetId),genres:r.Maybe.of(null==(n=e.tracking)?void 0:n.genres).map(e=>r.Maybe.of(e).unwrapOr([])).unwrapOr([]),id:e.video.id,infOnlineCode:r.Maybe.of(null==(o=e.tracking)?void 0:o.agofCode),licenseTypes:e.licenseTypes,path:r.Maybe.of(e.path),playbackStartPosition:(0,a.determinePlaybackStartPosition)(r.Maybe.of(e.resumePosition)),poster:r.Maybe.of(e.posterImage).map(e=>new URL(e.url)),primaryColor:r.Maybe.of(e.heroLandscapeImage).map(e=>e.vibrantColor),sportsCompetitionTitle:r.Maybe.of(null==(l=null==(s=e.sportsStage)?void 0:s.sportsCompetition)?void 0:l.title),sportsMatchTitle:e.title,titleImage:r.Maybe.of(e.artLogoImage).map(e=>new URL(e.url)),tvShowId:r.Maybe.just(e.id)}},t.mapSportsMatchContentResourceToLegacyContentResource=function(e){return{ageRating:e.ageRating.unwrapOr(void 0),ageRatingDescriptors:e.ageRatingDescriptors.unwrapOr(void 0),brandLogo:e.brandLogo.unwrapOr(void 0),brandName:e.brandName.unwrapOr(""),contentType:"sports-match",externalTrackingId:e.externalTrackingId.unwrapOr(""),genres:e.genres,id:e.id,infOnlineCode:e.infOnlineCode.unwrapOr(""),licenseTypes:e.licenseTypes,playbackStartPosition:e.playbackStartPosition,poster:e.poster.unwrapOr(void 0),primaryColor:e.primaryColor.unwrapOr(void 0),sportsCompetitionTitle:e.sportsCompetitionTitle.unwrapOr(""),sportsMatchTitle:e.sportsMatchTitle,titleImage:e.titleImage.unwrapOr(void 0),tvShowId:e.tvShowId.unwrapOr("")}}},35368:e=>{e.exports={NO_RESPONSE:"NO_RESPONSE",EMPTY:"EMPTY_RESPONSE",WRONG:"WRONG_RESPONSE"}},35945:(e,t,n)=>{"use strict";
405Object.defineProperty(t,"__esModule",{value:!0}),t.createSentryTransport=void 0;let r=n(68512),i=n(36976);t.createSentryTransport=function(e){return(0,i.createSentryTransport)({BrowserClientClass:r.BrowserClient,HubClass:r.Hub,integrations:r.defaultIntegrations,makeMain:r.makeMain,makeTransport:r.makeFetchTransport,sentryOptions:e,stackParser:r.defaultStackParser})}},36186:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.waitForFirstEvent=t.errorEvent=t.eventWithFilter=void 0;let r=n(70015),i=r.__importDefault(n(19577));function a(e,t){for(let{eventName:n,listener:r}of t)e.off(n,r)}t.eventWithFilter=function(e,t){return{eventName:e,filter:t}},t.errorEvent=function(e,t){return{eventName:e,mapPayloadToError:t}},t.waitForFirstEvent=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){let{events:n,rejectionEvents:r=[]}=t,o=n.map(e=>i.default.object(e)?e.eventName:e);for(let{eventName:e}of r)if(o.includes(e))throw Error("Canât register an event name as a rejection event when it is already registered as a resolving event");return new Promise((t,o)=>{let s=[],l=[];function u(){a(e,s),a(e,l)}s=function(e,t,n){let r=[];for(let a of t)if(i.default.object(a)){let{eventName:t,filter:i}=a,o=(...e)=>{i(...e)&&n()};r.push({eventName:t,listener:o}),e.on(t,o)}else r.push({eventName:a,listener:n}),e.on(a,n);return r}(e,n,function(){u(),t()}),l=function(e,t,n){let r=[];for(let{eventName:i,mapPayloadToError:a}of t){let t=(...e)=>{n(a(...e))};r.push({eventName:i,listener:t}),e.on(i,t)}return r}(e,r,function(e){u(),o(e)})})})}},36227:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Volume=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(95611)),s=r.__importDefault(n(22110)),l=n(53239),u=n(66976),c=n(75021),d=n(16595),p=n(4064),f=n(99326),h=n(300),m=n(57069),g=n(19630),y=n(81161),v=a.default.aside({bottom:"28px",paddingBottom:"10px",position:"absolute",right:"50px"}),b=a.default.div(({forwardRef:e,theme:t})=>{if(!e.current)return;let{height:n,width:r}=e.current.getBoundingClientRect();return{backgroundColor:(0,o.default)(t.color.grey,t.opacity.medium),borderRadius:t.border.radius,height:`${5.3*n}px`,padding:"20px 0px",width:`${2.5*r}px`}});t.Volume=()=>{let{state:e,actions:t}=(0,l.useContext)(u.PlayerContext),{adHasViewContent:n,isMuted:r,volume:a}=e,[o,_]=(0,l.useState)(!1),{mute:S,unmute:E,setVolume:k}=t,A=r?E:S,T=function(e,t){return 0===e?h.VolumeOffIcon:t?f.VolumeMuteIcon:e<33?d.VolumeLowIcon:e<66?p.VolumeMediumIcon:c.VolumeHighIcon}(a,r);return n?null:(0,i.jsx)(y.DetailsWidget,Object.assign({open:!!o&&!n,onMouseEnter:(0,s.default)({featureDetect:!0,tablet:!0})?()=>{}:e=>{e.preventDefault(),_(!0)},onMouseLeave:(0,s.default)({featureDetect:!0,tablet:!0})?()=>{}:e=>{e.preventDefault(),_(!1)},ariaLabel:"Lautst\xe4rke",summaryContent:(0,i.jsx)(g.ControlButton,{icon:T,onClick:A,label:r?"Stummschaltung aufheben (m)":"Stummschalten (m)"})},{children:e=>(0,i.jsx)(v,{children:(0,i.jsx)(b,Object.assign({forwardRef:e},{children:(0,i.jsx)(m.SliderVertical,{max:100,value:r?0:a,onChange:e=>{k({volume:e})},isDisabled:r})}))})}))},t.Volume.displayName="Volume"},36375:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let r=n(80750),i=n(90861);t.default=(e,t)=>{let n;switch(e.code){case i.ZodIssueCode.invalid_type:n=e.received===r.ZodParsedType.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case i.ZodIssueCode.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,r.util.jsonStringifyReplacer)}`;break;case i.ZodIssueCode.unrecognized_keys:n=`Unrecognized key(s) in object: ${r.util.joinValues(e.keys,", ")}`;break;case i.ZodIssueCode.invalid_union:n="Invalid input";break;case i.ZodIssueCode.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${r.util.joinValues(e.options)}`;break;case i.ZodIssueCode.invalid_enum_value:n=`Invalid enum value. Expected ${r.util.joinValues(e.options)}, received '${e.received}'`;break;case i.ZodIssueCode.invalid_arguments:n="Invalid function arguments";break;case i.ZodIssueCode.invalid_return_type:n="Invalid function return type";break;case i.ZodIssueCode.invalid_date:n="Invalid date";break;case i.ZodIssueCode.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:r.util.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case i.ZodIssueCode.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case i.ZodIssueCode.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case i.ZodIssueCode.custom:n="Invalid input";break;case i.ZodIssueCode.invalid_intersection_types:n="Intersection results could not be merged";break;case i.ZodIssueCode.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case i.ZodIssueCode.not_finite:n="Number must be finite";break;default:n=t.defaultError,r.util.assertNever(e)}return{message:n}}},36378:(e,t,n)=>{var r=n(16421),i=n(60161),a=n(2502);e.exports={getAdPlayerVersion:function(){return this._safeGetterAdsAdapter("getPlayerVersion")||""},getAdPosition:function(){var e=a.AdPosition.Preroll;if(this._adsAdapter)try{var t=this._adsAdapter.getPosition();(a.AdPosition.Preroll===t||a.AdPosition.Midroll===t||a.AdPosition.Postroll===t)&&(e=t)}catch(e){r.warn("An error occured while calling getAdPosition",e)}return!e&&this._adapter&&(e=this._adapter.flags.isJoined?a.AdPosition.Midroll:a.AdPosition.Preroll),e},getAdNumber:function(){return this.requestBuilder.lastSent.adNumber||0},getAdNumberInBreak:function(){return this.requestBuilder.lastSent.adNumberInBreak||0},getBreakNumber:function(){return this.requestBuilder.lastSent.breakNumber||0},getAdPlayhead:function(){var e=this._safeGetterAdsAdapter("getPlayhead");return i.parseNumber(e,0)},getAdDuration:function(){var e=this._safeGetterAdsAdapter("getDuration","ad.duration");return i.parseNumber(e,0)},getAdBitrate:function(){var e=this._safeGetterAdsAdapter("getBitrate");return e&&-1!==e||(e=this.getWebkitAdBitrate()),i.parseNumber(e,-1)},getWebkitAdBitrate:function(){if(this._adsAdapter&&this._adsAdapter.tag&&this._adsAdapter.tag.webkitVideoDecodedByteCount){var e=this._adsAdapter.tag.webkitVideoDecodedByteCount;return this._lastWebkitAdBitrate&&(e=Math.round((this._adsAdapter.tag.webkitVideoDecodedByteCount-this._lastWebkitAdBitrate)/this.viewTransform.response.pingTime*8)),this._lastWebkitAdBitrate=this._adsAdapter.tag.webkitVideoDecodedByteCount,0!==e?e:-1}},getAdTitle:function(){return this._safeGetterAdsAdapter("getTitle","ad.title")},getAdResource:function(){return this._safeGetterAdsAdapter("getResource","ad.resource")},getAdCampaign:function(){return this._safeGetterAdsAdapter("getCampaign","ad.campaign")},getAdCreativeId:function(){return this._safeGetterAdsAdapter("getCreativeId","ad.creativeId")},getAdProvider:function(){return this._safeGetterAdsAdapter("getProvider","ad.provider")},getAdAdapterVersion:function(){return this._safeGetterAdsAdapter("getVersion")},getAdMetadata:function(){return this.options["ad.metadata"]},getAdInsertionType:function(){return this._safeGetterAdsAdapter("getAdInsertionType")},getGivenBreaks:function(){return this._safeGetterAdsAdapter("getGivenBreaks","ad.givenBreaks")},getExpectedBreaks:function(){var e=null,t=this.options["ad.expectedBreaks"],n=this.options["ad.expectedPattern"];if(t)e=t;else if(n)e=0,e=(n.pre?n.pre.length:0)+(n.mid?n.mid.length:0)+(n.post?n.post.length:0);else if(this._adsAdapter)try{e=this._adsAdapter.getExpectedBreaks()}catch(e){r.warn("An error occured while calling expectedBreaks",e)}return e},getExpectedPattern:function(){return this._safeGetterAdsAdapter("getExpectedPattern","ad.expectedPattern")},getBreaksTime:function(){return this._safeGetterAdsAdapter("getBreaksTime","ad.breaksTime")},getGivenAds:function(){return this._safeGetterAdsAdapter("getGivenAds","ad.givenAds")},getExpectedAds:function(){var e=null;try{if(this._adsAdapter){var t=this.options["ad.expectedPattern"];if(t&&this.getAdPosition()){var n=[];if(t.pre&&(n=n.concat(t.pre)),t.mid&&(n=n.concat(t.mid)),t.post&&(n=n.concat(t.post)),n.length>0){var i=this.requestBuilder.lastSent.breakNumber;i>n.length&&(i=n.length),e=n[i-1]}}else e=this._adsAdapter.getExpectedAds()}}catch(e){r.warn("An error occured while calling expectedAds",e)}return e},getAdsExpected:function(){var e=null;try{e=this.getExpectedPattern()||this.getGivenAds()||!1}catch(e){r.warn("An error occured while calling givenAds or expectedPattern",e)}return e},getAdJoinDuration:function(){return this._adsAdapter?this._adsAdapter.chronos.join.getDeltaTime(!1):-1},getAdBufferDuration:function(){return this._adsAdapter?this._adsAdapter.chronos.buffer.getDeltaTime(!1):-1},getAdPauseDuration:function(){return this._adsAdapter?this._adsAdapter.chronos.pause.getDeltaTime(!1):0},getAdTotalDuration:function(){return this._adsAdapter?this._adsAdapter.chronos.total.getDeltaTime(!1):-1},getAdViewedDuration:function(){return this._getTimeMaxOrAcum(!0)},getAdViewability:function(){return this._getTimeMaxOrAcum()},_getTimeMaxOrAcum:function(e){var t=0;return this._adsAdapter&&this._adsAdapter.chronos.viewedMax.forEac
405h(function(n){e?t+=n.getDeltaTime(!1):t=Math.max(n.getDeltaTime(!1),t)}),t},getAudioEnabled:function(){return this._safeGetterAdsAdapter("getAudioEnabled")},getIsSkippable:function(){return this._safeGetterAdsAdapter("getIsSkippable")},getIsFullscreen:function(){return this._safeGetterAdsAdapter("getIsFullscreen")},_safeGetterAdsAdapter:function(e,t){var n=null;if(t&&this.options[t])n=this.options[t];else try{this._adsAdapter&&"function"==typeof this._adsAdapter[e]&&(n=this._adsAdapter[e]())}catch(t){r.warn("An error occured while calling "+e,t)}return n}}},36449:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorTriangleIcon=void 0;let r=n(80263),i=n(83947);t.ErrorTriangleIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M14 4.938L3.875 23.5h20.25L14 4.938zm.878-1.523l10.967 20.106A1 1 0 0124.967 25H3.033a1 1 0 01-.878-1.479L13.122 3.415a1 1 0 011.756 0zM13.18 17.782l-.096-5.932a.836.836 0 01.836-.85.834.834 0 01.834.85l-.11 5.932a.73.73 0 11-1.462 0zm.733 3.387a.828.828 0 01-.593-.24.799.799 0 01-.25-.602c0-.232.083-.428.25-.588a.828.828 0 01.593-.239c.238 0 .44.08.607.24a.78.78 0 01.25.587.799.799 0 01-.25.603.845.845 0 01-.607.24z"})}))},36563:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLivestreamFetcher=void 0;let r=n(70015),i=n(67608),a=n(61036),o=n(78643),s=n(30193),l=n(61311),u=n(37481);t.createLivestreamFetcher=function(e,t){let{logger:n,errorReporter:c,graphqlClient:d}=e,{graphqlEndpoint:p,graphqlServiceApiKey:f}=t;function h(e){let t=`All program entries have been discarded for channel "${e}" because of invalid timeline`;c&&c.sendError(Error(t)),n&&n.warn(t)}let m=new Map([["liveStreams",{filterLivestreamsTypes:{serialize:!1,value:["EVENT","LINEAR","ON_DEMAND"]},first:{serialize:!1,value:5e3},offset:{serialize:!1,value:0}}],["liveStreams.brand.livestream.logo.vibrantColor",{type:{serialize:!1,value:"VIBRANT"}}],["liveStreams.brand.livestream.logo.darkVibrantColor",{type:{serialize:!1,value:"DARK_VIBRANT"}}],["liveStreams.brand.livestream.logo.url",{profile:{value:o.webArtLogoSmall}}],["liveStreams.epgEvents.program.artLogoImage.url",{profile:{value:"nextgen-web-artlogo-300x123"}}],["liveStreams.epgEvents.program.artLogoImage",{type:{serialize:!1,value:"ART_LOGO"}}],["liveStreams.epgEvents.program.brands.logo.url",{profile:{value:o.webArtLogoSmall}}],["liveStreams.epgEvents.program.compilation.artLogoImage.url",{profile:{value:"nextgen-web-artlogo-300x123"}}],["liveStreams.epgEvents.program.compilation.artLogoImage",{type:{serialize:!1,value:"ART_LOGO"}}],["liveStreams.epgEvents.program.compilation.heroLandscapeImage.vibrantColor",{type:{serialize:!1,value:"DARK_VIBRANT"}}],["liveStreams.epgEvents.program.compilation.heroLandscapeImage",{type:{serialize:!1,value:"HERO_LANDSCAPE"}}],["liveStreams.epgEvents.program.heroLandscapeImage.vibrantColor",{type:{serialize:!1,value:"DARK_VIBRANT"}}],["liveStreams.epgEvents.program.heroLandscapeImage",{type:{serialize:!1,value:"HERO_LANDSCAPE"}}],["liveStreams.epgEvents.program.parent.artLogoImage.url",{profile:{value:o.webArtLogoSmall}}],["liveStreams.epgEvents.program.parent.artLogoImage",{type:{serialize:!1,value:"ART_LOGO"}}],["liveStreams.epgEvents.program.parent.brands.logo.url",{profile:{value:o.webArtLogoSmall}}],["liveStreams.epgEvents.program.parent.heroLandscapeImage.vibrantColor",{type:{serialize:!1,value:"DARK_VIBRANT"}}],["liveStreams.epgEvents.program.parent.heroLandscapeImage",{type:{serialize:!1,value:"HERO_LANDSCAPE"}}],["liveStreams.epgEvents.program.parent.posterImage.url",{profile:{value:"nextgen-web-primarycut-1920x1080"}}],["liveStreams.epgEvents.program.parent.posterImage",{type:{serialize:!1,value:"PRIMARY"}}],["liveStreams.epgEvents.program.posterImage.url",{profile:{value:"nextgen-web-primarycut-1920x1080"}}],["liveStreams.epgEvents.program.posterImage",{type:{serialize:!1,value:"PRIMARY"}}],["liveStreams.epgEvents.program.series.artLogoImage.url",{profile:{value:"nextgen-web-artlogo-210x86"}}],["liveStreams.epgEvents.program.series.artLogoImage",{type:{serialize:!1,value:"ART_LOGO"}}],["liveStreams.epgEvents.program.series.brands.logo.url",{profile:{value:o.webArtLogoSmall}}],["liveStreams.epgEvents.program.series.heroLandscapeImage.vibrantColor",{type:{serialize:!1,value:"DARK_VIBRANT"}}],["liveStreams.epgEvents.program.series.heroLandscapeImage",{type:{serialize:!1,value:"HERO_LANDSCAPE"}}],["liveStreams.epgEvents.program.thumbnailImage.url",{profile:{value:"nextgen-web-episodestillplayer-693x390"}}],["liveStreams.epgEvents.program.thumbnailImage",{type:{serialize:!1,value:"PRIMARY"}}],["liveStreams.epgEvents.program.vibrantColorImage.vibrantColor",{type:{serialize:!1,value:"DARK_VIBRANT"}}],["liveStreams.epgEvents.program.vibrantColorImage",{type:{serialize:!1,value:"PRIMARY"}}]]),g=new Map([["liveStreams.brand.livestream.logo.vibrantColor","accentColor"],["liveStreams.brand.livestream.logo.darkVibrantColor","accentColor"],["liveStreams.epgEvents.program.artLogoImage","image"],["liveStreams.epgEvents.program.compilation.artLogoImage","image"],["liveStreams.epgEvents.program.compilation.heroLandscapeImage.vibrantColor","accentColor"],["liveStreams.epgEvents.program.compilation.heroLandscapeImage","image"],["liveStreams.epgEvents.program.heroLandscapeImage.vibrantColor","accentColor"],["liveStreams.epgEvents.program.heroLandscapeImage","image"],["liveStreams.epgEvents.program.parent.artLogoImage","image"],["liveStreams.epgEvents.program.parent.heroLandscapeImage.vibrantColor","accentColor"],["liveStreams.epgEvents.program.parent.heroLandscapeImage","image"],["liveStreams.epgEvents.program.parent.posterImage","image"],["liveStreams.epgEvents.program.posterImage","image"],["liveStreams.epgEvents.program.series.artLogoImage","image"],["liveStreams.epgEvents.program.series.heroLandscapeImage.vibrantColor","accentColor"],["liveStreams.epgEvents.program.series.heroLandscapeImage","image"],["liveStreams.epgEvents.program.thumbnailImage","image"],["liveStreams.epgEvents.program.vibrantColorImage.vibrantColor","accentColor"],["liveStreams.epgEvents.program.vibrantColorImage","image"]]);return{fetchElectronicProgramGuideData:({currentTime:e,programEntriesStartTime:t,userState:n,livestreamGroupFilter:a})=>r.__awaiter(this,void 0,void 0,function*(){let r=i.seconds.unbox(t),o=r+10800,s=i.seconds.of(o);m.set("liveStreams",Object.assign(Object.assign({},m.get("liveStreams")),{liveStreamGroupFilter:{serialize:!1,value:a}})),m.set("liveStreams.epgEvents",{from:{value:r},to:{value:o}});let c=yield d.request({aliases:g,endpoint:p.toString(),headers:{"Joyn-Platform":"web","joyn-user-state":n.state,"x-api-key":f},operationName:"LiveChannelsAndEPG",params:m,zodSchema:l.liveChannelsQuerySchema}),y=(0,u.mapResponseToLiveChannels)(e,c,t,s);y.channelIdsForDiscardedProgram.forEach(h);let{liveChannels:v}=y;return{liveChannels:v}}),fetchLivestreamsContentResources:({userState:e,userToken:t})=>r.__awaiter(this,void 0,void 0,function*(){return d.request({aliases:g,endpoint:p.toString(),headers:(0,a.createGraphQlHeaders)(f,e.state),operationName:"PlayerLivestreams",params:m,zodSchema:s.livestreamsGraphQlQuerySchema})})}}},36569:(e,t,n)=>{"use strict";
405Object.defineProperty(t,"__esModule",{value:!0}),t.ProgramTitle=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(19577)),s=a.default.h3(({theme:e})=>({fontFamily:e.fontFamily,fontSize:"22px",lineHeight:"26px",margin:"0"}));t.ProgramTitle=({className:e,title:t})=>o.default.nullOrUndefined(t)?null:(0,i.jsx)(s,Object.assign({className:e},{children:t}))},36764:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.upNext=void 0;let n={actionsMargin:"",ageRating:{left:"",top:""},bottom:"",buttonBorderRadius:"",buttonFontSize:"",buttonPadding:"",countdownBottom:"",countdownTop:"",description:{bottom:"",left:"",right:""},headingMarginBottom:"",hideButton:{height:"",width:""},imageHeight:"",imageWidth:"",playButton:{height:"",width:""},right:"",thumbnailBorderRadius:"",thumbnailOpacity:0};t.upNext={medium:{actionsMargin:"15px",ageRating:{left:"20px",top:"20px"},bottom:"80px",buttonBorderRadius:"2px",buttonFontSize:"16px",buttonPadding:"0 20px",countdownBottom:"10px",countdownTop:"21px",description:{bottom:"25px",left:"20px",right:"20px"},headingMarginBottom:"10px",hideButton:{height:"44px",width:"133px"},imageHeight:"295px",imageWidth:"500px",playButton:{height:"44px",width:"162px"},right:"60px",thumbnailBorderRadius:"2px",thumbnailOpacity:.7},mini:n,small:n,tiny:n}},36865:(e,t,n)=>{"use strict";n.r(t),n.d(t,{locateWindow:()=>i});let r={};function i(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:r}},36875:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=t.numToUint8=t.isEmptyData=t.convertToBuffer=void 0;var r=n(78235);Object.defineProperty(t,"convertToBuffer",{enumerable:!0,get:function(){return r.convertToBuffer}});var i=n(24134);Object.defineProperty(t,"isEmptyData",{enumerable:!0,get:function(){return i.isEmptyData}});var a=n(16066);Object.defineProperty(t,"numToUint8",{enumerable:!0,get:function(){return a.numToUint8}});var o=n(373);Object.defineProperty(t,"uint32ArrayFrom",{enumerable:!0,get:function(){return o.uint32ArrayFrom}})},36976:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSentryTransport=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47397),o=n(14856);function s(e){return i.default.string(e.stack)?e.stack:e.message}t.createSentryTransport=function(e){let{BrowserClientClass:t,HubClass:n,makeMain:l,sentryOptions:u}=e,c=new t(function(e){let{sentryOptions:t,stackParser:n,makeTransport:r,integrations:i}=e,{playerName:a,playerVersion:s,sentryDataSourceName:l,enableAutomaticInstrumentation:u}=t,c={dsn:l,integrations:[],release:(0,o.sanitizeSentryReleaseName)(`${a}@${s}`),stackParser:n,tracesSampleRate:1,transport:r};return!0===u&&(c.integrations=i),c}(e)),d=new n(c);return!0===u.enableAutomaticInstrumentation&&(c.setupIntegrations(),l(d)),{destroy(){return r.__awaiter(this,void 0,void 0,function*(){yield c.close()})},recordEvent(e,t){d.addBreadcrumb({category:e,level:"info",message:t})},send(e,t={}){var n;let{tags:r,errorDetails:o}=t,l=i.default.undefined(o)?{}:{errorDetails:o};d.captureException(e,{captureContext:{contexts:l,fingerprint:Array.from((n=e,i.default.string(n)?[n]:i.default.error(n)?(0,a.isRecord)(n)&&i.default.error(n.originalError)?[s(n.originalError),s(n)]:[s(n)]:[JSON.stringify(n)])),tags:r}})}}}},36994:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.isPanasonicViera=t.isWebOs=t.isTizen=t.isIe=t.isIos=t.isSafari=t.isLegacyEdge=t.browserDetector=void 0;let i=n(9620),a="unknown";"undefined"!=typeof window&&(a=null!=(r=globalThis.navigator.userAgent)?r:"native"),t.browserDetector=(0,i.createBrowserDetector)(a),t.isLegacyEdge=t.browserDetector.isLegacyEdge,t.isSafari=t.browserDetector.isSafari,t.isIos=t.browserDetector.isIos,t.isIe=t.browserDetector.isIe,t.isTizen=t.browserDetector.isTizen,t.isWebOs=t.browserDetector.isWebOs,t.isPanasonicViera=t.browserDetector.isPanasonicViera},37051:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCreateNonLinearAdFromSource=void 0;let r=n(47561),i=n(92712),a=n(27504),o=i.z.string().url();t.createCreateNonLinearAdFromSource=({createNonLinearAd:e})=>({adSource:t,adCursor:n})=>{let{resource:i}=t,{adIndex:s}=n;return(({adResource:e,adIndex:t},{createNonLinearAd:n})=>{let i=i=>i.map(n=>({nonLinearAd:n,trackingEvents:(0,a.isVastCutInAd)(n)?r.Maybe.of(n.trackingevents):(0,a.getFirstNonLinearAdTracking)(e,t)})).map(({nonLinearAd:n,trackingEvents:i})=>{var s;return{collections:{click:null==(s=n.nonlinearclicktracking)?void 0:s.filter(e=>o.safeParse(e.value).success),impression:(0,a.getImpressions)(e,t).filter(e=>o.safeParse(e.value).success),tracking:i.chain(({tracking:e})=>r.Maybe.of(e)).unwrapOr([])},nonLinearAd:n}}).map(({collections:e,nonLinearAd:t})=>n(t,e)).map(e=>({linear:null,nonLinear:e})),s=i((0,a.getFirstCutInAd)(e,t));return s.isOk()?s:i((0,a.getFirstNonLinearAd)(e,t).toOkOrErr(Error("Non-linear ad not found")))})({adIndex:s,adResource:i},{createNonLinearAd:e})}},37111:(e,t,n)=>{"use strict";
405Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRating18=void 0;let r=n(80263),i=n(52087);t.AgeRating18=()=>(0,r.jsxs)(i.AgeRatingIcon,Object.assign({width:22,height:20},{children:[(0,r.jsx)("path",{d:"M20 0c1.105 0 2 .895 2 2v16c0 1.105-.895 2-2 2H2c-1.105 0-2-.895-2-2V2C0 .895.895 0 2 0h18zm0 1H2c-.513 0-.936.386-.993.883L1 2v16c0 .513.386.936.883.993L2 19h18c.513 0 .936-.386.993-.883L21 18V2c0-.513-.386-.936-.883-.993L20 1z",transform:"translate(-80 -373) translate(80 373)"}),(0,r.jsx)("path",{d:"M10.44 13.831v-1.544H8.69V6.17H7.57l-2.46.868v1.645l1.774-.507v4.112H5v1.544h5.44zm3.502.169c.48 0 .908-.056 1.285-.169.377-.113.696-.274.959-.485.262-.21.463-.461.603-.754.14-.293.211-.62.211-.98 0-.406-.105-.767-.316-1.082-.21-.316-.508-.571-.892-.767.28-.172.499-.39.654-.653.155-.263.233-.564.233-.902 0-.323-.067-.621-.2-.895-.133-.275-.321-.507-.565-.699-.244-.191-.534-.342-.87-.45-.336-.11-.703-.164-1.102-.164-.4 0-.765.054-1.097.163-.333.11-.62.26-.864.451-.244.192-.433.424-.565.699-.133.274-.2.572-.2.895 0 .338.078.639.233.902.155.263.373.48.653.653-.376.196-.67.451-.88.767-.21.315-.316.676-.316 1.081 0 .36.068.688.205.98.136.294.336.545.598.755.262.21.58.372.953.485.373.113.8.169 1.28.169zm0-4.732c-.31 0-.56-.092-.748-.276-.188-.184-.283-.408-.283-.67 0-.271.095-.497.283-.677.188-.18.438-.27.748-.27s.561.092.753.276c.192.184.288.407.288.67 0 .263-.096.487-.288.67-.192.185-.443.277-.753.277zm0 3.245c-.325 0-.595-.1-.809-.299-.214-.199-.321-.441-.321-.727 0-.285.105-.522.315-.71.211-.187.482-.281.815-.281.332 0 .606.094.82.281.214.188.321.425.321.71 0 .286-.107.528-.321.727-.214.2-.488.299-.82.299z",transform:"translate(-80 -373) translate(80 373)"})]}))},37153:e=>{"use strict";e.exports=()=>{let e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}},37481:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findEarliestAirTimeEnd=t.mapResponseToLiveChannels=void 0;let r=n(17485),i=n(47561),a=n(67608);function o(e){var t;return(t=e.airTimeRange).start.value>=0&&t.end.value>0&&t.start.value<t.end.value}function s(e){let{image:t,title:n}=e;return Object.assign(Object.assign({airTimeRange:{end:a.seconds.of(e.endDate),start:a.seconds.of(e.startDate)},childIndex:i.Maybe.nothing()},null===t?{}:{image:new URL(t.url)}),{informationAvailable:i.Maybe.of(n).isJust(),title:n})}function l(e,t){return{airTimeRange:{end:t,start:e},childIndex:i.Maybe.nothing(),informationAvailable:!1}}let u=e=>[a.seconds.unbox(e.airTimeRange.start),a.seconds.unbox(e.airTimeRange.end)];function c(e){var t;return(null==(t=e.program)?void 0:t.__typename)==="EpgEntry"}function d(e,t){let{id:n,discardedProgram:r,program:i,darkVibrantColor:a,vibrantColor:o,onAir:s,groups:l}=t;return{channelIdsForDiscardedProgram:r.length>0?[...e.channelIdsForDiscardedProgram,n]:e.channelIdsForDiscardedProgram,liveChannels:new Map([...e.liveChannels.entries(),[n,{darkVibrantColor:a,groups:l,onAir:s,program:i,vibrantColor:o}]])}}t.mapResponseToLiveChannels=function(e,t,n,r){return t.liveStreams.map(function(e,t,n){let r=function(e,r,i){let o=i[r-1],s=i.length-1===r,u=e.airTimeRange.start.value>t.value,c=e.airTimeRange.end.value<n.value,d=[e];return 0===r&&u&&d.unshift(l(t,e.airTimeRange.start)),s&&c&&d.push(l(a.seconds.of(e.airTimeRange.end.value),n)),o&&e.airTimeRange.start.value>o.airTimeRange.end.value&&d.unshift(l(a.seconds.of(o.airTimeRange.end.value),e.airTimeRange.start)),d},d=(e,t)=>{if(c(t)){let{program:n,startDate:r,endDate:i}=t;e.push({endDate:i,image:n.image,startDate:r,title:n.title})}return e},p=(e,t)=>{if(!c(t)){let{program:n,startDate:r,endDate:i}=t;e.push({endDate:i,image:null,startDate:r,title:null==n?void 0:n.title})}return e};return function(t){let n,l=("ON_DEMAND"===t.type?t.epgEvents.reduce(p,[]):t.epgEvents.reduce(d,[])).flatMap(s),c="ON_DEMAND"===t.type?l.map((n=null,function(t,r){let o=a.seconds.isGreaterThan(t.airTimeRange.end,e)||a.seconds.isEqual(t.airTimeRange.end,e);return null!==n?Object.assign(Object.assign({},t),{childIndex:i.Maybe.of(r-n)}):o?(n=r,Object.assign(Object.assign({},t),{childIndex:i.Maybe.of(0)})):t}
405)):l,f=c.filter((e,t,n)=>{let r=n[t+1];if(r)return r.airTimeRange.start.value>e.airTimeRange.start.value;let i=n[t-1];return!i||!(t>1)||i.airTimeRange.start.value<e.airTimeRange.start.value}),h=f.filter(o).filter((e,t,n)=>{let r=i.Maybe.of(n[t-1]).map(u),[a,o]=u(e);return!r.mapOr(!1,([e,t])=>e>a&&e<o||a>e&&a<t)}),m=h.flatMap(r),g=f.length!==c.length,y=h.length!==c.length;return{darkVibrantColor:t.brand.livestream.logo.darkVibrantColor,discardedProgram:g||y?c:[],groups:i.Maybe.of(t.liveStreamGroups).unwrapOr([]),id:t.id,onAir:!0===t.eventStream?"event-only":"always",program:m,vibrantColor:t.brand.livestream.logo.vibrantColor}}}(e,n,r)).reduce(d,{channelIdsForDiscardedProgram:[],liveChannels:new Map})},t.findEarliestAirTimeEnd=function(e,t){return i.Maybe.of((0,r.chainFrom)(e.values()).flatMap(e=>e.program).filter(e=>e.airTimeRange.end.value>t).map(e=>e.airTimeRange.end).min((e,t)=>a.seconds.isEqual(e,t)?0:a.seconds.isLessThan(e,t)?-1:1))}},37514:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.modalLayer=t.dialogLayer=t.overlayLayer=t.overlayBackgroundLayer=t.videoSurfaceLayer=t.videoLayer=t.backgroundLayer=void 0,t.backgroundLayer=1,t.videoLayer=2,t.videoSurfaceLayer=3,t.overlayBackgroundLayer=4,t.overlayLayer=5,t.dialogLayer=6,t.modalLayer=7},37561:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetLinearAdReplacementOptions=t.encodeLinearAdReplacementOptions=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(3968),o=n(47561),s=n(84323),l=n(74816);t.encodeLinearAdReplacementOptions=e=>(0,a.encodeURI)(JSON.stringify(e));let u=(e,t)=>{let n={};return i.default.nonEmptyString(t)&&(n[e]=t),i.default.number(t)&&(n[e]=t.toString()),n};t.createGetLinearAdReplacementOptions=(e,t)=>{let{getAdClientInformation:n,nonceManager:i,referrerUrlManager:a,toggleRouter:c}=e,{adServerOverrideUrl:d,appRuntimeEnvironment:p,appVersion:f,bundleName:h,deviceProvidedId:m,deviceType:g,joynCountry:y,os:v,playerPackageVersion:b,referrerUrl:_,somForcedCreativeId:S,somForcedShowroom:E,storeId:k,storeUrl:A}=t;return({contentResource:e,entitlementTokenPayload:t})=>r.__awaiter(void 0,void 0,void 0,function*(){let r,{brandName:T}=e,{adTechPassUserId:x,advertisingId:w,appleIdForVendors:C,iabAcceptNonCertifiedVendors:I,iabTransparencyConsent:O,publisherProvidedUserId:R,sevenPassHashedId:P,theAdexTargetingId:N,yieldlabUserId:L,netId:j,liverampEnvelopes:M}=yield n(),D=null!=w?w:R,F="tizen"===v||"webos"===v?w:void 0,U=c.getFeatureValue("advertisement-quality-assurance").unwrapOr(!1),V=c.getFeatureValue("use-nonce-string-lar").unwrapOr(!1),B=c.getFeatureValue("advertisement-lar-integration-id-override").unwrapOr(void 0),G=yield a.getReferrerUrl({assetId:e.id,contentType:e.contentType});return V&&(r=(yield i.getNonceString()).unwrapOr(void 0)),Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({appRuntimeEnvironment:p,appVersion:f,brand:T,country:(0,l.getJoynCountry)({entitlementTokenPayload:o.Maybe.just(t),joynCountry:y}).toLowerCase(),deviceType:g,idfa:"web"===p||"mobile-web"===p?R:D,os:v,playerPackageVersion:b,ppid:R,uncertifiedVendors:!I},m&&{deviceProvidedId:m}),M&&{liverampEnvelopes:M}),u("referrerUrl",G.unwrapOr((0,s.validateAndSanitizeUrl)(_).unwrapOr(void 0)))),u("idfv",C)),u("deviceId",F)),u("gdprConsent",O)),u("theAdexTargetingId",N)),u("sevenPassHashedId",P)),u("yieldlabUserId",L)),u("bundle",h)),u("storeId",k)),u("storeUrl",A)),u("nonceString",r)),u("netId",j)),u("adTechPassUserId",x)),u("integrationIdOverride",B)),U?Object.assign(Object.assign(Object.assign({},u("adServerOverrideUrl",d)),u("showroom",E)),u("creativeId",S)):{})})}},37906:e=>{e.exports={HDS:"HDS",HLS:"HLS",MSS:"MSS",DASH:"DASH",RTMP:"RTMP",RTP:"RTP",RTSP:"RTSP",DVB:"DVB",DVBC:"DVB-C",DVBT:"DVB-T",DVBT2:"DVB-T2",MULTICAST:"MULTICAST"}},37930:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Overlay=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(95611)),s=n(53239),l=n(66976),u=n(37514),c=n(49061),d=n(14693),p=n(1821),f=n(34591),h=(0,a.default)(p.PlaybackOverlayTransition)(c.absoluteStyles,{zIndex:u.videoSurfaceLayer}),m=a.default.div(({theme:e,isAd:t,isInteractive:n,mustShowControls:r,vibrantColor:i})=>({alignItems:"center",background:(0,d.getOverlayGradient)(t,n,e,i),backgroundColor:t&&r?(0,o.default)(e.color.black,.3):void 0,display:"flex",height:"100%",
405justifyContent:"center",width:"100%"})),g=a.default.div(({theme:e})=>({lineHeight:0,margin:`0 ${"mini"===e.screenSize?0:e.spacing.medium}`,pointerEvents:"all",width:e.spacing.bigger}));t.Overlay=({className:e})=>{let{state:t,actions:n}=(0,s.useContext)(l.PlayerContext),{adHasViewContent:r,mustShowControls:a,error:o,isAd:u,isInteractive:c,isPaused:d,isPausingSupported:y,isPlaying:v,isReadyForPlayback:b,isStalling:_,isUpNextVisible:S,playlistEnded:E,requiredAction:k,liveVibrantColor:A}=t,{play:T,pause:x,replay:w}=n,C=(_||!b)&&null===k;if(null!==o||r)return null;let I=u||a||C||S;return(0,i.jsx)(h,Object.assign({in:I,timeout:p.transitionDurationInMilliseconds,classNames:"controls-overlay",mountOnEnter:!0,unmountOnExit:!0},{children:(0,i.jsx)(m,Object.assign({className:e,isAd:u,isInteractive:c,vibrantColor:A,mustShowControls:a,onClick:()=>{if(!u){if(d)return void T();if(!S&&v&&y)return void x();E&&w()}}},{children:(0,i.jsx)(g,{children:C?(0,i.jsx)(f.Spinner,{size:"100%"}):null})}))}))}},37942:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRating8=void 0;let r=n(80263),i=n(52087);t.AgeRating8=()=>(0,r.jsxs)(i.AgeRatingIcon,Object.assign({width:20,height:20},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 2C20 0.89543 19.1046 0 18 0H2C0.89543 0 0 0.89543 0 2V18C0 19.1046 0.89543 20 2 20H18C19.1046 20 20 19.1046 20 18V2ZM2 1H18L18.1166 1.00673C18.614 1.06449 19 1.48716 19 2V18L18.9933 18.1166C18.9355 18.614 18.5128 19 18 19H2L1.88338 18.9933C1.38604 18.9355 1 18.5128 1 18V2L1.00673 1.88338C1.06449 1.38604 1.48716 1 2 1Z",fill:"white"}),(0,r.jsx)("path",{d:"M11.8771 9.76204C12.4436 9.41076 12.7836 8.87819 12.7836 8.1983C12.7836 6.88385 11.6278 6 9.99603 6C8.3643 6 7.19716 6.88385 7.19716 8.1983C7.19716 8.87819 7.53711 9.4221 8.11501 9.76204C7.33314 10.1473 6.87988 10.8045 6.87988 11.6204C6.87988 13.0708 8.04702 14 9.99603 14C11.9564 14 13.1122 13.0708 13.1122 11.6204C13.1122 10.8045 12.6589 10.1473 11.8771 9.76204ZM9.99603 7.38244C10.
4056193 7.38244 11.0612 7.77904 11.0612 8.31161C11.0612 8.83286 10.6193 9.26346 9.99603 9.26346C9.3728 9.26346 8.94221 8.84419 8.94221 8.31161C8.94221 7.76771 9.3728 7.38244 9.99603 7.38244ZM9.99603 12.5042C9.32747 12.5042 8.84022 12.0737 8.84022 11.4958C8.84022 10.9178 9.32747 10.4986 9.99603 10.4986C10.6646 10.4986 11.1632 10.9292 11.1632 11.4958C11.1632 12.0623 10.6646 12.5042 9.99603 12.5042Z",fill:"white"})]}))},38004:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapHighlightContentResourceToLegacyContentResource=t.buildContentResourceForHighlight=t.buildContentResourceForHighlightInOnDemandChannel=void 0;let r=n(47561),i=n(42070),a=n(41639),o=n(6904);function s(e){return["Episode","Season"].includes(e.__typename)}function l(e){return["Movie","Series"].includes(e.__typename)}function u(e){return{ageRating:(0,a.minimumAgeFromAgeRating)(e),ageRatingDescriptors:(0,a.descriptorFromAgeDescriptor)(e),brandName:(0,i.brandNameFromBrands)(e),contentType:"short-form",externalTrackingId:(0,o.externalTrackingIdFromTracking)(e),genres:e.parent.andThen(e=>s(e)?e.series.andThen(e=>r.Maybe.of(e.genres)):l(e)?r.Maybe.of(e.genres):r.Maybe.nothing()),id:e.video.id,infOnlineCode:(0,o.infOnlineCodeFromTracking)(e),parentTitle:e.parent.andThen(e=>s(e)?e.series.map(e=>e.title):l(e)?r.Maybe.just(e.title):r.Maybe.nothing()),path:e.path,poster:e.posterImage.map(e=>e.url),primaryColor:e.vibrantColorImage.map(e=>e.vibrantColor),title:e.title,titleImage:e.artLogoImage.map(e=>e.url),tvShowId:e.parent.andThen(t=>["Compilation","Movie","Series","SportsCompetition"].includes(t.__typename)?r.Maybe.just(t.id):s(t)?t.series.map(e=>e.id):r.Maybe.just(e.id))}}t.buildContentResourceForHighlightInOnDemandChannel=u,t.buildContentResourceForHighlight=function(e){let{extra:t}=e;return u(t)},t.mapHighlightContentResourceToLegacyContentResource=function(e){return{ageRating:e.ageRating.unwrapOr(void 0),ageRatingDescriptors:e.ageRatingDescriptors.unwrapOr(void 0),brandName:e.brandName.unwrapOr(""),contentType:"short-form",externalTrackingId:e.externalTrackingId.unwrapOr(""),id:e.id,infOnlineCode:e.infOnlineCode.unwrapOr(""),parentTitle:e.parentTitle.unwrapOr(""),poster:e.poster.unwrapOr(void 0),primaryColor:e.primaryColor.unwrapOr(void 0),title:e.title,titleImage:e.titleImage.unwrapOr(void 0),tvShowId:e.tvShowId.unwrapOr("")}}},38672:(e,t,n)=>{var r=n(54906),i=n(16421),a=n(93443),o=n(59975),s=r.extend({constructor:function(e){if(this._plugin=void 0===e?null:e,this._infinity=this._plugin&&this._plugin.infinity?this._plugin.infinity:null,this._initialized=!1,this._productAnalyticsSettingsDefault={autoTrackNavigation:!0,autoTrackAttribution:!0,highlightContentAfter:1e3,enableStateTracking:!1,activeStateTimeout:3e4,activeStateDimension:9,pageRules:[]},this._productAnalyticsSettings=Object.assign({},this._productAnalyticsSettingsDefault),this._page=null,this._userState=null,this._config=null,this._searchQuery=null,this._url=null,"undefined"!=typeof window&&void 0!==window.location)try{this._url=new URL(window.location)}catch(e){}this._contentHighlighted=null,this._contentHighlightTimeout=null,this._pendingVideoEvents=[],this._plugin||i.warn("Plugin reference unset."),this._infinity||i.warn("Infinity reference unset."),this._url||i.warn("URL reference unset.")},initialize:function(e){var t;this._productAnalyticsSettings=Object.assign({},this._productAnalyticsSettingsDefault),"object"==typeof e&&Object.assign(this._productAnalyticsSettings,e),"boolean"!=typeof this._productAnalyticsSettings.autoTrackNavigation&&(this._productAnalyticsSettings.autoTrackNavigation=this._productAnalyticsSettingsDefault.autoTrackNavigation),"boolean"!=typeof this._productAnalyticsSettings.autoTrackAttribution&&(this._productAnalyticsSettings.autoTrackAttribution=this._productAnalyticsSettingsDefault.autoTrackAttribution),"number"!=typeof this._productAnalyticsSettings.highlightContentAfter?this._productAnalyticsSettings.highlightContentAfter=this._productAnalyticsSettingsDefault.highlightContentAfter:this._productAnalyticsSettings.highlightContentAfter<1e3&&(i.warn("Invalid higlightContentAfter value. Using default value instead."),this._productAnalyticsSettings.highlightContentAfter=this._productAnalyticsSettingsDefault.highlightContentAfter),"boolean"!=typeof this._productAnalyticsSettings.enableStateTracking&&(this._productAnalyticsSettings.enableStateTracking=this._productAnalyticsSettingsDefault.enableStateTracking),"number"!=typeof this._productAnalyticsSettings.activeStateTimeout&&(this._productAnalyticsSettings.activeStateTimeout=this._productAnalyticsSettingsDefault.activeStateTimeout),("number"!=typeof this._productAnalyticsSettings.activeStateDimension||this._productAnalyticsSettings.activeStateDimension<1||this._productAnalyticsSettings.activeStateDimension>9)&&(this._productAnalyticsSettings.activeStateDimension=this._productAnalyticsSettingsDefault.activeStateDimension),void 0!==this._productAnalyticsSettings.pageRules&&Array.isArray(this._productAnalyticsSettings.pageRules)||(this._productAnalyticsSettings.pageRules=this._productAnalyticsSettingsDefault.pageRules),this._config=new a(this._fireEvent.bind(this)),this._identify(),this._initialized=!0,this._infinity?this._infinity.begin({route:null===this._url?"":this._url.href,page:this._page}):i.warn("Cannot open a new session since infinity is unavailable"),this._productAnalyticsSettings.autoTrackNavigation&&("undefined"==typeof window?i.warn("Cannot track user state since DOM is not available."):(window.removeEventListener("pageshow",this._trackNavigationCached),window.addEventListener("pageshow",this._trackNavigationCached.bind(this))),this._trackNavigation()),this._productAnalyticsSettings.autoTrackAttribution&&(t=null===this._url?"":this._url.search,this._trackAttribution(new URLSearchParams(t)))},_identify:function(){var e,t,n;for(null===this._config?this._page=null:this._page=this._config.identify(this._url),n=0;n<this._productAnalyticsSettings.pageRules.length&&null===this._page&&null!==this._url;n++)if(void 0!==(t=this._productAnalyticsSettings.pageRules[n]).rule&&void 0!==t.page){try{e=new RegExp(t.rule)}catch(n){e=null,i.warn("Error processing rule",t.rule,t.page)}null!==e&&null!==this._url.pathname.match(e)&&(this._page=this._url.pathname.replace(e,t.page))}null===this._page&&null!==this._url&&(this._page=this._url.pathname)},_adapterTrackStart:function(){this._initialized&&this.trackPlayerInteraction("start",{},{},!0)},adapterAfterSet:function(){var e;this._initialized&&(this._productAnalyticsSettings.enableStateTracking?(null!==this._userState&&i.warn("userState is already initialized."),this._plugin?this._plugin.setOptions?this._userState=new o(this._productAnalyticsSettings.activeStateDimension,this._productAnalyticsSettings.activeStateTimeout,this._fireAdapterEvent.bind(this),this._plugin.setOptions.bind(this._plugin)):i.warn("Cannot track user state since plugin options are unavailable."):i.warn("Cannot track user state since plugin is unavailable.")):this._userState=null,(e=this._adapterGet())?e.on("start",this._adapterTrackStart.bind(this)):i.warn("Cannot bind adapter start since it is unavailable."))},adapterBeforeRemove:function(){var e;(e=this._adapterGet())?e.off("start",this._adapterTrackStart):this._initialized&&i.warn("Cannot unbind adapter start since it is unavailable."),this._userState&&this._userState.dispose(),this._userState=null,this._pendingVideoEvents=[]},_adapterGet:function(){var e;return void 0===(e=this._plugin?"function"!=typeof this._plugin.getAdapter?null:this._plugin.getAdapter():null)?null:e},newSession:function(){var e=!1;return this._initialized?this._infinity?(this._infinity.newSession(),e=!0):i.warn("Cannot start a new session since infinity is unavailable."):i.warn("Cannot start a new session since Product Analytics is uninitialized."),e},endSession:function(){var e=!1;return this._initialized?this._infinity?(this._infinity.fireSessionStop(),e=!0):i.warn("Cannot end session since infinity is unavailable."):i.warn("Cannot end session since Product Analytics is uninitialized."),e},loginSuccessful:function(e,t,n,r,a){var o;this._checkState("log in successfully")&&("string"!=typeof e&&"number"!=typeof e?i.warn("Cannot log in successfully since userId is unavailable."):""===e?i.warn("Cannot log in successfully since userId is unset."):(this._fireEvent("User Login Successful",s.EventTypes.user,{username:e},r,a),(void 0===t||""===t)&&(t=null),null!==t&&this._userProfileSelectedEvent(t,n,r,a),o={username:e},null!==t&&(o["user.profileId"]=t),this._plugin.setOptions(o),this.newSession()))},loginUnsuccessful:function(e,t){this._checkState("log in unsuccessful")&&this._fireEvent("User Login Unsuccessful",s.EventTypes.user,{},e,t)},logout:function(e,t){var n;this._checkState("log out")&&(this._fireEvent("User Logout",s.EventTypes.user,{},e,t),(n={username:null})["user.profileId"]=null,this._plugin.setOptions(n),this.newSession())},userProfileCreated:function(e,t,n,r){var a;this._checkState("create user profile")&&("string"!=typeof e&&"number"!=typeof e?i.warn("Cannot create user profile since profileId is unavailable."):""===e?i.warn("Cannot create user profile since profileId is unset."):(a=this._getUserProfileDimensions(e,t),this._fireEvent("User Profile Created",s.EventTypes.userProfile,a,n,r)))},userProfileSelected:function(e,t,n,r){this._checkState("select user profile")&&("string"!=typeof e&&"number"!=typeof e?i.warn("Cannot select user profile since profileId is unavailable."):""===e?i.warn("Cannot select user profile since profileId is unset."):(this._userProfileSelectedEvent(e,t,n,r),this._plugin.setOptions({"user.profileId":e}),this.newSession()))},_userProfileSelectedEvent:function(e,t,n,r){var i;i=this._getUserProfileDimensions(e,t),this._fireEvent("User Profile Selected",s.EventTypes.userProfile,i,n,r)},userProfileDeleted:function(e,t,n){var r;this._checkState("delete user profile")&&("string"!=typeof e&&"number"!=typeof e?i.warn("Cannot delete user profile since profileId is unavailable."):""===e?i.warn("Cannot delete user profile since profileId is unset."):(r=this._getUserProfileDimensions(e,null),this._fireEvent("User Profile Deleted",s.EventTypes.userProfile,r,t,n)))},_getUserProfileDimensions:function(e,t){var n;return n={profileId:e},null!=t&&(n.profileType=t),n},trackNavByRoute:function(e,t,n){if(this._checkState("track navigation"))if("string"!=typeof e||""===e)i.warn("Cannot track navigation since route has not been supplied.");else{var r;try{r=new URL(e)}catch(e){r=null}
405null===r?i.warn("Cannot track navigation since route is invalid."):(this._url=r,this._identify(),this._trackNavigation(t,n))}},trackNavByName:function(e,t,n){this._checkState("track navigation")&&("string"!=typeof e||""===e?i.warn("Cannot track navigation since page has not been supplied."):(this._page=e,this._trackNavigation(t,n)))},_trackNavigationCached:function(e){e.persisted&&this._trackNavigation()},_trackNavigation:function(e,t){var n,r,i;null===this._url?(n="",r="",i=""):(n=this._url.href,r=this._url.pathname,i=this._url.hostname),this._checkState("track navigation")&&this._fireEvent("Navigation "+this._page,s.EventTypes.navigation,{route:r,routeDomain:i,fullRoute:n},e,t)},trackAttribution:function(e,t,n,r,a,o,s){if(this._checkState("track attribution"))if(this._productAnalyticsSettings.autoTrackAttribution)i.warn("Automatic attribution tracking is enabled: this request won't be processed.");else{var l;l={},void 0!==e&&(l.utm_source=e),void 0!==t&&(l.utm_medium=t),void 0!==n&&(l.utm_campaign=n),void 0!==r&&(l.utm_term=r),void 0!==a&&(l.utm_content=a),this._trackAttribution(new URLSearchParams(l),o,s)}},_trackAttribution:function(e,t,n){var r=this._getUTMParams(e),i=null===this._url?"":this._url.href;this._checkState("track attribution")&&r&&this._fireEvent("Attribution",s.EventTypes.attribution,Object.assign({url:i},r),t,n)},_getUTMParams:function(e){var t,n,r;return n={utm_source:"utmSource",utm_medium:"utmMedium",utm_campaign:"utmCampaign",utm_term:"utmTerm",utm_content:"utmContent"},t={},e.forEach(function(e,i){void 0!==(r=n[i.toLowerCase()])&&(t[r]=e)}),Object.keys(t).length>0?t:null},trackSectionVisible:function(e,t,n,r){this._checkState("track section visible")&&("string"!=typeof e||""===e?i.warn("Cannot track section visible since no section has been supplied."):"number"!=typeof t||t<1?i.warn("Cannot track section visible since sectionOrder is invalid."):this._fireEvent("Section Visible",s.EventTypes.section,{sectionOrder:t,section:e},n,r))},trackSectionHidden:function(e,t,n,r){this._checkState("track section hidden")&&("string"!=typeof e||""===e?i.warn("Cannot track section hidden since no section has been supplied."):"number"!=typeof t||t<1?i.warn("Cannot track section hidden since sectionOrder is invalid."):this._fireEvent("Section Hidden",s.EventTypes.section,{sectionOrder:t,section:e},n,r))},contentFocusIn:function(e,t,n,r,a,o,s){this.contentFocusOut(),this._checkState("track content highlight")&&("string"!=typeof e||""===e?i.warn("Cannot track content highlight since no section has been supplied."):"number"!=typeof t||t<1?i.warn("Cannot track content highlight since sectionOrder is invalid."):"number"!=typeof n||n<1?i.warn("Cannot track content highlight since column is invali
405d."):"number"!=typeof r||r<1?i.warn("Cannot track content highlight since row is invalid."):"string"!=typeof a||""===a?i.warn("Cannot track content highlight since no contentID has been supplied."):(this._contentHighlighted={sectionOrder:t,section:e,column:n,row:r,contentID:a,dimensions:o,metrics:s},this._contentHighlightTimeout=setTimeout(this._trackContentHiglight.bind(this),this._productAnalyticsSettings.highlightContentAfter)))},contentFocusOut:function(){null!==this._contentHighlightTimeout&&clearTimeout(this._contentHighlightTimeout),this._contentHighlighted=null,this._contentHighlightTimeout=null},_trackContentHiglight:function(){this._contentHighlighted?this._fireEvent("Section Content Highlight",s.EventTypes.section,{sectionOrder:this._contentHighlighted.sectionOrder,section:this._contentHighlighted.section,column:this._contentHighlighted.column,row:this._contentHighlighted.row,contentId:this._contentHighlighted.contentID},this._contentHighlighted.dimensions,this._contentHighlighted.metrics):i.warn("Cannot highlight content since no content is selected")},trackContentClick:function(e,t,n,r,a,o,l){this._checkState("track content click")&&("string"!=typeof e||""===e?i.warn("Cannot track content click since no section has been supplied."):"number"!=typeof t||t<1?i.warn("Cannot track content click since sectionOrder is invalid."):"number"!=typeof n||n<1?i.warn("Cannot track content click since column is invali
405d."):"number"!=typeof r||r<1?i.warn("Cannot track content click since row is invalid."):"string"!=typeof a||""===a?i.warn("Cannot track content click since no contentID has been supplied."):this._fireEvent("Section Content Click",s.EventTypes.section,{sectionOrder:t,section:e,column:n,row:r,contentId:a},o,l))},trackPlay:function(e,t,n){var r="Content Play";this._checkState("track play")&&("string"!=typeof e||""===e?i.warn("Cannot track play since no contentID has been supplied."):this._plugin.isStarted?(this._trackPlayerEventsPending(),this._trackPlayerEvent(r,e,t,n)):this._pendingVideoEvents.push({eventName:r,contentID:e,dimensions:t,metrics:n}))},trackPlayerInteraction:function(e,t,n,r){var a="Content Play "+e;this._checkState("track player interaction")&&("string"!=typeof e||""===e?i.warn("Cannot track player interaction since no interaction name has been supplied."):this._plugin.isStarted?(this._trackPlayerEventsPending(),this._trackPlayerEvent(a,null,t,n,r)):this._pendingVideoEvents.push({eventName:a,contentID:null,dimensions:t,metrics:n,startEvent:r}))},_trackPlayerEventsPending:function(){this._pendingVideoEvents.forEach((function(e){this._trackPlayerEvent(e.eventName,e.contentID,e.dimensions,e.metrics,e.startEvent)}).bind(this)),this._pendingVideoEvents=[]},_trackPlayerEvent:function(e,t,n,r,i){"boolean"!=typeof i&&(i=!1);var a={};null!==t&&(a.contentId=t),this._fireAdapterEvent(e,a,n,r),null===this._userState||i||this._userState.setActive(e)},trackSearchQuery:function(e,t,n){this._checkState("track search query")&&("string"!=typeof e||""===e?i.warn("Cannot track search query since no searchQuery has been supplied."):(this._searchQuery=e,this._fireEvent("Search Query",s.EventTypes.search,{query:this._searchQuery},t,n)))},trackSearchResult:function(e,t,n,r){if(this._checkState("track search result"))if("number"!=typeof e)i.warn("Cannot track search result since no resultCount has been supplied.");else{var a="string"==typeof t&&""!==t?t:this._searchQuery;this._fireEvent("Search Results",s.EventTypes.search,{query:a,resultCount:e},n,r)}},trackSearchClick:function(e,t,n,r,a,o,l,u){if(this._checkState("track search click"))if("number"!=typeof n)i.warn("Cannot track search click since no column has been supplied.");else if("number"!=typeof r)i.warn("Cannot track search click since no row has been supplied.");else if("string"!=typeof a||""===a)i.warn("Cannot track search click since no contentID has been supplied.");else{var c="string"==typeof o&&""!==o?o:this._searchQuery;("string"!=typeof e||""===e)&&(e="Search"),("number"!=typeof t||t<1)&&(t=1),this._fireEvent("Search Result Click",s.EventTypes.search,{sectionOrder:t,section:e,query:c,column:n,row:r,contentId:a},l,u)}},trackExternalAppLaunch:function(e,t,n){this._checkState("track external application launch")&&("string"!=typeof e||""===e?i.warn("Cannot track external application launch since no appName has been supplied."):this._fireEvent("External Application Launch",s.EventTypes.externalApplication,{appName:e},t,n))},trackExternalAppExit:function(e,t,n){this._checkState("track external application exit")&&("string"!=typeof e||""===e?i.warn("Cannot track external application exit since no appName has been supplied."):this._fireEvent("External Application Exit",s.EventTypes.externalApplication,{appName:e},t,n))},trackEngagementEvent:function(e,t,n,r){this._checkState("track engagement event")&&("string"!=typeof e||""===e?i.warn("Cannot track engagement event since no eventName has been supplied."):"string"!=typeof t||""===t?i.warn("Cannot track engagement event since no contentID has been supplied."):this._fireEvent("Engagement "+e,s.EventTypes.engagement,{contentId:t},n,r))},trackEvent:function(e,t,n){this._checkState("track custom event")&&("string"!=typeof e||""===e?i.warn("Cannot track custom event since no eventName has been supplied."):this._fireEvent("Custom "+e,s.EventTypes.custom,{},t,n))},_fireEvent:function(e,t,n,r,a){var o,s=!1;return i.notice(e),o=this._buildDimensions(t,n,r),this._infinity?(this._infinity.fireEvent(e,o.custom,a,o.top),s=!0):i.warn("Cannot fire",e,"since infinity is unavailable."),s},_fireAdapterEvent:function(e,t,n,r){var a,o,l=!1;return i.notice(e),(o=this._adapterGet())?(a=this._buildDimensions(s.EventTypes.contentPlayback,t,n),o.fireEvent(e,a.custom,r,a.top),l=!0):i.warn("Cannot fire "+e+" event since adapter is unavailable."),l},_buildDimensions:function(e,t,n){var r,i,a;for(var o in i={page:this._page},void 0!==t&&(i=Object.assign(i,t)),void 0!==n&&(i=Object.assign(i,n)),i=Object.assign(i,{eventSource:"Product Analytics",eventType:e}),a=["contentid","contentId","contentID","utmSource","utmMedium","utmCampaign","utmTerm","utmContent","profileId","profile_id","username"],r={},i)Object.prototype.hasOwnProperty.call(i,o)&&-1!==a.indexOf(o)&&(r[o]=i[o]);return["contentid","contentId","contentID","profileId","profile_id","username"].forEach(function(e){delete i[e]}),{custom:i,top:r}},_checkState:function(e){var t;return this._initialized?null==this._infinity?(t=!1,i.warn("Cannot "+e+" since infinity is unavailable.")):this._infinity.isActive()?t=!0:(t=!1,i.warn("Cannot "+e+" since session is closed.")):(t=!1,i.warn("Cannot "+e+" since Product Analytics is uninitialized.")),t}},{EventTypes:{userProfile:"User Profile",user:"User",navigation:"Navigation",attribution:"Attribution",section:"Section",contentPlayback:"Content Playback",search:"Search",externalApplication:"External Application",engagement:"Engagement",custom:"Custom Event"}});e.exports=s},38703:(e,t,n)=>{"use strict";
405Object.defineProperty(t,"__esModule",{value:!0}),t.createSourceDetector=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47561),o=n(62300),s=n(40890),l=(0,n(11198).extractProperty)("mimetype"),u=["application/dash+xml","application/x-mpegURL","video/mp4"];t.createSourceDetector=function(e){let{browserDetector:t,capabilitiesResolver:n}=e;return{getPreferredSource(e){return r.__awaiter(this,void 0,void 0,function*(){let r=yield n.getSupportedCapabilities(),c=!1,d=e.filter(e=>{let{mimetype:n,drm:a}=e;if(t.isSafari()&&"application/dash+xml"===n)return!1;let o=!0;i.default.undefined(a)||(c=!0,o=r.drmTypes.includes(a.drmType));let s=r.mimeTypes.includes(n);return o&&s});if((0,o.isNonEmptyArray)(d)){let e=(0,s.selectByPreferencesWith)(l,d,u);return a.Result.ok(e)}return 0===r.drmTypes.length&&c?a.Result.err({reason:"playback_drm_no_key_system_supported",supportedDrmTypes:r.drmTypes}):a.Result.err({reason:"playback_no_supported_source_provided",supportedDrmTypes:r.drmTypes})})}}}},38817:(e,t,n)=>{"use strict";n.d(t,{g:()=>a});var r=n(45088);let i=/\r\n|[\n\r]/g;function a(e,t){let n=0,a=1;
405for(let o of e.body.matchAll(i)){if("number"==typeof o.index||(0,r.V)(!1),o.index>=t)break;n=o.index+o[0].length,a+=1}return{line:a,column:t+1-n}}},38913:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OrderedList=void 0,t.OrderedList=n(70015).__importDefault(n(28909)).default.ol(e=>({display:"flex",flexDirection:e.flexDirection,gap:e.gap,listStyleType:"none",margin:0,padding:0}))},39050:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDataUsageGuardService=void 0;let r=n(21639),i=n(93324);t.createDataUsageGuardService=function(e){let{dispatch:t,networkInformationApi:n}=e,a=(0,r.interpret)((0,i.createDataUsageGuardMachine)({dispatch:t,networkInformationApi:n}));function o(e){a.send({connectionInformation:e,type:"CONNECTION_CHANGED"})}function s(e){a.send({type:"SETTINGS_CHANGED",usageSettings:e})}return{destroy(){n.off("connectionInformationChange",o),n.off("usageSettingsChange",s),a.stop()},setPlayerLifecycleError(e){a.send({playerLifecycleError:e,type:"SET_PLAYER_LIFECYCLE_ERROR"})},start(){if(a.status!==r.InterpreterStatus.NotStarted)throw Error("Canât start data-usage-guard service again, it is already started");n.on("connectionInformationChange",o),n.on("usageSettingsChange",s),a.start()},unsetPlayerLifecycleError(){a.send({type:"UNSET_PLAYER_LIFECYCLE_ERROR"})}}}},39073:(e,t,n)=>{"use strict";n.d(t,{Cj:()=>g,W3:()=>s,bN:()=>d,bm:()=>f,h4:()=>o,hP:()=>u,mE:()=>p,n2:()=>y,yH:()=>l,zk:()=>m});var r=n(33406),i=n(66983),a=n(78066);function o(e,t=[]){return[e,t]}function s(e,t){let[n,r]=e;return[n,[...r,t]]}function l(e,t){for(let n of e[1]){let e=n[0].type;if(t(n,e))return!0}return!1}function u(e,t){return l(e,(e,n)=>t.includes(n))}function c(e,t){return(t||new TextEncoder).encode(e)}function d(e,t){let[n,r]=e,a=JSON.stringify(n);function o(e){"string"==typeof a?a="string"==typeof e?a+e:[c(a,t),e]:a.push("string"==typeof e?c(e,t):e)}for(let e of r){let[t,n]=e;if(o(` 406${JSON.stringify(t)} 407`),"string"==typeof n||n instanceof Uint8Array)o(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify((0,i.S8)(n))}o(e)}}return"string"==typeof a?a:function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}(a)}function p(e,t,n){let r="string"==typeof e?t.encode(e):e;function i(e){let t=r.subarray(0,e);return r=r.subarray(e+1),t}function a(){let e=r.indexOf(10);return e<0&&(e=r.length),JSON.parse(n.decode(i(e)))}let o=a(),s=[];for(;r.length;){let e=a(),t="number"==typeof e.length?e.length:void 0;s.push([e,t?i(t):a()])}return[o,s]}function f(e,t){let n="string"==typeof e.data?c(e.data,t):e.data;return[(0,a.Ce)({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}let h={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor"};function m(e){return h[e]}function g(e){if(!e||!e.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function y(e,t,n,i){let o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&{dsn:(0,r.SB)(i)},...o&&{trace:(0,a.Ce)({...o})}}}},39149:(e,t,n)=>{"use strict";n.d(t,{fj:()=>o,wD:()=>a});var r=n(61232);e=n.hmd(e);var i=n(23727);function a(){return!(0,r.Z)()&&"[object process]"===Object.prototype.toString.call(void 0!==i?i:0)}function o(e,t){return e.require(t)}},39153:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractUniqueValues=void 0,t.extractUniqueValues=function(e){return Array.from(new Set(e))}},39283:e=>{"use strict";var t=["CBC","encryptBlock","_prevBlock","blockSize","slice","decryptBlock","_iv","pad","Pkcs7","push","concat","createEncryptor","createDecryptor","_minBufferSize","_mode","__creator","init","processBlock","padding","_data","unpad","CipherParams","formatter","stringify","format","OpenSSL","ciphertext","salt","toString","parse","splice","SerializableCipher","finalize","kdf","random","compute","PasswordBasedCipher","execute","keySize","ivSize","mixIn","_parse","decrypt","key","Base","$super","apply","length","clamp","ceil","Hex","join","substr","Latin1","fromCharCode","charCodeAt","Malformed UTF-8 data","_nDataBytes","max","min","_doProcessBlock","clone","Hasher","Base64","_map","charAt","_reverseMap","indexOf","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
407+/=","./node_modules/crypto-js/sha1.js","./node_modules/crypto-js/hmac.js","MD5","hasher","iterations","update","EvpKDF","HmacSHA1","HMAC","_hasher","_oKey","_iKey","abs","sin","_hash","floor","HmacMD5","_createHmacHelper","SHA1","./node_modules/crypto-js/aes.js","./node_modules/crypto-js/enc-hex.js","./node_modules/crypto-js/hmac-sha1.js","./src/alphabet.js","reverse","url","isRedirect","getTime","replace","exports","call","undefined","toStringTag","defineProperty","Module","__esModule","create","string","default","prototype","hasOwnProperty","./src/index.js","./node_modules/crypto-js/core.js","./node_modules/crypto-js/enc-base64.js","./node_modules/crypto-js/md5.js","./node_modules/crypto-js/evpkdf.js","lib","algo","AES","extend","_nRounds","_key","_keyPriorReset","words","sigBytes","_invKeySchedule","_doCryptBlock","_keySchedule","_createHelper","Cipher","WordArray","BufferedBlockAlgorithm","enc","Utf8","_ENC_XFORM_MODE","_DEC_XFORM_MODE","cfg","_xformMode","reset","_doReset","_append","_process","_doFinalize","encrypt","StreamCipher","flush","mode","BlockCipherMode","Encryptor","Decryptor","_cipher"];!function(e,t){for(var n=++t;--n;)e.push(e.shift())}(t,246);var n=function(e,n){return t[e-=0]};e.exports=function(e){var t={};function r(i){if(t[i])return t[i][n("0x0")];var a=t[i]={i:i,l:!1,exports:{}};return e[i][n("0x1")](a[n("0x0")],a,a.exports,r),a.l=!0,a[n("0x0")]}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){typeof Symbol!==n("0x2")&&Symbol[n("0x3")]&&Object[n("0x4")](e,Symbol[n("0x3")],{value:n("0x5")}),Object[n("0x4")](e,n("0x6"),{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object[n("0x7")](null);if(r.r(i),Object[n("0x4")](i,"default",{enumerable:!0,value:e}),2&t&&typeof e!=n("0x8"))for(var a in e)r.d(i,a,(function(t){return e[t]}).bind(null,a));return i},r.n=function(e){var t=e&&e[n("0x6")]?function(){return e[n("0x9")]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object[n("0xa")][n("0xb")][n("0x1")](e,t)},r.p="",r(r.s=n("0xc"))}({
vendor: 2,272 bytes, line 407
407"./node_modules/crypto-js/aes.js":function(e,t,r){var i,a,o,s,l,u,c,d,p,f,h,m,g,y,v;e[n("0x0")]=(i=r(n("0xd")),r(n("0xe")),r(n("0xf")),r(n("0x10")),r("./node_modules/crypto-js/cipher-core.js"),a=i[n("0x11")].BlockCipher,o=i[n("0x12")],s=[],l=[],u=[],c=[],d=[],p=[],f=[],h=[],m=[],g=[],!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var i=r^r<<1^r<<2^r<<3^r<<4;i=i>>>8^255&i^99,s[n]=i;var a=e[l[i]=n],o=e[a],y=e[o],v=257*e[i]^0x1010100*i;u[n]=v<<24|v>>>8,c[n]=v<<16|v>>>16,d[n]=v<<8|v>>>24,p[n]=v,v=0x1010101*y^65537*o^257*a^0x1010100*n,f[i]=v<<24|v>>>8,h[i]=v<<16|v>>>16,m[i]=v<<8|v>>>24,g[i]=v,n?(n=a^e[e[e[y^a]]],r^=e[e[r]]):n=r=1}}(),y=[0,1,2,4,8,16,32,64,128,27,54],v=o[n("0x13")]=a[n("0x14")]({_doReset:function(){if(!this[n("0x15")]||this._keyPriorReset!==this[n("0x16")]){for(var e=this[n("0x17")]=this[n("0x16")],t=e[n("0x18")],r=e[n("0x19")]/4,i=4*((this[n("0x15")]=r+6)+1),a=this._keySchedule=[],o=0;o<i;o++)if(o<r)a[o]=t[o];else{var l=a[o-1];o%r?6<r&&o%r==4&&(l=s[l>>>24]<<24|s[l>>>16&255]<<16|s[l>>>8&255]<<8|s[255&l]):l=(s[(l=l<<8|l>>>24)>>>24]<<24|s[l>>>16&255]<<16|s[l>>>8&255]<<8|s[255&l])^y[o/r|0]<<24,a[o]=a[o-r]^l}for(var u=this[n("0x1a")]=[],c=0;c<i;c++)o=i-c,l=c%4?a[o]:a[o-4],u[c]=c<4||o<=4?l:f[s[l>>>24]]^h[s[l>>>16&255]]^m[s[l>>>8&255]]^g[s[255&l]]}},encryptBlock:function(e,t){this[n("0x1b")](e,t,this[n("0x1c")],u,c,d,p,s)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this[n("0x1b")](e,t,this[n("0x1a")],f,h,m,g,l),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,n,r,i,a,o,s){for(var l=this._nRounds,u=e[t]^n[0],c=e[t+1]^n[1],d=e[t+2]^n[2],p=e[t+3]^n[3],f=4,h=1;h<l;h++){var m=r[u>>>24]^i[c>>>16&255]^a[d>>>8&255]^o[255&p]^n[f++],g=r[c>>>24]^i[d>>>16&255]^a[p>>>8&255]^o[255&u]^n[f++],y=r[d>>>24]^i[p>>>16&255]^a[u>>>8&255]^o[255&c]^n[f++],v=r[p>>>24]^i[u>>>16&255]^a[c>>>8&255]^o[255&d]^n[f++];u=m,c=g,d=y,p=v}m=(s[u>>>24]<<24|s[c>>>16&255]<<16|s[d>>>8&255]<<8|s[255&p])^n[f++],g=(s[c>>>24]<<24|s[d>>>16&255]<<16|s[p>>>8&255]<<8|s[255&u])^n[f++],y=(s[d>>>24]<<24|s[p>>>16&255]<<16|s[u>>>8&255]<<8|s[255&c])^n[f++],v=(s[p>>>24]<<24|s[u>>>16&255]<<16|s[c>>>8&255]<<8|s[255&d])^n[f++],e[t]=m,e[t+1]=g,e[t+2]=y,e[t+3]=v},keySize:8}),i.AES=a[n("0x1d")](v),i[n("0x13")])},
vendor: 4,688 bytes, line 407
407"./node_modules/crypto-js/cipher-core.js":function(e,t,r){var i,a,o,s,l,u,c,d,p,f,h,m,g,y,v,b,_,S;e[n("0x0")]=(i=r(n("0xd")),r("./node_modules/crypto-js/evpkdf.js"),void(i[n("0x11")][n("0x1e")]||(o=(a=i.lib).Base,s=a[n("0x1f")],l=a[n("0x20")],(u=i[n("0x21")])[n("0x22")],c=u.Base64,d=i.algo.EvpKDF,p=a.Cipher=l.extend({cfg:o[n("0x14")](),createEncryptor:function(e,t){return this[n("0x7")](this[n("0x23")],e,t)},createDecryptor:function(e,t){return this[n("0x7")](this[n("0x24")],e,t)},init:function(e,t,r){this.cfg=this[n("0x25")][n("0x14")](r),this[n("0x26")]=e,this[n("0x16")]=t,this[n("0x27")]()},reset:function(){l[n("0x27")][n("0x1")](this),this[n("0x28")]()},process:function(e){return this[n("0x29")](e),this[n("0x2a")]()},finalize:function(e){return e&&this[n("0x29")](e),this[n("0x2b")]()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?S:b}return function(t){return{encrypt:function(r,i,a){return e(i)[n("0x2c")](t,r,i,a)},decrypt:function(n,r,i){return e(r).decrypt(t,n,r,i)}}}}()}),a[n("0x2d")]=p.extend({_doFinalize:function(){return this[n("0x2a")](!!n("0x2e"))},blockSize:1}),f=i[n("0x2f")]={},h=a[n("0x30")]=o[n("0x14")]({createEncryptor:function(e,t){return this[n("0x31")][n("0x7")](e,t)},createDecryptor:function(e,t){return this[n("0x32")][n("0x7")](e,t)},init:function(e,t){this[n("0x33")]=e,this._iv=t}}),m=f[n("0x34")]=function(){var e=h[n("0x14")]();function t(e,t,r){var i=this[n("0x3a")];if(i){var a=i;this[n("0x3a")]=void 0}else var a=this._prevBlock;for(var o=0;o<r;o++)e[t+o]^=a[o]}return e[n("0x31")]=e[n("0x14")]({processBlock:function(e,r){var i=this._cipher,a=i.blockSize;t[n("0x1")](this,e,r,a),i[n("0x35")](e,r),this[n("0x36")]=e.slice(r,r+a)}}),e[n("0x32")]=e[n("0x14")]({processBlock:function(e,r){var i=this[n("0x33")],a=i[n("0x37")],o=e[n("0x38")](r,r+a);i[n("0x39")](e,r),t[n("0x1")](this,e,r,a),this[n("0x36")]=o}}),e}(),g=(i[n("0x3b")]={})[n("0x3c")]={pad:function(e,t){for(var r=4*t,i=r-e[n("0x19")]%r,a=i<<24|i<<16|i<<8|i,o=[],l=0;l<i;l+=4)o[n("0x3d")](a);var u=s.create(o,i);e[n("0x3e")](u)},unpad:function(e){var t=255&e[n("0x18")][e[n("0x19")]-1>>>2];e[n("0x19")]-=t}},a.BlockCipher=p[n("0x14")]({cfg:p[n("0x25")].extend({mode:m,padding:g}),reset:function(){p[n("0x27")][n("0x1")](this);var e=this[n("0x25")],t=e.iv,r=e[n("0x2f")];if(this[n("0x26")]==this[n("0x23")])var i=r[n("0x3f")];else{var i=r[n("0x40")];this[n("0x41")]=1}this[n("0x42")]&&this[n("0x42")][n("0x43")]==i?this[n("0x42")][n("0x44")](this,t&&t[n("0x18")]):(this[n("0x42")]=i[n("0x1")](r,this,t&&t[n("0x18")]),this[n("0x42")][n("0x43")]=i)},_doProcessBlock:function(e,t){this[n("0x42")][n("0x45")](e,t)},_doFinalize:function(){var e=this[n("0x25")][n("0x46")];if(this._xformMode==this[n("0x23")]){e[n("0x3b")](this[n("0x47")],this.blockSize);var t=this[n("0x2a")](!!n("0x2e"))}else{var t=this._process(!!n("0x2e"));e[n("0x48")](t)}return t},blockSize:4}),y=a[n("0x49")]=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this[n("0x4a")])[n("0x4b")](this)}}),v=(i[n("0x4c")]={})[n("0x4d")]={stringify:function(e){var t=e[n("0x4e")],r=e[n("0x4f")];if(r)var i=s[n("0x7")]([0x53616c74,0x65645f5f])[n("0x3e")](r)[n("0x3e")](t);else var i=t;return i[n("0x50")](c)},parse:function(e){var t=c[n("0x51")](e),r=t[n("0x18")];if(0x53616c74==r[0]&&0x65645f5f==r[1]){var i=s[n("0x7")](r[n("0x38")](2,4));r[n("0x52")](0,4),t.sigBytes-=16}return y[n("0x7")]({ciphertext:t,salt:i})}},b=a[n("0x53")]=o[n("0x14")]({cfg:o[n("0x14")]({format:v}),encrypt:function(e,t,r,i){i=this[n("0x25")][n("0x14")](i);var a=e[n("0x3f")](r,i),o=a[n("0x54")](t),s=a[n("0x25")];return y.create({ciphertext:o,key:r,iv:s.iv,algorithm:e,mode:s.mode,padding:s[n("0x46")],blockSize:e.blockSize,formatter:i.format})},decrypt:function(e,t,r,i){return i=this[n("0x25")][n("0x14")](i),t=this._parse(t,i.format),e[n("0x40")](r,i).finalize(t[n("0x4e")])},_parse:function(e,t){return typeof e==n("0x8")?t.parse(e,this):e}}),_=(i[n("0x55")]={})[n("0x4d")]={execute:function(e,t,r,i){i||(i=s[n("0x56")](8));var a=d[n("0x7")]({keySize:t+r})[n("0x57")](e,i),o=s[n("0x7")](a[n("0x18")][n("0x38")](t),4*r);return a[n("0x19")]=4*t,y[n("0x7")]({key:a,iv:o,salt:i})}},S=a[n("0x58")]=b[n("0x14")]({cfg:b.cfg[n("0x14")]({kdf:_}),encrypt:function(e,t,r,i){var a=(i=this.cfg.extend(i))[n("0x55")][n("0x59")](r,e[n("0x5a")],e[n("0x5b")]);i.iv=a.iv;var o=b.encrypt[n("0x1")](this,e,t,a.key,i);return o[n("0x5c")](a),o},decrypt:function(e,t,r,i){i=this[n("0x25")].extend(i),t=this[n("0x5d")](t,i[n("0x4c")]);var a=i.kdf[n("0x59")](r,e[n("0x5a")],e[n("0x5b")],t[n("0x4f")]);return i.iv=a.iv,b[n("0x5e")][n("0x1")](this,e,t,a[n("0x5f")],i)}}))))},
vendor: 3,840 bytes, line 407
407"./node_modules/crypto-js/core.js":function(e,t,r){var i,a,o,s,l,u,c,d,p,f,h,m;e.exports=(i=Math,a=Object[n("0x7")]||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e[n("0xa")]=null,r}}(),l=(s=(o={})[n("0x11")]={})[n("0x60")]={extend:function(e){var t=a(this);return e&&t[n("0x5c")](e),t[n("0xb")](n("0x44"))&&this[n("0x44")]!==t[n("0x44")]||(t[n("0x44")]=function(){t[n("0x61")][n("0x44")][n("0x62")](this,arguments)}),(t[n("0x44")].prototype=t).$super=this,t},create:function(){var e=this[n("0x14")]();return e[n("0x44")][n("0x62")](e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e[n("0xb")](t)&&(this[t]=e[t]);e[n("0xb")]("toString")&&(this[n("0x50")]=e[n("0x50")])},clone:function(){return this[n("0x44")][n("0xa")].extend(this)}},u=s[n("0x1f")]=l[n("0x14")]({init:function(e,t){e=this[n("0x18")]=e||[],this[n("0x19")]=null!=t?t:4*e[n("0x63")]},toString:function(e){return(e||d)[n("0x4b")](this)},concat:function(e){var t=this[n("0x18")],r=e.words,i=this[n("0x19")],a=e[n("0x19")];if(this[n("0x64")](),i%4)for(var o=0;o<a;o++){var s=r[o>>>2]>>>24-o%4*8&255;t[i+o>>>2]|=s<<24-(i+o)%4*8}else for(var o=0;o<a;o+=4)t[i+o>>>2]=r[o>>>2];return this.sigBytes+=a,this},clamp:function(){var e=this[n("0x18")],t=this.sigBytes;e[t>>>2]&=0xffffffff<<32-t%4*8,e[n("0x63")]=i[n("0x65")](t/4)},clone:function(){var e=l.clone[n("0x1")](this);return e[n("0x18")]=this[n("0x18")].slice(0),e},random:function(e){for(var t,r=[],a=function(e){var e=e,t=0x3ade68b1;return function(){var r=((t=36969*(65535&t)+(t>>16)|0)<<16)+(e=18e3*(65535&e)+(e>>16)|0)|0;return r/=0x100000000,(r+=.5)*(.5<i[n("0x56")]()?1:-1)}},o=0;o<e;o+=4){var s=a(0x100000000*(t||i[n("0x56")]()));t=0x3ade67b7*s(),r[n("0x3d")](0x100000000*s()|0)}return new u[n("0x44")](r,e)}}),d=(c=o.enc={})[n("0x66")]={stringify:function(e){for(var t=e.words,r=e.sigBytes,i=[],a=0;a<r;a++){var o=t[a>>>2]>>>24-a%4*8&255;i[n("0x3d")]((o>>>4)[n("0x50")](16)),i[n("0x3d")]((15&o)[n("0x50")](16))}return i[n("0x67")]("")},parse:function(e){for(var t=e[n("0x63")],r=[],i=0;i<t;i+=2)r[i>>>3]|=parseInt(e[n("0x68")](i,2),16)<<24-i%8*4;return new u[n("0x44")](r,t/2)}},p=c[n("0x69")]={stringify:function(e){for(var t=e[n("0x18")],r=e[n("0x19")],i=[],a=0;a<r;a++){var o=t[a>>>2]>>>24-a%4*8&255;i[n("0x3d")](String[n("0x6a")](o))}return i[n("0x67")]("")},parse:function(e){for(var t=e[n("0x63")],r=[],i=0;i<t;i++)r[i>>>2]|=(255&e[n("0x6b")](i))<<24-i%4*8;return new u[n("0x44")](r,t)}},f=c[n("0x22")]={stringify:function(e){try{return decodeURIComponent(escape(p[n("0x4b")](e)))}catch(e){throw Error(n("0x6c"))}},parse:function(e){return p[n("0x51")](unescape(encodeURIComponent(e)))}},h=s[n("0x20")]=l[n("0x14")]({reset:function(){this[n("0x47")]=new u[n("0x44")],this[n("0x6d")]=0},_append:function(e){"string"==typeof e&&(e=f[n("0x51")](e)),this[n("0x47")][n("0x3e")](e),this[n("0x6d")]+=e.sigBytes},_process:function(e){var t=this[n("0x47")],r=t.words,a=t.sigBytes,o=this.blockSize,s=a/(4*o),l=(s=e?i[n("0x65")](s):i[n("0x6e")]((0|s)-this[n("0x41")],0))*o,c=i[n("0x6f")](4*l,a);if(l){for(var d=0;d<l;d+=o)this[n("0x70")](r,d);var p=r.splice(0,l);t[n("0x19")]-=c}return new u[n("0x44")](p,c)},clone:function(){var e=l.clone[n("0x1")](this);return e[n("0x47")]=this[n("0x47")][n("0x71")](),e},_minBufferSize:0}),s[n("0x72")]=h[n("0x14")]({cfg:l[n("0x14")](),init:function(e){this[n("0x25")]=this.cfg[n("0x14")](e),this[n("0x27")]()},reset:function(){h[n("0x27")][n("0x1")](this),this[n("0x28")]()},update:function(e){return this[n("0x29")](e),this[n("0x2a")](),this},finalize:function(e){return e&&this[n("0x29")](e),this[n("0x2b")]()},blockSize:16,_createHelper:function(e){return function(t,r){return new e[n("0x44")](r)[n("0x54")](t)}},_createHmacHelper:function(e){return function(t,r){return new m.HMAC[n("0x44")](e,r)[n("0x54")](t)}}}),m=o.algo={},o)},
vendor: 947 bytes, line 407
407"./node_modules/crypto-js/enc-base64.js":function(e,t,r){var i,a;e[n("0x0")]=(a=(i=r(n("0xd"))).lib.WordArray,i[n("0x21")][n("0x73")]={stringify:function(e){var t=e[n("0x18")],r=e.sigBytes,i=this[n("0x74")];e[n("0x64")]();for(var a=[],o=0;o<r;o+=3)for(var s=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,l=0;l<4&&o+.75*l<r;l++)a[n("0x3d")](i[n("0x75")](s>>>6*(3-l)&63));var u=i[n("0x75")](64);if(u)for(;a[n("0x63")]%4;)a[n("0x3d")](u);return a[n("0x67")]("")},parse:function(e){var t=e[n("0x63")],r=this[n("0x74")],i=this[n("0x76")];if(!i){i=this[n("0x76")]=[];for(var o=0;o<r[n("0x63")];o++)i[r[n("0x6b")](o)]=o}var s=r[n("0x75")](64);if(s){var l=e[n("0x77")](s);-1!==l&&(t=l)}return function(e,t,r){for(var i=[],o=0,s=0;s<t;s++)if(s%4){var l=r[e[n("0x6b")](s-1)]<<s%4*2,u=r[e.charCodeAt(s)]>>>6-s%4*2;i[o>>>2]|=(l|u)<<24-o%4*8,o++}return a.create(i,o)}(e,t,i)},_map:n("0x78")},i.enc[n("0x73")])},
vendor: 101 bytes, line 407
407"./node_modules/crypto-js/enc-hex.js":function(e,t,r){e[n("0x0")]=r(n("0xd"))[n("0x21")][n("0x66")]},
vendor: 716 bytes, line 407
407"./node_modules/crypto-js/evpkdf.js":function(e,t,r){var i,a,o,s,l,u,c;e[n("0x0")]=(i=r(n("0xd")),r(n("0x79")),r(n("0x7a")),o=(a=i[n("0x11")]).Base,s=a[n("0x1f")],u=(l=i[n("0x12")])[n("0x7b")],c=l.EvpKDF=o[n("0x14")]({cfg:o.extend({keySize:4,hasher:u,iterations:1}),init:function(e){this[n("0x25")]=this[n("0x25")][n("0x14")](e)},compute:function(e,t){for(var r=this.cfg,i=r[n("0x7c")][n("0x7")](),a=s[n("0x7")](),o=a[n("0x18")],l=r[n("0x5a")],u=r[n("0x7d")];o[n("0x63")]<l;){c&&i[n("0x7e")](c);var c=i[n("0x7e")](e)[n("0x54")](t);i[n("0x27")]();for(var d=1;d<u;d++)c=i[n("0x54")](c),i.reset();a[n("0x3e")](c)}return a.sigBytes=4*l,a}}),i[n("0x7f")]=function(e,t,r){return c[n("0x7")](r)[n("0x57")](e,t)},i.EvpKDF)},
vendor: 181 bytes, line 407
407"./node_modules/crypto-js/hmac-sha1.js":function(e,t,r){var i;e[n("0x0")]=(i=r("./node_modules/crypto-js/core.js"),r("./node_modules/crypto-js/sha1.js"),r(n("0x7a")),i[n("0x80")])},
vendor: 826 bytes, line 407
407"./node_modules/crypto-js/hmac.js":function(e,t,r){var i,a,o;e[n("0x0")]=(a=(i=r(n("0xd")))[n("0x11")][n("0x60")],o=i[n("0x21")][n("0x22")],void(i[n("0x12")][n("0x81")]=a[n("0x14")]({init:function(e,t){e=this[n("0x82")]=new e[n("0x44")],"string"==typeof t&&(t=o[n("0x51")](t));var r=e[n("0x37")],i=4*r;t[n("0x19")]>i&&(t=e[n("0x54")](t)),t[n("0x64")]();for(var a=this[n("0x83")]=t[n("0x71")](),s=this[n("0x84")]=t.clone(),l=a[n("0x18")],u=s[n("0x18")],c=0;c<r;c++)l[c]^=0x5c5c5c5c,u[c]^=0x36363636;a.sigBytes=s[n("0x19")]=i,this[n("0x27")]()},reset:function(){var e=this[n("0x82")];e[n("0x27")](),e[n("0x7e")](this[n("0x84")])},update:function(e){return this._hasher[n("0x7e")](e),this},finalize:function(e){var t=this[n("0x82")],r=t.finalize(e);return t[n("0x27")](),t[n("0x54")](this._oKey[n("0x71")]()[n("0x3e")](r))}})))},
vendor: 3,057 bytes, line 407
407"./node_modules/crypto-js/md5.js":function(e,t,r){var i;e[n("0x0")]=(i=r(n("0xd")),function(e){for(var t=i.lib,r=t[n("0x1f")],a=t.Hasher,o=i.algo,s=[],l=0;l<64;l++)s[l]=0x100000000*e[n("0x85")](e[n("0x86")](l+1))|0;var u=o[n("0x7b")]=a[n("0x14")]({_doReset:function(){this[n("0x87")]=new r[n("0x44")]([0x67452301,0xefcdab89,0x98badcfe,0x10325476])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var i=t+r,a=e[i];e[i]=0xff00ff&(a<<8|a>>>24)|0xff00ff00&(a<<24|a>>>8)}var o=this[n("0x87")][n("0x18")],l=e[t+0],u=e[t+1],h=e[t+2],m=e[t+3],g=e[t+4],y=e[t+5],v=e[t+6],b=e[t+7],_=e[t+8],S=e[t+9],E=e[t+10],k=e[t+11],A=e[t+12],T=e[t+13],x=e[t+14],w=e[t+15],C=o[0],I=o[1],O=o[2],R=o[3];I=f(I=f(I=f(I=f(I=p(I=p(I=p(I=p(I=d(I=d(I=d(I=d(I=c(I=c(I=c(I=c(I,O=c(O,R=c(R,C=c(C,I,O,R,l,7,s[0]),I,O,u,12,s[1]),C,I,h,17,s[2]),R,C,m,22,s[3]),O=c(O,R=c(R,C=c(C,I,O,R,g,7,s[4]),I,O,y,12,s[5]),C,I,v,17,s[6]),R,C,b,22,s[7]),O=c(O,R=c(R,C=c(C,I,O,R,_,7,s[8]),I,O,S,12,s[9]),C,I,E,17,s[10]),R,C,k,22,s[11]),O=c(O,R=c(R,C=c(C,I,O,R,A,7,s[12]),I,O,T,12,s[13]),C,I,x,17,s[14]),R,C,w,22,s[15]),O=d(O,R=d(R,C=d(C,I,O,R,u,5,s[16]),I,O,v,9,s[17]),C,I,k,14,s[18]),R,C,l,20,s[19]),O=d(O,R=d(R,C=d(C,I,O,R,y,5,s[20]),I,O,E,9,s[21]),C,I,w,14,s[22]),R,C,g,20,s[23]),O=d(O,R=d(R,C=d(C,I,O,R,S,5,s[24]),I,O,x,9,s[25]),C,I,m,14,s[26]),R,C,_,20,s[27]),O=d(O,R=d(R,C=d(C,I,O,R,T,5,s[28]),I,O,h,9,s[29]),C,I,b,14,s[30]),R,C,A,20,s[31]),O=p(O,R=p(R,C=p(C,I,O,R,y,4,s[32]),I,O,_,11,s[33]),C,I,k,16,s[34]),R,C,x,23,s[35]),O=p(O,R=p(R,C=p(C,I,O,R,u,4,s[36]),I,O,g,11,s[37]),C,I,b,16,s[38]),R,C,E,23,s[39]),O=p(O,R=p(R,C=p(C,I,O,R,T,4,s[40]),I,O,l,11,s[41]),C,I,m,16,s[42]),R,C,v,23,s[43]),O=p(O,R=p(R,C=p(C,I,O,R,S,4,s[44]),I,O,A,11,s[45]),C,I,w,16,s[46]),R,C,h,23,s[47]),O=f(O,R=f(R,C=f(C,I,O,R,l,6,s[48]),I,O,b,10,s[49]),C,I,x,15,s[50]),R,C,y,21,s[51]),O=f(O,R=f(R,C=f(C,I,O,R,A,6,s[52]),I,O,m,10,s[53]),C,I,E,15,s[54]),R,C,u,21,s[55]),O=f(O,R=f(R,C=f(C,I,O,R,_,6,s[56]),I,O,w,10,s[57]),C,I,v,15,s[58]),R,C,T,21,s[59]),O=f(O,R=f(R,C=f(C,I,O,R,g,6,s[60]),I,O,k,10,s[61]),C,I,h,15,s[62]),R,C,S,21,s[63]),o[0]=o[0]+C|0,o[1]=o[1]+I|0,o[2]=o[2]+O|0,o[3]=o[3]+R|0},_doFinalize:function(){var t=this[n("0x47")],r=t.words,i=8*this[n("0x6d")],a=8*t[n("0x19")];r[a>>>5]|=128<<24-a%32;var o=e[n("0x88")](i/0x100000000);r[15+(a+64>>>9<<4)]=0xff00ff&(o<<8|o>>>24)|0xff00ff00&(o<<24|o>>>8),r[14+(a+64>>>9<<4)]=0xff00ff&(i<<8|i>>>24)|0xff00ff00&(i<<24|i>>>8),t[n("0x19")]=4*(r[n("0x63")]+1),this[n("0x2a")]();for(var s=this._hash,l=s[n("0x18")],u=0;u<4;u++){var c=l[u];l[u]=0xff00ff&(c<<8|c>>>24)|0xff00ff00&(c<<24|c>>>8)}return s},clone:function(){var e=a[n("0x71")][n("0x1")](this);return e._hash=this[n("0x87")][n("0x71")](),e}});function c(e,t,n,r,i,a,o){var s=e+(t&n|~t&r)+i+o;return(s<<a|s>>>32-a)+t}function d(e,t,n,r,i,a,o){var s=e+(t&r|n&~r)+i+o;return(s<<a|s>>>32-a)+t}function p(e,t,n,r,i,a,o){var s=e+(t^n^r)+i+o;return(s<<a|s>>>32-a)+t}function f(e,t,n,r,i,a,o){var s=e+(n^(t|~r))+i+o;return(s<<a|s>>>32-a)+t}i[n("0x7b")]=a._createHelper(u),i[n("0x89")]=a._createHmacHelper(u)}(Math),i[n("0x7b")])},
vendor: 1,118 bytes, line 407
407"./node_modules/crypto-js/sha1.js":function(e,t,r){var i,a,o,s,l,u,c;o=(a=(i=r(n("0xd")))[n("0x11")])[n("0x1f")],s=a.Hasher,l=i.algo,u=[],c=l.SHA1=s[n("0x14")]({_doReset:function(){this[n("0x87")]=new o.init([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0])},_doProcessBlock:function(e,t){for(var r=this[n("0x87")][n("0x18")],i=r[0],a=r[1],o=r[2],s=r[3],l=r[4],c=0;c<80;c++){if(c<16)u[c]=0|e[t+c];else{var d=u[c-3]^u[c-8]^u[c-14]^u[c-16];u[c]=d<<1|d>>>31}var p=(i<<5|i>>>27)+l+u[c];p+=c<20?0x5a827999+(a&o|~a&s):c<40?0x6ed9eba1+(a^o^s):c<60?(a&o|a&s|o&s)-0x70e44324:(a^o^s)-0x359d3e2a,l=s,s=o,o=a<<30|a>>>2,a=i,i=p}r[0]=r[0]+i|0,r[1]=r[1]+a|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+l|0},_doFinalize:function(){var e=this[n("0x47")],t=e.words,r=8*this._nDataBytes,i=8*e[n("0x19")];return t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=Math.floor(r/0x100000000),t[15+(i+64>>>9<<4)]=r,e[n("0x19")]=4*t[n("0x63")],this[n("0x2a")](),this._hash},clone:function(){var e=s[n("0x71")].call(this);return e[n("0x87")]=this[n("0x87")].clone(),e}}),i.SHA1=s._createHelper(c),i[n("0x80")]=s[n("0x8a")](c),e.exports=i[n("0x8b")]},
407"./src/alphabet.js":function(e,t,n){n.r(t),n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return a}),n.d(t,"d",function(){return o}),n.d(t,"e",function(){return s}),n.d(t,"f",function(){return l}),n.d(t,"g",function(){return u}),n.d(t,"h",function(){return c}),n.d(t,"i",function(){return d}),n.d(t,"j",function(){return p}),n.d(t,"k",function(){return f}),n.d(t,"l",function(){return h}),n.d(t,"m",function(){return m}),n.d(t,"n",function(){return g}),n.d(t,"o",function(){return y}),n.d(t,"p",function(){return v}),n.d(t,"q",function(){return b}),n.d(t,"r",function(){return _}),n.d(t,"s",function(){return S}),n.d(t,"t",function(){return E}),n.d(t,"u",function(){return k}),n.d(t,"v",function(){return A}),n.d(t,"w",function(){return T}),n.d(t,"x",function(){return x}),n.d(t,"y",function(){return w}),n.d(t,"z",function(){return C});var r="a",i="b",a="c",o="d",s="e",l="f",u="g",c="h",d="i",p="j",f="k",h="l",m="m",g="n",y="o",v="p",b="q",_="r",S="s",E="t",k="u",A="v",T="w",x="x",w="y",C="z"},
407"./src/index.js":function(e,t,r){r.r(t),r.d(t,n("0x9"),function(){return P});var i=r(n("0x8c")),a=r.n(i),o=r(n("0x8d")),s=r.n(o),l=r(n("0x8e")),u=r.n(l),c=r(n("0x8f")),d=c.a,p=c.b,f=c.c,h=c.d,m=c.e,g=c.g,y=c.i,v=c.k,b=c.l,_=c.m,S=c.n,E=c.o,k=c.p,A=c.r,T=c.s,x=c.t,w=c.u,C=c.v,I=c.x,O=function(){for(var e=arguments[n("0x63")],t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t[n("0x90")]()[n("0x67")]("")},R=[m,h,y,A,p,"-",v,b,d,x,T,"-",m,h,y,I,E,"-",b,m,p,d,_,"-",k,d,A,"-",v,S,d,b,f,"-",S,m,C,m,"-",S,A,m,p,"-",d,p,_,d,T,"-",x,m,v,T,d,f];function P(){var e=0<arguments[n("0x63")]&&void 0!==arguments[0]?arguments[0]:O[n("0x62")](void 0,R);return function(t){var r=t[n("0x91")],i=t.endpoint,o=t.version,l=t[n("0x92")],c=new Date()[n("0x93")]()+6e5,p=a.a[n("0x2c")](r,e),v="".concat(p)[n("0x94")](/\+/g,"-").replace(/\//g,"_")[n("0x94")](/=+$/,""),b=u()(c+v,e),_=s.a[n("0x4b")](b),E=i.replace(/\/$/,""),C=O(m,A,w,x,d,S,g,y,T),R=O(T,m,A,y,k,I,m),P=O(x,f,m,A,y,h,m,A),N=""[n("0x3e")](C,"=")[n("0x3e")](_)+"&"+"".concat(R,"=")[n("0x3e")](c)+(void 0!==l&&l?"&"[n("0x3e")](P,"=true"):"");return""[n("0x3e")](E,"/")[n("0x3e")]("v2"===(void 0===o?"v1":o)?"v2/":"")[n("0x3e")](v,"?")[n("0x3e")](N)}}}
407})},39352:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapClipContentResourceToLegacyContentResource=t.buildContentResourceForClip=t.buildContentResourceForClipInOnDemandChannel=void 0;let r=n(42070),i=n(41639),a=n(6904);function o(e){return{ageRating:(0,i.minimumAgeFromAgeRating)(e),ageRatingDescriptors:(0,i.descriptorFromAgeDescriptor)(e),brandName:(0,r.brandNameFromBrands)(e),contentType:"clip",externalTrackingId:(0,a.externalTrackingIdFromTracking)(e),id:e.video.id,infOnlineCode:(0,a.infOnlineCodeFromTracking)(e),path:e.path,title:e.title,tvShowId:e.id}}t.buildContentResourceForClipInOnDemandChannel=o,t.buildContentResourceForClip=function(e){let{clip:t}=e;return o(t)},t.mapClipContentResourceToLegacyContentResource=function(e){return{ageRating:e.ageRating.unwrapOr(void 0),ageRatingDescriptors:e.ageRatingDescriptors.unwrapOr(void 0),brandName:e.brandName.unwrapOr(""),contentType:"clip",externalTrackingId:e.externalTrackingId.unwrapOr(""),id:e.id,infOnlineCode:e.infOnlineCode.unwrapOr(""),title:e.title,tvShowId:e.tvShowId}}},39504:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUtmParametersApi=void 0;let r=n(47561),i=n(78664);t.createUtmParametersApi=(e={})=>{let{getClientUtmParameters:t}=e;return(0,i.createGetUtmParametersApi)({getClientUtmParameters:r.Maybe.of(t)})}},39545:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adModeSchema=void 0;let r=n(92712);t.adModeSchema=r.z.union([r.z.literal("linear"),r.z.literal("nonlinear")])},39549:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSomAdSchedulerApi=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47561),o=n(52408),s=n(27517),l=n(27504),u=n(84323),c=n(9837),d=n(68565),p=n(47286
407),f=["cdn.lemonpi.io"];t.createSomAdSchedulerApi=({adDecisionServiceProvider:e,brokenVastReporter:t,createAdScheduleWithNextMidrollEntry:n,createSomqueryUrl:h,createUuid:m,fetchAdMediaFiles:g,fetchAndCreateDynamicAdScheduleEntry:y,errorReporter:v,getAdClientInformation:b,getTheAdexUserId:_,nonceManager:S,referrerUrlManager:E,logger:k,random:A,store:T,toggleRouter:x,utmParametersApi:w},C)=>{let{adServerOverrideUrl:I,joynCountry:O,referrerUrl:R,somqueryBaseUrl:P,site:N,playerPackageName:L,fallbackToSourceAssetOnFailure:j=!1}=C,M=r.__rest(C,["adServerOverrideUrl","joynCountry","referrerUrl","somqueryBaseUrl","site","playerPackageName","fallbackToSourceAssetOnFailure"]),D=({hash:e,rawVast:n})=>{t.sendData({errorMessage:`Failed to fetch ad media files with hash ${e}, VAST logged for tracing`,vastString:n},{forceVastTracing:!0})},F=(0,d.createAdScheduleOverlay)({createSomqueryUrl:h,errorReporter:v,logger:k,random:A,store:T,toggleRouter:x}),U=t=>r.__awaiter(void 0,void 0,void 0,function*(){let r=yield w.getUtmParameters(),i=yield S.getNonceString(),{contentResource:a,entitlementTokenPayload:o}=T.getState(),s=yield E.getReferrerUrl({assetId:null==a?void 0:a.id,contentType:null==a?void 0:a.contentType});return y({adDecisionServiceProvider:e,createAdScheduleNextMidrollEntry:n,createSomqueryUrl:h,errorReporter:v,logger:k,random:A,store:T,toggleRouter:x},Object.assign(Object.assign({},C),{entitlementTokenPayload:o,joynCountry:O,nonceString:i.unwrapOr(void 0),playerState:t,referrerUrl:s.unwrapOr((0,u.validateAndSanitizeUrl)(R).unwrapOr(void 0)),utmParameters:r.unwrapOr({})}))}),V=()=>r.__awaiter(void 0,void 0,void 0,function*(){let e=yield b();if(!i.default.nonEmptyString(e.theAdexTargetingId)){let t=a.Maybe.of(_).map(e=>e("ad-scheduler-som")).andThen(e=>e.toMaybe()).unwrapOr(e.theAdexTargetingId);return Object.assign(Object.assign({},e),i.default.nonEmptyString(t)&&{theAdexTargetingId:t})}return e});return{get:({childPlaylistIndex:t,contentResource:n,playerState:i,entitlementTokenPayload:o,encodedEntitlementJsonWebToken:s})=>r.__awaiter(void 0,void 0,void 0,function*(){var r;let l=x.getFeatureValue("advertisement-quality-assurance").unwrapOr(!1),d=(0,p.resolveIfIsOnDemandChannelContentResource)(n,t);T.resetState(),T.setState({allowAdServerOverride:l,childPlaylistIndex:t,contentResource:d,encodedEntitlementJsonWebToken:a.Maybe.just(s),entitlementTokenPayload:a.Maybe.just(o)});let{isLivestream:f}=i,m=yield e.get(i,d,"preroll",a.Maybe.just(o),a.Maybe.just(s));T.setState({adLoad:m}),k.log("determined dynamic adLoad",m);let g="midroll"===m.breakType&&m.desiredAdCount>0,y="preroll"===m.breakType&&m.desiredAdCount>0;if(!y&&f||void 0===P)return{};let b=yield V();T.setState({adClientInformation:b}),k.log("got adClientInformation",b);let _=yield w.getUtmParameters(),C=yield S.getNonceString(),{id:L,contentType:j}=d,D=yield E.getReferrerUrl({assetId:L,contentType:j}),U=Object.assign(Object.assign({},M),{adClientInformation:b,adLoad:m,contentResource:d,entitlementTokenPayload:a.Maybe.just(o),joynCountry:O,nonceString:C.unwrapOr(void 0),playerState:i,referrerUrl:D.unwrapOr((0,u.validateAndSanitizeUrl)(R).unwrapOr(void 0)),site:N,somqueryBaseUrl:P,utmParameters:_.unwrapOr({})}),B={createSomqueryUrl:h,errorReporter:v,logger:k,random:A,toggleRouter:x},G={adServerOverrideUrl:a.Maybe.of(I),allowAdServerOverride:l,type:"linear"},Y=F.getOverlayEntry({adLoad:m,adServerOverrideUrl:a.Maybe.of(I),allowAdServerOverride:l,somqueryOptions:U}).unwrapOr({});if(y?(Y.start=(0,c.createAdScheduleEntry)(B,Object.assign(Object.assign({},G),{somqueryOptions:Object.assign(Object.assign({},U),{maxAdBreakDuration:m.desiredBreakDuration,maxAdCount:m.desiredAdCount,rollIndex:0,somqueryRollPlacement:"precontent"})})),k.log("added preroll block",{sources:Y.start.sources})):k.log("preroll not added",{hasPreroll:y}),!f&&g){let e=`${m.startTimeOffset}s`;Y[e]=(0,c.createAdScheduleEntry)(B,Object.assign(Object.assign({},G),{somqueryOptions:Object.assign(Object.assign({},U),{maxAdBreakDuration:m.desiredBreakDuration,maxAdCount:m.desiredAdCount,rollIndex:0,somqueryRollPlacement:"midcontent"})})),k.log("added midroll block",{offset:e,sources:null==(r=Y[e])?void 0:r.sources})}else k.log("midrolls not added",{hasMidrolls:g,isLivestream:f});return Y}
407),update:(t,n,u)=>r.__awaiter(void 0,void 0,void 0,function*(){let{type:c,adCursor:d}=n,{isLivestream:h}=u,{displayedAdsInAdBlock:y,entitlementTokenPayload:v}=T.getState();if("adimpression"===c&&T.setState({displayedAdsInAdBlock:y+1}),"adrollbeforestart"===c){let e=yield V();T.setState({adClientInformation:e,blockId:m(),blockPosition:T.getState().blockPosition+1,displayedAdsInAdBlock:0})}if("seekTo"===c&&!h)return U(u);if(!d)return t;let{adLoad:b}=T.getState();if("adrollend"===c){let t=v.mapOr(void 0,e=>e.user_id),{adScheduleTimeOffset:n}=d,r=F.checkAndDecreaseRemainingAdCount({adScheduleTimeOffset:a.Maybe.of(n)});if(i.default.nonEmptyString(t)&&b&&(yield e.update({hasRollEnded:!0}),!h&&!r))return U(u)}if("adresourceresolvefailed"===c&&k.error("adresourceresolvefailed",n),"adresourceresolved"===c)return r.__awaiter(void 0,void 0,void 0,function*(){let{isAdBlock:e}=u,{adCursor:i}=n;if(!i)return t;let a=(0,p.getAdSourceByAdCursor)(t,i),{adIndex:c}=i;if(!(null==a?void 0:a.resource)||"number"!=typeof c)return t;let d=((e,t)=>{let{adIndex:n}=t,{resource:r}=e;if("number"==typeof n&&(0,l.isDuplicate)(r,n)){let t=`removing duplicate from adResource at adIndex=${n}`;return k.log(t),{rawVast:e.rawVast,resource:(0,l.invalidateAdResource)(r,n,"duplicate")}}return e})(e?(0,l.removeManifestMediaFiles)(a,c):yield r.__awaiter(void 0,void 0,void 0,function*(){let{resource:e}=a;return(0,l.getFirstCreative)(e,c).chain(t=>(0,l.getMediaFiles)(t).chain(n=>{let i=(0,l.getMezzanine)(t).unwrapOr(void 0);return(0,o.getHighestResolutionMediafile)({mediafiles:n,mezzanine:i}).map(o=>r.__awaiter(void 0,void 0,void 0,function*(){let r=(0,l.getInlineAdId)(e,c).unwrapOr(""),u=(0,l.getAdTitle)(e,c).unwrapOr(void 0),d=(0,l.getWrapperChainUris)(e,c),{adSourceHashParameters:p,hash:h}=(0,s.createTranscodingHash)(f)(r,t,o);return(({fetchAdMediaFilesResult:e,adSource:t,adIndex:n,hash:r})=>{let{rawVast:i,resource:a}=t;if(e.isErr())return e.error.reason.startsWith("Timeout")?{rawVast:i,resource:(0,l.invalidateAdResource)(a,n,"ad-source-request-timeout")}:(D({hash:r,rawVast:i}),j)?t:{rawVast:i,resource:(0,l.invalidateAdResource)(a,n,"transcoding-error")};let o=e.value.get(r);return o?{rawVast:i,resource:(0,l.replaceMediaFiles)(a,n,o.mediafiles)}:(D({hash:r,rawVast:t.rawVast}),j)?t:{rawVast:i,resource:(0,l.invalidateAdResource)(a,n,"transcoding-error")}})({adIndex:c,adSource:a,fetchAdMediaFilesResult:yield g(new Map([[h,{adInformation:Object.assign(Object.assign({},p),{adTitle:u}),mediafiles:n,mezzanine:i,vastURIs:d}]])),hash:h})}))})).unwrapOr(a)}),i);return(0,p.replaceAdSource)(t,i,d)});return t})}}},39568:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createViewabilityObserver=void 0;let r=n(82747);t.createViewabilityObserver=e=>(0,r.createViewabilityObserverApi)({IntersectionObserver:globalThis.IntersectionObserver,document:globalThis.document},e)},39599:(e,t,n)=>{"use strict";n.d(t,{Wk:()=>u,eO:()=>o,yJ:()=>l});var r=n(12242),i=n(38817),a=n(8142);class o extends Error{constructor(e,...t){var n,a,l;let{nodes:u,source:c,positions:d,path:p,originalError:f,extensions:h}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=p?p:void 0,this.originalError=null!=f?f:void 0,this.nodes=s(Array.isArray(u)?u:u?[u]:void 0);let m=s(null==(n=this.nodes)?void 0:n.map(e=>e.loc).filter(e=>null!=e));this.source=null!=c?c:null==m||null==(a=m[0])?void 0:a.source,this.positions=null!=d?d:null==m?void 0:m.map(e=>e.start),this.locations=d&&c?d.map(e=>(0,i.g)(c,e)):null==m?void 0:m.map(e=>(0,i.g)(e.source,e.start));let g=(0,r.Z)(null==f?void 0:f.extensions)?null==f?void 0:f.extensions:void 0;this.extensions=null!=(l=null!=h?h:g)?l:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=f&&f.stack?Object.defineProperty(this,"stack",{value:f.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,o):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let t of this.nodes)t.loc&&(e+="\n\n"+(0,a.V)(t.loc));else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+(0,a.C)(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function s(e){return void 0===e||0===e.length?void 0:e}function l(e){return e.toString()}function u(e){return e.toJSON()}},39730:e=>{e.exports={cdnName:"TELEFO",parsers:[{element:"host+type",headerName:"x-tcdn",regex:/Host:(.+)\sType:(.+)/}],requestHeaders:{"x-tcdn":"host"},parseType:function(e){if(e){if(-1!==e.indexOf("p")||-1!==e.indexOf("c"))return 1;else if(-1!==e.indexOf("i")||-1!==e.indexOf("m"))return 2}return 0}}},39856:(e,t)=>{"use strict";
407Object.defineProperty(t,"__esModule",{value:!0}),t.createStore=t.createPlaybackState=void 0,t.createPlaybackState=()=>({availableAudioTracks:null,duration:null,internalId:void 0,isNativePlayback:!1,isSeeking:!1,isStalled:!1,isUserSeeking:!1,playbackStarted:!1,position:0,selectedAudioTrack:null,startOffset:0,startupComplete:!1,subtitles:null,videoQuality:null}),t.createStore=e=>{var n;let r=Object.assign({isDestroyed:!1,isHandlingPlaybackEvents:!1,isMuted:!1,isUserActivated:null!=(n=null==e?void 0:e.isUserActivated)?n:null,volume:0},(0,t.createPlaybackState)()),i={getState:()=>r,resetPlaybackState(){i.setState((0,t.createPlaybackState)())},setState(e){let t=Object.keys(e),n=Object.assign({},e);r=Object.assign({},r),t.forEach(e=>{if(!Object.prototype.hasOwnProperty.call(r,e))throw Error(`Can not set unknown store key "${e}"`)}),Object.assign(r,n)}};return i}},39901:(e,t,n)=>{"use strict";n.d(t,{m:()=>d});var r=n(82777),i=n(19612),a=n(99999),o=n(27432),s=n(33184),l=n(66983),u=n(52817),c=n(11291);function d(e,t,n,d){var f,h;let{normalizeDepth:m=3,normalizeMaxBreadth:g=1e3}=e,y={...t,event_id:t.event_id||n.event_id||(0,r.eJ)(),timestamp:t.timestamp||(0,i.lu)()},v=n.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:n,release:r,dist:i,maxValueLength:a=250}=t;"environment"in e||(e.environment="environment"in t?n:u.U),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==i&&(e.dist=i),e.message&&(e.message=(0,o.xv)(e.message,a));let s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=(0,o.xv)(s.value,a));let l=e.request;l&&l.url&&(l.url=(0,o.xv)(l.url,a))})(y,e),f=y,(h=v).length>0&&(f.sdk=f.sdk||{},f.sdk.integrations=[...f.sdk.integrations||[],...h]),void 0===t.type&&function(e,t){let n,r=s.OW._sentryDebugIds;if(!r)return;let i=p.get(t);i?n=i:(n=new Map,p.set(t,n));let a=Object.keys(r).reduce((e,i)=>{let a,o=n.get(i);o?a=o:(a=t(i),n.set(i,a));for(let t=a.length-1;t>=0;t--){let n=a[t];if(n.filename){e[n.filename]=r[i];break}}return e},{}),o=new Set;try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.filename&&o.add(e.filename)})})}catch(e){}e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let l=e.debug_meta.images;o.forEach(e=>{a[e]&&l.push({type:"sourcemap",code_file:e,debug_id:a[e]})})}(y,e.stackParser);let b=d;n.captureContext&&(b=c.H.clone(b).update(n.captureContext));let _=(0,a.XW)(y);if(b){if(b.getAttachments){let e=[...n.attachments||[],...b.getAttachments()];e.length&&(n.attachments=e)}_=b.applyToEvent(y,n)}return _.then(e=>"number"==typeof m&&m>0?function(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,l.S8)(e.data,t,n)}}))},...e.user&&{user:(0,l.S8)(e.user,t,n)},...e.contexts&&{contexts:(0,l.S8)(e.contexts,t,n)},...e.extra&&{extra:(0,l.S8)(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,l.S8)(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>(e.data&&(e.data=(0,l.S8)(e.data,t,n)),e))),r}(e,m,g):e)}let p=new WeakMap},39909:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.threeCompilationItemsGraphQlQuerySchema=t.compilationItemOnDemandChannelSchema=t.compilationItemBaseSchema=t.compilationItemWithTitleOnlySchema=void 0;let r=n(47561),i=n(92712),a=n(493),o=n(78492),s=n(16002),l=n(66054),u=n(20795),c=n(26349),d=n(65317),p=n(76700),f=n(62854),h=n(7930),m=n(9334),g=n(16104),y=i.z.object({artLogoImage:l.imageUrlSchema,brands:a.brandsSchema,features:i.z.array(o.featureSchema).nullable().transform(r.Maybe.of),heroLandscapeImage:u.imageVibrantColorSchema,id:s.idSchema,title:i.z.string()}).strict().nullable().transform(r.Maybe.of);t.compilationItemWithTitleOnlySchema=i.z.object({__typename:i.z.literal("CompilationItem"),title:i.z.string()}).strict(),t.compilationItemBaseSchema=t.compilationItemWithTitleOnlySchema.extend({ageRating:d.ageRatingSchema,licenseTypes:c.licenseTypesSchema,path:p.pathSchema,productPlacement:f.productPlacementSchema,thumbnailImage:l.imageUrlSchema,tracking:m.trackingSchema,video:g.videoSchema}).strict();let v=t.compilationItemBaseSchema.extend({compilation:y,posterImage:l.imageUrlSchema,resumePosition:h.resumePositionSchema}).strict();t.compilationItemOnDemandChannelSchema=v.omit({resumePosition:!0}).strict();let b=v.merge(i.z.object({nextCompilationItem:v.merge(i.z.object({nextCompilationItem:v.nullable().transform(r.Maybe.of)}).strict()).nullable().transform(r.Maybe.of)}).strict());t.threeCompilationItemsGraphQlQuerySchema=i.z.object({compilationItem:b}).strict()}
407,40012:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPlaybackService=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=r.__importDefault(n(37153)),o=n(47561),s=n(92712),l=n(47397),u=n(9404),c=n(30936),d=n(5211),p=s.z.record(s.z.object({forced:s.z.boolean(),label:s.z.string().optional().nullable(),language:u.languageTagSchema,role:s.z.string().optional().nullable(),url:s.z.string().optional().nullable()}).strict()).nullable();function f([,e]){return e.forced}function h(e){return([,t])=>t.language===e}function m(e){let[t]=e;return t}let g={adBlockerStateChanged:"playback:adBlockerStateChanged",adClickThroughBlocked:"playback:adClickThroughBlocked",adClickThru:"playback:adClickThrough",adDurationChange:"playback:adSetDuration",adFullscreenEntered:"playback:adFullscreenEntered",adFullscreenExited:"playback:adFullscreenExited",adImpression:"playback:adImpression",adLoaded:"playback:adLoaded",adNonLinearAdHidden:"playback:adNonLinearAdHidden",adNonLinearAdShown:"playback:adNonLinearAdShown",adNonLinearAdStarted:"playback:adNonLinearAdStarted",adNonLinearAdStopped:"playback:adNonLinearAdStopped",adPaused:"playback:adPaused",adPlaying:"playback:adPlaying",adPositionChange:"playback:adPositionChange",adRollEmpty:"playback:adRollEmpty",adRollFinished:"playback:adRollFinished",adRollMarkersUpdate:"playback:adRollMarkersUpdate",adSchedulerTimedOut:"playback:adSchedulerTimedOut",adSkipped:"playback:adSkipped",adSlotRequested:"playback:adSlotRequested",adStallEnded:"playback:adStallEnded",adStallStarted:"playback:adStallEnded",adStarted:"playback:adStarted",adStopped:"playback:adStopped",adVideoComplete:"playback:adFinished",adVideoFirstQuartile:"playback:adVideoFirstQuartile",adVideoMidpoint:"playback:adVideoMidpoint",adVideoQualityChanged:"playback:adVideoQualityChanged",adVideoThirdQuartile:"playback:adVideoThirdQuartile",adVolumeChange:"playback:adVolumeChanged",playbackFinishedFollowedByAds:"playback:finishedFollowedByAds"},y={airPlayAvailableStateChanged:"playback:airPlayAvailableStateChanged",airPlayEntered:"playback:airPlayEntered",airPlayExited:"playback:airPlayExited",appBackgrounded:"playback:appBackgrounded",appForegrounded:"playback:appForegrounded",audioTrackSelected:"playback:audioTrackSelected",audioTracksUpdated:"playback:audioTracksUpdated",bufferedTimeRangesUpdate:"playback:bufferedTimeRangesUpdate",durationUpdate:"playback:setDuration",fullscreenEntered:"playback:fullscreenEntered",fullscreenExited:"playback:fullscreenExited",pictureInPictureAvailableStateChanged:"playback:pictureInPictureAvailabilityChanged",pictureInPictureEntered:"playback:pictureInPictureEntered",pictureInPictureExited:"playback:pictureInPictureExited",play:"playback:play",playbackFinished:"playback:finished",positionChange:"playback:positionChange",seekableRangeUpdate:"playback:seekableRangeUpdate",stallEnded:"playback:stallEnded",stallStarted:"playback:stallStarted",subtitleCuesChanged:"playback:subtitleCuesChanged",videoQualityChanged:"playback:videoQualityChanged"};t.createPlaybackService=function(e){let t,{dispatch:n,platformPlayerController:s,logEvents:u=!1,setInterval:v=globalThis.setInterval,clearInterval:b=globalThis.clearInterval}=e,_={deferPlaybackCalls:!0,isResettingPlayer:!1,playbackCalls:[],preventPlaybackCalls:!1,volume:null},S=null,E=!1,k=function(e){let{getContentPosition:t,setAdScheduler:n}=e;return"function"==typeof t&&"function"==typeof n}(s),A=!1,T=!1,x=!1,w=(e,...t)=>{if(A)throw Error(`PLAYBACK message "${e}" not dispatched because instance is destroyed`);return n(e,...t)},C=(...e)=>r.__awaiter(this,void 0,void 0,function*(){_.isResettingPlayer=!0;try{yield s.reset(...e)}catch(e){}_.isResettingPlayer=!1});function I(e){Object.entries(e).forEach(([e,t])=>{s.on(e,e=>{w(t,e)})})}function O(e){return function(...t){return r.__awaiter(this,void 0,void 0,function*(){let n=(0,a.default)();_.preventPlaybackCalls?n.reject(Error("Not allowed")):_.deferPlaybackCalls?_.playbackCalls.push([e,t,n.resolve]):n.resolve(e(...t)),yield n.promise})}}function R(){if(null!==S){let e=function(e){let t=Object.entries(e).filter(f);return o.Maybe.find(h("de"),t).orElse(()=>o.Maybe.find(h("en"),t)).orElse(()=>o.Maybe.first(t)).map(m)}(S);e.isJust()&&s.selectSubtitle({id:e.value,origin:"api"})}}
407return{addAdViewabilityProvider(e){if(!k)throw Error(".addAdViewabilityProvider not available");s.addAdViewabilityProvider(e)},allowPlaybackCalls(){_.preventPlaybackCalls=!1},destroy(){return r.__awaiter(this,void 0,void 0,function*(){return A=!0,b(t),s.destroy()})},disableBuffering:s.disableBuffering,enableBuffering:s.enableBuffering,enterAirPlay:s.enterAirPlay,enterFullscreen:s.enterFullscreen,enterPictureInPicture:s.enterPictureInPicture,exitAirPlay:s.exitAirPlay,exitFullscreen:s.exitFullscreen,exitPictureInPicture:s.exitPictureInPicture,getBoundingClientRect:s.getBoundingClientRect,getContentPosition:k?s.getContentPosition:s.getPosition,getDuration:s.getDuration,getPosition:s.getPosition,getSeekableRange:s.getSeekableRange,getVideoQuality:s.getVideoQuality,getVolume:s.getVolume,isAirPlayAvailable:()=>s.isAirPlaySupported,isFullscreenModeSupported:()=>s.isFullscreenModeSupported,isLivestream:s.isLivestream,isMuted:s.isMuted,isPictureInPictureAvailable:s.isPictureInPictureAvailable,isPlaying:s.isPlaying,mute:s.mute,openAdClickThrough(){if(!k)throw Error(".openAdClickThrough not available");s.openAdClickThrough()},pause:O(s.pause),play:O(({origin:e})=>r.__awaiter(this,void 0,void 0,function*(){if(s.isPlaybackFinished())return void w("playback:replay",{origin:e});try{yield s.play({origin:e});return}catch(e){throw w("playback:playRejected"),e}})),preventPlaybackCalls(){C(),_.preventPlaybackCalls=!0},reset(){return r.__awaiter(this,void 0,void 0,function*(){return b(t),_.deferPlaybackCalls=!0,_.playbackCalls=[],C()})},resetPlaybackCalls(){_.deferPlaybackCalls=!0,_.playbackCalls=[]},seekEnd(){T=!1,s.seekEnd()},seekTo:O(s.seekTo),selectAudioTrack:s.selectAudioTrack,selectSubtitle:s.selectSubtitle,sendNonLinearAdEvent(e){if(!k)throw Error(".sendNonLinearAdEvent not available");let{id:t}=e,n=r.__rest(e,["id"]);s.handleNonLinearAdEvent(Object.assign(Object.assign({},n),{id:o.Maybe.of(t)}))},setContentAndSources({childPlaylistIndex:e,contentResource:t,encodedEntitlementJsonWebToken:n,entitlementTokenPayload:i,internalId:a,sources:o,startOffset:l}){return r.__awaiter(this,void 0,void 0,function*(){let{duration:r,usedSource:u}=k?yield s.setContentAndSources({childPlaylistIndex:e,contentResource:t,encodedEntitlementJsonWebToken:n,entitlementTokenPayload:i,options:{internalId:a,mediaId:t.id,startOffset:l.unwrapOr(void 0)},sources:o}):yield s.setSources(o,{internalId:a,mediaId:t.id,startOffset:l.unwrapOr(void 0)});T&&(w("playback:seeked"),T=!1),w("playback:setDuration",{duration:r}),w("playback:sourcesLoaded",{usedSource:u}),_.deferPlaybackCalls=!1,_.playbackCalls.splice(0).forEach(([e,t,n])=>{try{n(e(...t))}catch(e){d.logger.log("flushing playback call threw an error:",e)}})})},setVolume:s.setVolume,skipAd(){k&&s.skipAd()},start(){if(x)throw Error("Canât start playback service again, it has been already started");x=!0,["pause","error","pause","paused","playing","ready","seek","seeked","sourceLoad","volumeChanged",...Object.keys(y)].forEach(e=>{s.on(e,t=>{u&&d.logger.log(`receiving playbackService::${e} with`,t),_.preventPlaybackCalls&&!_.isResettingPlayer&&(d.logger.log(`preventing playback with reset on playbackService::${e}`),C())})}),s.on("error",e=>{b(t),w("playback:error",{error:c.PlayerError.fromUnknown(e.error,"playback"),usedSource:e.usedSource})}),s.on("playing",()=>{b(t),w("playback:playing")}),s.on("ready",e=>{b(t),_.volume=e.volume,w("playback:ready",e)}),s.on("volumeChanged",e=>{_.volume=e.volume,w("playback:volumeChanged",e)}),s.on("paused",()=>{s.isLivestream()&&(b(t),t=v(()=>{w("playback:seekableRangeUpdate",{seekableRange:s.getSeekableRange()})},500)),w("playback:paused")}),s.on("seek",e=>{T=!0,w("playback:seek",e)}),s.on("seeked",()=>{w("playback:seeked"),T=!1}),s.on("subtitlesUpdated",e=>{if((0,l.isRecord)(e)&&(0,l.hasProperty)(e,"ad"))return void w("playback:subtitlesUpdated",null);let t=p.safeParse(e);t.success?(S=t.data,w("playback:subtitlesUpdated",t.data),E||R()):w("playback:error",{error:new c.PlayerError("playback_invalid_subtitle_tracks",`The stream contains unexpected subtitles (${function(e){if((0,l.isRecord)(e)){let t=Object.entries(e).map(([e,t])=>
407{if((0,l.isRecord)(t)){let n=Object.keys(t).join(",");return i.default.string(t.language)?`${e}: [language: ${t.language}, keys: ${n}]`:`${e}: [keys: ${n}]`}return`${e}: ${typeof t}`});return`invalid subtitles: ${t.join(", ")}`}return`invalid subtitles: ${typeof e}`}(e)})`)})}),s.on("subtitleSelected",e=>{E=!0,w("playback:subtitleSelected",e)}),s.on("subtitleUnselected",e=>{E=!1,w("playback:subtitleUnselected",e),R()}),I(y),k&&(s.on("adRollStarted",e=>{T&&(w("playback:seeked"),T=!1),w("playback:adRollStarted",e)}),s.on("adError",(e={})=>{let t,{error:n}=e,a=r.__rest(e,["error"]);if((0,l.isRecord)(n)&&(i.default.string(n.type)&&(t=n.type),i.default.string(n.code)&&(t=n.code)),"ad_blocked"===t)return void w("playback:setNoAdNoContent",Object.assign(Object.assign({},a),{error:c.PlayerError.fromUnknown(n,"ad_blocked")}));w("playback:adError",Object.assign(Object.assign({},e),{error:c.PlayerError.fromUnknown(n,"ad_scheduler_error")}))}),I(g))},unmute({origin:e}){0===_.volume&&s.setVolume(50,{origin:e}),s.unmute({origin:e})}}}},40077:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSubtitles=void 0;let r=n(70015).__importDefault(n(19577)),i=n(36994);function a(e){return"forced"===e.kind}function o(e){return"subtitles"===e.kind||a(e)}t.createSubtitles=({videoElement:e,emit:t,isIos:n=i.isIos})=>{let s,l,u=!1,c=(...e)=>{u||t(...e)};function d(e){var t;return[].slice.call(null!=(t=e.activeCues)?t:[])}function p(e){c("subtitleCuesChanged",{cues:d(e.target)})}function f(){let t={items:[],subtitleSourceMap:{}},n=e.textTracks.length-1;for(let r=e.textTracks.length-1;r>=0;r-=1){let i=e.textTracks[r];if(!i)throw Error(`No track at ${r}`);if(!o(i)||!i.language)continue;let s=n.toString(),l=!!t.subtitleSourceMap[s],u={forced:a(i),label:i.label,language:i.language};t.subtitleSourceMap[s]=u,t.items.push({id:s,overriddenById:l,source:u,track:i}),n-=1}return t.items.reverse(),t}let h=n()?"showing":"hidden",m=e=>{e.oncuechange=p,e.default=!0,e.mode=h,c("subtitleCuesChanged",{cues:d(e)})},g=e=>{e.default=!1,e.mode="disabled",e.oncuechange=null},y={clear:()=>{e.childNodes.forEach(e=>{"TRACK"===e.nodeName&&o(e)&&e.remove()}),c("subtitleCuesChanged",{cues:[]}),c("subtitlesUpdated",null)},destroy:()=>{u=!0,y.clear(),e.textTracks.onaddtrack=null,e.textTracks.onchange=null},getAvailableSubtitles:()=>f().subtitleSourceMap,select(e){let t;l=e;let{id:n,origin:i}=e,{items:a}=f(),o=a.filter(e=>!e.overriddenById);r.default.string(n)&&(t=o.find(e=>n===e.id));let u=t,d=u&&("disabled"!==u.track.mode||u.track.default||u.track.oncuechange===p),h=s;s=u,a.filter(({track:e})=>e!==(null==u?void 0:u.track)).forEach(({track:e})=>{g(e)}),u||c("subtitleCuesChanged",{cues:[]}),u&&!0!==d&&m(u.track),(null==h?void 0:h.track)!==(null==s?void 0:s.track)&&(!r.default.undefined(s)&&r.default.string(s.id)?c("subtitleSelected",{id:s.id,origin:i,subtitle:s.source}):c("subtitleUnselected",{origin:i}))}};return e.textTracks.onchange=()=>{let{track:e}=null!=s?s:{};(null==e?void 0:e.mode)==="disabled"&&(m(e),f().items.map(({track:e})=>e).filter(t=>t!==e&&"disabled"!==t.mode).forEach(g))},e.textTracks.onaddtrack=()=>{c("subtitlesUpdated",f().subtitleSourceMap),l&&y.select(l)},y}},40087:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createIcons=t.createIconClickFallbackImages=void 0;let r=n(15541);function i(){return{$program:r.convertToEmptyString,iconclickfallbackimage:[{$height:r.convertToEmptyString,$width:r.convertToEmptyString,alttext:r.convertToEmptyString,staticresource:[]}]}}t.createIconClickFallbackImages=i,t.createIcons=function(){return{icon:[{$alttext:r.convertToEmptyString,$height:r.convertToEmptyString,$program:r.convertToEmptyString,$width:r.convertToEmptyString,$xposition:r.convertToEmptyString,$yposition:r.convertToEmptyString,iconclicks:{iconclickfallbackimages:i(),iconclickthrough:r.convertToEmptyString},staticresource:[]}]}}},40167:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRatingAb16=void 0;let r=n(80263),i=n(83826);t.AgeRatingAb16=()=>(0,r.jsxs)(i.AgeRatingIcon,Object.assign({width:40,height:20},{children:[(0,r.jsx)("path",{d:"M38 0c1.105 0 2 .895 2 2v16c0 1.105-.895 2-2 2H2c-1.105 0-2-.895-2-2V2C0 .895.895 0 2 0h36zm0 1H2c-.513 0-.936.386-.993.883L1 2v16c0 .513.386.936.883.993L2 19h36c.513 0 .936-.386.993-.883L39 18V2c0-.513-.386-.936-.883-.993L38 1z",transform:"translate(-213 -333) translate(213 333)"}),(0,r.jsx)("path",{d:"M6.986 13.834l.497-1.29h3.178l.507 1.29h1.986L9.977 6.287H8.189L5 13.834h1.986zm3.057-2.88H8.1l.97-2.493.972 2.493zm7.106 3.013c.36 0 .702-.072 1.026-.215.324-.144.607-.34.85-.59.243-.25.434-.547.574-.889.14-.342.21-.712.21-1.109s-.07-.765-.21-1.103c-.14-.339-.331-.633-.574-.883-.243-.25-.526-.445-.85-.585-.324-.14-.666-.21-1.026-.21-.294 0-.561.035-.8.105-.24.07-.458.168-.657.293V6h-1.798v7.834h1.798v-.264c.199.125.418.222.657.292.239.07.506.105.8.105zm-.353-1.468c-.191 0-.38-.033-.568-.099-.188-.066-.366-.195-.536-.386v-1.677c.17-.192.348-.322.536-.392.187-.07.377-.105.568-.105.184 0 .353.035.507.105.155.07.287.165.398.287.11.121.196.26.259.419.063.158.094.33.094.513 0 .191-.031.368-.094.53-.063.162-.149.301-.26.42-.11.117-.242.21-.397.28-.154.07-.323.105-.507.105zm11.67 1.335v-1.511h-1.744V6.33h-1.114l-2.45.85v1.61l1.766-.496v4.028h-1.876v1.511h5.418zM31.96 14c.45 0 .86-.072 1.23-.215.372-.144.692-.34.96-.59.27-.25.477-.545.624-.883.147-.339.22-.703.22-1.093 0-.36-.067-.697-.203-1.01-.136-.312-.326-.586-.568-.821-.243-.236-.536-.425-.878-.569-.342-.143-.722-.226-1.142-.248l1.435-2.24H31.53l-1.953 3.1c-.191.317-.346.622-.463.917-.118.294-.177.595-.177.904 0 .376.072.73.215 1.065.144.335.348.627.613.877.264.25.583.447.954.59.372.144.785.216 1.241.216zm-.002-1.49c-.191 0-.366-.035-.524-.104-.158-.07-.294-.16-.408-.27-.114-.111-.203-.24-.265-.387-.063-.147-.094-.298-.094-.452 0-.14.028-.276.083-.409.055-.132.149-.294.281-.485l.044-.077c.118-.081.252-.144.403-.188.15-.044.31-.066.48-.066.191 0 .366.033.524.099.158.066.293.156.403.27.11.114.197.245.26.392.062.147.093.298.093.453 0 .154-.031.305-.094.452-.062.147-.
407149.278-.26.392-.11.114-.244.206-.402.276-.158.07-.333.104-.524.104z",transform:"translate(-213 -333) translate(213 333)"})]}))},40290:(e,t,n)=>{e.exports={Event:n(74613)}},40650:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createHandlers=t.updateDecisionService=t.createAdDecisionEndpointUrl=t.calculateAdWatchTimeBalance=t.calculateWatchTimeDelta=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(44539),o=n(47760),s=2,l=Date.now().toString().length;t.calculateWatchTimeDelta=({position:e,lastPosition:t,maxVariance:n=s})=>(e=>e>=n||e<0?0:e)(((e,t)=>(e-t)/(Math.round(e).toString().length===l?1e3:1))(e,t)),t.calculateAdWatchTimeBalance=(e,t)=>{if(!(!t||i.default.nullOrUndefined(e)))return Number(t.desiredBreakDuration.toFixed(2))-Number(e.toFixed(2))},t.createAdDecisionEndpointUrl=({adDecisionBaseUrl:e,route:t})=>`${null!=e?e:"https://dec-svc.abs-prd.s.joyn.de"}/${t}`,t.updateDecisionService=(e,{store:n,httpClient:a})=>r.__awaiter(void 0,void 0,void 0,function*(){let r=(0,t.createAdDecisionEndpointUrl)({adDecisionBaseUrl:e,route:"watchtime"}),{adRollWatchTime:s,allowAdLoadOverride:l,adLoad:u,lastWatchedBreakTimestamp:c,userId:d,videoWatchTimeSinceLastBreak:p}=n.getState();if(i.default.nullOrUndefined(d)||l)return;let f={adWatchTimeBalance:(0,t.calculateAdWatchTimeBalance)(s,u),adWatchTimeLastBreak:s,desiredBreakDuration:null==u?void 0:u.desiredBreakDuration,lastWatchedBreakTimestamp:c,userId:d,videoWatchTimeSinceLastBreak:p};try{yield a.putJson({payload:f,uri:r})}catch(e){throw new o.AdDecisionError(`[AD-DECISION-SERVICE] update watch time failed. Reason ${e.message}`,e,f)}}),t.createHandlers=(e,n)=>{let{store:i,httpClient:o,clock:l}
407=e,{adDecisionBaseUrl:u}=n;return{handleAdBegin:()=>{i.setState({adLastPlayHeadPosition:0})},handleAdComplete:()=>{i.setState({lastWatchedBreakTimestamp:l.getCurrentTimestamp()})},handleAdRollEnd:()=>{i.setState({videoWatchTimeSinceLastBreak:0})},handleAdRollStart:e=>{var t;i.setState({adRollWatchTime:0,rollPosition:null==(t=e.ad)?void 0:t.rollPosition})},handleLifecycleAbortAndEnd:()=>r.__awaiter(void 0,void 0,void 0,function*(){yield(0,t.updateDecisionService)(u,{httpClient:o,store:i}),i.setState({adRollWatchTime:void 0,videoWatchTimeSinceLastBreak:0})}),handleLifecycleCreate:e=>{let{resource:t}=e.content,n=0;(0,a.isContentResourceWithPlaybackStartPosition)(t)&&(n=t.playbackStartPosition),i.setState({lastPlayHeadPosition:n,sessionVideoWatchTime:0,videoWatchTimeSinceLastBreak:0})},handlePositionChange:e=>{"ad"===e.runtime.mediaType?((e,n)=>{let{position:r}=e.runtime;if(null!==r){let{adRollWatchTime:e,adLastPlayHeadPosition:i}=n.getState(),a=(0,t.calculateWatchTimeDelta)({lastPosition:i,position:r});n.setState({adLastPlayHeadPosition:r,adRollWatchTime:(null!=e?e:0)+a})}})(e,i):((e,n)=>{let{contentType:r}=e.content.resource,{position:i}=e.runtime,{lastPlayHeadPosition:a,sessionVideoWatchTime:o,videoWatchTimeSinceLastBreak:l}=n.getState();if(null!==i&&void 0!==a){let e=(0,t.calculateWatchTimeDelta)({lastPosition:a,maxVariance:"live"===r?5:s,position:i});n.setState({lastPlayHeadPosition:i,sessionVideoWatchTime:o+e,videoWatchTimeSinceLastBreak:l+e})}})(e,i)},handlePositionSeek:e=>{let{position:t}=e.runtime;null!==t&&i.setState({lastPlayHeadPosition:t})}}}},40890:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selectByPreferences=t.selectByPreferencesWith=void 0;let r=n(70015).__importDefault(n(69713));function i(e,t,n){let r=Array.from(t);return r.sort((t,r)=>{let i=e(t),a=e(r),o=n.indexOf(i),s=n.indexOf(a);return -1===o?1:-1===s||o<s?-1:+(o>s)}),r[0]}t.selectByPreferencesWith=i,t.selectByPreferences=function(e,t){return i(r.default,e,t)}},40891:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlayerComposition=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importStar(n(53239)),s=n(66976),l=n(37514),u=n(49061),c=n(78196),d=n(58177),p=n(19937),f=n(91274),h=n(75887),m=n(10365),g=n(24202),y=n(10995),v=n(15188),b=n(13327),_=n(16950),S=a.default.article({height:"100%",position:"relative"},({theme:e})=>({color:e.color.white,fontFamily:e.fontFamily,fontSize:e.fontSize.normal,fontWeight:e.fontWeight.normal})),E=a.default.div(u.absoluteStyles,{cursor:"none",zIndex:l.videoLayer});t.PlayerComposition=e=>{let{className:t,controlsInteractions:n,externalChildren:a}=e,l=(0,o.useContext)(s.PlayerContext),u=(0,o.useRef)(null),k=(0,o.useRef)(window.document.getRootNode()),A=null!==l.state.error,T=n.unwrapOr(void 0),x=a.unwrapOr({}),{EPGFavorite:w}=x,C=r.__rest(x,["EPGFavorite"]);return(0,o.useEffect)(()=>{if(null!==l.state.epgButtonId){let e=window.document.querySelector(`#${l.state.epgButtonId}`);if(e)return k.current=e,e.addEventListener("mouseenter",e=>null==T?void 0:T.onMouseMove(e)),e.addEventListener("mouseleave",e=>null==T?void 0:T.onMouseLeave(e)),()=>{e.removeEventListener("mouseenter",e=>null==T?void 0:T.onMouseMove(e)),e.removeEventListener("mouseleave",e=>null==T?void 0:T.onMouseLeave(e))}}return()=>{}},[l.state.epgButtonId,T]),(0,i.jsxs)(S,Object.assign({className:t,onClick:A||null==T?void 0:T.onClick,onMouseMove:A||null==T?void 0:T.onMouseMove,onMouseLeave:A||null==T?void 0:T.onMouseLeave,style:{cursor:l.state.mustShowCursor?"auto":"none"},ref:u},{children:[Object.values(C).map((e,t)=>(0,i.jsx)(o.default.Fragment,{children:e},t)),(0,i.jsx)(E,{}),(0,i.jsx)(d.ElectronicProgramGuideOverlay,{epgFavorite:w}),(0,i.jsx)(h.Poster,{}),(0,i.jsx)(b.Subtitles,{}),(0,i.jsx)(c.Controls,{}),(0,i.jsx)(m.RegistrationWallOverlay,{}),(0,i.jsx)(g.UpsellingOverlay,{}),(0,i.jsx)(v.SetupPersonalIdentificationNumber,{}),(0,i.jsx)(y.SetupInsufficientAgeError,{}),(0,i.jsx)(f.PlaybackOverlay,{}),(0,i.jsx)(_.UpNextLogic,{}),(0,i.jsx)(p.ErrorView,{})]}))}},41013:(e,t,n)=>{"use strict";
407Object.defineProperty(t,"__esModule",{value:!0}),t.validateVastJson=void 0;let r=n(47561),i=n(23751),a=n(33309),o=n(86753),s=n(74507);t.validateVastJson=({adSource:e,adIndex:t,isWithinWrapper:n=!1})=>{let{resource:l={}}=e,{vast:u}=l;return r.Maybe.of(u).toOkOrErr(new a.InvalidVastError(`vast ${i.AdErrorMessage.ERROR_TYPE_MISSING}`,{adSource:e})).andThen(({error:t,ad:r})=>(0,s.validateAdErrors)(e,t,r,n)).andThen(i=>i.match({Just:i=>n&&i.length>1?r.Result.err(new a.InvalidVastError("can not contain multiple ads within wrapper",{adSource:e})):i.length>0?(0,o.validateAd)({ad:i[n?0:t],adIndex:t,adSource:e}):r.Result.ok(e),Nothing:()=>r.Result.ok(e)}))}},41078:(e,t,n)=>{"use strict";function r(e,t){let n=0,r=e.length,i=!1;if(!t){if(e.startsWith("data:"))return null;for(;n<e.length&&32>=e.charCodeAt(n);)n+=1;for(;r>n+1&&32>=e.charCodeAt(r-1);)r-=1;if(47===e.charCodeAt(n)&&47===e.charCodeAt(n+1))n+=2;else{let t=e.indexOf(":/",n);if(-1!==t){let r=t-n,i=e.charCodeAt(n),a=e.charCodeAt(n+1),o=e.charCodeAt(n+2),s=e.charCodeAt(n+3),l=e.charCodeAt(n+4);if(5===r&&104===i&&116===a&&116===o&&112===s&&115===l);else if(4===r&&104===i&&116===a&&116===o&&112===s);else if(3===r&&119===i&&115===a&&115===o);else if(2===r&&119===i&&115===a);else for(let r=n;r<t;r+=1){let t=32|e.charCodeAt(r);if(!(t>=97&&t<=122||t>=48&&t<=57||46===t||45===t||43===t))return null}for(n=t+2;47===e.charCodeAt(n);)n+=1}}let t=-1,a=-1,o=-1;for(let s=n;s<r;s+=1){let n=e.charCodeAt(s);if(35===n||47===n||63===n){r=s;break}64===n?t=s:93===n?a=s:58===n?o=s:n>=65&&n<=90&&(i=!0)}if(-1!==t&&t>n&&t<r&&(n=t+1),91===e.charCodeAt(n))return -1!==a?e.slice(n+1,a).toLowerCase():null;-1!==o&&o>n&&o<r&&(r=o)}for(;r>n+1&&46===e.charCodeAt(r-1);)r-=1;let a=0!==n||r!==e.length?e.slice(n,r):e;return i?a.toLowerCase():a}function i(e){return e>=97&&e<=122||e>=48&&e<=57||e>127}function a(e){if(e.length>255||0===e.length||!i(e.charCodeAt(0))&&46!==e.charCodeAt(0)&&95!==e.charCodeAt(0))return!1;let t=-1,n=-1,r=e.length;for(let a=0;a<r;a+=1){let r=e.charCodeAt(a);if(46===r){if(a-t>64||46===n||45===n||95===n)return!1;t=a}else if(!(i(r)||45===r||95===r))return!1;n=r}return r-t-1<=63&&45!==n}function o({allowIcannDomains:e=!0,allowPrivateDomains:t=!1,detectIp:n=!0,extractHostname:r=!0,mixedInputs:i=!0,validHosts:a=null,validateHostname:o=!0}){return{allowIcannDomains:e,allowPrivateDomains:t,detectIp:n,extractHostname:r,mixedInputs:i,validHosts:a,validateHostname:o}}n.r(t),n.d(t,{getDomain:()=>b,getDomainWithoutSuffix:()=>S,getHostname:()=>y,getPublicSuffix:()=>v,getSubdomain:()=>_,parse:()=>g});let s=o({});function l(){return{domain:null,domainWithoutSuffix:null,hostname:null,isIcann:null,isIp:null,isPrivate:null,publicSuffix:null,subdomain:null}}function u(e){e.domain=null,e.domainWithoutSuffix=null,e.hostname=null,e.isIcann=null,e.isIp=null,e.isPrivate=null,e.publicSuffix=null,e.subdomain=null}function c(e,t,n,i,l){var u,c,d,p,f;let h=void 0===i?s:o(i);if("string"!=typeof e||(h.extractHostname?h.mixedInputs?l.hostname=r(e,a(e)):l.hostname=r(e,!1):l.hostname=e,0===t||null===l.hostname))return l;if(h.detectIp&&(l.isIp=function(e){if(e.length<3)return!1;let t=+!!e.startsWith("["),n=e.length;if("]"===e[n-1]&&(n-=1),n-t>39)return!1;let r=!1;for(;t<n;t+=1){let n=e.charCodeAt(t);if(58===n)r=!0;else if(!(n>=48&&n<=57||n>=97&&n<=102||n>=65&&n<=90))return!1}return r}(u=l.hostname)||function(e){if(e.length<7||e.length>15)return!1;let t=0;for(let n=0;n<e.length;n+=1){let r=e.charCodeAt(n);if(46===r)t+=1;else if(r<48||r>57)return!1}return 3===t&&46!==e.charCodeAt(0)&&46!==e.charCodeAt(e.length-1)}(u),l.isIp))return l;return h.validateHostname&&h.extractHostname&&!a(l.hostname)?(l.hostname=null,l):(n(l.hostname,h,l),2===t||null===l.publicSuffix||(l.domain=function(e,t,n){if(null!==n.validHosts){for(let e of n.validHosts)if(t.endsWith(e)&&(t.length===e.length||"."===t[t.length-e.length-1]))return e}let r=0;if(t.startsWith("."))for(;r<t.length&&"."===t[r];)r+=1;if(e.length===t.length-r)return null;let i=t.length-e.length-2,a=t.lastIndexOf(".",i);return -1===a?t:t.slice(a+1)}(l.publicSuffix,l.hostname,h),3===t||null===l.domain)||(c=l.hostname,l.subdomain=(d=l.domain).length===c.length?"":c.slice(0,-d.length-1),4===t))?l:(p=l.domain,f=l.publicSuffix,l.domainWithoutSuffix=p.slice(0,-f.length-1),l)}let d=function(){let e=[1,{}],t=[0,{city:e}];return[0,{ck:[0,{www:e}],jp:[0,{kawasaki:t,kitakyushu:t,kobe:t,nagoya:t,sapporo:t,sendai:t,yokohama:t}]}]}(),p=function(){let e=[1,{}],t=[2,{}],n=[1,{gov:e,com:e,org:e,net:e,edu:e}],r=[0,{"*":t}],i=[0,{relay:t}],a=[2,{id:t}],o=[1,{blogspot:t}],s=[1,{gov:e}],l=[0,{notebook:t,studio:t}
407],u=[0,{labeling:t,notebook:t,studio:t}],c=[0,{notebook:t}],d=[0,{labeling:t,notebook:t,"notebook-fips":t,studio:t}],p=[0,{notebook:t,"notebook-fips":t,studio:t,"studio-fips":t}],f=[0,{"*":e}],h=[0,{cloud:t}],m=[1,{co:t}],g=[0,{objects:t}],y=[2,{nodes:t}],v=[0,{my:r}],b=[0,{s3:t,"s3-accesspoint":t,"s3-website":t}],_=[0,{s3:t,"s3-accesspoint":t}],S=[0,{direct:t}],E=[0,{"webview-assets":t}],k=[0,{vfs:t,"webview-assets":t}],A=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:b,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":E,cloud9:k}],T=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:_,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":E,cloud9:k}],x=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:b,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":E,cloud9:k}],w=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:b,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t}],C=[0,{s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-website":t}],I=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:C,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":E,cloud9:k}],O=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:C,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-deprecated":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":E,cloud9:k}],R=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:[0,{s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t}],s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t}],P=[0,{auth:t}],N=[0,{auth:t,"auth-fips":t}],L=[0,{apps:t}],j=[0,{paas:t}],M=[2,{eu:t}],D=[0,{app:t}],F=[0,{site:t}],U=[0,{pages:t}],V=[1,{com:e,edu:e,net:e,org:e}],B=[0,{j:t}],G=[0,{p:t}],Y=[0,{user:t}],z=[0,{shop:t}],W=[0,{cust:t,reservd:t}],Z=[0,{cust:t}],H=[1,{gov:e,edu:e,mil:e,com:e,org:e,net:e}],K=[0,{s3:t}],X=[1,{edu:e,biz:e,net:e,org:e,gov:e,info:e,com:e}],$=[1,{framer:t}],J=[0,{forgot:t}],q=[0,{cdn:t}],Q=[1,{gs:e}],ee=[0,{nes:e}],et=[1,{k12:e,cc:e,lib:e}],en=[1,{cc:e,lib:e}];return[0,{ac:[1,{com:e,edu:e,gov:e,net:e,mil:e,org:e,drr:t,feedback:t,forms:t}],ad:[1,{nom:e}],ae:[1,{co:e,net:e,org:e,sch:e,ac:e,gov:e,mil:e,blogspot:t}],aero:[1,{airline:e,airport:e,"accident-investigation":e,"accident-prevention":e,aerobatic:e,aeroclub:e,aerodrome:e,agents:e,"air-surveillance":e,"air-traffic-control":e,aircraft:e,airtraffic:e,ambulance:e,association:e,author:e,ballooning:e,broker:e,caa:e,cargo:e,catering:e,certification:e,championship:e,charter:e,civilaviation:e,club:e,conference:e,consultant:e,consulting:e,control:e,council:e,crew:e,design:e,dgca:e,educator:e,emergency:e,engine:e,engineer:e,entertainment:e,equipment:e,exchange:e,express:e,federation:e,flight:e,freight:e,fuel:e,gliding:e,government:e,groundhandling:e,group:e,hanggliding:e,homebuilt:e,insurance:e,journal:e,journalist:e,leasing:e,logistics:e,magazine:e,maintenance:e,marketplace:e,media:e,microlight:e,modelling:e,navigation:e,parachuting:e,paragliding:e,"passenger-association":e,pilot:e,press:e,production:e,recreation:e,repbody:e,res:e,research:e,rotorcraft:e,safety:e,scientist:e,services:e,show:e,skydiving:e,software:e,student:e,taxi:e,trader:e,trading:e,trainer:e,union:e,workinggroup:e,works:e}],af:n,ag:[1,{com:e,org:e,net:e,co:e,nom:e}],ai:[1,{off:e,com:e,net:e,org:e,uwu:t,framer:t}],al:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,blogspot:t}],am:[1,{co:e,com:e,commune:e,net:e,org:e,radio:t,blogspot:t}],ao:[1,{ed:e,edu:e,gov:e,gv:e,og:e,org:e,co:e,pb:e,it:e}],aq:e,ar:[1,{bet:e,com:o,coop:e,edu:e,gob:e,gov:e,int:e,mil:e,musica:e,mutual:e,net:e,org:e,senasa:e,tur:e}],arpa:[1,{e164:e,home:e,"in-addr":e,ip6:e,iris:e,uri:e,urn:e}],as:s,asia:[1,{cloudns:t,daemon:t,dix:t}],at:[1,{ac:[1,{sth:e}],co:o,gv:e,or:e,funkfeuer:[0,{wien:t}],futurecms:[0,{"*":t,ex:r,in:r}],futurehosting:t,futuremailing:t,ortsinfo:[0,{ex:r,kunden:r}],biz:t,info:t,"123webseite":t,priv:t,myspreadshop:t,"12hp":t,"2ix":t,"4lima":t,"lima-city":t}],au:[1,{com:[1,{blogspot:t,cloudlets:[0,{mel:t}],myspreadshop:t}],net:e,org:e,edu:[1,{act:e,catholic:e,nsw:[1,{schools:e}],nt:e,qld:e,sa:e,tas:e,vic:e,wa:e}],gov:[1,{qld:e,sa:e,tas:e,vic:e,wa:e}],asn:e,id:e,info:e,conf:e,oz:e,act:e,nsw:e,nt:e,qld:e,sa:e,tas:e,vic:e,wa:e}
407],aw:[1,{com:e}],ax:e,az:[1,{com:e,net:e,int:e,gov:e,org:e,edu:e,info:e,pp:e,mil:e,name:e,pro:e,biz:e}],ba:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,blogspot:t,rs:t}],bb:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,net:e,org:e,store:e,tv:e}],bd:f,be:[1,{ac:e,cloudns:t,webhosting:t,blogspot:t,interhostsolutions:h,kuleuven:[0,{ezproxy:t}],"123website":t,myspreadshop:t,transurl:r}],bf:s,bg:[1,{0:e,1:e,2:e,3:e,4:e,5:e,6:e,7:e,8:e,9:e,a:e,b:e,c:e,d:e,e:e,f:e,g:e,h:e,i:e,j:e,k:e,l:e,m:e,n:e,o:e,p:e,q:e,r:e,s:e,t:e,u:e,v:e,w:e,x:e,y:e,z:e,blogspot:t,barsy:t}],bh:n,bi:[1,{co:e,com:e,edu:e,or:e,org:e}],biz:[1,{activetrail:t,"cloud-ip":t,cloudns:t,jozi:t,dyndns:t,"for-better":t,"for-more":t,"for-some":t,"for-the":t,selfip:t,webhop:t,orx:t,mmafan:t,myftp:t,"no-ip":t,dscloud:t}],bj:[1,{africa:e,agro:e,architectes:e,assur:e,avocats:e,co:e,com:e,eco:e,econo:e,edu:e,info:e,loisirs:e,money:e,net:e,org:e,ote:e,resto:e,restaurant:e,tourism:e,univ:e,blogspot:t}],bm:n,bn:[1,{com:e,edu:e,gov:e,net:e,org:e,co:t}],bo:[1,{com:e,edu:e,gob:e,int:e,org:e,net:e,mil:e,tv:e,web:e,academia:e,agro:e,arte:e,blog:e,bolivia:e,ciencia:e,cooperativa:e,democracia:e,deporte:e,ecologia:e,economia:e,empresa:e,indigena:e,industria:e,info:e,medicina:e,movimiento:e,musica:e,natural:e,nombre:e,noticias:e,patria:e,politica:e,profesional:e,plurinacional:e,pueblo:e,revista:e,salud:e,tecnologia:e,tksat:e,transporte:e,wiki:e}],br:[1,{"9guacu":e,abc:e,adm:e,adv:e,agr:e,aju:e,am:e,anani:e,aparecida:e,app:e,arq:e,art:e,ato:e,b:e,barueri:e,belem:e,bet:e,bhz:e,bib:e,bio:e,blog:e,bmd:e,boavista:e,bsb:e,campinagrande:e,campinas:e,caxias:e,cim:e,cng:e,cnt:e,com:[1,{blogspot:t,simplesite:t}],contagem:e,coop:e,coz:e,cri:e,cuiaba:e,curitiba:e,def:e,des:e,det:e,dev:e,ecn:e,eco:e,edu:e,emp:e,enf:e,eng:e,esp:e,etc:e,eti:e,far:e,feira:e,flog:e,floripa:e,fm:e,fnd:e,fortal:e,fot:e,foz:e,fst:e,g12:e,geo:e,ggf:e,goiania:e,gov:[1,{ac:e,al:e,am:e,ap:e,ba:e,ce:e,df:e,es:e,go:e,ma:e,mg:e,ms:e,mt:e,pa:e,pb:e,pe:e,pi:e,pr:e,rj:e,rn:e,ro:e,rr:e,rs:e,sc:e,se:e,sp:e,to:e}],gru:e,imb:e,ind:e,inf:e,jab:e,jampa:e,jdf:e,joinville:e,jor:e,jus:e,leg:[1,{ac:t,al:t,am:t,ap:t,ba:t,ce:t,df:t,es:t,go:t,ma:t,mg:t,ms:t,mt:t,pa:t,pb:t,pe:t,pi:t,pr:t,rj:t,rn:t,ro:t,rr:t,rs:t,sc:t,se:t,sp:t,to:t}],leilao:e,lel:e,log:e,londrina:e,macapa:e,maceio:e,manaus:e,maringa:e,mat:e,med:e,mil:e,morena:e,mp:e,mus:e,natal:e,net:e,niteroi:e,nom:f,not:e,ntr:e,odo:e,ong:e,org:e,osasco:e,palmas:e,poa:e,ppg:e,pro:e,psc:e,psi:e,pvh:e,qsl:e,radio:e,rec:e,recife:e,rep:e,ribeirao:e,rio:e,riobranco:e,riopreto:e,salvador:e,sampa:e,santamaria:e,santoandre:e,saobernardo:e,saogonca:e,seg:e,sjc:e,slg:e,slz:e,sorocaba:e,srv:e,taxi:e,tc:e,tec:e,teo:e,the:e,tmp:e,trd:e,tur:e,tv:e,udi:e,vet:e,vix:e,vlog:e,wiki:e,zlg:e}],bs:[1,{com:e,net:e,org:e,edu:e,gov:e,we:t}],bt:n,bv:e,bw:[1,{co:e,org:e}],by:[1,{gov:e,mil:e,com:o,of:e,mediatech:t}],bz:[1,{com:e,net:e,org:e,edu:e,gov:e,za:t,mydns:t,gsj:t}],ca:[1,{ab:e,bc:e,mb:e,nb:e,nf:e,nl:e,ns:e,nt:e,nu:e,on:e,pe:e,qc:e,sk:e,yk:e,gc:e,barsy:t,awdev:r,co:t,blogspot:t,"no-ip":t,myspreadshop:t,box:t}],cat:e,cc:[1,{cleverapps:t,cloudns:t,ftpaccess:t,"game-server":t,myphotos:t,scrapping:t,twmail:t,csx:t,fantasyleague:t,spawn:[0,{instances:t}]}],cd:s,cf:o,cg:e,ch:[1,{square7:t,cloudns:t,cloudscale:[0,{cust:t,lpg:g,rma:g}],blogspot:t,flow:[0,{ae:[0,{alp1:t}],appengine:t}],"linkyard-cloud":t,gotdns:t,dnsking:t,"123website":t,myspreadshop:t,firenet:[0,{"*":t,svc:r}],"12hp":t,"2ix":t,"4lima":t,"lima-city":t}],ci:[1,{org:e,or:e,com:e,co:e,edu:e,ed:e,ac:e,net:e,go:e,asso:e,"xn--aroport-bya":e,aéroport:e,int:e,gouv:e,fin:t}],ck:f,cl:[1,{co:e,gob:e,gov:e,mil:e,cloudns:t,blogspot:t}],cm:[1,{co:e,com:e,gov:e,net:e}],cn:[1,{ac:e,com:[1,{amazonaws:[0,{"cn-north-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:b,s3:t,"s3-accesspoint":t,"s3-deprecated":t,"s3-object-lambda":t,"s3-website":t}],"cn-northwest-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:_,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t}],compute:r,airflow:[0,{"cn-north-1":r,"cn-northwest-1":r}],eb:[0,{"cn-north-1":t,"cn-northwest-1":t}],elb:r}],sagemaker:[0,{"cn-north-1":l,"cn-northwest-1":l}]}],edu:e,gov:e,net:e,org:e,mil:e,"xn--55qx5d":e,å
¬å¸:e,"xn--io0a7i":e,ç½ç»:e,"xn--od0alg":e,網絡:e,ah:e,bj:e,cq:e,fj:e,gd:e,gs:e,gz:e,gx:e,ha:e,hb:e,he:e,hi:e,hl:e,hn:e,jl:e,js:e,jx:e,ln:e,nm:e,nx:e,qh:e,sc:e,sd:e,sh:[1,{as:t}],sn:e,sx:e,tj:e,xj:e,xz:e,yn:e,zj:e,hk:e,mo:e,tw:e,"canva-apps":t,canvasite:v,myqnapcloud:t,quickconnect:S}],co:[1,{arts:e,com:o,edu:e,firm:e,gov:e,info:e,int:e,mil:e,net:e,nom:e,org:e,rec:e,web:e,carrd:t,crd:t,otap:r,leadpages:t,lpages:t,mypi:t,n4t:t,xmit:r,firewalledreplit:a,repl:a,supabase:t}],com:[1,{a2hosted:t,cpserver:t,adobeaemcloud:[2,{dev:r}],africa:t,airkitapps:t,"airkitapps-au":t,aivencloud:t,kasserver:t,amazonaws:[0,{"af-south-1":A,"ap-east-1":T,"ap-northeast-1":x,"ap-northeast-2":x,"ap-northeast-3":A,"ap-south-1":x,"ap-south-2":w,"ap-southeast-1":x,"ap-southeast-2":x,"ap-southeast-3":w,"ap-southeast-4":w,"ap-southeast-5":[0,{"execute-api":t,dualstack:b,s3:t,"s3-accesspoint":t,"s3-deprecated":t,"s3-object-lambda":t,"s3-website":t}],"ca-central-1":I,"ca-west-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:C,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t}],"eu-central-1":x,"eu-central-2":w,"eu-north-1":T,"eu-south-1":A,"eu-south-2":w,"eu-west-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:b,s3:t,"s3-accesspoint":t,"s3-deprecated":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":E,cloud9:k}],"eu-west-2":T,"eu-west-3":A,"il-central-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:b,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":E,cloud9:[0,{vfs:t}]}],"me-central-1":w,"me-south-1":T,"sa-east-1":A,"us-east-1":[2,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:C,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-deprecated":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":E,cloud9:k}],"us-east-2":O,"us-gov-east-1":R,"us-gov-west-1":R,"us-west-1":I,"us-west-2":O,compute:r,"compute-1":r,airflow:[0,{"af-south-1":r,"ap-east-1":r,"ap-northeast-1":r,"ap-northeast-2":r,"ap-northeast-3":r,"ap-south-1":r,"ap-south-2":r,"ap-southeast-1":r,"ap-southeast-2":r,"ap-southeast-3":r,"ap-southeast-4":r,"ca-central-1":r,"ca-west-1":r,"eu-central-1":r,"eu-central-2":r,"eu-north-1":r,"eu-south-1":r,"eu-south-2":r,"eu-west-1":r,"eu-west-2":r,"eu-west-3":r,"il-ce
407ntral-1":r,"me-central-1":r,"me-south-1":r,"sa-east-1":r,"us-east-1":r,"us-east-2":r,"us-west-1":r,"us-west-2":r}],s3:t,"s3-1":t,"s3-ap-east-1":t,"s3-ap-northeast-1":t,"s3-ap-northeast-2":t,"s3-ap-northeast-3":t,"s3-ap-south-1":t,"s3-ap-southeast-1":t,"s3-ap-southeast-2":t,"s3-ca-central-1":t,"s3-eu-central-1":t,"s3-eu-north-1":t,"s3-eu-west-1":t,"s3-eu-west-2":t,"s3-eu-west-3":t,"s3-external-1":t,"s3-fips-us-gov-east-1":t,"s3-fips-us-gov-west-1":t,"s3-global":[0,{accesspoint:[0,{mrap:t}]}],"s3-me-south-1":t,"s3-sa-east-1":t,"s3-us-east-2":t,"s3-us-gov-east-1":t,"s3-us-gov-west-1":t,"s3-us-west-1":t,"s3-us-west-2":t,"s3-website-ap-northeast-1":t,"s3-website-ap-southeast-1":t,"s3-website-ap-southeast-2":t,"s3-website-eu-west-1":t,"s3-website-sa-east-1":t,"s3-website-us-east-1":t,"s3-website-us-gov-west-1":t,"s3-website-us-west-1":t,"s3-website-us-west-2":t,elb:r}],amazoncognito:[0,{"af-south-1":P,"ap-east-1":P,"ap-northeast-1":P,"ap-northeast-2":P,"ap-northeast-3":P,"ap-south-1":P,"ap-south-2":P,"ap-southeast-1":P,"ap-southeast-2":P,"ap-southeast-3":P,"ap-southeast-4":P,"ca-central-1":P,"ca-west-1":P,"eu-central-1":P,"eu-central-2":P,"eu-north-1":P,"eu-south-1":P,"eu-south-2":P,"eu-west-1":P,"eu-west-2":P,"eu-west-3":P,"il-central-1":P,"me-central-1":P,"me-south-1":P,"sa-east-1":P,"us-east-1":N,"us-east-2":N,"us-gov-west-1":[0,{"auth-fips":t}],"us-west-1":N,"us-west-2":N}],amplifyapp:t,awsapprunner:r,awsapps:t,elasticbeanstalk:[2,{"af-south-1":t,"ap-east-1":t,"ap-northeast-1":t,"ap-northeast-2":t,"ap-northeast-3":t,"ap-south-1":t,"ap-southeast-1":t,"ap-southeast-2":t,"ap-southeast-3":t,"ca-central-1":t,"eu-central-1":t,"eu-north-1":t,"eu-south-1":t,"eu-west-1":t,"eu-west-2":t,"eu-west-3":t,"il-central-1":t,"me-south-1":t,"sa-east-1":t,"us-east-1":t,"us-east-2":t,"us-gov-east-1":t,"us-gov-west-1":t,"us-west-1":t,"us-west-2":t}],awsglobalaccelerator:t,siiites:t,appspacehosted:t,appspaceusercontent:t,"on-aptible":t,myasustor:t,"balena-devices":t,betainabox:t,boutir:t,bplaced:t,cafjs:t,"canva-apps":t,"cdn77-storage":t,br:t,cn:t,de:t,eu:t,jpn:t,mex:t,ru:t,sa:t,uk:t,us:t,za:t,"clever-cloud":[0,{services:r}],dnsabr:t,"ip-ddns":t,jdevcloud:t,wpdevcloud:t,"cf-ipfs":t,"cloudflare-ipfs":t,trycloudflare:t,co:t,builtwithdark:t,datadetect:[0,{demo:t,instance:t}],dattolocal:t,dattorelay:t,dattoweb:t,mydatto:t,digitaloceanspaces:r,discordsays:t,discordsez:t,drayddns:t,dreamhosters:t,durumis:t,mydrobo:t,blogdns:t,cechire:t,dnsalias:t,dnsdojo:t,doesntexist:t,dontexist:t,doomdns:t,"dyn-o-saur":t,dynalias:t,"dyndns-at-home":t,"dyndns-at-work":t,"dyndns-blog":t,"dyndns-free":t,"dyndns-home":t,"dyndns-ip":t,"dyndns-mail":t,"dyndns-office":t,"dyndns-pics":t,"dyndns-remote":t,"dyndns-server":t,"dyndns-web":t,"dyndns-wiki":t,"dyndns-work":t,"est-a-la-maison":t,"est-a-la-masion":t,"est-le-patron":t,"est-mon-blogueur":t,"from-ak":t,"from-al":t,"from-ar":t,"from-ca":t,"from-ct":t,"from-dc":t,"from-de":t,"from-fl":t,"from-ga":t,"from-hi":t,"from-ia":t,"from-id":t,"from-il":t,"from-in":t,"from-ks":t,"from-ky":t,"from-ma":t,"from-md":t,"from-mi":t,"from-mn":t,"from-mo":t,"from-ms":t,"from-mt":t,"from-nc":t,"from-nd":t,"from-ne":t,"from-nh":t,"from-nj":t,"from-nm":t,"from-nv":t,"from-oh":t,"from-ok":t,"from-or":t,"from-pa":t,"from-pr":t,"from-ri":t,"from-sc":t,"from-sd":t,"from-tn":t,"from-tx":t,"from-ut":t,"from-va":t,"from-vt":t,"from-wa":t,"from-wi":t,"from-wv":t,"from-wy":t,getmyip:t,gotdns:t,"hobby-site":t,homelinux:t,homeunix:t,iamallama:t,"is-a-anarchist":t,"is-a-blogger":t,"is-a-bookkeeper":t,"is-a-bulls-fan":t,"is-a-caterer":t,"is-a-chef":t,"is-a-conservative":t,"is-a-cpa":t,"is-a-cubicle-slave":t,"is-a-democrat":t,"is-a-designer":t,"is-a-doctor":t,"is-a-financialadvisor":t,"is-a-geek":t,"is-a-green":t,"is-a-guru":t,"is-a-hard-worker":t,"is-a-hunter":t,"is-a-landscaper":t,"is-a-lawyer":t,"is-a-liberal":t,"is-a-libertarian":t,"is-a-llama":t,"is-a-musician":t,"is-a-nascarfan":t,"is-a-nurse":t,"is-a-painter":t,"is-a-personaltrainer":t,"is-a-photographer":t,"is-a-player":t,"is-a-republican":t,"is-a-rockstar":t,"is-a-socialist":t,"is-a-student":t,"is-a-teacher":t,"is-a-techie":t,"is-a-therapist":t,"is-an-accountant":t,"is-an-actor":t,"is-an-actress":t,"is-an-anarchist":t,"is-an-artist":t,"is-an-engineer":t,"is-an-entertainer":t,"is-certified":t,"is-gone":t,"is-into-anime":t,"is-into-cars":t,"is-into-cartoons":t,"is-into-games":t,"is-leet":t,"is-not-certified":t,"is-slick":t,"is-uberleet":t,"is-with-theband":t,"isa-geek":t,"isa-hockeynut":t,issmarterthanyou:t,"likes-pie":t,likescandy:t,"neat-url":t,"saves-the-whales":t,selfip:t,"sells-for-less":t,"sells-for-u":t,servebbs:t,"simple-url":t,"space-to-rent":t,"teaches-yoga":t,writesthisblog:t,ddnsfree:t,ddnsgeek:t,giize:t,gleeze:t,kozow:t,loseyourip:t,ooguy:t,theworkpc:t,mytuleap:t,"tuleap-partners":t,encoreapi:t,evennode:[0,{"eu-1":t,"eu-2":t,"eu-3":t,"eu-4":t,"us-1":t,"us-2":t,"us-3":t,"us-4":t}],onfabrica:t,"fastly-edge":t,"fastly-terrarium":t,"fastvps-server":t,mydobiss:t,firebaseapp:t,fldrv:t,forgeblocks:t,framercanvas:t,"freebox-os":t,freeboxos:t,freemyip:t,aliases121:t,gentapps:t,gentlentapis:t,githubusercontent:t,"0emm":r,appspot:[2,{r:r}],blogspot:t,codespot:t,googleapis:t,googlecode:t,pagespeedmobilizer:t,withgoogle:t,withyoutube:t,grayjayleagues:t,hatenablog:t,hatenadiary:t,herokuapp:t,herokussl:t,gr:t,smushcdn:t,wphostedmail:t,wpmucdn:t,pixolino:t,"apps-1and1":t,"live-website":t,dopaas:t,"hosted-by-previder":j,hosteur:[0,{"rag-cloud":t,"rag-cloud-ch":t}],"ik-server":[0,{jcloud:t,"jcloud-ver-jpc":t}],jelastic:[0,{demo:t}],massivegrid:j,wafaicloud:[0,{jed:t,ryd:t}],webadorsite:t,joyent:[0,{cns:r}],lpusercontent:t,linode:[0,{members:t,nodebalancer:r}],linodeobjects:r,linodeusercontent:[0,{ip:t}],barsycenter:t,barsyonline:t,modelscape:t,mwcloudnonprod:t,polyspace:t,mazeplay:t,miniserver:t,atmeta:t,fbsbx:L,meteorapp:M,routingthecloud:t,mydbserver:t,hostedpi:t,"mythic-beasts":[0,{caracal:t,customer:t,fentiger:t,lynx:t,ocelot:t,oncilla:t,onza:t,sphinx:t,vs:t,x:t,yali:t}
407],nospamproxy:h,"4u":t,nfshost:t,"3utilities":t,blogsyte:t,ciscofreak:t,damnserver:t,ddnsking:t,ditchyourip:t,dnsiskinky:t,dynns:t,geekgalaxy:t,"health-carereform":t,homesecuritymac:t,homesecuritypc:t,myactivedirectory:t,mysecuritycamera:t,myvnc:t,"net-freaks":t,onthewifi:t,point2this:t,quicksytes:t,securitytactics:t,servebeer:t,servecounterstrike:t,serveexchange:t,serveftp:t,servegame:t,servehalflife:t,servehttp:t,servehumour:t,serveirc:t,servemp3:t,servep2p:t,servepics:t,servequake:t,servesarcasm:t,stufftoread:t,unusualperson:t,workisboring:t,"001www":t,myiphost:t,observableusercontent:[0,{static:t}],simplesite:t,orsites:t,operaunite:t,"customer-oci":[0,{"*":t,oci:r,ocp:r,ocs:r}],oraclecloudapps:r,oraclegovcloudapps:r,"authgear-staging":t,authgearapps:t,skygearapp:t,outsystemscloud:t,ownprovider:t,pgfog:t,pagexl:t,gotpantheon:t,paywhirl:r,upsunapp:t,"platter-app":t,"postman-echo":t,prgmr:[0,{xen:t}],pythonanywhere:M,qa2:t,"alpha-myqnapcloud":t,"dev-myqnapcloud":t,mycloudnas:t,mynascloud:t,myqnapcloud:t,qualifioapp:t,ladesk:t,qbuser:t,quipelements:r,rackmaze:t,"readthedocs-hosted":t,rhcloud:t,onrender:t,render:D,"180r":t,dojin:t,sakuratan:t,sakuraweb:t,x0:t,code:[0,{builder:r,"dev-builder":r,"stg-builder":r}],salesforce:[0,{platform:[0,{"code-builder-stg":[0,{test:[0,{"001":r}]}]}]}],logoip:t,scrysec:t,"firewall-gateway":t,myshopblocks:t,myshopify:t,shopitsite:t,"1kapp":t,appchizi:t,applinzi:t,sinaapp:t,vipsinaapp:t,streamlitapp:t,"try-snowplow":t,"playstation-cloud":t,myspreadshop:t,"w-corp-staticblitz":t,"w-credentialless-staticblitz":t,"w-staticblitz":t,"stackhero-network":t,stdlib:[0,{api:t}],strapiapp:[2,{media:t}],"streak-link":t,streaklinks:t,streakusercontent:t,"temp-dns":t,dsmynas:t,familyds:t,mytabit:t,taveusercontent:t,"tb-hosting":F,reservd:t,thingdustdata:t,"townnews-staging":t,typeform:[0,{pro:t}],hk:t,it:t,vultrobjects:r,wafflecell:t,hotelwithflight:t,"reserve-online":t,cprapid:t,pleskns:t,remotewd:t,wiardweb:U,wixsite:t,wixstudio:t,messwithdns:t,"woltlab-demo":t,wpenginepowered:[2,{js:t}],xnbay:[2,{u2:t,"u2-local":t}],yolasite:t}],coop:e,cr:[1,{ac:e,co:e,ed:e,fi:e,go:e,or:e,sa:e}],cu:[1,{com:e,edu:e,gob:e,inf:e,nat:e,net:e,org:e}],cv:[1,{com:e,edu:e,int:e,nome:e,org:e,blogspot:t}],cw:V,cx:[1,{gov:e,cloudns:t,ath:t,info:t,assessments:t,calculators:t,funnels:t,paynow:t,quizzes:t,researched:t,tests:t}],cy:[1,{ac:e,biz:e,com:[1,{blogspot:t,scaleforce:B}],ekloges:e,gov:e,ltd:e,mil:e,net:e,org:e,press:e,pro:e,tm:e}],cz:[1,{contentproxy9:[0,{rsc:t}],realm:t,e4:t,blogspot:t,co:t,metacentrum:[0,{cloud:r,custom:t}],muni:[0,{cloud:[0,{flt:t,usr:t}]}]}],de:[1,{bplaced:t,square7:t,com:t,cosidns:[0,{dyn:t}],dnsupdater:t,"dynamisches-dns":t,"internet-dns":t,"l-o-g-i-n":t,ddnss:[2,{dyn:t,dyndns:t}],"dyn-ip24":t,dyndns1:t,"home-webserver":[2,{dyn:t}],"myhome-server":t,dnshome:t,fuettertdasnetz:t,isteingeek:t,istmein:t,lebtimnetz:t,leitungsen:t,traeumtgerade:t,frusky:r,goip:t,blogspot:t,"xn--gnstigbestellen-zvb":t,günstigbestellen:t,"xn--gnstigliefern-wob":t,günstigliefern:t,"hs-heilbronn":[0,{it:U}],"dyn-berlin":t,"in-berlin":t,"in-brb":t,"in-butter":t,"in-dsl":t,"in-vpn":t,iservschule:t,"mein-iserv":t,schulplattform:t,schulserver:t,"test-iserv":t,keymachine:t,"git-repos":t,"lcube-server":t,"svn-repos":t,barsy:t,webspaceconfig:t,"123webseite":t,logoip:t,"firewall-gateway":t,"my-gateway":t,"my-router":t,spdns:t,speedpartner:[0,{customer:t}],myspreadshop:t,"taifun-dns":t,"12hp":t,"2ix":t,"4lima":t,"lima-city":t,"dd-dns":t,"dray-dns":t,draydns:t,"dyn-vpn":t,dynvpn:t,"mein-vigor":t,"my-vigor":t,"my-wan":t,"syno-ds":t,"synology-diskstation":t,"synology-ds":t,uberspace:r,"virtual-user":t,virtualuser:t,"community-pro":t,diskussionsbereich:t}],dj:e,dk:[1,{biz:t,co:t,firm:t,reg:t,store:t,blogspot:t,"123hjemmeside":t,myspreadshop:t}],dm:n,do:[1,{art:e,com:e,edu:e,gob:e,gov:e,mil:e,net:e,org:e,sld:e,web:e}],dz:[1,{art:e,asso:e,com:e,edu:e,gov:e,org:e,net:e,pol:e,soc:e,tm:e}],ec:[1,{com:e,info:e,net:e,fin:e,k12:e,med:e,pro:e,org:e,edu:e,gov:e,gob:e,mil:e,base:t,official:t}],edu:[1,{rit:[0,{"git-pages":t}]}],ee:[1,{edu:e,gov:e,riik:e,lib:e,med:e,com:o,pri:e,aip:e,org:e,fie:e}],eg:[1,{com:o,edu:e,eun:e,gov:e,mil:e,name:e,net:e,org:e,sci:e}],er:f,es:[1,{com:o,nom:e,org:e,gob:e,edu:e,"123miweb":t,myspreadshop:t}],et:[1,{com:e,gov:e,org:e,edu:e,biz:e,name:e,info:e,net:e}],eu:[1,{airkitapps:t,cloudns:t,dogado:[0,{jelastic:t}],barsy:t,spdns:t,transurl:r,diskstation:t}],fi:[1,{aland:e,dy:t,blogspot:t,"xn--hkkinen-5wa":t,häkkinen:t,iki:t,cloudplatform:[0,{fi:t}],datacenter:[0,{demo:t,paas:t}],kapsi:t,"123kotisivu":t,myspreadshop:t}],fj:[1,{ac:e,biz:e,com:e,gov:e,info:e,mil:e,name:e,net:e,org:e,pro:e}],fk:f,fm:[1,{com:e,edu:e,net:e,org:e,radio:t,user:r}],fo:e,fr:[1,{asso:e,com:e,gouv:e,nom:e,prd:e,tm:e,avoues:e,cci:e,greta:e,"huissier-justice":e,"en-root":t,"fbx-os":t,fbxos:t,"freebox-os":t,freeboxos:t,blogspot:t,goupile:t,"123siteweb":t,"on-web"
407:t,"chirurgiens-dentistes-en-france":t,dedibox:t,aeroport:t,avocat:t,chambagri:t,"chirurgiens-dentistes":t,"experts-comptables":t,medecin:t,notaires:t,pharmacien:t,port:t,veterinaire:t,myspreadshop:t,ynh:t}],ga:e,gb:e,gd:[1,{edu:e,gov:e}],ge:[1,{com:e,edu:e,gov:e,org:e,mil:e,net:e,pvt:e}],gf:e,gg:[1,{co:e,net:e,org:e,kaas:t,stackit:t,panel:[2,{daemon:t}]}],gh:[1,{com:e,edu:e,gov:e,org:e,mil:e}],gi:[1,{com:e,ltd:e,gov:e,mod:e,edu:e,org:e}],gl:[1,{co:e,com:e,edu:e,net:e,org:e,biz:t}],gm:e,gn:[1,{ac:e,com:e,edu:e,gov:e,org:e,net:e}],gov:e,gp:[1,{com:e,net:e,mobi:e,edu:e,org:e,asso:e}],gq:e,gr:[1,{com:e,edu:e,net:e,org:e,gov:e,blogspot:t,barsy:t,simplesite:t}],gs:e,gt:[1,{com:e,edu:e,gob:e,ind:e,mil:e,net:e,org:e}],gu:[1,{com:e,edu:e,gov:e,guam:e,info:e,net:e,org:e,web:e}],gw:e,gy:[1,{co:e,com:e,edu:e,gov:e,net:e,org:e}],hk:[1,{com:e,edu:e,gov:e,idv:e,net:e,org:e,"xn--55qx5d":e,å
¬å¸:e,"xn--wcvs22d":e,æè²:e,"xn--lcvr32d":e,æè²:e,"xn--mxtq1m":e,æ¿åº:e,"xn--gmqw5a":e,å人:e,"xn--ciqpn":e,个人:e,"xn--gmq050i":e,ç®äºº:e,"xn--zf0avx":e,ç¶²ç»:e,"xn--io0a7i":e,ç½ç»:e,"xn--mk0axi":e,ç»ç¹:e,"xn--od0alg":e,網絡:e,"xn--od0aq3b":e,ç½çµ¡:e,"xn--tn0ag":e,ç»ç»:e,"xn--uc0atv":e,çµç¹:e,"xn--uc0ay4a":e,çµç»:e,blogspot:t,secaas:t,inc:t,ltd:t}],hm:e,hn:[1,{com:e,edu:e,org:e,net:e,mil:e,gob:e}],hr:[1,{iz:e,from:e,name:e,com:e,brendly:z,blogspot:t,free:t}],ht:[1,{com:e,shop:e,firm:e,info:e,adult:e,net:e,pro:e,org:e,med:e,art:e,coop:e,pol:e,asso:e,edu:e,rel:e,gouv:e,perso:e,rt:t}],hu:[1,{2e3:e,co:e,info:e,org:e,priv:e,sport:e,tm:e,agrar:e,bolt:e,casino:e,city:e,erotica:e,erotika:e,film:e,forum:e,games:e,hotel:e,ingatlan:e,jogasz:e,konyvelo:e,lakas:e,media:e,news:e,reklam:e,sex:e,shop:e,suli:e,szex:e,tozsde:e,utazas:e,video:e,blogspot:t}],id:[1,{ac:e,biz:e,co:o,desa:e,go:e,mil:e,my:[1,{rss:t}],net:e,or:e,ponpes:e,sch:e,web:e}],ie:[1,{gov:e,blogspot:t,myspreadshop:t}],il:[1,{ac:e,co:[1,{blogspot:t,ravpage:t,mytabit:t,tabitorder:t}],gov:e,idf:e,k12:e,muni:e,net:e,org:e}],"xn--4dbrk0ce":[1,{"xn--4dbgdty6c":e,"xn--5dbhl8d":e,"xn--8dbq2a":e,"xn--hebda8b":e}],×שר××:[1,{××§××××:e,×ש××:e,צ××:e,××ש×:e}],im:[1,{ac:e,co:[1,{ltd:e,plc:e}],com:e,net:e,org:e,tt:e,tv:e}],in:[1,{"5g":e,"6g":e,ac:e,ai:e,am:e,bihar:e,biz:e,business:e,ca:e,cn:e,co:e,com:e,coop:e,cs:e,delhi:e,dr:e,edu:e,er:e,firm:e,gen:e,gov:e,gujarat:e,ind:e,info:e,int:e,internet:e,io:e,me:e,mil:e,net:e,nic:e,org:e,pg:e,post:e,pro:e,res:e,travel:e,tv:e,uk:e,up:e,us:e,cloudns:t,blogspot:t,barsy:t,web:t,supabase:t}],info:[1,{cloudns:t,"dynamic-dns":t,"barrel-of-knowledge":t,"barrell-of-knowledge":t,dyndns:t,"for-our":t,"groks-the":t,"groks-this":t,"here-for-more":t,knowsitall:t,selfip:t,webhop:t,barsy:t,mayfirst:t,mittwald:t,mittwaldserver:t,typo3server:t,dvrcam:t,ilovecollege:t,"no-ip":t,forumz:t,nsupdate:t,dnsupdate:t,"v-info":t}],int:[1,{eu:e}],io:[1,{2038:t,co:e,com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e,"on-acorn":r,apigee:t,"b-data":t,beagleboard:t,bitbucket:t,bluebite:t,boxfuse:t,brave:[0,{s:r}],browsersafetymark:t,bigv:[0,{uk0:t}],cleverapps:t,dappnode:[0,{dyndns:t}],darklang:t,definima:t,dedyn:t,drud:t,"fh-muenster":t,shw:t,forgerock:[0,{id:t}],github:t,gitlab:t,lolipop:t,"hasura-app":t,hostyhosting:t,hypernode:t,moonscale:r,beebyte:j,beebyteapp:[0,{sekd1:t}],jele:t,webthings:t,loginline:t,barsy:t,azurecontainer:r,ngrok:[2,{ap:t,au:t,eu:t,in:t,jp:t,sa:t,us:t}],nodeart:[0,{stage:t}],pantheonsite:t,pstmn:[2,{mock:t}],protonet:t,qcx:[2,{sys:r}],qoto:t,vaporcloud:t,myrdbx:t,"rb-hosting":F,"on-k3s":r,"on-rio":r,readthedocs:t,resindevice:t,resinstaging:[0,{devices:t}],hzc:t,sandcats:t,scrypted:[0,{client:t}],shiftedit:t,"mo-siemens":t,lair:L,stolos:r,spacekit:t,musician:t,utwente:t,edugit:t,telebit:t,thingdust:[0,{dev:W,disrec:W,prod:Z,testing:W}],tickets:t,upli:t,webflow:t,webflowtest:t,editorx:t,wixstudio:t,basicserver:t,virtualserver:t}],iq:H,ir:[1,{ac:e,co:e,gov:e,id:e,net:e,org:e,sch:e,"xn--mgba3a4f16a":e,Ø§ÛØ±Ø§Ù:e,"xn--mgba3a4fra":e,Ø§ÙØ±Ø§Ù:e,arvanedge:t}],is:[1,{net:e,com:e,edu:e,gov:e,org:e,int:e,blogspot:t}],it:[1,{gov:e,edu:e,abr:e,abruzzo:e,"aosta-valley":e,aostavalley:e,bas:e,basilicata:e,cal:e,calabria:e,cam:e,campania:e,"emilia-romagna":e,emiliaromagna:e,emr:e,"friuli-v-giulia":e,"friuli-ve-giulia":e,"friuli-vegiulia":e,"friuli-venezia-giulia":e,"friuli-veneziagiulia":e,"friuli-vgiulia":e,"friuliv-giulia":e,"friulive-giulia":e,friulivegiulia:e,"friulivenez
407ia-giulia":e,friuliveneziagiulia:e,friulivgiulia:e,fvg:e,laz:e,lazio:e,lig:e,liguria:e,lom:e,lombardia:e,lombardy:e,lucania:e,mar:e,marche:e,mol:e,molise:e,piedmont:e,piemonte:e,pmn:e,pug:e,puglia:e,sar:e,sardegna:e,sardinia:e,sic:e,sicilia:e,sicily:e,taa:e,tos:e,toscana:e,"trentin-sud-tirol":e,"xn--trentin-sd-tirol-rzb":e,"trentin-s\xfcd-tirol":e,"trentin-sudtirol":e,"xn--trentin-sdtirol-7vb":e,"trentin-s\xfcdtirol":e,"trentin-sued-tirol":e,"trentin-suedtirol":e,"trentino-a-adige":e,"trentino-aadige":e,"trentino-alto-adige":e,"trentino-altoadige":e,"trentino-s-tirol":e,"trentino-stirol":e,"trentino-sud-tirol":e,"xn--trentino-sd-tirol-c3b":e,"trentino-s\xfcd-tirol":e,"trentino-sudtirol":e,"xn--trentino-sdtirol-szb":e,"trentino-s\xfcdtirol":e,"trentino-sued-tirol":e,"trentino-suedtirol":e,trentino:e,"trentinoa-adige":e,trentinoaadige:e,"trentinoalto-adige":e,trentinoaltoadige:e,"trentinos-tirol":e,trentinostirol:e,"trentinosud-tirol":e,"xn--trentinosd-tirol-rzb":e,"trentinos\xfcd-tirol":e,trentinosudtirol:e,"xn--trentinosdtirol-7vb":e,trentinosüdtirol:e,"trentinosued-tirol":e,trentinosuedtirol:e,"trentinsud-tirol":e,"xn--trentinsd-tirol-6vb":e,"trentins\xfcd-tirol":e,trentinsudtirol:e,"xn--trentinsdtirol-nsb":e,trentinsüdtirol:e,"trentinsued-tirol":e,trentinsuedtirol:e,tuscany:e,umb:e,umbria:e,"val-d-aosta":e,"val-daosta":e,"vald-aosta":e,valdaosta:e,"valle-aosta":e,"valle-d-aosta":e,"valle-daosta":e,valleaosta:e,"valled-aosta":e,valledaosta:e,"vallee-aoste":e,"xn--valle-aoste-ebb":e,"vall\xe9e-aoste":e,"vallee-d-aoste":e,"xn--valle-d-aoste-ehb":e,"vall\xe9e-d-aoste":e,valleeaoste:e,"xn--valleaoste-e7a":e,valléeaoste:e,valleedaoste:e,"xn--valledaoste-ebb":e,valléedaoste:e,vao:e,vda:e,ven:e,veneto:e,ag:e,agrigento:e,al:e,alessandria:e,"alto-adige":e,altoadige:e,an:e,ancona:e,"andria-barletta-trani":e,"andria-trani-barletta":e,andriabarlettatrani:e,andriatranibarletta:e,ao:e,aosta:e,aoste:e,ap:e,aq:e,aquila:e,ar:e,arezzo:e,"ascoli-piceno":e,ascolipiceno:e,asti:e,at:e,av:e,avellino:e,ba:e,"balsan-sudtirol":e,"xn--balsan-sdtirol-nsb":e,"balsan-s\xfcdtirol":e,"balsan-suedtirol":e,balsan:e,bari:e,"barletta-trani-andria":e,barlettatraniandria:e,belluno:e,benevento:e,bergamo:e,bg:e,bi:e,biella:e,bl:e,bn:e,bo:e,bologna:e,"bolzano-altoadige":e,bolzano:e,"bozen-sudtirol":e,"xn--bozen-sdtirol-2ob":e,"bozen-s\xfcdtirol":e,"bozen-suedtirol":e,bozen:e,br:e,brescia:e,brindisi:e,bs:e,bt:e,"bulsan-sudtirol":e,"xn--bulsan-sdtirol-nsb":e,"bulsan-s\xfcdtirol":e,"bulsan-suedtirol":e,bulsan:e,bz:e,ca:e,cagliari:e,caltanissetta:e,"campidano-medio":e,campidanomedio:e,campobasso:e,"carbonia-iglesias":e,carboniaiglesias:e,"carrara-massa":e,carraramassa:e,caserta:e,catania:e,catanzaro:e,cb:e,ce:e,"cesen
407a-forli":e,"xn--cesena-forl-mcb":e,"cesena-forl\xec":e,cesenaforli:e,"xn--cesenaforl-i8a":e,cesenaforlì:e,ch:e,chieti:e,ci:e,cl:e,cn:e,co:e,como:e,cosenza:e,cr:e,cremona:e,crotone:e,cs:e,ct:e,cuneo:e,cz:e,"dell-ogliastra":e,dellogliastra:e,en:e,enna:e,fc:e,fe:e,fermo:e,ferrara:e,fg:e,fi:e,firenze:e,florence:e,fm:e,foggia:e,"forli-cesena":e,"xn--forl-cesena-fcb":e,"forl\xec-cesena":e,forlicesena:e,"xn--forlcesena-c8a":e,forlìcesena:e,fr:e,frosinone:e,ge:e,genoa:e,genova:e,go:e,gorizia:e,gr:e,grosseto:e,"iglesias-carbonia":e,iglesiascarbonia:e,im:e,imperia:e,is:e,isernia:e,kr:e,"la-spezia":e,laquila:e,laspezia:e,latina:e,lc:e,le:e,lecce:e,lecco:e,li:e,livorno:e,lo:e,lodi:e,lt:e,lu:e,lucca:e,macerata:e,mantova:e,"massa-carrara":e,massacarrara:e,matera:e,mb:e,mc:e,me:e,"medio-campidano":e,mediocampidano:e,messina:e,mi:e,milan:e,milano:e,mn:e,mo:e,modena:e,"monza-brianza":e,"monza-e-della-brianza":e,monza:e,monzabrianza:e,monzaebrianza:e,monzaedellabrianza:e,ms:e,mt:e,na:e,naples:e,napoli:e,no:e,novara:e,nu:e,nuoro:e,og:e,ogliastra:e,"olbia-tempio":e,olbiatempio:e,or:e,oristano:e,ot:e,pa:e,padova:e,padua:e,palermo:e,parma:e,pavia:e,pc:e,pd:e,pe:e,perugia:e,"pesaro-urbino":e,pesarourbino:e,pescara:e,pg:e,pi:e,piacenza:e,pisa:e,pistoia:e,pn:e,po:e,pordenone:e,potenza:e,pr:e,prato:e,pt:e,pu:e,pv:e,pz:e,ra:e,ragusa:e,ravenna:e,rc:e,re:e,"reggio-calabria":e,"reggio-emilia":e,reggiocalabria:e,reggioemilia:e,rg:e,ri:e,rieti:e,rimini:e,rm:e,rn:e,ro:e,roma:e,rome:e,rovigo:e,s
407a:e,salerno:e,sassari:e,savona:e,si:e,siena:e,siracusa:e,so:e,sondrio:e,sp:e,sr:e,ss:e,suedtirol:e,"xn--sdtirol-n2a":e,südtirol:e,sv:e,ta:e,taranto:e,te:e,"tempio-olbia":e,tempioolbia:e,teramo:e,terni:e,tn:e,to:e,torino:e,tp:e,tr:e,"trani-andria-barletta":e,"trani-barletta-andria":e,traniandriabarletta:e,tranibarlettaandria:e,trapani:e,trento:e,treviso:e,trieste:e,ts:e,turin:e,tv:e,ud:e,udine:e,"urbino-pesaro":e,urbinopesaro:e,va:e,varese:e,vb:e,vc:e,ve:e,venezia:e,venice:e,verbania:e,vercelli:e,verona:e,vi:e,"vibo-valentia":e,vibovalentia:e,vicenza:e,viterbo:e,vr:e,vs:e,vt:e,vv:e,"12chars":t,blogspot:t,ibxos:t,iliadboxos:t,neen:[0,{jc:t}],"123homepage":t,"16-b":t,"32-b":t,"64-b":t,myspreadshop:t,syncloud:t}],je:[1,{co:e,net:e,org:e,of:t}],jm:f,jo:[1,{com:e,org:e,net:e,edu:e,sch:e,gov:e,mil:e,name:e}],jobs:e,jp:[1,{ac:e,ad:e,co:e,ed:e,go:e,gr:e,lg:e,ne:[1,{aseinet:Y,gehirn:t,ivory:t,"mail-box":t,mints:t,mokuren:t,opal:t,sakura:t,sumomo:t,topaz:t}],or:e,aichi:[1,{aisai:e,ama:e,anjo:e,asuke:e,chiryu:e,chita:e,fuso:e,gamagori:e,handa:e,hazu:e,hekinan:e,higashiura:e,ichinomiya:e,inazawa:e,inuyama:e,isshiki:e,iwakura:e,kanie:e,kariya:e,kasugai:e,kira:e,kiyosu:e,komaki:e,konan:e,kota:e,mihama:e,miyoshi:e,nishio:e,nisshin:e,obu:e,oguchi:e,oharu:e,okazaki:e,owariasahi:e,seto:e,shikatsu:e,shinshiro:e,shitara:e,tahara:e,takahama:e,tobishima:e,toei:e,togo:e,tokai:e,tokoname:e,toyoake:e,toyohashi:e,toyokawa:e,toyone:e,toyota:e,tsushima:e,yatomi:e}],akita:[1,{akita:e,daisen:e,fujisato:e,gojome:e,hachirogata:e,happou:e,higashinaruse:e,honjo:e,honjyo:e,ikawa:e,kamikoani:e,kamioka:e,katagami:e,kazuno:e,kitaakita:e,kosaka:e,kyowa:e,misato:e,mitane:e,moriyoshi:e,nikaho:e,noshiro:e,odate:e,oga:e,ogata:e,semboku:e,yokote:e,yurihonjo:e}],aomori:[1,{aomori:e,gonohe:e,hachinohe:e,hashikami:e,hiranai:e,hirosaki:e,itayanagi:e,kuroishi:e,misawa:e,mutsu:e,nakadomari:e,noheji:e,oirase:e,owani:e,rokunohe:e,sannohe:e,shichinohe:e,shingo:e,takko:e,towada:e,tsugaru:e,tsuruta:e}],chiba:[1,{abiko:e,asahi:e,chonan:e,chosei:e,choshi:e,chuo:e,funabashi:e,futtsu:e,hanamigawa:e,ichihara:e,ichikawa:e,ichinomiya:e,inzai:e,isumi:e,kamagaya:e,kamogawa:e,kashiwa:e,katori:e,katsuura:e,kimitsu:e,kisarazu:e,kozaki:e,kujukuri:e,kyonan:e,matsudo:e,midori:e,mihama:e,minamiboso:e,mobara:e,mutsuzawa:e,nagara:e,nagareyama:e,narashino:e,narita:e,noda:e,oamishirasato:e,omigawa:e,onjuku:e,otaki:e,sakae:e,sakura:e,shimofusa:e,shirako:e,shiroi:e,shisui:e,sodegaura:e,sosa:e,tako:e,tateyama:e,togane:e,tohnosho:e,tomisato:e,urayasu:e,yachimata:e,yachiyo:e,yokaichiba:e,yokoshibahikari:e,yotsukaido:e}],ehime:[1,{ainan:e,honai:e,ikata:e,imabari:e,iyo:e,kamijima:e,kihoku:e,kumakogen:e,masaki:e,matsuno:e,matsuyama:e,namikata:e,niihama:e,ozu:e,saijo:e,seiyo:e,shikokuchuo:e,tobe:e,toon:e,uchiko:e,uwajima:e,yawatahama:e}],fukui:[1,{echizen:e,eiheiji:e,fukui:e,ikeda:e,katsuyama:e,mihama:e,minamiechizen:e,obama:e,ohi:e,ono:e,sabae:e,sakai:e,takahama:e,tsuruga:e,wakasa:e}],fukuoka:[1,{ashiya:e,buzen:e,chikugo:e,chikuho:e,chikujo:e,chikushino:e,chikuzen:e,chuo:e,dazaifu:e,fukuchi:e,hakata:e,higashi:e,hirokawa:e,hisayama:e,iizuka:e,inatsuki:e,kaho:e,kasuga:e,kasuya:e,kawara:e,keisen:e,koga:e,kurate:e,kurogi:e,kurume:e,minami:e,miyako:e,miyama:e,miyawaka:e,mizumaki:e,munakata:e,nakagawa:e,nakama:e,nishi:e,nogata:e,ogori:e,okagaki:e,okawa:e,oki:e,omuta:e,onga:e,onojo:e,oto:e,saigawa:e,sasaguri:e,shingu:e,shinyoshitomi:e,shonai:e,soeda:e,sue:e,tachiarai:e,tagawa:e,takata:e,toho:e,toyotsu:e,tsuiki:e,ukiha:e,umi:e,usui:e,yamada:e,yame:e,yanagawa:e,yukuhashi:e}],fukushima:[1,{aizubange:e,aizumisato:e,aizuwakamatsu:e,asakawa:e,bandai:e,date:e,fukushima:e,furudono:e,futaba:e,hanawa:e,higashi:e,hirata:e,hirono:e,iitate:e,inawashiro:e,ishikawa:e,iwaki:e,izumizaki:e,kagamiishi:e,kaneyama:e,kawamata:e,kitakata:e,kitashiobara:e,koori:e,koriyama:e,kunimi:e,miharu:e,mishima:e,namie:e,nango:e,nishiaizu:e,nishigo:e,okuma:e,omotego:e,ono:e,otama:e,samegawa:e,shimogo:e,shirakawa:e,showa:e,soma:e,sukagawa:e,taishin:e,tamakawa:e,tanagura:e,tenei:e,yabuki:e,yamato:e,yamatsuri:e,yanaizu:e,yugawa:e}],gifu:[1,{anpachi:e,ena:e,gifu:e,ginan:e,godo:e,gujo:e,hashima:e,hichiso:e,hida:e,higashishirakawa:e,ibigawa:e,ikeda:e,kakamigahara:e,kani:e,kasahara:e,kasamatsu:e,kawaue:e,kitagata:e,mino:e,minokamo:e,mitake:e,mizunami:e,motosu:e,nakatsugawa:e,ogaki:e,sakahogi:e,seki:e,sekigahara:e,shirakawa:e,tajimi:e,takayama:e,tarui:e,toki:e,tomika:e,wanouchi:e,yamagata:e,yaotsu:e,yoro:e}],gunma:[1,{annaka:e,chiyoda:e,fujioka:e,higashiagatsuma:e,isesaki:e,itakura:e,kanna:e,kanra:e,katashina:e,kawaba:e,kiryu:e,kusatsu:e,maebashi:e,meiwa:e,midori:e,minakami:e,naganohara:e,nakanojo:e,nanmoku:e,numata:e,oizumi:e,ora:e,ota:e,shibukawa:e,shimonita:e,shinto:e,showa:e,takasaki:e,takayama:e,tamamura:e,tatebayashi:e,tomioka:e,tsukiyono:e,tsumagoi:e,ueno:e,yoshioka:e}],hiroshima:[1,{asaminami:e,daiwa:e,etajima:e,fuchu:e,fukuyama:e,hatsukaichi:e,higashihiroshima:e,hongo:e,jinsekikogen:e,kaita:e,kui:e,kumano:e,kure:e,mihara:e,miyoshi:e,naka:e,onomichi:e,osakikamijima:e,otake:e,saka:e,sera:e,seranishi:e,shinichi:e,shobara:e,takehara:e}],hokkaido:[1,{abashiri:e,abira:e,aibetsu:e,akabira:e,akkeshi:e,asahikawa:e,ashibetsu:e,ashoro:e,assabu:e,atsuma:e,bibai:e,biei:e,bifuka:e,bihoro:e,biratori:e,chippubetsu:e,chitose:e,date:e,ebetsu:e,embetsu:e,eniwa:e,erimo:e,esan:e,esashi:e,fukagawa:e,fukushima:e,furano:e,furubira:e,haboro:e,hakodate:e,hamatonbetsu:e,hidaka:e,higashikagura:e,higashikawa:e,hiroo:e,hokuryu:e,hokuto:e,honbetsu:e,horokanai:e,horonobe:e,ikeda:e,imakane:e,ishikari:e,iwamizawa:e,iwanai:e,kamifurano:e,kamikawa:e,kamishihoro:e,kamisunagawa:e,kamoenai:e,kayabe:e,kembuchi:e,kikonai:e,kimobetsu:e,kitahiroshima:e,kitami:e,kiyosato:e,koshimizu:e,kunneppu:e,kuriyama:e,kuromatsunai:e,kushiro:e,kutchan:e,kyowa:e,mashike:e,matsumae:e,mikasa:e,minamifurano:e,mombetsu:e,moseushi:e,mukawa:e,muroran:e,naie:e,nakagawa:e,nakasatsunai:e,nakatombetsu:e,nanae:e,nanporo:e,nayoro:e,nemuro:e,niikappu:e,niki:e,nishiokoppe:e,noboribetsu:e,numata:e,obihiro:e,obira:e,oketo:e,okoppe:e,otaru:e,otobe:e,otofuke:e,otoineppu:e,oumu:e,ozora:e,pippu:e,rankoshi:e,rebun:e,rikubetsu:e,rishiri:e,rishirifuji:e,saroma:e,sarufutsu:e,shakotan:e,shari:e,shibecha:e,shibetsu:e,shikabe:e,shikaoi:e,shimamaki:e,shimizu:e,shimokawa:e,shinshinotsu:e,shintoku:e,shiranuka:e,shiraoi:e,shiriuchi:e,sobetsu:e,sunagawa:e,taiki:e,takasu:e,takikawa:e,takinoue:e,teshikaga:e,tobetsu:e,tohma:e,tomakomai:e,tomari:e,toya:e,toyako:e,toyotomi:e,toyoura:e,tsubetsu:e,tsukigata:e,urakawa:e,urausu:e,uryu:e,utashinai:e,wakkanai:e,wassamu:e,yakumo:e,yoichi:e}],hyogo:[1,{aioi:e,akashi:e,ako:e,amagasaki:e,aogaki:e,asago:e,ashiya:e,awaji:e,fukusaki:e,goshiki:e,harima:e,himeji:e,ichikawa:e,inagawa:e,itami:e,kakogawa:e,kamigori:e,kamikawa:e,kasai:e,kasuga:e,kawanishi:e,miki:e,minamiawaji:e,nishinomiya:e,nishiwaki:e,ono:e,sanda:e,sannan:e,sasayama:e,sayo:e,shingu:e,shinonsen:e,shiso:e,sumoto:e,taishi:e,taka:e,takarazuka:e,takasago:e,takino:e,tamba:e,tatsuno:e,toyooka:e,yabu:e,yashiro:e,yoka:e,yokawa:e}],ibaraki:[1,{ami:e,asahi:e,bando:e,chikusei:e,daigo:e,fujishiro:e,hitachi:e,hitachinaka:e,hitachiomiya:e,hitachiota:e,ibaraki:e,ina:e,inashiki:e,itako:e,iwama:e,joso:e,kamisu:e,kasama:e,kashima:e,kasumigaura:e,koga:e,miho:e,mito:e,moriya:e,naka:e,namegata:e,oarai:e,ogawa:e,omitama:e,ryugasaki:e,sakai:e,sakuragawa:e,shimodate:e,shimotsuma:e,shirosato:e,sowa:e,suifu:e,takahagi:e,tamatsukuri:e,tokai:e,tomobe:e,tone:e,toride:e,tsuchiura:e,tsukuba:e,uchihara:e,ushiku:e,yachiyo:e,yamagata:e,yawara:e,yuki:e}],ishikawa:[1,{anamizu:e,hakui:e,hakusan:e,kaga:e,kahoku:e,kanazawa:e,kawakita:e,komatsu:e,nakanoto:e,nanao:e,nomi:e,nonoichi:e,noto:e,shika:e,suzu:e,tsubata:e,tsurugi:e,uchinada:e,wajima:e}],iwate:[1,{fudai:e,fujisawa:e,hanamaki:e,hiraizumi:e,hirono:e,ichinohe:e,ichinoseki:e,iwaizumi:e,iwate:e,joboji:e,kamaishi:e,kanegasaki:e,karumai:e,kawai:e,kitakami:e,kuji:e,kunohe:e,kuzumaki:e,miyako:e,mizusawa:e,morioka:e,ninohe:e,noda:e,ofunato:e,oshu:e,otsuchi:e,rikuzentakata:e,shiwa:e,shizukuishi:e,sumita:e,tanohata:e,tono:e,yahaba:e,yamada:e}],kagawa:[1,{ayagawa:e,higashikagawa:e,kanonji:e,kotohira:e,manno:e,marugame:e,mitoyo:e,naoshima:e,sanuki:e,tadotsu:e,takamatsu:e,tonosho:e,uchinomi:e,utazu:e,zentsuji:e}],kagoshima:[1,{akune:e,amami:e,hioki:e,isa:e,isen:e,izumi:e,kagoshima:e,kanoya:e,kawanabe:e,kinko:e,kouyama:e,makurazaki:e,matsumoto:e,minamitane:e,nakatane:e,nishinoomote:e,satsumasendai:e,soo:e,tarumizu:e,yusui:e}],kanagawa:[1,{aikawa:e,atsugi:e,ayase:e,chigasaki:e,ebina:e,fujisawa:e,hadano:e,hakone:e,hiratsuka:e,isehara:e,kaisei:e,kamakura:e,kiyokawa:e,matsuda:e,minamiashigara:e,miura:e,nakai:e,ninomiya:e,odawara:e,oi:e,oiso:e,sagamihara:e,samukawa:e,tsukui:e,yamakita:e,yamato:e,yokosuka:e,yugawara:e,zama:e,zushi:e}],kochi:[1,{aki:e,geisei:e,hidaka:e,higashitsuno:e,ino:e,kagami:e,kami:e,kitagawa:e,kochi:e,mihara:e,motoyama:e,muroto:e,nahari:e,nakamura:e,nankoku:e,nishitosa:e,niyodogawa:e,ochi:e,okawa:e,otoyo:e,otsuki:e,sakawa:e,sukumo:e,susaki:e,tosa:e,tosashimizu:e,toyo:e,tsuno:e,umaji:e,yasuda:e,yusuhara:e}],kumamoto:[1,{amakusa:e,arao:e,aso:e,choyo:e,gyokuto:e,kamiamakusa:e,kikuchi:e,kumamoto:e,mashiki:e,mifune:e,minamata:e,minamioguni:e,nagasu:e,nishihara:e,oguni:e,ozu:e,sumoto:e,takamori:e,uki:e,uto:e,yamaga:e,yamato:e,yatsushiro:e}],kyoto:[1,{ayabe:e,fukuchiyama:e,higashiyama:e,ide:e,ine:e,joyo:e,kameoka:e,kamo:e,kita:e,kizu:e,kumiyama:e,kyotamba:e,kyotanabe:e,kyotango:e,maizuru:e,minami:e,minamiyamashiro:e,miyazu:e,muko:e,nagaokakyo:e,nakagyo:e,nantan:e,oyamazaki:e,sakyo:e,seika:e,tanabe:e,uji:e,ujitawara:e,wazuka:e,yamashina:e,yawata:e}],mie:[1,{asahi:e,inabe:e,ise:e,kameyama:e,kawagoe:e,kiho:e,kisosaki:e,kiwa:e,komono:e,kumano:e,kuwana:e,matsusaka:e,meiwa:e,mihama:e,minamiise:e,misugi:e,miyama:e,nabari:e,shima:e,suzuka:e,tado:e,taiki:e,taki:e,tamaki:e,toba:e,tsu:e,udono:e,ureshino:e,watarai:e,yokkaichi:e}],miyagi:[1,{furukawa:e,higashimatsushima:e,ishinomaki:e,iwanuma:e,kakuda:e,kami:e,kawasaki:e,marumori:e,matsushima:e,minamisanriku:e,misato:e,murata:e,natori:e,ogawara:e,ohira:e,onagawa:e,osaki:e,rifu:e,semine:e,shibata:e,shichikashuku:e,shikama:e,shiogama:e,shiroishi:e,tagajo:e,taiwa:e,tome:e,tomiya:e,wakuya:e,watari:e,yamamoto:e,zao:e}],miyazaki:[1,{aya:e,ebino:e,gokase:e,hyuga:e,kadogawa:e,kawaminami:e,kijo:e,kitagawa:e,kitakata:e,kitaura:e,kobayashi:e,kunitomi:e,kushima:e,mimata:e,miyakonojo:e,miyazaki:e,morotsuka:e,nichinan:e,nishimera:e,nobeoka:e,saito:e,shiiba:e,shintomi:e,takaharu:e,takanabe:e,takazaki:e,tsuno:e}],nagano:[1,{achi:e,agematsu:e,anan:e,aoki:e,asahi:e,azumino:e,chikuhoku:e,chikuma:e,chino:e,fujimi:e,hakuba:e,hara:e,hiraya:e,iida:e,iijima:e,iiyama:e,iizuna:e,ikeda:e,ikusaka:e,ina:e,karuizawa:e,kawakami:e,kiso:e,kisofukushima:e,kitaaiki:e,komagane:e,komoro:e,matsukawa:e,matsumoto:e,miasa:e,minamiaiki:e,minamimaki:e,minamiminowa:e,minowa:e,miyada:e,miyota:e,mochizuki:e,nagano:e,nagawa:e,nagiso:e,nakagawa:e,nakano:e,nozawaonsen:e,obuse:e,ogawa:e,okaya:e,omachi:e,omi:e,ookuwa:e,ooshika:e,otaki:e,otari:e,sakae:e,sakaki:e,saku:e,sakuho:e,shimosuwa:e,shinanomachi:e,shiojiri:e,suwa:e,suzaka:e,takagi:e,takamori:e,takayama:e,tateshina:e,tatsuno:e,togakushi:e,togura:e,tomi:e,ueda:e,wada:e,yamagata:e,yamanouchi:e,yasaka:e,yasuoka:e}],nagasaki:[1,{chijiwa:e,futsu:e,goto:e,hasami:e,hirado:e,iki:e,isahaya:e,kawatana:e,kuchinotsu:e,matsuura:e,nagasaki:e,obama:e,omura:e,oseto:e,saikai:e,sasebo:e,seihi:e,shimabara:e,shinkamigoto:e,togitsu:e,tsushima:e,unzen:e}],nara:[1,{ando:e,gose:e,heguri:e,higashiyoshino:e,ikaruga:e,ikoma:e,kamikitayama:e,kanmaki:e,kashiba:e,kashihara:e,katsuragi:e,kawai:e,kawakami:e,kawanishi:e,koryo:e,kurotaki:e,mitsue:e,miyake:e,nara:e,nosegawa:e,oji:e,ouda:e,oyodo:e,sakurai:e,sango:e,shimoichi:e,shimokitayama:e,shinjo:e,soni:e,takatori:e,tawaramoto:e,tenkawa:e,tenri:e,uda:e,yamatokoriyama:e,yamatotakada:e,yamazoe:e,yoshino:e}],niigata:[1,{aga:e,agano:e,gosen:e,itoigawa:e,izumozaki:e,joetsu:e,kamo:e,kariwa:e,kashiwazaki:e,minamiuonuma:e,mitsuke:e,muika:e,murakami:e,myoko:e,nagaoka:e,niigata:e,ojiya:e,omi:e,sado:e,sanjo:e,seiro:e,seirou:e,sekikawa:e,shibata:e,tagami:e,tainai:e,tochio:e,tokamachi:e,tsubame:e,tsunan:e,uonuma:e,yahiko:e,yoita:e,yuzawa:e}],oita:[1,{beppu:e,bungoono:e,bungotakada:e,hasama:e,hiji:e,himeshima:e,hita:e,kamitsue:e,kokonoe:e,kuju:e,kunisaki:e,kusu:e,oita:e,saiki:e,taketa:e,tsukumi:e,usa:e,usuki:e,yufu:e}],okayama:[1,{akaiwa:e,asakuchi:e,bizen:e,hayashima:e,ibara:e,kagamino:e,kasaoka:e,kibichuo:e,kumenan:e,kurashiki:e,maniwa:e,misaki:e,n
407agi:e,niimi:e,nishiawakura:e,okayama:e,satosho:e,setouchi:e,shinjo:e,shoo:e,soja:e,takahashi:e,tamano:e,tsuyama:e,wake:e,yakage:e}],okinawa:[1,{aguni:e,ginowan:e,ginoza:e,gushikami:e,haebaru:e,higashi:e,hirara:e,iheya:e,ishigaki:e,ishikawa:e,itoman:e,izena:e,kadena:e,kin:e,kitadaito:e,kitanakagusuku:e,kumejima:e,kunigami:e,minamidaito:e,motobu:e,nago:e,naha:e,nakagusuku:e,nakijin:e,nanjo:e,nishihara:e,ogimi:e,okinawa:e,onna:e,shimoji:e,taketomi:e,tarama:e,tokashiki:e,tomigusuku:e,tonaki:e,urasoe:e,uruma:e,yaese:e,yomitan:e,yonabaru:e,yonaguni:e,zamami:e}],osaka:[1,{abeno:e,chihayaakasaka:e,chuo:e,daito:e,fujiidera:e,habikino:e,hannan:e,higashiosaka:e,higashisumiyoshi:e,higashiyodogawa:e,hirakata:e,ibaraki:e,ikeda:e,izumi:e,izumiotsu:e,izumisano:e,kadoma:e,kaizuka:e,kanan:e,kashiwara:e,katano:e,kawachinagano:e,kishiwada:e,kita:e,kumatori:e,matsubara:e,minato:e,minoh:e,misaki:e,moriguchi:e,neyagawa:e,nishi:e,nose:e,osakasayama:e,sakai:e,sayama:e,sennan:e,settsu:e,shijonawate:e,shimamoto:e,suita:e,tadaoka:e,taishi:e,tajiri:e,takaishi:e,takatsuki:e,tondabayashi:e,toyonaka:e,toyono:e,yao:e}],saga:[1,{ariake:e,arita:e,fukudomi:e,genkai:e,hamatama:e,hizen:e,imari:e,kamimine:e,kanzaki:e,karatsu:e,kashima:e,kitagata:e,kitahata:e,kiyama:e,kouhoku:e,kyuragi:e,nishiarita:e,ogi:e,omachi:e,ouchi:e,saga:e,shiroishi:e,taku:e,tara:e,tosu:e,yoshinogari:e}],saitama:[1,{arakawa:e,asaka:e,chichibu:e,fujimi:e,fujimino:e,fukaya:e,hanno:e,hanyu:e,hasuda:e,hatogaya:e,hatoyama:e,hidaka:e,higashichichibu:e,higashimatsuyama:e,honjo:e,ina:e,iruma:e,iwatsuki:e,kamiizumi:e,kamikawa:e,kamisato:e,kasukabe:e,kawagoe:e,kawaguchi:e,kawajima:e,kazo:e,kitamoto:e,koshigaya:e,kounosu:e,kuki:e,kumagaya:e,matsubushi:e,minano:e,misato:e,miyashiro:e,miyoshi:e,moroyama:e,nagatoro:e,namegawa:e,niiza:e,ogano:e,ogawa:e,ogose:e,okegawa:e,omiya:e,otaki:e,ranzan:e,ryokami:e,saitama:e,sakado:e,satte:e,sayama:e,shiki:e,shiraoka:e,soka:e,sugito:e,toda:e,tokigawa:e,tokorozawa:e,tsurugashima:e,urawa:e,warabi:e,yashio:e,yokoze:e,yono:e,yorii:e,yoshida:e,yoshikawa:e,yoshimi:e}],shiga:[1,{aisho:e,gamo:e,higashiomi:e,hikone:e,koka:e,konan:e,kosei:e,koto:e,kusatsu:e,maibara:e,moriyama:e,nagahama:e,nishiazai:e,notogawa:e,omihachiman:e,otsu:e,ritto:e,ryuoh:e,takashima:e,takatsuki:e,torahime:e,toyosato:e,yasu:e}],shimane:[1,{akagi:e,ama:e,gotsu:e,hamada:e,higashiizumo:e,hikawa:e,hikimi:e,izumo:e,kakinoki:e,masuda:e,matsue:e,misato:e,nishinoshima:e,ohda:e,okinoshima:e,okuizumo:e,shimane:e,tamayu:e,tsuwano:e,unnan:e,yakumo:e,yasugi:e,yatsuka:e}],shizuoka:[1,{arai:e,atami:e,fuji:e,fujieda:e,fujikawa:e,fujinomiya:e,fukuroi:e,gotemba:e,haibara:e,hamamatsu:e,higashiizu:e,ito:e,iwata:e,izu:e,izunokuni:e,kakegawa:e,kannami:e,kawanehon:e,kawazu:e,kikugawa:e,kosai:e,makinohara:e,matsuzaki:e,minamiizu:e,mishima:e,morimachi:e,nishiizu:e,numazu:e,omaezaki:e,shimada:e,shimizu:e,shimoda:e,shizuoka:e,susono:e,yaizu:e,yoshida:e}],tochigi:[1,{ashikaga:e,bato:e,haga:e,ichikai:e,iwafune:e,kaminokawa:e,kanuma:e,karasuyama:e,kuroiso:e,mashiko:e,mibu:e,moka:e,motegi:e,nasu:e,nasushiobara:e,nikko:e,nishikata:e,nogi:e,ohira:e,ohtawara:e,oyama:e,sakura:e,sano:e,shimotsuke:e,shioya:e,takanezawa:e,tochigi:e,tsuga:e,ujiie:e,utsunomiya:e,yaita:e}],tokushima:[1,{aizumi:e,anan:e,ichiba:e,itano:e,kainan:e,komatsushima:e,matsushige:e,mima:e,minami:e,miyoshi:e,mugi:e,nakagawa:e,naruto:e,sanagochi:e,shishikui:e,tokushima:e,wajiki:e}],tokyo:[1,{adachi:e,akiruno:e,akishima:e,aogashima:e,arakawa:e,bunkyo:e,chiyoda:e,chofu:e,chuo:e,edogawa:e,fuchu:e,fussa:e,hachijo:e,hachioji:e,hamura:e,higashikurume:e,higashimurayama:e,higashiyamato:e,hino:e,hinode:e,hinohara:e,inagi:e,itabashi:e,katsushika:e,kita:e,kiyose:e,kodaira:e,koganei:e,kokubunji:e,komae:e,koto:e,kouzushima:e,kunitachi:e,machida:e,meguro:e,minato:e,mitaka:e,mizuho:e,musashimurayama:e,musashino:e,nakano:e,nerima:e,ogasawara:e,okutama:e,ome:e,oshima:e,ota:e,setagaya:e,shibuya:e,shinagawa:e,shinjuku:e,suginami:e,sumida:e,tachikawa:e,taito:e,tama:e,toshima:e}],tottori:[1,{chizu:e,hino:e,kawahara:e,koge:e,kotoura:e,misasa:e,nanbu:e,nichinan:e,sakaiminato:e,tottori:e,wakasa:e,yazu:e,yonago:e}],toyama:[1,{asahi:e,fuchu:e,fukumitsu:e,funahashi:e,himi:e,imizu:e,inami:e,johana:e,kamiichi:e,kurobe:e,nakaniikawa:e,namerikawa:e,nanto:e,nyuzen:e,oyabe:e,taira:e,takaoka:e,tateyama:e,toga:e,tonami:e,toyama:e,unazuki:e,uozu:e,yamada:e}],wakayama:[1,{arida:e,aridagawa:e,gobo:e,hashimoto:e,hidaka:e,hirogawa:e,inami:e,iwade:e,kainan:e,kamitonda:e,katsuragi:e,kimino:e,kinokawa:e,kitayama:e,koya:e,koza:e,kozagawa:e,kudoyama:e,kushimoto:e,mihama:e,misato:e,nachikatsuura:e,shingu:e,shirahama:e,taiji:e,tanabe:e,w
407akayama:e,yuasa:e,yura:e}],yamagata:[1,{asahi:e,funagata:e,higashine:e,iide:e,kahoku:e,kaminoyama:e,kaneyama:e,kawanishi:e,mamurogawa:e,mikawa:e,murayama:e,nagai:e,nakayama:e,nanyo:e,nishikawa:e,obanazawa:e,oe:e,oguni:e,ohkura:e,oishida:e,sagae:e,sakata:e,sakegawa:e,shinjo:e,shirataka:e,shonai:e,takahata:e,tendo:e,tozawa:e,tsuruoka:e,yamagata:e,yamanobe:e,yonezawa:e,yuza:e}],yamaguchi:[1,{abu:e,hagi:e,hikari:e,hofu:e,iwakuni:e,kudamatsu:e,mitou:e,nagato:e,oshima:e,shimonoseki:e,shunan:e,tabuse:e,tokuyama:e,toyota:e,ube:e,yuu:e}],yamanashi:[1,{chuo:e,doshi:e,fuefuki:e,fujikawa:e,fujikawaguchiko:e,fujiyoshida:e,hayakawa:e,hokuto:e,ichikawamisato:e,kai:e,kofu:e,koshu:e,kosuge:e,"minami-alps":e,minobu:e,nakamichi:e,nanbu:e,narusawa:e,nirasaki:e,nishikatsura:e,oshino:e,otsuki:e,showa:e,tabayama:e,tsuru:e,uenohara:e,yamanakako:e,yamanashi:e}],"xn--4pvxs":e,æ æ¨:e,"xn--vgu402c":e,æç¥:e,"xn--c3s14m":e,æåª:e,"xn--f6qx53a":e,å
µåº«:e,"xn--8pvr4u":e,çæ¬:e,"xn--uist22h":e,è¨å:e,"xn--djrs72d6uy":e,åæµ·é:e,"xn--mkru45i":e,åè:e,"xn--0trq7p7nn":e,åæå±±:e,"xn--8ltr62k":e,é·å´:e,"xn--2m4a15e":e,é·é:e,"xn--efvn9s":e,æ°æ½:e,"xn--32vp30h":e,鿣®:e,"xn--4it797k":e,é岡:e,"xn--1lqs71d":e,æ±äº¬:e,"xn--5rtp49c":e,ç³å·:e,"xn--5js045d":e,å¼ç:e,"xn--ehqz56n":e,ä¸é:e,"xn--1lqs03n":e,京é½:e,"xn--qqqt11m":e,ä½è³:e,"xn--kbrq7o":e,大å:e,"xn--pssu33l":e,大éª:e,"xn--ntsq17g":e,å¥è¯:e,"xn--uisz3g":e,å®®å:e,"xn--6btw5a":e,å®®å´:e,"xn--1ctwo":e,å¯å±±:e,"xn--6orx2r":e,å±±å£:e,"xn--rht61e":e,山形:e,"xn--rht27z":e,山梨:e,"xn--djty4k":e,岩æ:e,"xn--nit225k":e,å²é:e,"xn--rht3d":e,岡山:e,"xn--klty5x":e,å³¶æ ¹:e,"xn--kltx9a":e,åºå³¶:e,"xn--kltp7d":e,徳島:e,"xn--uuwu58a":e,æ²ç¸:e,"xn--zbx025d":e,æ»è³:e,"xn--ntso0iqx3a":e,ç¥å¥å·:e,"xn--elqq16h":e,ç¦äº:e,"xn--4it168d":e,ç¦å²¡:e,"xn--klt787d":e,ç¦å³¶:e,"xn--rny31h":e,ç§ç°:e,"xn--7t0a264c":e,群馬:e,"xn--5rtq34k":e,é¦å·:e,"xn--k7yn95e":e,é«ç¥:e,"xn--tor131o":e,é³¥å:e,"xn--d5qv7z876c":e,鹿å
å³¶:e,kawasaki:f,kitakyushu:f,kobe:f,nagoya:f,sapporo:f,sendai:f,yokohama:f,buyshop:t,fashionstore:t,handcrafted:t,kawaiishop:t,supersale:t,theshop:t,"0am":t,"0g0":t,"0j0":t,"0t0":t,mydns:t,pgw:t,wjg:t,usercontent:t,angry:t,babyblue:t,babymilk:t,backdrop:t,bambina:t,bitter:t,blush:t,boo:t,boy:t,boyfriend:t,but:t,candypop:t,capoo:t,catfood:t,cheap:t,chicappa:t,chillout:t,chips:t,chowder:t,chu:t,ciao:t,cocotte:t,coolblog:t,cranky:t,cutegirl:t,daa:t,deca:t,deci:t,digick:t,egoism:t,fakefur:t,fem:t,flier:t,floppy:t,fool:t,frenchkiss:t,girlfriend:t,girly:t,gloomy:t,gonna:t,greater:t,hacca:t,heavy:t,her:t,hiho:t,hippy:t,holy:t,hungry:t,icurus:t,itigo:t,jellybean:t,kikirara:t,kill:t,kilo:t,kuron:t,littlestar:t,lolipopmc:t,lolitapunk:t,lomo:t,lovepop:t,lovesick:t,main:t,mods:t,mond:t,mongolian:t,moo:t,namaste:t,nikita:t,nobushi:t,noor:t,oops:t,parallel:t,parasite:t,pecori:t,peewee:t,penne:t,pepper:t,perma:t,pigboat:t,pinoko:t,punyu:t,pupu:t,pussycat:t,pya:t,raindrop:t,readymade:t,sadist:t,schoolbus:t,secret:t,staba:t,stripper:t,sub:t,sunnyday:t,thick:t,tonkotsu:t,under:t,upper:t,velvet:t,verse:t,versus:t,vivian:t,watson:t,weblike:t,whitesnow:t,zombie:t,blogspot:t,hateblo:t,hatenablog:t,hatenadiary:t,"2-d":t,bona:t,crap:t,daynight:t,eek:t,flop:t,halfmoon:t,jeez:t,matrix:t,mimoza:t,netgamers:t,nyanta:t,o0o0:t,rdy:t,rgr:t,rulez:t,sakurastorage:[0,{isk01:K,isk02:K}],saloon:t,sblo:t,skr:t,tank:t,"uh-oh":t,undo:t,webaccel:[0,{rs:t,user:t}],websozai:t,xii:t}],ke:[1,{ac:e,co:o,go:e,info:e,me:e,mobi:e,ne:e,or:e,sc:e}],kg:[1,{org:e,net:e,com:e,edu:e,gov:e,mil:e,us:t}],kh:f,ki:X,km:[1,{org:e,nom:e,gov:e,prd:e,tm:e,edu:e,mil:e,ass:e,com:e,coop:e,asso:e,presse:e,medecin:e,notaires:e,pharmaciens:e,veterinaire:e,gouv:e}],kn:[1,{net:e,org:e,edu:e,gov:e}],kp:[1,{com:e,edu:e,gov:e,org:e,rep:e,tra:e}],kr:[1,{ac:e,co:e,es:e,go:e,hs:e,kg:e,mil:e,ms:e,ne:e,or:e,pe:e,re:e,sc:e,busan:e,chungbuk:e,chungnam:e,daegu:e,daejeon:e,gangwon:e,gwangju:e,gyeongbuk:e,gyeonggi:e,gyeongnam:e,incheon:e,jeju:e,jeonbuk:e,jeonnam:e,seoul:e,ulsan:e,blogspot:t}],kw:[1,{com:e,edu:e,emb:e,gov:e,ind:e,net:e,org:e}],ky:V,kz:[1,{org:e,edu:e,net:e,gov:e,mil:e,com:e,jcloud:t}],la:[1,{int:e,net:e,info:e,edu:e,gov:e,per:e,com:e,org:e,bnr:t}],lb:n,lc:[1,{com:e,net:e,co:e,org:e,edu:e,gov:e,oy:t}],li:[1,{blogspot:t,caa:t}],lk:[1,{gov:e,sch:e,net:e,int:e,com:e,org:e,edu:e,ngo:e,soc:e,web:e,ltd:e,assn:e,grp:e,hotel:e,ac:e}],lr:n,ls:[1,{ac:e,biz:e,co:e,edu:e,gov:e,info:e,net:e,org:e,sc:e}],lt:[1,{gov:e,blogspot:t}],lu:[1,{blogspot:t,"123website":t}],lv:[1,{com:e,edu:e,gov:e,org:e,mil:e,id:e,net:e,asn:e,conf:e}],ly:[1,{com:e,net:e,gov:e,plc:e,edu:e,sch:e,med:e,org:e,id:e}],ma:[1,{co:e,net:e,gov:e,org:e,ac:e,press:e}],mc:[1,{tm:e,asso:e}],md:[1,{blogspot:t,ir:t}],me:[1,{co:e,net:e,org:e,edu:e,ac:e,gov:e,its:e,priv:e,c66:t,craft:t,edgestack:t,filegear:t,glitch:t,"filegear-sg":t,lohmus:t,barsy:t,mcdir:t,mcpe:t,brasilia:t,ddns:t,dnsfor:t,hopto:t,loginto:t,noip:t,webhop:t,soundcast:t,tcp4:t,vp4:t,diskstation:t,dscloud:t,i234:t,myds:t,synology:t,transip:F,yombo:t,nohost:t}],mg:[1,{org:e,nom:e,gov:e,prd:e,tm:e,edu:e,mil:e,com:e,co:e}],mh:e,mil:e,mk:[1,{com:e,org:e,net:e,edu:e,gov:e,inf:e,name:e,blogspot:t}],ml:[1,{com:e,edu:e,gouv:e,gov:e,net:e,org:e,presse:e}],mm:f,mn:[1,{gov:e,edu:e,org:e,nyc:t}],mo:n,mobi:[1,{barsy:t,dscloud:t}],mp:[1,{ju:t}],mq:e,mr:s,ms:[1,{com:e,edu:e,gov:e,net:e,org:e,lab:t,minisite:t}],mt:[1,{com:o,edu:e,net:e,org:e}],mu:[1,{com:e,net:e,org:e,gov:e,ac:e,co:e,or:e}],museum:e,mv:[1,{aero:e,biz:e,com:e,coop:e,edu:e,gov:e,info:e,int:e,mil:e,museum:e,name:e,net:e,org:e,pro:e}],mw:[1,{ac:e,biz:e,co:e,com:e,coop:e,edu:e,gov:e,int:e,net:e,org:e}],mx:[1,{com:e,org:e,gob:e,edu:e,net:e,blogspot:t}],my:[1,{biz:e,com:e,edu:e,gov:e,mil:e,name:e,net:e,org:e,blogspot:t}],mz:[1,{ac:e,adv:e,co:e,edu:e,gov:e,mil:e,net:e,org:e}],na:[1,{alt:e,co:e,com:e,gov:e,net:e,org:e}],name:[1,{her:J,his:J}],nc:[1,{asso:e,nom:e}],ne:e,net:[1,{adobeaemcloud:t,"adobeio-static":t,adobeioruntime:t,akadns:t,akamai:t,"akamai-staging":t,akamaiedge:t,"akamaiedge-staging":t,akamaihd:t,"akamaihd-staging":t,akamaiorigin:t,"akamaiorigin-staging":t,akamaized:t,"akamaized-staging":t,edgekey:t,"edgekey-staging":t,edgesuite:t,"edgesuite-staging":t,alwaysdata:t,myamaze:t,cloudfront:t,appudo:t,"atlassian-dev":[0,{prod:q}],myfritz:t,onavstack:t,shopselect:t,blackbaudcdn:t,boomla:t,bplaced:t,
407square7:t,cdn77:[0,{r:t}],"cdn77-ssl":t,gb:t,hu:t,jp:t,se:t,uk:t,clickrising:t,"ddns-ip":t,"dns-cloud":t,"dns-dynamic":t,cloudaccess:t,cloudflare:[2,{cdn:t}],cloudflareanycast:q,cloudflarecn:q,cloudflareglobal:q,ctfcloud:t,"feste-ip":t,"knx-server":t,"static-access":t,cryptonomic:r,dattolocal:t,mydatto:t,debian:t,definima:t,"at-band-camp":t,blogdns:t,"broke-it":t,buyshouses:t,dnsalias:t,dnsdojo:t,"does-it":t,dontexist:t,dynalias:t,dynathome:t,endofinternet:t,"from-az":t,"from-co":t,"from-la":t,"from-ny":t,"gets-it":t,"ham-radio-op":t,homeftp:t,homeip:t,homelinux:t,homeunix:t,"in-the-band":t,"is-a-chef":t,"is-a-geek":t,"isa-geek":t,"kicks-ass":t,"office-on-the":t,podzone:t,"scrapper-site":t,selfip:t,"sells-it":t,servebbs:t,serveftp:t,thruhere:t,webhop:t,casacam:t,dynu:t,dynv6:t,twmail:t,ru:t,channelsdvr:[2,{u:t}],fastly:[0,{freetls:t,map:t,prod:[0,{a:t,global:t}],ssl:[0,{a:t,b:t,global:t}]}],fastlylb:[2,{map:t}],edgeapp:t,"keyword-on":t,"live-on":t,"server-on":t,"cdn-edges":t,localcert:t,localhostcert:t,heteml:t,cloudfunctions:t,"grafana-dev":t,iobb:t,moonscale:t,"in-dsl":t,"in-vpn":t,"apps-1and1":t,ipifony:t,cloudjiffy:[2,{"fra1-de":t,"west1-us":t}],elastx:[0,{"jls-sto1":t,"jls-sto2":t,"jls-sto3":t}],massivegrid:[0,{paas:[0,{"fr-1":t,"lon-1":t,"lon-2":t,"ny-1":t,"ny-2":t,"sg-1":t}]}],saveincloud:[0,{jelastic:t,"nordeste-idc":t}],scaleforce:B,kinghost:t,uni5:t,krellian:t,ggff:t,barsy:t,memset:t,"azure-api":t,"azure-mobile":t,azureedge:t,azurefd:t,azurestaticapps:[2,{1:t,2:t,3:t,4:t,5:t,6:t,7:t,centralus:t,eastasia:t,eastus2:t,westeurope:t,westus2:t}],azurewebsites:t,cloudapp:t,trafficmanager:t,windows:[0,{core:[0,{blob:t}],servicebus:t}],mynetname:[0,{sn:t}],routingthecloud:t,bounceme:t,ddns:t,"eating-organic":t,mydissent:t,myeffect:t,mymediapc:t,mypsx:t,mysecuritycamera:t,nhlfan:t,"no-ip":t,pgafan:t,privatizehealthinsurance:t,redirectme:t,serveblog:t,serveminecraft:t,sytes:t,dnsup:t,hicam:t,"now-dns":t,ownip:t,vpndns:t,cloudycluster:t,ovh:[0,{hosting:r,webpaas:r}],rackmaze:t,myradweb:t,in:t,squares:t,schokokeks:t,"firewall-gateway":t,seidat:t,senseering:t,siteleaf:t,mafelo:t,myspreadshop:t,"vps-host":[2,{jelastic:[0,{atl:t,njs:t,ric:t}]}],srcf:[0,{soc:t,user:t}],supabase:t,dsmynas:t,familyds:t,ts:[2,{c:r}],torproject:[2,{pages:t}],vusercontent:t,"reserve-online":t,"community-pro":t,meinforum:t,yandexcloud:[2,{storage:t,website:t}],za:t}],nf:[1,{com:e,net:e,per:e,rec:e,web:e,arts:e,firm:e,info:e,other:e,store:e}],ng:[1,{com:o,edu:e,gov:e,i:e,mil:e,mobi:e,name:e,net:e,org:e,sch:e,biz:[2,{co:t,dl:t,go:t,lg:t,on:t}],col:t,firm:t,gen:t,ltd:t,ngo:t,plc:t}],ni:[1,{ac:e,biz:e,co:e,com:e,edu:e,gob:e,in:e,info:e,int:e,mil:e,net:e,nom:e,org:e,web:e}],nl:[1,{co:t,"hosting-cluster":t,blogspot:t,gov:t,khplay:t,"123website":t,myspreadshop:t,transurl:r,cistron:t,demon:t}],no:[1,{fhs:e,vgs:e,fylkesbibl:e,folkebibl:e,museum:e,idrett:e,priv:e,mil:e,stat:e,dep:e,kommune:e,herad:e,aa:Q,ah:Q,bu:Q,fm:Q,hl:Q,hm:Q,"jan-mayen":Q,mr:Q,nl:Q,nt:Q,of:Q,ol:Q,oslo:Q,rl:Q,sf:Q,st:Q,svalbard:Q,tm:Q,tr:Q,va:Q,vf:Q,akrehamn:e,"xn--krehamn-dxa":e,Ã¥krehamn:e,algard:e,"xn--lgrd-poac":e,Ã¥lgÃ¥rd:e,arna:e,brumunddal:e,bryne:e,bronnoysund:e,"xn--brnnysund-m8ac":e,brønnøysund:e,drobak:e,"xn--drbak-wua":e,drøbak:e,egersund:e,fetsund:e,floro:e,"xn--flor-jra":e,florø:e,fredrikstad:e,hokksund:e,honefoss:e,"xn--hnefoss-q1a":e,hønefoss:e,jessheim:e,jorpeland:e,"xn--jrpeland-54a":e,jørpeland:e,kirkenes:e,kopervik:e,krokstadelva:e,langevag:e,"xn--langevg-jxa":e,langevÃ¥g:e,leirvik:e,mjondalen:e,"xn--mjndalen-64a":e,mjøndalen:e,"mo-i-rana":e,mosjoen:e,"xn--mosjen-eya":e,mosjøen:e,nesoddtangen:e,orkanger:e,osoyro:e,"xn--osyro-wua":e,osøyro:e,raholt:e,"xn--rholt-mra":e,rÃ¥holt:e,sandnessjoen:e,"xn--sandnessjen-ogb":e,sandnessjøen:e,skedsmokorset:e,slattum:e,spjelkavik:e,stathelle:e,stavern:e,stjordalshalsen:e,"xn--stjrdalshalsen-sqb":e,stjørdalshalsen:e,tananger:e,tranby:e,vossevangen:e,afjord:e,"xn--fjord-lra":e,Ã¥fjord:e,agdenes:e,al:e,"xn--l-1fa":e,Ã¥l:e,alesund:e,"xn--lesund-hua":e,Ã¥lesund:e,alstahaug:e,alta:e,"xn--lt-liac":e,áltá:e,alaheadju:e,"xn--laheadju-7ya":e,álaheadju:e,alvdal:e,amli:e,"xn--mli-tla":e,Ã¥mli:e,amot:e,"xn--mot-tla":e,Ã¥mot:e,andebu:e,andoy:e,"xn--andy-ira":e,andøy:e,andasuolo:e,ardal:e,"xn--rdal-poa":e,Ã¥rdal:e,aremark:e,arendal:e,"xn--s-1fa":e,Ã¥s:e,aseral:e,"xn--seral-lra":e,Ã¥seral:e,asker:e,askim:e,askvoll:e,askoy:e,"xn--asky-ira":e,askøy:e,asnes:e,"xn--snes-poa":e,Ã¥snes:e,audnedaln:e,aukra:e,aure:e,aurland:e,"aurskog-holand":e,"xn--aurskog-hland-jnb":e,"aurskog-h\xf8land":e,austevoll:e,austrheim:e,averoy:e,"xn--avery-yua":e,averøy:e,balestrand:e,ballangen:e,balat:e,"xn--blt-elab":e,bálát:e,balsfjord:e,bahccavuotna:e,"xn--bhccavuotna-k7a":e,báhccavuotna:e,bamble:e,bardu:e,beardu:e,beiarn:e,bajddar:e,"xn--bjddar-pta":e,bájddar:e,baidar:e,"xn--bidr-5nac":e,báidár:e,berg:e,bergen:e,berlevag:e,"xn--berlevg-jxa":e,berlevÃ¥g:e,bearalvahki:e,"xn--bearalvhki-y4a":e,bearalváhki:e,bindal:e,birkenes:e,bjarkoy:e,"xn--bjarky-fya":e,bjarkøy:e,bjerkreim:e,bjugn:e,bodo:e,"xn--bod-2na":e,bodø:e,badaddja:e,"xn--bdddj-mrabd":e,bÃ¥dÃ¥ddjÃ¥:e,budejju:e,bokn:e,bremanger:e,bronnoy:e,"xn--brnny-wuac":e,brønnøy:e,bygland:e,bykle:e,barum:e,"xn--brum-voa":e,bærum:e,telemark:[0,{bo:e,"xn--b-5ga":e,bø:e}],nordland:[0,{bo:e,"xn--b-5ga":e,bø:e,heroy:e,"xn--hery-ira":e,herøy:e}],bievat:e,"xn--bievt-0qa":e,bievát:e,bomlo:e,"xn--bmlo-gra":e,bømlo:e,batsfjord:e,"xn--btsfjord-9za":e,bÃ¥tsfjord:e,bahcavuotna:e,"xn--bhcavuotna-s4a":e,báhcavuotna:e,dovre:e,drammen:e,drangedal:e,dyroy:e,"xn--dyry-ira":e,dyrøy:e,donna:e,"xn--dnna-gra":e,dønna:e,eid:e,eidfjord:e,eidsberg:e,eidskog:e,eidsvoll:e,eigersund:e,elverum:e,enebakk:e,engerdal:e,etne:e,etnedal:e,evenes:e,evenassi:e,"xn--eveni-0qa01ga":e,evenášši:e,"evje-og-hornnes":e,farsund:e,fauske:e,fuossko:e,fuoisku:e,fedje:e,fet:e,finnoy:e,"xn--finny-yua":e,finnøy:e,fitjar:e,fjaler:e,fjell:e,flakstad:e,flatanger:e,flekkefjord:e,flesberg:e,flora:e,fla:e,"xn--fl-zia":e,flÃ¥:e,folldal:e,forsand:e,fosnes:e,frei:e,frogn:e,froland:e,frosta:e,frana:e,"xn--frna-woa":e,fræna:e,froya:e,"xn--frya-hra":e,frøya:e,fusa:e,fyresdal:e,forde:e,"xn--frde-gra":e,førde:e,gamvik:e,gangaviika:e,"xn--ggaviika-8ya47h":e,gáÅgaviika:e,gaular:e,gausdal:e,gildeskal:e,"xn--gildeskl-g0a":e,gildeskÃ¥l:e,giske:e,gjemnes:e,gjerdrum:e,gjerstad:e,gjesdal:e,gjovik:e,"xn--gjvik-wua":e,gjøvik:e,gloppen:e,gol:e,gran:e,grane:e,granvin:e,gratangen:e,grimstad:e,grong:e,kraanghke:e,"xn--kranghke-b0a":e,krÃ¥anghke:e,grue:e,gulen:e,hadsel:e,halden:e,halsa:e,hamar:e,hamaroy:e,habmer:e,"xn--hbmer-xqa":e,hábmer:e,hapmir:e,"xn--hpmir-xqa":e,hápmir:e,hammerfest:e,hammarfeasta:e,"xn--hmmrfeasta-s4ac":e,hámmárfeasta:e,haram:e,hareid:e,harstad:e,hasv
407ik:e,aknoluokta:e,"xn--koluokta-7ya57h":e,ákÅoluokta:e,hattfjelldal:e,aarborte:e,haugesund:e,hemne:e,hemnes:e,hemsedal:e,"more-og-romsdal":[0,{heroy:e,sande:e}],"xn--mre-og-romsdal-qqb":[0,{"xn--hery-ira":e,sande:e}],"m\xf8re-og-romsdal":[0,{herøy:e,sande:e}],hitra:e,hjartdal:e,hjelmeland:e,hobol:e,"xn--hobl-ira":e,hobøl:e,hof:e,hol:e,hole:e,holmestrand:e,holtalen:e,"xn--holtlen-hxa":e,holtÃ¥len:e,hornindal:e,horten:e,hurdal:e,hurum:e,hvaler:e,hyllestad:e,hagebostad:e,"xn--hgebostad-g3a":e,hægebostad:e,hoyanger:e,"xn--hyanger-q1a":e,høyanger:e,hoylandet:e,"xn--hylandet-54a":e,høylandet:e,ha:e,"xn--h-2fa":e,hÃ¥:e,ibestad:e,inderoy:e,"xn--indery-fya":e,inderøy:e,iveland:e,jevnaker:e,jondal:e,jolster:e,"xn--jlster-bya":e,jølster:e,karasjok:e,karasjohka:e,"xn--krjohka-hwab49j":e,kárášjohka:e,karlsoy:e,galsa:e,"xn--gls-elac":e,gálsá:e,karmoy:e,"xn--karmy-yua":e,karmøy:e,kautokeino:e,guovdageaidnu:e,klepp:e,klabu:e,"xn--klbu-woa":e,klæbu:e,kongsberg:e,kongsvinger:e,kragero:e,"xn--krager-gya":e,kragerø:e,kristiansand:e,kristiansund:e,krodsherad:e,"xn--krdsherad-m8a":e,krødsherad:e,kvalsund:e,rahkkeravju:e,"xn--rhkkervju-01af":e,ráhkkerávju:e,kvam:e,kvinesdal:e,kvinnherad:e,kviteseid:e,kvitsoy:e,"xn--kvitsy-fya":e,kvitsøy:e,kvafjord:e,"xn--kvfjord-nxa":e,kvæfjord:e,giehtavuoatna:e,kvanangen:e,"xn--kvnangen-k0a":e,kvænangen:e,navuotna:e,"xn--nvuotna-hwa":e,návuotna:e,kafjord:e,"xn--kfjord-iua":e,kÃ¥fjord:e,gaivuotna:e,"xn--givuotna-8ya":e,gáivuotna:e,larvik:e,lavangen:e,lavagis:e,loabat:e,"xn--loabt-0qa":e,loabát:e,lebesby:e,davvesiida:e,leikanger:e,leirfjord:e,leka:e,leksvik:e,lenvik:e,leangaviika:e,"xn--leagaviika-52b":e,leaÅgaviika:e,lesja:e,levanger:e,lier:e,lierne:e,lillehammer:e,lillesand:e,lindesnes:e,lindas:e,"xn--linds-pra":e,lindÃ¥s:e,lom:e,loppa:e,lahppi:e,"xn--lhppi-xqa":e,láhppi:e,lund:e,lunner:e,luroy:e,"xn--lury-ira":e,lurøy:e,luster:e,lyngdal:e,lyngen:e,ivgu:e,lardal:e,lerdal:e,"xn--lrdal-sra":e,lærdal:e,lodingen:e,"xn--ldingen-q1a":e,lødingen:e,lorenskog:e,"xn--lrenskog-54a":e,lørenskog:e,loten:e,"xn--lten-gra":e,løten:e,malvik:e,masoy:e,"xn--msy-ula0h":e,mÃ¥søy:e,muosat:e,"xn--muost-0qa":e,muosát:e,mandal:e,marker:e,marnardal:e,masfjorden:e,meland:e,meldal:e,melhus:e,meloy:e,"xn--mely-ira":e,meløy:e,meraker:e,"xn--merker-kua":e,merÃ¥ker:e,moareke:e,"xn--moreke-jua":e,moÃ¥reke:e,midsund:e,"midtre-gauldal":e,modalen:e,modum:e,molde:e,moskenes:e,moss:e,mosvik:e,malselv:e,"xn--mlselv-iua":e,mÃ¥lselv:e,malatvuopmi:e,"xn--mlatvuopmi-s4a":e,málatvuopmi:e,namdalseid:e,aejrie:e,namsos:e,namsskogan:e,naamesjevuemie:e,"xn--nmesjevuemie-tcba":e,nååmesjevuemie:e,laakesvuemie:e,nannestad:e,narvik:e,narviika:e,naustdal:e,"nedre-eiker":e,akershus:ee,buskerud:ee,nesna:e,nesodden:e,nesseby:e,unjarga:e,"xn--unjrga-rta":e,unjárga:e,nesset:e,nissedal:e,nittedal:e,"nord-aurdal":e,"nord-fron":e,"nord-odal":e,norddal:e,nordkapp:e,davvenjarga:e,"xn--davvenjrga-y4a":e,davvenjárga:e,"nordre-land":e,nordreisa:e,raisa:e,"xn--risa-5na":e,ráisa:e,"nore-og-uvdal":e,notodden:e,naroy:e,"xn--nry-yla5g":e,nærøy:e,notteroy:e,"xn--nttery-byae":e,nøtterøy:e,odda:e,oksnes:e,"xn--ksnes-uua":e,øksnes:e,oppdal:e,oppegard:e,"xn--oppegrd-ixa":e,oppegÃ¥rd:e,orkdal:e,orland:e,"xn--rland-uua":e,ørland:e,orskog:e,"xn--rskog-uua":e,ørskog:e,orsta:e,"xn--rsta-fra":e,ørsta:e,hedmark:[0,{os:e,valer:e,"xn--vler-qoa":e,vÃ¥ler:e}],hordaland:[0,{os:e}],osen:e,osteroy:e,"xn--ostery-fya":e,osterøy:e,"ostre-toten":e,"xn--stre-toten-zcb":e,"\xf8stre-toten":e,overhalla:e,"ovre-eiker":e,"xn--vre-eiker-k8a":e,"\xf8vre-eiker":e,oyer:e,"xn--yer-zna":e,øyer:e,oygarden:e,"xn--ygarden-p1a":e,øygarden:e,"oystre-slidre":e,"xn--ystre-slidre-ujb":e,"\xf8ystre-slidre":e,porsanger:e,porsangu:e,"xn--porsgu-sta26f":e,porsáÅgu:e,porsgrunn:e,radoy:e,"xn--rady-ira":e,radøy:e,rakkestad:e,rana:e,ruovat:e,randaberg:e,rauma:e,rendalen:e,rennebu:e,rennesoy:e,"xn--rennesy-v1a":e,rennesøy:e,rindal:e,ringebu:e,ringerike:e,ringsaker:e,rissa:e,risor:e,"xn--risr-ira":e,risør:e,roan:e,rollag:e,rygge:e,ralingen:e,"xn--rlingen-mxa":e,rælingen:e,rodoy:e,"xn--rdy-0nab":e,rødøy:e,romskog:e,"xn--rmskog-bya":e,rømskog:e,roros:e,"xn--rros-gra":e,røros:e,rost:e,"xn--rst-0na":e,røst:e,royken:e,"xn--ryken-vua":e,røyken:e,royrvik:e,"xn--ryrvik-bya":e,røyrvik:e,rade:e,"xn--rde-ula":e,rÃ¥de
407:e,salangen:e,siellak:e,saltdal:e,salat:e,"xn--slt-elab":e,sálát:e,"xn--slat-5na":e,sálat:e,samnanger:e,vestfold:[0,{sande:e}],sandefjord:e,sandnes:e,sandoy:e,"xn--sandy-yua":e,sandøy:e,sarpsborg:e,sauda:e,sauherad:e,sel:e,selbu:e,selje:e,seljord:e,sigdal:e,siljan:e,sirdal:e,skaun:e,skedsmo:e,ski:e,skien:e,skiptvet:e,skjervoy:e,"xn--skjervy-v1a":e,skjervøy:e,skierva:e,"xn--skierv-uta":e,skiervá:e,skjak:e,"xn--skjk-soa":e,skjÃ¥k:e,skodje:e,skanland:e,"xn--sknland-fxa":e,skÃ¥nland:e,skanit:e,"xn--sknit-yqa":e,skánit:e,smola:e,"xn--smla-hra":e,smøla:e,snillfjord:e,snasa:e,"xn--snsa-roa":e,snÃ¥sa:e,snoasa:e,snaase:e,"xn--snase-nra":e,snÃ¥ase:e,sogndal:e,sokndal:e,sola:e,solund:e,songdalen:e,sortland:e,spydeberg:e,stange:e,stavanger:e,steigen:e,steinkjer:e,stjordal:e,"xn--stjrdal-s1a":e,stjørdal:e,stokke:e,"stor-elvdal":e,stord:e,stordal:e,storfjord:e,omasvuotna:e,strand:e,stranda:e,stryn:e,sula:e,suldal:e,sund:e,sunndal:e,surnadal:e,sveio:e,svelvik:e,sykkylven:e,sogne:e,"xn--sgne-gra":e,søgne:e,somna:e,"xn--smna-gra":e,sømna:e,"sondre-land":e,"xn--sndre-land-0cb":e,"s\xf8ndre-land":e,"sor-aurdal":e,"xn--sr-aurdal-l8a":e,"s\xf8r-aurdal":e,"sor-fron":e,"xn--sr-fron-q1a":e,"s\xf8r-fron":e,"sor-odal":e,"xn--sr-odal-q1a":e,"s\xf8r-odal":e,"sor-varanger":e,"xn--sr-varanger-ggb":e,"s\xf8r-varanger":e,"matta-varjjat":e,"xn--mtta-vrjjat-k7af":e,"m\xe1tta-v\xe1rjjat":e,sorfold:e,"xn--srfold-bya":e,sørfold:e,sorreisa:e,"xn--srreisa-q1a":e,sørreisa:e,sorum:e,"xn--srum-gra":e,sørum:e,tana:e,deatnu:e,time:e,tingvoll:e,tinn:e,tjeldsund:e,dielddanuorri:e,tjome:e,"xn--tjme-hra":e,tjøme:e,tokke:e,tolga:e,torsken:e,tranoy:e,"xn--trany-yua":e,tranøy:e,tromso:e,"xn--troms-zua":e,tromsø:e,tromsa:e,romsa:e,trondheim:e,troandin:e,trysil:e,trana:e,"xn--trna-woa":e,træna:e,trogstad:e,"xn--trgstad-r1a":e,trøgstad:e,tvedestrand:e,tydal:e,tynset:e,tysfjord:e,divtasvuodna:e,divttasvuotna:e,tysnes:e,tysvar:e,"xn--tysvr-vra":e,tysvær:e,tonsberg:e,"xn--tnsberg-q1a":e,tønsberg:e,ullensaker:e,ullensvang:e,ulvik:e,utsira:e,vadso:e,"xn--vads-jra":e,vadsø:e,cahcesuolo:e,"xn--hcesuolo-7ya35b":e,Äáhcesuolo:e,vaksdal:e,valle:e,vang:e,vanylven:e,vardo:e,"xn--vard-jra":e,vardø:e,varggat:e,"xn--vrggt-xqad":e,várggát:e,vefsn:e,vaapste:e,vega:e,vegarshei:e,"xn--vegrshei-c0a":e,vegÃ¥rshei:e,vennesla:e,verdal:e,verran:e,vestby:e,vestnes:e,"vestre-slidre":e,"vestre-toten":e,vestvagoy:e,"xn--vestvgy-ixa6o":e,vestvÃ¥gøy:e,vevelstad:e,vik:e,vikna:e,vindafjord:e,volda:e,voss:e,varoy:e,"xn--vry-yla5g":e,værøy:e,vagan:e,"xn--vgan-qoa":e,vÃ¥gan:e,voagat:e,vagsoy:e,"xn--vgsy-qoa0j":e,vÃ¥gsøy:e,vaga:e,"xn--vg-yiab":e,vÃ¥gÃ¥:e,ostfold:[0,{valer:e}],"xn--stfold-9xa":[0,{"xn--vler-qoa":e}],østfold:[0,{vÃ¥ler:e}],co:t,blogspot:t,"123hjemmeside":t,myspreadshop:t}],np:f,nr:X,nu:[1,{merseine:t,mine:t,shacknet:t,enterprisecloud:t}],nz:[1,{ac:e,co:o,cri:e,geek:e,gen:e,govt:e,health:e,iwi:e,kiwi:e,maori:e,mil:e,"xn--mori-qsa":e,mÄori:e,net:e,org:e,parliament:e,school:e,cloudns:t}],om:[1,{co:e,com:e,edu:e,gov:e,med:e,museum:e,net:e,org:e,pro:e}],onion:e,org:[1,{altervista:t,pimienta:t,poivron:t,potager:t,sweetpepper:t,cdn77:[0,{c:t,rsc:t}],"cdn77-secure":[0,{origin:[0,{ssl:t}]}],ae:t,cloudns:t,"ip-dynamic":t,ddnss:t,duckdns:t,tunk:t,blogdns:t,blogsite:t,boldlygoingnowhere:t,dnsalias:t,dnsdojo:t,doesntexist:t,dontexist:t,doomdns:t,dvrdns:t,dynalias:t,dyndns:[2,{go:t,home:t}],endofinternet:t,endoftheinternet:t,"from-me":t,"game-host":t,gotdns:t,"hobby-site":t,homedns:t,homeftp:t,homelinux:t,homeunix:t,"is-a-bruinsfan":t,"is-a-candidate":t,"is-a-celticsfan":t,"is-a-chef":t,"is-a-geek":t,"is-a-knight":t,"is-a-linux-user":t,"is-a-patsfan":t,"is-a-soxfan":t,"is-found":t,"is-lost":t,"is-saved":t,"is-very-bad":t,"is-very-evil":t,"is-very-good":t,"is-very-nice":t,"is-very-sweet":t,"isa-geek":t,"kicks-ass":t,misconfused:t,podzone:t,readmyblog:t,selfip:t,sellsyourhome:t,servebbs:t,serveftp:t,servegame:t,"stuff-4-sale":t,webhop:t,accesscam:t,camdvr:t,freeddns:t,mywire:t,webredirect:t,twmail:t,eu:[2,{al:t,asso:t,at:t,au:t,be:t,bg:t,ca:t,cd:t,ch:t,cn:t,cy:t,cz:t,de:t,dk:t,edu:t,ee:t,es:t,fi:t,fr:t,gr:t,hr:t,hu:t,ie:t,il:t,in:t,int:t,is:t,it:t,jp:t,kr:t,lt:t,lu:t,lv:t,me:t,mk:t,mt:t,my:t,net:t,ng:t,nl:t,no:t,nz:t,pl:t,pt:t,ro:t,ru:t,se:t,si:t,sk:t,tr:t,uk:t,us:t}],fedorainfracloud:t,fedorapeople:t,fedoraproject:[0,{cloud:t,os:D,stg:[0,{os:D}]}],freedesktop:t,hatenadiary:t,hepforge:t,"in-dsl":t,"in-vpn":t,js:t,barsy:t,mayfirst:t,rout
407ingthecloud:t,bmoattachments:t,"cable-modem":t,collegefan:t,couchpotatofries:t,hopto:t,mlbfan:t,myftp:t,mysecuritycamera:t,nflfan:t,"no-ip":t,"read-books":t,ufcfan:t,zapto:t,dynserv:t,"now-dns":t,"is-local":t,httpbin:t,pubtls:t,jpn:t,"my-firewall":t,myfirewall:t,spdns:t,"small-web":t,dsmynas:t,familyds:t,teckids:K,tuxfamily:t,diskstation:t,hk:t,us:t,toolforge:t,wmcloud:t,wmflabs:t,za:t}],pa:[1,{ac:e,gob:e,com:e,org:e,sld:e,edu:e,net:e,ing:e,abo:e,med:e,nom:e}],pe:[1,{edu:e,gob:e,nom:e,mil:e,org:e,com:e,net:e,blogspot:t}],pf:[1,{com:e,org:e,edu:e}],pg:f,ph:[1,{com:e,net:e,org:e,gov:e,edu:e,ngo:e,mil:e,i:e,cloudns:t}],pk:[1,{ac:e,biz:e,com:e,edu:e,fam:e,gkp:e,gob:e,gog:e,gok:e,gon:e,gop:e,gos:e,gov:e,net:e,org:e,web:e}],pl:[1,{com:e,net:e,org:e,aid:e,agro:e,atm:e,auto:e,biz:e,edu:e,gmina:e,gsm:e,info:e,mail:e,miasta:e,media:e,mil:e,nieruchomosci:e,nom:e,pc:e,powiat:e,priv:e,realestate:e,rel:e,sex:e,shop:e,sklep:e,sos:e,szkola:e,targi:e,tm:e,tourism:e,travel:e,turystyka:e,gov:[1,{ap:e,griw:e,ic:e,is:e,kmpsp:e,konsulat:e,kppsp:e,kwp:e,kwpsp:e,mup:e,mw:e,oia:e,oirm:e,oke:e,oow:e,oschr:e,oum:e,pa:e,pinb:e,piw:e,po:e,pr:e,psp:e,psse:e,pup:e,rzgw:e,sa:e,sdn:e,sko:e,so:e,sr:e,starostwo:e,ug:e,ugim:e,um:e,umig:e,upow:e,uppo:e,us:e,uw:e,uzs:e,wif:e,wiih:e,winb:e,wios:e,witd:e,wiw:e,wkz:e,wsa:e,wskr:e,wsse:e,wuoz:e,wzmiuw:e,zp:e,zpisdn:e}],augustow:e,"babia-gora":e,bedzin:e,beskidy:e,bialowieza:e,bialystok:e,bielawa:e,bieszczady:e,boleslawiec:e,bydgoszcz:e,bytom:e,cieszyn:e,czeladz:e,czest:e,dlugoleka:e,elblag:e,elk:e,glogow:e,gniezno:e,gorlice:e,grajewo:e,ilawa:e,jaworzno:e,"jelenia-gora":e,jgora:e,kalisz:e,"kazimierz-dolny":e,karpacz:e,kartuzy:e,kaszuby:e,katowice:e,kepno:e,ketrzyn:e,klodzko:e,kobierzyce:e,kolobrzeg:e,konin:e,konskowola:e,kutno:e,lapy:e,lebork:e,legnica:e,lezajsk:e,limanowa:e,lomza:e,lowicz:e,lubin:e,lukow:e,malbork:e,malopolska:e,mazowsze:e,mazury:e,mielec:e,mielno:e,mragowo:e,naklo:e,nowaruda:e,nysa:e,olawa:e,olecko:e,olkusz:e,olsztyn:e,opoczno:e,opole:e,ostroda:e,ostroleka:e,ostrowiec:e,ostrowwlkp:e,pila:e,pisz:e,podhale:e,podlasie:e,polkowice:e,pomorze:e,pomorskie:e,prochowice:e,pruszkow:e,przeworsk:e,pulawy:e,radom:e,"rawa-maz":e,rybnik:e,rzeszow:e,sanok:e,sejny:e,slask:e,slupsk:e,sosnowiec:e,"stalowa-wola":e,skoczow:e,starachowice:e,stargard:e,suwalki:e,swidnica:e,swiebodzin:e,swinoujscie:e,szczecin:e,szczytno:e,tarnobrzeg:e,tgory:e,turek:e,tychy:e,ustka:e,walbrzych:e,warmia:e,warszawa:e,waw:e,wegrow:e,wielun:e,wlocl:e,wloclawek:e,wodzislaw:e,wolomin:e,wroclaw:e,zachpomor:e,zagan:e,zarow:e,zgora:e,zgorzelec:e,art:t,gliwice:t,krakow:t,poznan:t,wroc:t,zakopane:t,beep:t,"ecommerce-shop":t,cfolks:t,dfirma:t,dkonto:t,you2:t,shoparena:t,homesklep:t,sdscloud:t,unicloud:t,krasnik:t,leczna:t,lubartow:t,lublin:t,poniatowa:t,swidnik:t,co:t,torun:t,simplesite:t,myspreadshop:t,gda:t,gdansk:t,gdynia:t,med:t,sopot:t,bielsko:t}],pm:[1,{own:t,name:t}],pn:[1,{gov:e,co:e,org:e,edu:e,net:e}],post:e,pr:[1,{com:e,net:e,org:e,gov:e,edu:e,isla:e,pro:e,biz:e,info:e,name:e,est:e,prof:e,ac:e}],pro:[1,{aaa:e,aca:e,acct:e,avocat:e,bar:e,cpa:e,eng:e,jur:e,law:e,med:e,recht:e,"12chars":t,cloudns:t,barsy:t,ngrok:t}],ps:[1,{edu:e,gov:e,sec:e,plo:e,com:e,org:e,net:e}],pt:[1,{net:e,gov:e,org:e,edu:e,int:e,publ:e,com:e,nome:e,blogspot:t,"123paginaweb":t}],pw:[1,{co:e,or:e,ed:e,go:e,belau:e,cloudns:t,x443:t}],py:[1,{com:e,coop:e,edu:e,gov:e,mil:e,net:e,org:e}],qa:[1,{com:e,edu:e,gov:e,mil:e,name:e,net:e,org:e,sch:e,blogspot:t}],re:[1,{asso:e,com:e,nom:e,blogspot:t,can:t}],ro:[1,{arts:e,com:e,firm:e,info:e,nom:e,nt:e,org:e,rec:e,store:e,tm:e,www:e,co:t,shop:t,blogspot:t,barsy:t}],rs:[1,{ac:e,co:e,edu:e,gov:e,in:e,org:e,brendly:z,blogspot:t,ua:t,barsy:t,ox:t}],ru:[1,{ac:t,edu:t,gov:t,int:t,mil:t,test:t,eurodir:t,adygeya:t,bashkiria:t,bir:t,cbg:t,com:t,dagestan:t,grozny:t,kalmykia:t,kustanai:t,marine:t,mordovia:t,msk:t,mytis:t,nalchik:t,nov:t,pyatigorsk:t,spb:t,vladikavkaz:t,vladimir:t,blogspot:t,na4u:t,mircloud:t,myjino:[2,{hosting:r,landing:r,spectrum:r,vps:r}],cldmail:[0,{hb:t}],mcdir:[2,{vps:t}],mcpre:t,net:t,org:t,pp:t,lk3:t,ras:t}],rw:[1,{ac:e,co:e,coop:e,gov:e,mil:e,net:e,org:e}],sa:[1,{com:e,net:e,org:e,gov:e,med:e,pub:e,edu:e,sch:e}],sb:n,sc:n,sd:[1,{com:e,net:e,org:e,edu:e,med:e,tv:e,gov:e,info:e}],se:[1,{a:e,ac:e,b:e,bd:e,brand:e,c:e,d:e,e:e,f:e,fh:e,fhsk:e,fhv:e,g:e,h:e,i:e,k:e,komforb:e,kommunalforbund:e,komvux:e,l:e,lanbib:e,m:e,n:e,naturbruksgymn:e,o:e,org:e,p:e,parti:e,pp:e,press:e,r:e,s:e,t:e,tm:e,u:e,w:e,x:e,y:e,z:e,com:t,blogspot:t,conf:t,
407iopsys:t,"123minsida":t,itcouldbewor:t,myspreadshop:t}],sg:[1,{com:e,net:e,org:e,gov:e,edu:e,per:e,blogspot:t,enscaled:t}],sh:[1,{com:e,net:e,gov:e,org:e,mil:e,hashbang:t,platform:[0,{ent:t,eu:t,us:t}],now:t}],si:[1,{f5:t,gitapp:t,gitpage:t,blogspot:t}],sj:e,sk:o,sl:n,sm:e,sn:[1,{art:e,com:e,edu:e,gouv:e,org:e,perso:e,univ:e,blogspot:t}],so:[1,{com:e,edu:e,gov:e,me:e,net:e,org:e,surveys:t}],sr:e,ss:[1,{biz:e,co:e,com:e,edu:e,gov:e,me:e,net:e,org:e,sch:e}],st:[1,{co:e,com:e,consulado:e,edu:e,embaixada:e,mil:e,net:e,org:e,principe:e,saotome:e,store:e,helioho:t,kirara:t,noho:t}],su:[1,{abkhazia:t,adygeya:t,aktyubinsk:t,arkhangelsk:t,armenia:t,ashgabad:t,azerbaijan:t,balashov:t,bashkiria:t,bryansk:t,bukhara:t,chimkent:t,dagestan:t,"east-kazakhstan":t,exnet:t,georgia:t,grozny:t,ivanovo:t,jambyl:t,kalmykia:t,kaluga:t,karacol:t,karaganda:t,karelia:t,khakassia:t,krasnodar:t,kurgan:t,kustanai:t,lenug:t,mangyshlak:t,mordovia:t,msk:t,murmansk:t,nalchik:t,navoi:t,"north-kazakhstan":t,nov:t,obninsk:t,penza:t,pokrovsk:t,sochi:t,spb:t,tashkent:t,termez:t,togliatti:t,troitsk:t,tselinograd:t,tula:t,tuva:t,vladikavkaz:t,vladimir:t,vologda:t}],sv:[1,{com:e,edu:e,gob:e,org:e,red:e}],sx:s,sy:H,sz:[1,{co:e,ac:e,org:e}],tc:e,td:o,tel:e,tf:[1,{sch:t}],tg:e,th:[1,{ac:e,co:e,go:e,in:e,mi:e,net:e,or:e,online:t,shop:t}],tj:[1,{ac:e,biz:e,co:e,com:e,edu:e,go:e,gov:e,int:e,mil:e,name:e,net:e,nic:e,org:e,test:e,web:e}],tk:e,tl:s,tm:[1,{com:e,co:e,org:e,net:e,nom:e,gov:e,mil:e,edu:e}],tn:[1,{com:e,ens:e,fin:e,gov:e,ind:e,info:e,intl:e,mincom:e,nat:e,net:e,org:e,perso:e,tourism:e,orangecloud:t}],to:[1,{611:t,com:e,gov:e,net:e,org:e,edu:e,mil:e,oya:t,x0:t,quickconnect:S,vpnplus:t}],tr:[1,{av:e,bbs:e,bel:e,biz:e,com:o,dr:e,edu:e,gen:e,gov:e,info:e,mil:e,k12:e,kep:e,name:e,net:e,org:e,pol:e,tel:e,tsk:e,tv:e,web:e,nc:s}],tt:[1,{co:e,com:e,org:e,net:e,biz:e,info:e,pro:e,int:e,coop:e,jobs:e,mobi:e,travel:e,museum:e,aero:e,name:e,gov:e,edu:e}],tv:[1,{"better-than":t,dyndns:t,"on-the-web":t,"worse-than":t,from:t,sakura:t}],tw:[1,{edu:e,gov:e,mil:e,com:[1,{mymailer:t}],net:e,org:e,idv:e,game:e,ebiz:e,club:e,"xn--zf0ao64a":e,網路:e,"xn--uc0atv":e,çµç¹:e,"xn--czrw28b":e,忥:e,url:t,mydns:t,blogspot:t}],tz:[1,{ac:e,co:e,go:e,hotel:e,info:e,me:e,mil:e,mobi:e,ne:e,or:e,sc:e,tv:e}],ua:[1,{com:e,edu:e,gov:e,in:e,net:e,org:e,cherkassy:e,cherkasy:e,chernigov:e,chernihiv:e,chernivtsi:e,chernovtsy:e,ck:e,cn:e,cr:e,crimea:e,cv:e,dn:e,dnepropetrovsk:e,dnipropetrovsk:e,donetsk:e,dp:e,if:e,"ivano-frankivsk":e,kh:e,kharkiv:e,kharkov:e,kherson:e,khmelnitskiy:e,khmelnytskyi:e,kiev:e,kirovograd:e,km:e,kr:e,kropyvnytskyi:e,krym:e,ks:e,kv:e,kyiv:e,lg:e,lt:e,lugansk:e,luhansk:e,lutsk:e,lv:e,lviv:e,mk:e,mykolaiv:e,nikolaev:e,od:e,odesa:e,odessa:e,pl:e,poltava:e,rivne:e,rovno:e,rv:e,sb:e,sebastopol:e,sevastopol:e,sm:e,sumy:e,te:e,ternopil:e,uz:e,uzhgorod:e,uzhhorod:e,vinnica:e,vinnytsia:e,vn:e,volyn:e,yalta:e,zakarpattia:e,zaporizhzhe:e,zaporizhzhia:e,zhitomir:e,zhytomyr:e,zp:e,zt:e,cc:t,inf:t,ltd:t,cx:t,ie:t,biz:t,co:t,pp:t,v:t}],ug:[1,{co:e,or:e,ac:e,sc:e,go:e,ne:e,com:e,org:e,blogspot:t}],uk:[1,{ac:e,co:[1,{bytemark:[0,{dh:t,vm:t}],blogspot:t,layershift:B,barsy:t,barsyonline:t,retrosnub:Z,"nh-serv":t,"no-ip":t,adimo:t,myspreadshop:t}],gov:[1,{api:t,campaign:t,service:t}],ltd:e,me:e,net:e,nhs:e,org:[1,{glug:t,lug:t,lugs:t,affinitylottery:t,raffleentry:t,weeklylottery:t}],plc:e,police:e,sch:f,conn:t,copro:t,hosp:t,"independent-commission":t,"independent-inquest":t,"independent-inquiry":t,"independent-panel":t,"independent-review":t,"public-inquiry":t,"royal-commission":t,pymnt:t,barsy:t,nimsite:t,oraclegovcloudapps:r}],us:[1,{dni:e,fed:e,isa:e,kids:e,nsn:e,ak:et,al:et,ar:et,as:et,az:et,ca:et,co:et,ct:et,dc:et,de:[1,{cc:e,lib:t}],fl:et,ga:et,gu:et,hi:en,ia:et,id:et,il:et,in:et,ks:et,ky:et,la:et,ma:[1,{k12:[1,{pvt:e,chtr:e,paroch:e}],cc:e,lib:e}],md:et,me:et,mi:[1,{k12:e,cc:e,lib:e,"ann-arbor":e,cog:e,dst:e,eaton:e,gen:e,mus:e,tec:e,washtenaw:e}],mn:et,mo:et,ms:et,mt:et,nc:et,nd:en,ne:et,nh:et,nj:et,nm:et,nv:et,ny:et,oh:et,ok:et,or:et,pa:et,pr:et,ri:en,sc:et,sd:en,tn:et,tx:et,ut:et,vi:et,vt:et,va:et,wa:et,wi:et,wv:[1,{cc:e}],wy:et,cloudns:t,drud:t,"is-by":t,"land-4-sale":t,"stuff-4-sale":t,heliohost:t,enscaled:[0,{phx:t}],mircloud:t,ngo:t,golffan:t,noip:t,pointto:t,freeddns:t,srv:[2,{gh:t,gl:t}],platterp:t,servername:t}],uy:[1,{com:o,edu:e,gub:e,mil:e,net:e,org:e}],uz:[1,{co:e,com:e,net:e,org:e}],va:e,vc:[1,{com:e,net:e,org:e,gov:e,mil:e,edu:e,gv:[2,{d:t}],"0e":t,mydns:t}],ve:[1,{arts:e,bib:e,co:e,com:e,e12:e,edu:e,firm:e,gob:e,gov:e,info:e,int:e,mil:e,net:e,nom:e,org:e,rar:e,rec:e,store:e,tec:e,web:e}],vg:e,vi:[1,{co:e,com:e,k12:e,net:e,org:e}],vn:[1,{ac:e,ai:e,biz:e,com:e,edu:e,gov:e,health:e,id:e,info:e,int:e,io:e,name:e,net:e,org:e,pro:e,angiang:e,bacgiang:e,backan:e,baclieu:e,bacninh:e,"baria-vungtau":e,bentre:e,binhdinh:e,binhduong:e,binhphuoc:e,binhthuan:e,camau:e,cantho:e,caobang:e,daklak:e,daknong:e,danang:e,dienbien:e,dongnai:e,dongthap:e,gialai:e,hagiang:e,haiduong:e,haiphong:e,hanam:e,hanoi:e,hatinh:e,haugiang:e,hoabinh:e,hungyen:e,khanhhoa:e,kiengiang:e,kontum:e,laichau:e,lamdong:e,langson:e,laocai:e,longan:e,namdinh:e,nghean:e,ninhbinh:e,ninhthuan:e,phutho:e,phuyen:e,quangbinh:e,quangnam:e,quangngai:e,quangninh:e,quangtri:e,soctrang:e,sonla:e,tayninh:e,thaibinh:e,thainguyen:e,thanhhoa:e,thanhphohochiminh:e,thuathienhue:e,tiengiang:e,travinh:e,tuyenquang:e,vinhlong:e,vinhphuc:e,yenbai:e,blogspot:t}],vu:V,wf:[1,{biz:t,sch:t}],ws:[1,{com:e,net:e,org:e,gov:e,edu:e,advisor:r,cloud66:t,dyndns:t,mypet
407s:t}],yt:[1,{org:t}],"xn--mgbaam7a8h":e,اÙ
ارات:e,"xn--y9a3aq":e,Õ°Õ¡Õµ:e,"xn--54b7fta0cc":e,বাà¦à¦²à¦¾:e,"xn--90ae":e,бг:e,"xn--mgbcpq6gpa1a":e,Ø§ÙØ¨ØØ±ÙÙ:e,"xn--90ais":e,бел:e,"xn--fiqs8s":e,ä¸å½:e,"xn--fiqz9s":e,ä¸å:e,"xn--lgbbat1ad8j":e,Ø§ÙØ¬Ø²Ø§Ø¦Ø±:e,"xn--wgbh1c":e,Ù
صر:e,"xn--e1a4c":e,еÑ:e,"xn--qxa6a":e,εÏ
:e,"xn--mgbah1a3hjkrd":e,Ù
ÙØ±ÙتاÙÙØ§:e,"xn--node":e,áá:e,"xn--qxam":e,ελ:e,"xn--j6w193g":[1,{"xn--55qx5d":e,"xn--wcvs22d":e,"xn--mxtq1m":e,"xn--gmqw5a":e,"xn--od0alg":e,"xn--uc0atv":e}],馿¸¯:[1,{å
¬å¸:e,æè²:e,æ¿åº:e,å人:e,網絡:e,çµç¹:e}],"xn--2scrj9c":e,à²à²¾à²°à²¤:e,"xn--3hcrj9c":e,à¬à¬¾à¬°à¬¤:e,"xn--45br5cyl":e,à¦à¦¾à§°à¦¤:e,"xn--h2breg3eve":e,à¤à¤¾à¤°à¤¤à¤®à¥:e,"xn--h2brj9c8c":e,à¤à¤¾à¤°à¥à¤¤:e,"xn--mgbgu82a":e,ÚØ§Ø±Øª:e,"xn--rvc1e0am3e":e,à´à´¾à´°à´¤à´:e,"xn--h2brj9c":e,à¤à¤¾à¤°à¤¤:e,"xn--mgbbh1a":e,بارت:e,"xn--mgbbh1a71e":e,بھارت:e,"xn--fpcrj9c3d":e,à°à°¾à°°à°¤à±:e,"xn--gecrj9c":e,àªàª¾àª°àª¤:e,"xn--s9brj9c":e,à¨à¨¾à¨°à¨¤:e,"xn--45brj9c":e,à¦à¦¾à¦°à¦¤:e,"xn--xkc2dl3a5ee0h":e,à®à®¨à¯à®¤à®¿à®¯à®¾:e,"xn--mgba3a4f16a":e,Ø§ÛØ±Ø§Ù:e,"xn--mgba3a4fra":e,Ø§ÙØ±Ø§Ù:e,"xn--mgbtx2b":e,عراÙ:e,"xn--mgbayh7gpa":e,Ø§ÙØ§Ø±Ø¯Ù:e,"xn--3e0b707e":e,íêµ:e,"xn--80ao21a":e,Òаз:e,"xn--q7ce6a":e,ລາວ:e,"xn--fzc2c9e2c":e,à¶½à¶à¶à·:e,"xn--xkc2al3hye2a":e,à®à®²à®à¯à®à¯:e,"xn--mgbc0a9azcg":e,اÙÙ
غرب:e,"xn--d1alf":e,мкд:e,"xn--l1acc":e,мон:e,"xn--mix891f":e,æ¾³é:e,"xn--mix082f":e,æ¾³é¨:e,"xn--mgbx4cd0ab":e,Ù
ÙÙØ³Ùا:e,"xn--mgb9awbf":e,عÙ
اÙ:e,"xn--mgbai9azgqp6j":e,پاکستاÙ:e,"xn--mgbai9a5eva00b":e,Ù¾Ø§ÙØ³ØªØ§Ù:e,"xn--ygbi2ammx":e,ÙÙØ³Ø·ÙÙ:e,"xn--90a3ac":[1,{"xn--o1ac":e,"xn--c1avg":e,"xn--90azh":e,"xn--d1at":e,"xn--o1ach":e,"xn--80au":e}],ÑÑб:[1,{пÑ:e,оÑг:e,обÑ:e,од:e,ÑпÑ:e,ак:e}],"xn--p1ai":e,ÑÑ:e,"xn--wgbl6a":e,ÙØ·Ø±:e,"xn--mgberp4a5d4ar":e,Ø§ÙØ³Ø¹ÙØ¯ÙØ©:e,"xn--mgberp4a5d4a87g":e,Ø§ÙØ³Ø¹ÙØ¯ÛØ©:e,"xn--mgbqly7c0a67fbc":e,Ø§ÙØ³Ø¹ÙدÛÛ:e,"xn--mgbqly7cvafr":e,Ø§ÙØ³Ø¹ÙدÙÙ:e,"xn--mgbpl2fh":e,Ø³ÙØ¯Ø§Ù:e,"xn--yfro4i67o":e,æ°å å¡:e,"xn--clchc0ea0b2g2a9gcd":e,à®à®¿à®à¯à®à®ªà¯à®ªà¯à®°à¯:e,"xn--ogbpf8fl":e,Ø³ÙØ±ÙØ©:e,"xn--mgbtf8fl":e,Ø³ÙØ±Ùا:e,"xn--o3cw4h":[1,{"xn--12c1fe0br":e,"xn--12co0c3b4eva":e,"xn--h3cuzk1di":e,"xn--o3cyx2a":e,"xn--m3ch0j3a":e,"xn--12cfi8ixb8l":e}],à¹à¸à¸¢:[1,{ศึà¸à¸©à¸²:e,à¸à¸¸à¸£à¸à¸´à¸:e,รัà¸à¸à¸²à¸¥:e,à¸à¸«à¸²à¸£:e,à¹à¸à¹à¸:e,à¸à¸à¸à¹à¸à¸£:e}],"xn--pgbs0dh":e,تÙÙØ³:e,"xn--kpry57d":e,å°ç£:e,"xn--kprw13d":e,å°æ¹¾:e,"xn--nnx388a":e,èºç£:e,"xn--j1amh":e,ÑкÑ:e,"xn--mgb2ddes":e,اÙÙÙ
Ù:e,xxx:e,ye:H,za:[0,{ac:e,agric:e,alt:e,co:o,edu:e,gov:e,grondar:e,law:e,mil:e,net:e,ngo:e,nic:e,nis:e,nom:e,org:e,school:e,tm:e,web:e}],zm:[1,{ac:e,biz:e,co:e,com:e,edu:e,gov:e,info:e,mil:e,net:e,org:e,sch:e}],zw:[1,{ac:e,co:e,gov:e,mil:e,org:e}],aaa:e,aarp:e,abb:e,abbott:e,abbvie:e,abc:e,able:e,abogado:e,abudhabi:e,academy:[1,{official:t}],accenture:e,accountant:e,accountants:e,aco:e,actor:e,ads:e,adult:e,aeg:e,aetna:e,afl:e,africa:e,agakhan:e,agency:e,aig:e,airbus:e,airforce:e,airtel:e,akdn:e,alibaba:e,alipay:e,allfinanz:e,allstate:e,ally:e,alsace:e,alstom:e,amazon:e,americanexpress:e,americanfamily:e,amex:e,amfam:e,amica:e,amsterdam:e,analytics:e,android:e,anquan:e,anz:e,aol:e,apartments:e,app:[1,{adaptable:t,beget:r,clerk:t,clerkstage:t,wnext:t,csb:[2,{preview:t}],platform0:t,deta:t,ondigitalocean:t,easypanel:t,encr:t,evervault:i,expo:[2,{staging:t}],edgecompute:t,flutterflow:t,framer:t,hosted:r,run:r,web:t,wdh:t,hasura:t,loginline:t,medusajs:t,messerli:t,netfy:t,netlify:t,ngrok:t,"ngrok-free":t,developer:r,noop:t,northflank:r,upsun:r,replit:a,nyat:t,snowflake:[0,{"*":t,privatelink:r}],streamlit:t,storipress:t,telebit:t,typedream:t,vercel:t,bookonline:t,zeabur:t}],apple:e,aquarelle:e,arab:e,aramco:e,archi:e,army:e,art:e,arte:e,asda:e,associates:e,athleta:e,attorney:e,auction:e,audi:e,audible:e,audio:e,auspost:e,author:e,auto:e,autos:e,aws:[1,{sagemaker:[0,{"ap-northeast-1":u,"ap-northeast-2":u,"ap-south-1":u,"ap-southeast-1":u,"ap-southeast-2":u,"ca-central-1":d,"eu-central-1":u,"eu-west-1":u,"eu-west-2":u,"us-east-1":d,"us-east-2":d,"us-west-2":d,"af-south-1":l,"ap-east-1":l,"ap-northeast-3":l,"ap-south-2":c,"ap-southeast-3":l,"ap-southeast-4":c,"ca-west-1":[0,{notebook:t,"notebook-fips":t}],"eu-central-2":c,"eu-north-1":l,"eu-south-1":l,"eu-south-2":l,"eu-west-3":l,"il-central-1":l,"me-central-1":l,"me-south-1":l,"sa-east-1":l,"us-gov-east-1":p,"us-gov-west-1":p,"us-west-1":[0,{notebook:t,"notebook-fips":t,studio:t}
407],experiments:r}],repost:[0,{private:r}]}],axa:e,azure:e,baby:e,baidu:e,banamex:e,band:e,bank:e,bar:e,barcelona:e,barclaycard:e,barclays:e,barefoot:e,bargains:e,baseball:e,basketball:[1,{aus:t,nz:t}],bauhaus:e,bayern:e,bbc:e,bbt:e,bbva:e,bcg:e,bcn:e,beats:e,beauty:e,beer:e,bentley:e,berlin:e,best:e,bestbuy:e,bet:e,bharti:e,bible:e,bid:e,bike:e,bing:e,bingo:e,bio:e,black:e,blackfriday:e,blockbuster:e,blog:e,bloomberg:e,blue:e,bms:e,bmw:e,bnpparibas:e,boats:e,boehringer:e,bofa:e,bom:e,bond:e,boo:e,book:e,booking:e,bosch:e,bostik:e,boston:e,bot:e,boutique:e,box:e,bradesco:e,bridgestone:e,broadway:e,broker:e,brother:e,brussels:e,build:[1,{v0:t}],builders:[1,{cloudsite:t}],business:m,buy:e,buzz:e,bzh:e,cab:e,cafe:e,cal:e,call:e,calvinklein:e,cam:e,camera:e,camp:[1,{emf:[0,{at:t}]}],canon:e,capetown:e,capital:e,capitalone:e,car:e,caravan:e,cards:e,care:e,career:e,careers:e,cars:e,casa:[1,{nabu:[0,{ui:t}]}],case:e,cash:e,casino:e,catering:e,catholic:e,cba:e,cbn:e,cbre:e,center:e,ceo:e,cern:e,cfa:e,cfd:e,chanel:e,channel:e,charity:e,chase:e,chat:e,cheap:e,chintai:e,christmas:e,chrome:e,church:e,cipriani:e,circle:e,cisco:e,citadel:e,citi:e,citic:e,city:e,claims:e,cleaning:e,click:e,clinic:e,clinique:e,clothing:e,cloud:[1,{elementor:t,encoway:[0,{eu:t}],statics:r,ravendb:t,axarnet:[0,{"es-1":t}],diadem:t,jelastic:[0,{vip:t}],jele:t,"jenv-aruba":[0,{aruba:[0,{eur:[0,{it1:t}]}],it1:t}],keliweb:[2,{cs:t}],oxa:[2,{tn:t,uk:t}],primetel:[2,{uk:t}],reclaim:[0,{ca:t,uk:t,us:t}],trendhosting:[0,{ch:t,de:t}],jotelulu:t,kuleuven:t,linkyard:t,magentosite:r,matlab:t,observablehq:t,perspecta:t,vapor:t,"on-rancher":r,scw:[0,{baremetal:[0,{"fr-par-1":t,"fr-par-2":t,"nl-ams-1":t}],"fr-par":[0,{cockpit:t,fnc:[2,{functions:t}],k8s:y,s3:t,"s3-website":t,whm:t}],instances:[0,{priv:t,pub:t}],k8s:t,"nl-ams":[0,{cockpit:t,k8s:y,s3:t,"s3-website":t,whm:t}],"pl-waw":[0,{cockpit:t,k8s:y,s3:t,"s3-website":t}],scalebook:t,smartlabeling:t}],servebolt:t,onstackit:[0,{runs:t}],trafficplex:t,"unison-services":t,urown:t,voorloper:t,zap:t}],club:[1,{cloudns:t,jele:t,barsy:t}],clubmed:e,coach:e,codes:[1,{owo:r}],coffee:e,college:e,cologne:e,commbank:e,community:[1,{nog:t,ravendb:t,myforum:t}],company:e,compare:e,computer:e,comsec:e,condos:e,construction:e,consulting:e,contact:e,contractors:e,cooking:e,cool:[1,{elementor:t,de:t}],corsica:e,country:e,coupon:e,coupons:e,courses:e,cpa:e,credit:e,creditcard:e,creditunion:e,cricket:e,crown:e,crs:e,cruise:e,cruises:e,cuisinella:e,cymru:e,cyou:e,dad:e,dance:e,data:e,date:e,dating:e,datsun:e,day:e,dclk:e,dds:e,deal:e,dealer:e,deals:e,degree:e,delivery:e,dell:e,deloitte:e,delta:e,democrat:e,dental:e,dentist:e,desi:e,design:[1,{graphic:t,bss:t}],dev:[1,{"12chars":t,panel:t,lcl:r,lclstage:r,stg:r,stgstage:r,pages:t,r2:t,workers:t,curv:t,deno:t,"deno-staging":t,deta:t,evervault:i,fly:t,githubpreview:t,gateway:r,hrsn:t,"is-a-good":t,"is-a":t,iserv:t,runcontainers:t,localcert:[0,{user:r}],loginline:t,barsy:t,mediatech:t,modx:t,ngrok:t,"ngrok-free":t,"is-a-fullstack":t,"is-cool":t,"is-not-a":t,localplayer:t,xmit:t,"platter-app":t,replit:[2,{archer:t,bones:t,canary:t,global:t,hacker:t,id:t,janeway:t,kim:t,kira:t,kirk:t,odo:t,paris:t,picard:t,pike:t,prerelease:t,reed:t,riker:t,sisko:t,spock:t,staging:t,sulu:t,tarpit:t,teams:t,tucker:t,wesley:t,worf:t}],crm:[0,{d:r,w:r,wa:r,wb:r,wc:r,wd:r,we:r,wf:r}],vercel:t,webhare:r}],dhl:e,diamonds:e,diet:e,digital:[1,{cloudapps:[2,{london:t}]}],direct:[1,{libp2p:t}],directory:e,discount:e,discover:e,dish:e,diy:e,dnp:e,docs:e,doctor:e,dog:e,domains:e,dot:e,download:e,drive:e,dtv:e,dubai:e,dunlop:e,dupont:e,durban:e,dvag:e,dvr:e,earth:e,eat:e,eco:e,edeka:e,education:m,email:[1,{crisp:[0,{on:t}],tawk:G,tawkto:G}],emerck:e,energy:e,engineer:e,engineering:e,enterprises:e,epson:e,equipment:e,ericsson:e,erni:e,esq:e,estate:[1,{compute:r}],eurovision:e,eus:[1,{party:Y}],events:[1,{koobin:t,co:t}],exchange:e,expert:e,exposed:e,express:e,extraspace:e,fage:e,fail:e,fairwinds:e,faith:e,family:e,fan:e,fans:e,farm:[1,{storj:t}],farmers:e,fashion:e,fast:e,fedex:e,feedback:e,ferrari:e,ferrero:e,fidelity:e,fido:e,film:e,final:e,finance:e,financial:m,fire:e,f
407irestone:e,firmdale:e,fish:e,fishing:e,fit:e,fitness:e,flickr:e,flights:e,flir:e,florist:e,flowers:e,fly:e,foo:e,food:e,football:e,ford:e,forex:e,forsale:e,forum:e,foundation:e,fox:e,free:e,fresenius:e,frl:e,frogans:e,frontier:e,ftr:e,fujitsu:e,fun:e,fund:e,furniture:e,futbol:e,fyi:e,gal:e,gallery:e,gallo:e,gallup:e,game:e,games:[1,{pley:t,sheezy:t}],gap:e,garden:e,gay:[1,{pages:t}],gbiz:e,gdn:[1,{cnpy:t}],gea:e,gent:e,genting:e,george:e,ggee:e,gift:e,gifts:e,gives:e,giving:e,glass:e,gle:e,global:e,globo:e,gmail:e,gmbh:e,gmo:e,gmx:e,godaddy:e,gold:e,goldpoint:e,golf:e,goo:e,goodyear:e,goog:[1,{cloud:t,translate:t,usercontent:r}],google:e,gop:e,got:e,grainger:e,graphics:e,gratis:e,green:e,gripe:e,grocery:e,group:[1,{discourse:t}],gucci:e,guge:e,guide:e,guitars:e,guru:e,hair:e,hamburg:e,hangout:e,haus:e,hbo:e,hdfc:e,hdfcbank:e,health:[1,{hra:t}],healthcare:e,help:e,helsinki:e,here:e,hermes:e,hiphop:e,hisamitsu:e,hitachi:e,hiv:e,hkt:e,hockey:e,holdings:e,holiday:e,homedepot:e,homegoods:e,homes:e,homesense:e,honda:e,horse:e,hospital:e,host:[1,{cloudaccess:t,freesite:t,easypanel:t,fastvps:t,myfast:t,tempurl:t,wpmudev:t,jele:t,mircloud:t,wp2:t,half:t}],hosting:[1,{opencraft:t}],hot:e,hotels:e,hotmail:e,house:e,how:e,hsbc:e,hughes:e,hyatt:e,hyundai:e,ibm:e,icbc:e,ice:e,icu:e,ieee:e,ifm:e,ikano:e,imamat:e,imdb:e,immo:e,immobilien:e,inc:e,industries:e,infiniti:e,ing:e,ink:e,institute:e,insurance:e,insure:e,international:e,intuit:e,investments:e,ipiranga:e,irish:e,ismaili:e,ist:e,istanbul:e,itau:e,itv:e,jaguar:e,java:e,jcb:e,jeep:e,jetzt:e,jewelry:e,jio:e,jll:e,jmp:e,jnj:e,joburg:e,jot:e,joy:e,jpmorgan:e,jprs:e,juegos:e,juniper:e,kaufen:e,kddi:e,kerryhotels:e,kerrylogistics:e,kerryproperties:e,kfh:e,kia:e,kids:e,kim:e,kindle:e,kitchen:e,kiwi:e,koeln:e,komatsu:e,kosher:e,kpmg:e,kpn:e,krd:[1,{co:t,edu:t}],kred:e,kuokgroup:e,kyoto:e,lacaixa:e,lamborghini:e,lamer:e,lancaster:e,land:e,landrover:e,lanxess:e,lasalle:e,lat:e,latino:e,latrobe:e,law:e,lawyer:e,lds:e,lease:e,leclerc:e,lefrak:e,legal:e,lego:e,lexus:e,lgbt:e,lidl:e,life:e,lifeinsurance:e,lifestyle:e,lighting:e,like:e,lilly:e,limited:e,limo:e,lincoln:e,link:[1,{myfritz:t,cyon:t,dweb:r,nftstorage:[0,{ipfs:t}],mypep:t}],lipsy:e,live:[1,{aem:t,hlx:t,ewp:r}],living:e,llc:e,llp:e,loan:e,loans:e,locker:e,locus:e,lol:[1,{omg:t}],london:e,lotte:e,lotto:e,love:e,lpl:e,lplfinancial:e,ltd:e,ltda:e,lundbeck:e,luxe:e,luxury:e,madrid:e,maif:e,maison:e,makeup:e,man:e,management:[1,{router:t}],mango:e,map:e,market:e,marketing:e,markets:e,marriott:e,marshalls:e,mattel:e,mba:e,mckinsey:e,med:e,media:$,meet:e,melbourne:e,meme:e,memorial:e,men:e,menu:[1,{barsy:t,barsyonline:t}],merck:e,merckmsd:e,miami:e,microsoft:e,mini:e,mint:e,mit:e,mitsubishi:e,mlb:e,mls:e,mma:e,mobile:e,moda:e,moe:e,moi:e,mom:[1,{ind:t}],monash:e,money:e,monster:e,mormon:e,mortgage:e,moscow:e,moto:e,motorcycles:e,mov:e,movie:e,msd:e,mtn:e,mtr:e,music:e,nab:e,nagoya:e,navy:e,nba:e,nec:e,netbank:e,netflix:e,network:[1,{alces:r,co:t,arvo:t,azimuth:t,tlon:t}],neustar:e,new:e,news:[1,{noticeable:t}],next:e,nextdirect:e,nexus:e,nfl:e,ngo:e,nhk:e,nico:e,nike:e,nikon:e,ninja:e,nissan:e,nissay:e,nokia:e,norton:e,now:e,nowruz:e,nowtv:e,nra:e,nrw:e,ntt:e,nyc:e,obi:e,observer:e,office:e,okinawa:e,olayan:e,olayangroup:e,ollo:e,omega:e,one:[1,{kin:r,service:t}],ong:[1,{obl:t}],onl:e,online:[1,{eero:t,"eero-stage":t,websitebuilder:t,barsy:t}],ooo:e,open:e,oracle:e,orange:[1,{tech:t}],organic:e,origins:e,osaka:e,otsuka:e,ott:e,ovh:[1,{nerdpol:t}],page:[1,{aem:t,hlx:t,hlx3:t,translated:t,codeberg:t,prvcy:t,rocky:t,pdns:t,plesk:t}],panasonic:e,paris:e,pars:e,partners:e,parts:e,party:e,pay:e,pccw:e,pet:e,pfizer:e,pharmacy:e,phd:e,philips:e,phone:e,photo:e,photography:e,photos:$,physio:e,pics:e,pictet:e,pictures:[1,{1337:t}],pid:e,pin:e,ping:e,pink:e,pioneer:e,pizza:[1,{ngrok:t}],place:m,play:e,playstation:e,plumbing:e,plus:e,pnc:e,pohl:e,poker:e,politie:e,porn:e,pramerica:e,praxi:e,press:e,prime:e,prod:e,productions:e,prof:e,progressive:e,promo:e,properties:e,property:e,protection:e,pru:e,prudential:e,pub:[1,{id:r,kin:r,barsy:t}],pwc:e,qpon:e,quebec:e,quest:e,racing:e,radio:e,read:e,realestate:e,realtor:e,realty:e,recipes:e,red:e,redstone:e,redumbrella:e,rehab:e,reise:e,reisen:e,reit:e,reliance:e,ren:e,rent:e,rentals:e,repair:e,report:e,republican:e,rest:e,restaurant:e,review:e,reviews:e,rexroth:e,rich:e,richardli:e,ricoh:e,ril:e,rio:e,rip:[1,{clan:t}],rocks:[1,{myddns:t,stackit:t,"lima-city":t,webspace:t}],rodeo:e,rogers:e,room:e,rsvp:e,rugby:e,ruhr:e,run:[1,{development:t,ravendb:t,servers:t,build:r,code:r,database:r,migration:r,onporter:t,repl:t,stackit:t,val:[0,{express:t,web:t}],wix:t}
407],rwe:e,ryukyu:e,saarland:e,safe:e,safety:e,sakura:e,sale:e,salon:e,samsclub:e,samsung:e,sandvik:e,sandvikcoromant:e,sanofi:e,sap:e,sarl:e,sas:e,save:e,saxo:e,sbi:e,sbs:e,scb:e,schaeffler:e,schmidt:e,scholarships:e,school:e,schule:e,schwarz:e,science:e,scot:[1,{gov:[2,{service:t}]}],search:e,seat:e,secure:e,security:e,seek:e,select:e,sener:e,services:[1,{loginline:t}],seven:e,sew:e,sex:e,sexy:e,sfr:e,shangrila:e,sharp:e,shell:e,shia:e,shiksha:e,shoes:e,shop:[1,{base:t,hoplix:t,barsy:t,barsyonline:t,shopware:t}],shopping:e,shouji:e,show:e,silk:e,sina:e,singles:e,site:[1,{canva:v,cloudera:r,convex:t,cyon:t,fnwk:t,folionetwork:t,fastvps:t,jele:t,jouwweb:t,lelux:t,loginline:t,barsy:t,notion:t,omniwe:t,opensocial:t,madethis:t,platformsh:r,tst:r,byen:t,srht:t,novecore:t,wpsquared:t}],ski:e,skin:e,sky:e,skype:e,sling:e,smart:e,smile:e,sncf:e,soccer:e,social:e,softbank:e,software:e,sohu:e,solar:e,solutions:[1,{diher:t}],song:e,sony:e,soy:e,spa:e,space:[1,{myfast:t,heiyu:t,hf:[2,{static:t}],"app-ionos":t,project:t,uber:t,xs4all:t}],sport:e,spot:e,srl:e,stada:e,staples:e,star:e,statebank:e,statefarm:e,stc:e,stcgroup:e,stockholm:e,storage:e,store:[1,{barsy:t,sellfy:t,shopware:t,storebase:t}],stream:e,studio:e,study:e,style:e,sucks:e,supplies:e,supply:e,support:[1,{barsy:t}],surf:e,surgery:e,suzuki:e,swatch:e,swiss:e,sydney:e,systems:[1,{knightpoint:t}],tab:e,taipei:e,talk:e,taobao:e,target:e,tatamotors:e,tatar:e,tattoo:e,tax:e,taxi:e,tci:e,tdk:e,team:[1,{discourse:t,jelastic:t}],tech:[1,{cleverapps:t}],technology:m,temasek:e,tennis:e,teva:e,thd:e,theater:e,theatre:e,tiaa:e,tickets:e,tienda:e,tips:e,tires:e,tirol:e,tjmaxx:e,tjx:e,tkmaxx:e,tmall:e,today:[1,{prequalifyme:t}],tokyo:e,tools:e,top:[1,{"now-dns":t,ntdll:t,wadl:r}],toray:e,toshiba:e,total:e,tours:e,town:e,toyota:e,toys:e,trade:e,trading:e,training:e,travel:e,travelers:e,travelersinsurance:e,trust:e,trv:e,tube:e,tui:e,tunes:e,tushu:e,tvs:e,ubank:e,ubs:e,unicom:e,university:e,uno:e,uol:e,ups:e,vacations:e,vana:e,vanguard:e,vegas:e,ventures:e,verisign:e,versicherung:e,vet:e,viajes:e,video:e,vig:e,viking:e,villas:e,vin:e,vip:e,virgin:e,visa:e,vision:e,viva:e,vivo:e,vlaanderen:e,vodka:[1,{aaa:t}],volvo:e,vote:e,voting:e,voto:e,voyage:e,wales:e,walmart:e,walter:e,wang:e,wanggou:e,watch:e,watches:e,weather:e,weatherchannel:e,webcam:e,weber:e,website:$,wed:e,wedding:e,weibo:e,weir:e,whoswho:e,wien:e,wiki:$,williamhill:e,win:e,windows:e,wine:e,winners:e,wme:e,wolterskluwer:e,woodside:e,work:[1,{corpnet:t}],works:e,world:e,wow:e,wtc:e,wtf:e,xbox:e,xerox:e,xihuan:e,xin:e,"xn--11b4c3d":e,à¤à¥à¤®:e,"xn--1ck2e1b":e,ã»ã¼ã«:e,"xn--1qqw23a":e,ä½å±±:e,"xn--30rr7y":e,æ
å:e,"xn--3bst00m":e,éå¢:e,"xn--3ds443g":e,å¨çº¿:e,"xn--3pxu8k":e,ç¹ç:e,"xn--42c2d9a":e,à¸à¸à¸¡:e,"xn--45q11c":e,å
«å¦:e,"xn--4gbrim":e,Ù
ÙÙØ¹:e,"xn--55qw42g":e,å
¬ç:e,"xn--55qx5d":e,å
¬å¸:e,"xn--5su34j936bgsg":e,馿 ¼éæ:e,"xn--5tzm5g":e,ç½ç«:e,"xn--6frz82g":e,ç§»å¨:e,"xn--6qq986b3xl":e,æç±ä½ :e,"xn--80adxhks":e,моÑква:e,"xn--80aqecdr1a":e,каÑолик:e,"xn--80asehdb":e,онлайн:e,"xn--80aswg":e,ÑайÑ:e,"xn--8y0a063a":e,èé:e,"xn--9dbq2a":e,×§××:e,"xn--9et52u":e,æ¶å°:e,"xn--9krt00a":e,å¾®å:e,"xn--b4w605ferd":e,淡马é¡:e,"xn--bck1b9a5dre4c":e,ãã¡ãã·ã§ã³:e,"xn--c1avg":e,оÑг:e,"xn--c2br7g":e,नà¥à¤:e,"xn--cck2b3b":e,ã¹ãã¢:e,"xn--cckwcxetd":e,ã¢ãã¾ã³:e,"xn--cg4bki":e,ì¼ì±:e,"xn--czr694b":e,åæ :e,"xn--czrs0t":e,ååº:e,"xn--czru2d":e,åå:e,"xn--d1acj3b":e,деÑи:e,"xn--eckvdtc9d":e,ãã¤ã³ã:e,"xn--efvy88h":e,æ°é»:e,"xn--fct429k":e,å®¶é»:e,"xn--fhbei":e,ÙÙÙ
:e,"xn--fiq228c5hs":e,䏿ç½:e,"xn--fiq64b":e,ä¸ä¿¡:e,"xn--fjq720a":e,娱ä¹:e,"xn--flw351e":e,è°·æ:e,"xn--fzys8d69uvgm":e,é»è¨çç§:e,"xn--g2xx48c":e,è´ç©:e,"xn--gckr3f0f":e,ã¯ã©ã¦ã:e,"xn--gk3at1e":e,é販:e,"xn--hxt814e":e,ç½åº:e,"xn--i1b6b1a6a2e":e,सà¤à¤à¤ न:e,"xn--imr513n":e,é¤å
:e,"xn--io0a7i":e,ç½ç»:e,"xn--j1aef":e,ком:e,"xn--jlq480n2rg":e,äºé©¬é:e,"xn--jvr189m":e,é£å:e,"xn--kcrx77d1x4a":e,é£å©æµ¦:e,"xn--kput3i":e,ææº:e,"xn--mgba3a3ejt":e,اراÙ
ÙÙ:e,"xn--mgba7c0bbn0a":e,Ø§ÙØ¹ÙÙØ§Ù:e,"xn--mgbab2bd":e,بازار:e,"xn--mgbca7dzdo":e,Ø§Ø¨ÙØ¸Ø¨Ù:e,"xn--mgbi4ecexp":e,ÙØ§Ø«ÙÙÙÙ:e,"xn--mgbt3dhd":e,ÙÙ
راÙ:e,"xn--mk1bu44c":e,ë·ì»´:e,"xn--mxtq1m":e,æ¿åº:e,"xn--ngbc5azd":e,Ø´Ø¨ÙØ©:e,"xn--ngbe9e0a":e,Ø¨ÙØªÙ:e,"xn--ngbrx":e,عرب:e,"xn--nqv7f":e,æºæ:e,"xn--nqv7fs00ema":e,ç»ç»æºæ:e,"xn--nyqy26a":e,å¥åº·:e,"xn--otu796d":e,æè:e,"xn--p1acf":[1,{"xn--90amc":t,"xn--j1aef":t,"xn--j1ael8b":t,"xn--h1ahn":t,"xn--j1adp":t,"xn--c1avg":t,"xn--80aaa0cvac":t,"xn--h1aliz":t,"xn--90a1af":t,"xn--41a":t}],ÑÑÑ:[1,{биз:t,ком:t,кÑÑм:t,миÑ:t,мÑк:t,оÑг:t,ÑамаÑа:t,ÑоÑи:t,Ñпб:t,Ñ:t}],"xn--pssy2u":e,大æ¿:e,"xn--q9jyb4c":e,ã¿ããª:e,"xn--qcka1pmc":e,ã°ã¼ã°ã«:e,"xn--rhqv96g":e,ä¸ç:e,"xn--rovu88b":e,æ¸ç±:e,"xn--ses554g":e,ç½å:e,"xn--t60b56a":e,ë·ë·:e,"xn--tckwe":e,ã³ã :e,"xn--tiq49xqyj":e,天主æ:e,"xn--unup4y":e,游æ:e,"xn--vermgensberater-ctb":e,vermögensberater:e,"xn--vermgensberatung-pwb":e,vermögensberatung:e,"xn--vhquv":e,ä¼ä¸:e,"xn--vuq861b":e,ä¿¡æ¯:e,"xn--w4r85el8fhu5dnra":e,åé大é
åº:e,"xn--w4rs40l":e,åé:e,"xn--xhq521b":e,广ä¸:e,"xn--zfr164b":e,æ¿å¡:e,xyz:[1,{telebit:r}
407],yachts:e,yahoo:e,yamaxun:e,yandex:e,yodobashi:e,yoga:e,yokohama:e,you:e,youtube:e,yun:e,zappos:e,zara:e,zero:e,zip:e,zone:[1,{cloud66:t,triton:r,stackit:t,lima:t}],zuerich:e}]}();function f(e,t,n,r){let i=null,a=t;for(;void 0!==a&&((a[0]&r)!=0&&(i={index:n+1,isIcann:1===a[0],isPrivate:2===a[0]}),-1!==n);){let t=a[1];a=Object.prototype.hasOwnProperty.call(t,e[n])?t[e[n]]:t["*"],n-=1}return i}function h(e,t,n){var r;if(function(e,t,n){if(!t.allowPrivateDomains&&e.length>3){let t=e.length-1,r=e.charCodeAt(t),i=e.charCodeAt(t-1),a=e.charCodeAt(t-2),o=e.charCodeAt(t-3);if(109===r&&111===i&&99===a&&46===o)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="com",!0;if(103===r&&114===i&&111===a&&46===o)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="org",!0;if(117===r&&100===i&&101===a&&46===o)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="edu",!0;else if(118===r&&111===i&&103===a&&46===o)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="gov",!0;else if(116===r&&101===i&&110===a&&46===o)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="net",!0;else if(101===r&&100===i&&46===a)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="de",!0}return!1}(e,t,n))return;let i=e.split("."),a=2*!!t.allowPrivateDomains|!!t.allowIcannDomains,o=f(i,d,i.length-1,a);if(null!==o){n.isIcann=o.isIcann,n.isPrivate=o.isPrivate,n.publicSuffix=i.slice(o.index+1).join(".");return}let s=f(i,p,i.length-1,a);if(null!==s){n.isIcann=s.isIcann,n.isPrivate=s.isPrivate,n.publicSuffix=i.slice(s.index).join(".");return}n.isIcann=!1,n.isPrivate=!1,n.publicSuffix=null!=(r=i[i.length-1])?r:null}let m=l();function g(e,t={}){return c(e,5,h,t,l())}function y(e,t={}){return u(m),c(e,0,h,t,m).hostname}function v(e,t={}){return u(m),c(e,2,h,t,m).publicSuffix}function b(e,t={}){return u(m),c(e,3,h,t,m).domain}function _(e,t={}){return u(m),c(e,4,h,t,m).subdomain}function S(e,t={}){return u(m),c(e,5,h,t,m).domainWithoutSuffix}},41540:(e,t,n)=>{"use strict";n.d(t,{J:()=>f});var r,i=n(23056),a=/[A-Z]|^ms/g,o=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},u=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}(function(e){return s(e)?e:e.replace(a,"-$&").toLowerCase()}),c=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(o,function(e,t,n){return r={name:t,styles:n,next:r},t})}return 1===i.A[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return r={name:n.name,styles:n.styles,next:r},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)r={name:i.name,styles:i.styles,next:r},i=i.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=d(e,t,n[i])+";";else for(var a in n){var o=n[a];if("object"!=typeof o)null!=t&&void 0!==t[o]?r+=a+"{"+t[o]+"}":l(o)&&(r+=u(a)+":"+c(a,o)+";");else if(Array.isArray(o)&&"string"==typeof o[0]&&(null==t||void 0===t[o[0]]))for(var s=0;s<o.length;s++)l(o[s])&&(r+=u(a)+":"+c(a,o[s])+";");else{var p=d(e,t,o);switch(a){case"animation":case"animationName":r+=u(a)+":"+p+";";break;default:r+=a+"{"+p+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var a=r,o=n(e);return r=a,d(e,t,o)}}if(null==t)return n;var s=t[n];return void 0!==s?s:n}var p=/label:\s*([^\s;\n{]+)\s*(;|$)/g,f=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i,a=!0,o="";r=void 0;var s=e[0];null==s||void 0===s.raw?(a=!1,o+=d(n,t,s)):o+=s[0];for(var l=1;l<e.length;l++)o+=d(n,t,e[l]),a&&(o+=s[l]);p.lastIndex=0;for(var u="";null!==(i=p.exec(o));)u+="-"+i[1];return{name:function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&n)*0x5bd1e995+((n>>>16)*59797<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(o)+u,styles:o,next:r}}},41639:(e,t)=>
407{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.descriptorFromAgeDescriptor=t.minimumAgeFromAgeRating=void 0,t.minimumAgeFromAgeRating=function(e){return e.ageRating.andThen(e=>e.minAge)},t.descriptorFromAgeDescriptor=function(e){return e.ageRating.andThen(e=>e.descriptorsText)}},41701:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return l.default}});var r=p(n(46034)),i=p(n(61616)),a=p(n(79793)),o=p(n(68598)),s=p(n(70137)),l=p(n(84697)),u=p(n(55821)),c=p(n(31527)),d=p(n(45566));function p(e){return e&&e.__esModule?e:{default:e}}},41841:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=n(67109),i=n(70909),a=n(55185),o=(e,t)=>{if(Array.isArray(e))for(var n of e)o(n,t);else if("object"==typeof e&&null!==e)for(var r in e)"__typename"===r&&"string"==typeof e[r]?t.add(e[r]):o(e[r],t);return t},s=e=>{if(!e.selectionSet)return e;for(var t of e.selectionSet.selections)if(t.kind===r.Kind.FIELD&&"__typename"===t.name.value&&!t.alias)return e;return{...e,selectionSet:{...e.selectionSet,selections:[...e.selectionSet.selections,{kind:r.Kind.FIELD,name:{kind:r.Kind.NAME,value:"__typename"}}]}}},l=new Map,u=e=>{var t=i.keyDocument(e),n=l.get(t.__key);return n||(Object.defineProperty(n=r.visit(t,{Field:s,InlineFragment:s}),"__key",{value:t.__key,enumerable:!1}),l.set(t.__key,n)),n},c=(e,t)=>{if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(e=>c(e));if(!e||"object"!=typeof e||!t&&!("__typename"in e))return e;var n={};for(var r in e)"__typename"===r?Object.defineProperty(n,"__typename",{enumerable:!1,value:e.__typename}):n[r]=c(e[r]);return n};function d(e){return e.toPromise=()=>new Promise(t=>{var n=a.subscribe(e=>{e.stale||e.hasNext||Promise.resolve().then(()=>{n.unsubscribe(),t(e)})})(e)}),e}function p(e,t,n){return n||(n=t.context),{key:t.key,query:t.query,variables:t.variables,kind:e,context:n}}var f=(e,t)=>p(e.kind,e,{...e.context,meta:{...e.context.meta,...t}}),h=()=>{},m=(e,t,n)=>{for(var a of n)if(a.kind===r.Kind.FRAGMENT_DEFINITION){var o=a.name.value,s=i.stringifyDocument(a);e.has(o)||(e.set(o,s),t.push(a))}else t.push(a)},g=({kind:e})=>"mutation"!==e&&"query"!==e,y=({forward:e,client:t,dispatchDebug:n})=>{var r=new Map,i=new Map,s=e=>{var t=p(e.kind,e);return t.query=u(e.query),t},l=e=>{var{key:t,kind:n,context:{requestPolicy:i}}=e;return"query"===n&&"network-only"!==i&&("cache-only"===i||r.has(t))};return n=>{var u=a.share(n),c=a.map(e=>{var n=r.get(e.key),i={...n,operation:f(e,{cacheOutcome:n?"hit":"miss"})};return"cache-and-network"===e.context.requestPolicy&&(i.stale=!0,v(t,e)),i})(a.filter(e=>!g(e)&&l(e))(u)),d=a.tap(e=>{var{operation:n}=e;if(n){var a=[...o(e.data,new Set)].concat(n.context.additionalTypenames||[]);if("mutation"===e.operation.kind){for(var s=new Set,l=0;l<a.length;l++){var u=a[l],c=i.get(u);for(var d of(c||i.set(u,c=new Set),c.values()))s.add(d);c.clear()}for(var p of s.values())r.has(p)&&(n=r.get(p).operation,r.delete(p),v(t,n))}else if("query"===n.kind&&e.data){r.set(n.key,e);for(var f=0;f<a.length;f++){var h=a[f],m=i.get(h);m||i.set(h,m=new Set),m.add(n.key)}}}})(e(a.filter(e=>"query"!==e.kind||"cache-only"!==e.context.requestPolicy)(a.map(e=>f(e,{cacheOutcome:"miss"}))(a.merge([a.map(s)(a.filter(e=>!g(e)&&!l(e))(u)),a.filter(e=>g(e))(u)])))));return a.merge([c,d])}},v=(e,t)=>e.reexecuteOperation(p(t.kind,t,{...t.context,requestPolicy:"network-only"})),b=new Set,_=({forward:e,dispatchDebug:t})=>{var n=new Set,r=e=>{var{key:t,kind:r}=e;if("teardown"===r||"mutation"===r)return n.delete(t),!0;var i=n.has(t);return n.add(t),!i},i=({operation:e,hasNext:t})=>{t||n.delete(e.key)};return t=>{var n=a.filter(r)(t);return a.tap(i)(e(n))}},S=({forward:e,dispatchDebug:t})=>t=>{var n=a.share(t),r=a.mergeMap(e=>{var{key:t}=e,r=i.makeFetchBody(e),o=i.makeFetchURL(e,r),s=i.makeFetchOptions(e,r);return a.takeUntil(a.filter(e=>"teardown"===e.kind&&e.key===t)(n))(i.makeFetchSource(e,o,s))})(a.filter(e=>"query"===e.kind||"mutation"===e.kind)(n)),o=e(a.filter(e=>"query"!==e.kind&&"mutation"!==e.kind)(n));
407return a.merge([r,o])},E=e=>({client:t,forward:n,dispatchDebug:r})=>e.reduceRight((e,n)=>n({client:t,forward:e,dispatchDebug(e){}}),n),k=({onOperation:e,onResult:t,onError:n})=>({forward:r})=>i=>a.mergeMap(e=>{n&&e.error&&n(e.error,e.operation);var r=t&&t(e)||e;return"then"in r?a.fromPromise(r):a.fromValue(r)})(r(a.mergeMap(t=>{var n=e&&e(t)||t;return"then"in n?a.fromPromise(n):a.fromValue(n)})(i))),A=[_,y,S],T=function e(t){var n=0,r=new Map,o=new Map,s=[],l={url:t.url,fetchOptions:t.fetchOptions,fetch:t.fetch,preferGetMethod:!!t.preferGetMethod,requestPolicy:t.requestPolicy||"cache-first"},{source:u,next:f}=a.makeSubject(),m=!1;function g(e){if(e&&f(e),!m){for(m=!0;m&&(e=s.shift());)f(e);m=!1}}var y=e=>{var n=a.filter(t=>t.operation.kind===e.kind&&t.operation.key===e.key&&(!t.operation.context._instance||t.operation.context._instance===e.context._instance))(_);return(t.maskTypename&&(n=a.map(e=>({...e,data:c(e.data,!0)}))(n)),"mutation"===e.kind)?a.take(1)(a.onStart(()=>f(e))(n)):a.share(a.onEnd(()=>{r.delete(e.key),o.delete(e.key);for(var t=s.length-1;t>=0;t--)s[t].key===e.key&&s.splice(t,1);f(p("teardown",e,e.context))})(a.onPush(t=>{r.set(e.key,t)})(a.switchMap(t=>"query"!==e.kind||t.stale?a.fromValue(t):a.merge([a.fromValue(t),a.map(()=>({...t,stale:!0}))(a.take(1)(a.filter(t=>"query"===t.kind&&t.key===e.key&&"cache-only"!==t.context.requestPolicy)(u)))]))(a.takeUntil(a.filter(t=>"teardown"===t.kind&&t.key===e.key)(u))(n)))))},v=Object.assign(this instanceof e?this:Object.create(e.prototype),{suspense:!!t.suspense,operations$:u,reexecuteOperation(e){("mutation"===e.kind||o.has(e.key))&&(s.push(e),Promise.resolve().then(g))},createRequestOperation:(e,t,r)=>(r||(r={}),p(e,t,{_instance:"mutation"===e?n=n+1|0:void 0,...l,...r,requestPolicy:r.requestPolicy||l.requestPolicy,suspense:r.suspense||!1!==r.suspense&&v.suspense})),executeRequestOperation:e=>"mutation"===e.kind?y(e):a.make(t=>{var n=o.get(e.key);n||o.set(e.key,n=y(e));var i="cache-and-network"===e.context.requestPolicy||"network-only"===e.context.requestPolicy;return a.subscribe(t.next)(a.onEnd(()=>{m=!1,t.complete()})(a.onStart(()=>{var n=r.get(e.key);if("subscription"===e.kind)return g(e);i&&g(e),null!=n&&n===r.get(e.key)?t.next(i?{...n,stale:!0}:n):i||g(e)})(n))).unsubscribe}),executeQuery(e,t){var n=v.createRequestOperation("query",e,t);return v.executeRequestOperation(n)},executeSubscription(e,t){var n=v.createRequestOperation("subscription",e,t);return v.executeRequestOperation(n)},executeMutation(e,t){var n=v.createRequestOperation("mutation",e,t);return v.executeRequestOperation(n)},query:(e,t,n)=>(n&&"boolean"==typeof n.suspense||(n={...n,suspense:!1}),d(v.executeQuery(i.createRequest(e,t),n))),readQuery(e,t,n){var r=null;return a.subscribe(e=>{r=e})(v.query(e,t,n)).unsubscribe(),r},subscription:(e,t,n)=>v.executeSubscription(i.createRequest(e,t),n),mutation:(e,t,n)=>d(v.executeMutation(i.createRequest(e,t),n))}),b=E(void 0!==t.exchanges?t.exchanges:A),_=a.share(b({client:v,dispatchDebug:h,forward:(({dispatchDebug:e})=>e=>a.filter(()=>!1)(a.tap(e=>{e.kind})(e)))({dispatchDebug:h})})(u));return a.publish(_),v};t.CombinedError=i.CombinedError,t.createRequest=i.createRequest,t.getOperationName=i.getOperationName,t.makeErrorResult=i.makeErrorResult,t.makeResult=i.makeResult,t.mergeResultPatch=i.mergeResultPatch,t.stringifyVariables=i.stringifyVariables,t.Client=T,t.cacheExchange=y,t.composeExchanges=E,t.createClient=T,t.debugExchange=({forward:e})=>t=>e(t),t.dedupExchange=_,t.defaultExchanges=A,t.errorExchange=k,t.fetchExchange=S,t.formatDocument=u,t.gql=function(){for(var e=new Map,t=[],n=[],a=Array.isArray(arguments[0])?arguments[0][0]:arguments[0]||"",o=1;o<arguments.length;o++){var s=arguments[o];s&&s.definitions?n.push(...s.definitions):a+=s,a+=arguments[0][o]}return m(e,t,i.keyDocument(a).definitions),m(e,t,n),i.keyDocument({kind:r.Kind.DOCUMENT,definitions:t})},t.makeOperation=p,t.mapExchange=k,t.maskTypename=c,t.ssrExchange=(e={})=>{var t=!!e.staleWhileRevalidate,n=!!e.includeExtensions,r={},o=[],s=e=>{o.push(e.operation.key),1===o.length&&Promise.resolve().then(()=>{for(var e;e=o.shift();)r[e]=null})},l=({client:o,forward:l})=>u=>{var c=e&&"boolean"==typeof e.isClient?!!e.isClient:!o.suspense,d=a.share(u),p=l(a.filter(e=>!r[e.key]||!!r[e.key].hasNext||"network-only"===e.context.requestPolicy)(d)),h=a.map(e=>{var a=r[e.key],s=((e,t,n)=>({operation:e,data:t.data?JSON.parse(t.data):void 0,extensions:n&&t.extensions?JSON.parse(t.extensions):void 0,error:t.error?new i.CombinedError({networkError:t.error.networkError?Error(t.error.networkError):void 0,graphQLErrors:t.error.graphQLErrors}):void 0,hasNext:t.hasNext}))(e,a,n);
407return t&&!b.has(e.key)&&(s.stale=!0,b.add(e.key),v(o,e)),{...s,operation:f(e,{cacheOutcome:"hit"})}})(a.filter(e=>!!r[e.key]&&"network-only"!==e.context.requestPolicy)(d));return c?h=a.tap(s)(h):p=a.tap(e=>{var{operation:t}=e;if("mutation"!==t.kind){var i=(({hasNext:e,data:t,extensions:n,error:r},i)=>{var a={};return void 0!==t&&(a.data=JSON.stringify(t)),i&&void 0!==n&&(a.extensions=JSON.stringify(n)),e&&(a.hasNext=!0),r&&(a.error={graphQLErrors:r.graphQLErrors.map(e=>e.path||e.extensions?{message:e.message,path:e.path,extensions:e.extensions}:e.message)},r.networkError&&(a.error.networkError=""+r.networkError)),a})(e,n);r[t.key]=i}})(p),a.merge([p,h])};return l.restoreData=e=>{for(var t in e)null!==r[t]&&(r[t]=e[t])},l.extractData=()=>{var e={};for(var t in r)null!=r[t]&&(e[t]=r[t]);return e},e&&e.initialState&&l.restoreData(e.initialState),l},t.subscriptionExchange=({forwardSubscription:e,enableAllOperations:t,isSubscriptionOperation:n})=>({client:r,forward:o})=>{var s=n||(e=>{var{kind:n}=e;return"subscription"===n||!!t&&("query"===n||"mutation"===n)});return t=>{var n=a.share(t),l=a.mergeMap(t=>{var{key:o}=t,s=a.filter(e=>"teardown"===e.kind&&e.key===o)(n);return a.takeUntil(s)((t=>{var n=e({key:t.key.toString(36),query:i.stringifyDocument(t.query),variables:t.variables,context:{...t.context}});return a.make(({next:e,complete:a})=>{var o,s=!1;return Promise.resolve().then(()=>{s||(o=n.subscribe({next:n=>e(i.makeResult(t,n)),error:n=>e(i.makeErrorResult(t,n)),complete:()=>{s||(s=!0,"subscription"===t.kind&&r.reexecuteOperation(p("teardown",t,t.context)),a())}}))}),()=>{s=!0,o&&o.unsubscribe()}})})(t))})(a.filter(s)(n)),u=o(a.filter(e=>!s(e))(n));return a.merge([l,u])}}},42034:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPublisherProvidedIdProvider=void 0;let n="__player_ppid";t.createPublisherProvidedIdProvider=({createUuid:e,localStorage:t,logger:r})=>({delete:()=>{try{t.removeItem(n)}catch(e){r.error("could not delete publisher provided id",e.message)}},get:()=>{let i=()=>e(),a=null;try{a=t.getItem(n),null!==a&&a.includes("-")||(a=i(),t.setItem(n,a))}catch(e){r.error("could not access publisher provided id",e.message)}return null!=a?a:i()}})}
407,42049:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g,disableExperimentalFragmentVariables:()=>h,disableFragmentWarnings:()=>p,enableExperimentalFragmentVariables:()=>f,gql:()=>c,resetCaches:()=>d});var r=n(80594),i=n(23957),a=new Map,o=new Map,s=!0,l=!1;function u(e){return e.replace(/[\s,]+/g," ").trim()}function c(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var c=e[0];return t.forEach(function(t,n){t&&"Document"===t.kind?c+=t.loc.source.body:c+=t,c+=e[n+1]}),function(e){var t=u(e);if(!a.has(t)){var n,c,d,p,f,h=(0,i.qg)(e,{experimentalFragmentVariables:l,allowLegacyFragmentVariables:l});if(!h||"Document"!==h.kind)throw Error("Not a valid GraphQL document.");a.set(t,((p=new Set((n=new Set,c=[],h.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,r=e.name.value,i=u((t=e.loc).source.body.substring(t.start,t.end)),a=o.get(r);a&&!a.has(i)?s&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||o.set(r,a=new Set),a.add(i),n.has(i)||(n.add(i),c.push(e))}else c.push(e)}),d=(0,r.Cl)((0,r.Cl)({},h),{definitions:c})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var n=e[t];n&&"object"==typeof n&&p.add(n)})}),(f=d.loc)&&(delete f.startToken,delete f.endToken),d))}return a.get(t)}(c)}function d(){a.clear(),o.clear()}function p(){s=!1}function f(){l=!0}function h(){l=!1}var m={gql:c,resetCaches:d,disableFragmentWarnings:p,enableExperimentalFragmentVariables:f,disableExperimentalFragmentVariables:h};!function(e){e.gql=m.gql,e.resetCaches=m.resetCaches,e.disableFragmentWarnings=m.disableFragmentWarnings,e.enableExperimentalFragmentVariables=m.enableExperimentalFragmentVariables,e.disableExperimentalFragmentVariables=m.disableExperimentalFragmentVariables}(c||(c={})),c.default=c;let g=c},42070:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.brandNameFromBrands=t.brandLogoFromBrands=void 0;let r=n(47561);t.brandLogoFromBrands=function(e){return r.Maybe.first(e.brands).map(e=>e.logo.url)},t.brandNameFromBrands=function(e){return r.Maybe.first(e.brands).map(e=>e.title)}},42164:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleZodError=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47561),a=n(50454),o=n(33309),s=new Map([["transcoding-error",a.iabVastErrorCode.VAST_UNSUPPORTED_MEDIAFILE_ERROR],["duplicate",a.iabVastErrorCode.VAST_CONDITIONAL_REJECTION_ERROR]]);t.handleZodError=({adSource:e,error:t,extension:n,baseErrorPath:a})=>i.Result.err(t).mapErr(({issues:[t]})=>{var i,l,u;let c=null==(l=null==(i=(null!=n?n:[]).find(e=>!r.default.nullOrUndefined(e.invalidationReason)))?void 0:i.invalidationReason)?void 0:l.value;return c&&s.has(c)?new o.InvalidVastError(`${a}.${null==t?void 0:t.path.join(".")} ${c}`,{adSource:e,code:s.get(c)}):new o.InvalidVastError(`${a}.${null==t?void 0:t.path.join(".")} ${null==t?void 0:t.message}`,{adSource:e,code:null==(u=t.params)?void 0:u.code})})},42445:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTransparencyConsent=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=r.__importDefault(n(30029)),o=n(47561),s=n(66023);t.getTransparencyConsent=({logger:e,errorReporter:t,transparencyConsentApi:n})=>r.__awaiter(void 0,void 0,void 0,function*(){let r=(n,r)=>{let i=`Consent string could not be retrieved: ${n}`;e.error(i,r);let a=(0,s.stampError)(i,null!=r?r:Error(n));return t.sendError(a),a};if(i.default.nullOrUndefined(n))return o.Result.err(r(`consent api is ${typeof n}`));try{return yield(0,a.default)(new Promise(t=>{n("addEventListener",2,(a,s)=>{(s?o.Result.ok(o.Maybe.of(a)):o.Result.err(r('calling "addEventListener" did not succeed'))).andThen(t=>t.isNothing()?o.Result.err(r("Event received without tcData")):(t=>{let{cmpStatus:a,listenerId:s}=t;if("stub"===a)return e.log('CMP status is still "stub". Waiting for "loaded" event'),o.Result.ok({tcStatus:"wait"});if("error"===a)return o.Result.err(r("CMP is in an error state"));e.log("CMP Loaded Event received, removing listener"),i.default.nullOrUndefined(s)||n("removeEventListener",2,t=>{e.log(`removeEventListener finished with ${t} for listenerId: ${s}`)},s);let{purpose:l,tcString:u,gdprApplies:c}=t;return i.default.nullOrUndefined(c)||!c?o.Result.err(r(`"gdprApplies" is ${c}`)):o.Result.ok({purpose:l,tcStatus:"resolve",tcString:u})})(t.value)).match({Err:e=>{t(o.Result.err(e))},Ok:({purpose:e,tcStatus:n,tcString:a})=>{"resolve"===n&&(i.default.nullOrUndefined(a)&&r("CMP is loaded without tcString"),t(o.Result.ok({purpose:e,tcString:a})))}})})}),500)}catch(e){return o.Result.err(r('Error thrown when calling "transparencyConsentApi"',e))}})},42487:(e,t,n)=>{"use strict";function r(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "}),r}n.d(t,{Rk:()=>r,SF:()=>i,sk:()=>a});var i=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},a=function(e,t,n){i(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do e.insert(t===a?"."+r:"",a,e.sheet,!0),a=a.next;while(void 0!==a)}}}
407,42602:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloseButton=void 0;let r=n(80263),i=n(53239),a=n(66976),o=n(19630),s=n(52627);t.CloseButton=()=>{let{actions:e}=(0,i.useContext)(a.PlayerContext);return(0,r.jsx)(o.ControlButton,{icon:s.CloseIcon,label:"Schlie\xdfen",onClick:e.destroy})}},42807:e=>{e.exports=function(e){function t(e,t){return e<<t|e>>>32-t}function n(e,t){var n,r,i,a,o;return(i=0x80000000&e,a=0x80000000&t,n=0x40000000&e,r=0x40000000&t,o=(0x3fffffff&e)+(0x3fffffff&t),n&r)?0x80000000^o^i^a:n|r?0x40000000&o?0xc0000000^o^i^a:0x40000000^o^i^a:o^i^a}function r(e,r,i,a,o,s,l){return e=n(e,n(n(r&i|~r&a,o),l)),n(t(e,s),r)}function i(e,r,i,a,o,s,l){return e=n(e,n(n(r&a|i&~a,o),l)),n(t(e,s),r)}function a(e,r,i,a,o,s,l){return e=n(e,n(n(r^i^a,o),l)),n(t(e,s),r)}function o(e,r,i,a,o,s,l){return e=n(e,n(n(i^(r|~a),o),l)),n(t(e,s),r)}function s(e){var t,n="",r="";for(t=0;t<=3;t++)n+=(r="0"+(e>>>8*t&255).toString(16)).substr(r.length-2,2);return n}var l,u,c,d,p,f,h,m,g,y=[];for(l=0,y=function(e){for(var t,n=e.length,r=n+8,i=((r-r%64)/64+1)*16,a=Array(i-1),o=0,s=0;s<n;)t=(s-s%4)/4,o=s%4*8,a[t]=a[t]|e.charCodeAt(s)<<o,s++;return t=(s-s%4)/4,o=s%4*8,a[t]=a[t]|128<<o,a[i-2]=n<<3,a[i-1]=n>>>29,a}(e=function(e){e=e.replace(/rn/g,"n");for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):(r>127&&r<2048?t+=String.fromCharCode(r>>6|192):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128)),t+=String.fromCharCode(63&r|128))}return t}(e)),f=0x67452301,h=0xefcdab89,m=0x98badcfe,g=0x10325476;l<y.length;l+=16)u=f,c=h,d=m,p=g,f=r(f,h,m,g,y[l+0],7,0xd76aa478),g=r(g,f,h,m,y[l+1],12,0xe8c7b756),m=r(m,g,f,h,y[l+2],17,0x242070db),h=r(h,m,g,f,y[l+3],22,0xc1bdceee),f=r(f,h,m,g,y[l+4],7,0xf57c0faf),g=r(g,f,h,m,y[l+5],12,0x4787c62a),m=r(m,g,f,h,y[l+6],17,0xa8304613),h=r(h,m,g,f,y[l+7],22,0xfd469501),f=r(f,h,m,g,y[l+8],7,0x698098d8),g=r(g,f,h,m,y[l+9],12,0x8b44f7af),m=r(m,g,f,h,y[l+10],17,0xffff5bb1),h=r(h,m,g,f,y[l+11],22,0x895cd7be),f=r(f,h,m,g,y[l+12],7,0x6b901122),g=r(g,f,h,m,y[l+13],12,0xfd987193),m=r(m,g,f,h,y[l+14],17,0xa679438e),h=r(h,m,g,f,y[l+15],22,0x49b40821),f=i(f,h,m,g,y[l+1],5,0xf61e2562),g=i(g,f,h,m,y[l+6],9,0xc040b340),m=i(m,g,f,h,y[l+11],14,0x265e5a51),h=i(h,m,g,f,y[l+0],20,0xe9b6c7aa),f=i(f,h,m,g,y[l+5],5,0xd62f105d),g=i(g,f,h,m,y[l+10],9,0x2441453),m=i(m,g,f,h,y[l+15],14,0xd8a1e681),h=i(h,m,g,f,y[l+4],20,0xe7d3fbc8),f=i(f,h,m,g,y[l+9],5,0x21e1cde6),g=i(g,f,h,m,y[l+14],9,0xc33707d6),m=i(m,g,f,h,y[l+3],14,0xf4d50d87),h=i(h,m,g,f,y[l+8],20,0x455a14ed),f=i(f,h,m,g,y[l+13],5,0xa9e3e905),g=i(g,f,h,m,y[l+2],9,0xfcefa3f8),m=i(m,g,f,h,y[l+7],14,0x676f02d9),h=i(h,m,g,f,y[l+12],20,0x8d2a4c8a),f=a(f,h,m,g,y[l+5],4,0xfffa3942),g=a(g,f,h,m,y[l+8],11,0x8771f681),m=a(m,g,f,h,y[l+11],16,0x6d9d6122),h=a(h,m,g,f,y[l+14],23,0xfde5380c),f=a(f,h,m,g,y[l+1],4,0xa4beea44),g=a(g,f,h,m,y[l+4],11,0x4bdecfa9),m=a(m,g,f,h,y[l+7],16,0xf6bb4b60),h=a(h,m,g,f,y[l+10],23,0xbebfbc70),f=a(f,h,m,g,y[l+13],4,0x289b7ec6),g=a(g,f,h,m,y[l+0],11,0xeaa127fa),m=a(m,g,f,h,y[l+3],16,0xd4ef3085),h=a(h,m,g,f,y[l+6],23,0x4881d05),f=a(f,h,m,g,y[l+9],4,0xd9d4d039),g=a(g,f,h,m,y[l+12],11,0xe6db99e5),m=a(m,g,f,h,y[l+15],16,0x1fa27cf8),h=a(h,m,g,f,y[l+2],23,0xc4ac5665),f=o(f,h,m,g,y[l+0],6,0xf4292244),g=o(g,f,h,m,y[l+7],10,0x432aff97),m=o(m,g,f,h,y[l+14],15,0xab9423a7),h=o(h,m,g,f,y[l+5],21,0xfc93a039),f=o(f,h,m,g,y[l+12],6,0x655b59c3),g=o(g,f,h,m,y[l+3],10,0x8f0ccc92),m=o(m,g,f,h,y[l+10],15,0xffeff47d),h=o(h,m,g,f,y[l+1],21,0x85845dd1),f=o(f,h,m,g,y[l+8],6,0x6fa87e4f),g=o(g,f,h,m,y[l+15],10,0xfe2ce6e0),m=o(m,g,f,h,y[l+6],15,0xa3014314),h=o(h,m,g,f,y[l+13],21,0x4e0811a1),f=o(f,h,m,g,y[l+4],6,0xf7537e82),g=o(g,f,h,m,y[l+11],10,0xbd3af235),m=o(m,g,f,h,y[l+2],15,0x2ad7d2bb),h=o(h,m,g,f,y[l+9],21,0xeb86d391),f=n(f,u),h=n(h,c),m=n(m,d),g=n(g,p);return(s(f)+s(h)+s(m)+s(g)).toLowerCase()}},42872:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapSeriesEpisodeContentResourceToLegacyContentResource=t.mapSeriesEpisodeOnDemandChannelContentResourceToLegacyContentResource=t.buildContentResourcesForSeriesEpisode=t.buildContentResourceForSeriesEpisodeInOnDemandChannel=void 0;let r=n(47561),i=n(50160),a=n(13770),o=n(42070),s=n(29241),l=n(41639),u=n(14402),c=n(6904),d=n(99354);function p(e){let t=e.series.andThen(e=>(0,s.featureCheck)(i.FeatureType.CornerBug,e.features)).or(r.Maybe.just(!1));return{actors:(0,a.listActorNames)(e.cast),ageRating:(0,l.minimumAgeFromAgeRating)(e),ageRatingDescriptors:(0,l.descriptorFromAgeDescriptor)(e),brandLogo:(0,o.brandLogoFromBrands)(e),brandName:(0,o.brandNameFromBrands)(e),contentTags:(0,d.listVideoDescriptorNames)(e.videoDescriptors),contentType:"series-episode",episodeId:e.id,episodeNumber:e.number,episodePath:e.path,episodeTitle:e.title,externalTrackingId:(0,c.externalTrackingIdFromTracking)(e),genres:(0,c.genresFromTracking)(e),hasCornerBug:t,hasProductPlacement:e.productPlacement,id:e.video.id,infOnlineCode:(0,c.infOnlineCodeFromTracking)(e),licenseTypes:e.licenseTypes,poster:e.posterImage.map(e=>e.url),primaryColor:e.series.andThen(e=>e.heroLandscapeImage).map(e=>e.vibrantColor),seasonNumber:e.season.andThen(e=>e.number),seriesTitle:e.series.map(e=>e.title),thumbnail:e.thumbnailImage.map(e=>e.url),titleImage:e.series.andThen(e=>e.artLogoImage).map(e=>e.url),tvShowId:e.series.map(e=>e.id)}}function f(e){return Object.assign(Object.assign({},p(e)),{playbackStartPosition:(0,u.determinePlaybackStartPosition)(e.resumePosition)})}function h(e){return{actors:e.actors,ageRating:e.ageRating.unwrapOr(void 0),ageRatingDescriptors:e.ageRatingDescriptors.unwrapOr(void 0),brandLogo:e.brandLogo.unwrapOr(void 0),brandName:e.brandName.unwrapOr(""),contentTags:e.contentTags,contentType:"series",episodeId:e.episodeId,episodeNumber:e.episodeNumber.unwrapOr(void 0),episodeTitle:e.episodeTitle,externalTrackingId:e.externalTrackingId.unwrapOr(""),genres:e.genres,hasCornerBug:e.hasCornerBug.unwrapOr(!1),hasProductPlacement:e.hasProductPlacement.unwrapOr(void 0),id:e.id,infOnlineCode:e.infOnlineCode.unwrapOr(""),licenseTypes:e.licenseTypes,poster:e.poster.unwrapOr(void 0),primaryColor:e.primaryColor.unwrapOr(void 0),seasonNumber:e.seasonNumber.unwrapOr(void 0),seriesTitle:e.seriesTitle.unwrapOr(""),thumbnail:e.thumbnail.unwrapOr(void 0),titleImage:e.titleImage.unwrapOr(void 0),tvShowId:e.tvShowId.unwrapOr("")}}t.buildContentResourceForSeriesEpisodeInOnDemandChannel=p,t.buildContentResourcesForSeriesEpisode=function(e){let{episode:t}=e,n=[f(t)];return t.nextEpisode.mapOr(n,e=>{let t=[...n,f(e)];return e.nextEpisode.mapOr(t,e=>[...t,f(e)])})},t.mapSeriesEpisodeOnDemandChannelContentResourceToLegacyContentResource=h,t.mapSeriesEpisodeContentResourceToLegacyContentResource=function(e){return Object.assign(Object.assign({},h(e)),{playbackStartPosition:e.playbackStartPosition})}},42975:(e,t,n)=>{"use strict";
407Object.defineProperty(t,"__esModule",{value:!0}),t.logger=void 0,t.logger=(0,n(72678).createLogger)(["player","shaka-playback"])},43122:(e,t,n)=>{var r=n(73415),i=n(54906),a=n(42807);e.exports=i.extend({constructor:function(e){this.plugin=e,this.dataExtractor=new r,this.key=this.getPreviousKey()},generateHashKey:function(){if(!this.key){var e=this.dataExtractor.getAllData();this.key=this._hashFunction(e),this.plugin.storage.setLocal("youboraDeviceUUID",this.key)}},getKey:function(){return this.key||this.generateHashKey(),this.key},_hashFunction:function(e){var t=e;return"string"!=typeof e&&(t=JSON.stringify(e)),a(t)},_reset:function(){this.key=void 0},getPreviousKey:function(){return this.plugin.storage.getLocal("youboraDeviceUUID")}})},43285:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatInvalidTypeIssue=void 0;let r=n(62300);t.formatInvalidTypeIssue=function(e,t){let{path:n}=e;return"undefined"===e.received&&(0,r.isNonEmptyArray)(n)?{message:`Missing property ${t.formattedPath}`}:{message:`Invalid value provided${t.location}, expected ${e.expected} but instead got ${e.received}`}}},43386:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createConsoleLoggerFactory=void 0;let n=["debug","warn","error","none"];t.createConsoleLoggerFactory=function(e){let{targetConsole:t,browserDetector:r}=e,i=r.isSafari()||r.isChrome()||r.isFirefox();return function e(r=[],a="none"){let o,s=(e=>{var t;let n=0;for(let r=0;r<e.length;r+=1)n=(null!=(t=e.codePointAt(r))?t:0)+((n<<5)-n);let r=(0xffffff&n).toString(16).toUpperCase();return`#${"00000".slice(0,Math.max(0,6-r.length))}${r}`})(r.join()),l=(e,a)=>{let l=n.indexOf(a);return(...a)=>{if(n.indexOf(o)>l)return;let u=Array.from(a);if(r.length>0){let e=`[${r.join(":")}]`;i&&"string"==typeof u[0]?u.splice(0,0,`%c${e}`,`color: ${s};`):u.unshift(e)}t[e](...u)}},u={createChildLogger:(t,n=o)=>e(r.concat(t),n),error:l("error","error"),getLevel:()=>o,log:l("log","debug"),setLevel(e){if(-1===n.indexOf(e))throw Error(`Unknown log level ${e}`);o=e},warn:l("warn","warn")};return u.setLevel(a),u}}},43446:(e,t,n)=>{var r=n(35121);e.exports=r.extend({constructor:function(e,t){this._sendRequest=!1,this._isBusy=!1,this.plugin=e,this.session=t,this.transformName="Offline"},parse:function(e){e&&this.plugin.offlineStorage&&this.plugin.offlineStorage.addEvent(e.service,e.params)},hasToSend:function(e){return!1},getState:function(){return r.STATE_OFFLINE}})},43789:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAdDecisionServiceProvider=void 0;let r=n(23669),i=n(72678),a=n(26161),o=n(70265),s=n(40650),l=n(87824),u=(0,r.createRealClock)();t.createAdDecisionServiceProvider=(e,t)=>{let{logLevel:n}=t,r=(0,i.createLogger)(["ad-decision-service"]);n&&r.setLevel(n);let c=(0,l.createStore)(),d=(0,s.createHandlers)(Object.assign(Object.assign({},e),{clock:u,store:c}),t),p=(0,o.createFallbackAdloadHandler)();return(0,a.createAdDecisionServiceProviderApi)(Object.assign(Object.assign({},e),{clock:u,fallbackAdloadHandler:p,handlers:d,logger:r,store:c}),t)}},44211:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetchAndBuildContentResourcesForPlaylist=void 0;let r=n(70015),i=n(62300);t.createFetchAndBuildContentResourcesForPlaylist=function(e,t){let{buildContentResourcesForPlaylist:n,fetchPlaylist:a,graphqlClient:o}=e,{graphqlEndpoint:s,graphqlServiceApiKey:l}=t;return function(e){return r.__awaiter(this,void 0,void 0,function*(){let{initialFetch:t,playlistId:r,playlistOffset:u,userState:c,userToken:d}=e,p=n((yield a({graphqlClient:o},{graphqlEndpoint:s,graphqlServiceApiKey:l,playlistId:r,playlistOffset:u,userState:c,userToken:d})));if(t)return p;if(!(0,i.hasExactlyThreeElements)(p))return[];let[,...f]=p;return f})}}},44320:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRatingAb0=void 0;let r=n(80263),i=n(83826);t.AgeRatingAb0=()=>(0,r.jsxs)(i.AgeRatingIcon,Object.assign({width:35,height:20},{children:[(0,r.jsx)("path",{d:"M33 0c1.105 0 2 .895 2 2v16c0 1.105-.895 2-2 2H2c-1.105 0-2-.895-2-2V2C0 .895.895 0 2 0h31zm0 1H2c-.513 0-.936.386-.993.883L1 2v16c0 .513.386.936.883.993L2 19h31c.513 0 .936-.386.993-.883L34 18V2c0-.513-.386-.936-.883-.993L33 1z",transform:"translate(-213 -213) translate(213 213)"}),(0,r.jsx)("path",{d:"M6.986 13.834l.497-1.29h3.178l.507 1.29h1.986L9.977 6.287H8.189L5 13.834h1.986zm3.057-2.88H8.1l.97-2.493.972 2.493zm7.106 3.013c.36 0 .702-.072 1.026-.215.324-.144.607-.34.85-.59.243-.25.434-.547.574-.889.14-.342.21-.712.21-1.109s-.07-.765-.21-1.103c-.14-.339-.331-.633-.574-.883-.243-.25-.526-.445-.85-.585-.324-.14-.666-.21-1.026-.21-.294 0-.561.035-.8.105-.24.07-.458.168-.657.293V6h-1.798v7.834h1.798v-.264c.199.125.418.222.657.292.239.07.506.105.8.105zm-.353-1.468c-.191 0-.38-.033-.568-.099-.188-.066-.366-.195-.536-.386v-1.677c.17-.192.348-.322.536-.392.187-.07.377-.105.568-.105.184 0 .353.035.507.105.155.07.287.165.398.287.11.121.196.26.259.419.063.158.094.33.094.513 0 .191-.031.368-.094.53-.063.162-.149.301-.26.42-.11.117-.242.21-.397.28-.154.07-.323.105-.507.105zM26.524 14c.537 0 1.02-.097 1.45-.292.431-.195.797-.466 1.099-.811.301-.346.531-.76.69-1.242.158-.482.237-1.006.237-1.572 0-.567-.08-1.089-.238-1.567-.158-.478-.388-.892-.69-1.242-.3-.349-.667-.621-1.097-.816-.43-.195-.914-.292-1.451-.292-.545 0-1.03.097-1.457.292-.426.195-.79.467-1.092.816-.302.35-.532.764-.69 1.242-.158.478-.237 1-.237 1.567 0 .566.08 1.09.237 1.572.158.482.388.896.69 1.242.302.345.666.
407616 1.092.81.427.196.912.293 1.457.293zm-.006-1.622c-.28 0-.526-.059-.739-.177-.213-.117-.392-.28-.535-.485-.144-.206-.252-.449-.326-.728-.073-.28-.11-.582-.11-.905 0-.324.037-.626.11-.905.074-.28.182-.522.326-.728.143-.206.322-.368.535-.486.213-.118.46-.176.74-.176.279 0 .525.058.739.176.213.118.391.28.535.486.143.206.252.448.325.728.074.28.11.581.11.905 0 .323-.036.625-.11.905-.073.28-.182.522-.325.728-.144.206-.322.368-.535.485-.214.118-.46.177-.74.177z",transform:"translate(-213 -213) translate(213 213)"})]}))},44372:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)}},44539:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapContentResourceToLegacyContentResource=t.getPathFromContentResource=t.getItemFromLivestreamOnDemandChannelContentResource=t.isLegacyLivestreamOnDemandChannelContentResource=t.isLegacyLivestreamContentResource=t.isContentResourceWithLicenseTypes=t.isContentResourceWithContentTags=t.isContentResourceWithActors=t.isContentResourceWithThumbnail=t.isContentResourceWithPrimaryColor=t.isContentResourceWithTitle=t.isContentResourceWithPlaybackStartPosition=t.isContentResourceWithCornerBug=t.isContentResourceWithProductPlacement=t.isContentResourceWithBrandLogo=t.isContentResourceWithAgeRating=t.isContentResourceWithAgeDescriptor=t.isContentResourceWithPoster=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47561),a=n(47397),o=n(31408),s=n(13053),l=n(39352),u=n(98185),c=n(16052),d=n(42872),p=n(35230);function f(e){throw Error("Unknown content type in content resource")}t.isContentResourceWithPoster=function(e){return(0,a.isRecord)(e)&&(r.default.string(e.poster)||r.default.urlInstance(e.poster))},t.isContentResourceWithAgeDescriptor=function(e){return(0,a.isRecord)(e)&&r.default.array(e.ageRatingDescriptors)},t.isContentResourceWithAgeRating=function(e){return(0,a.isRecord)(e)&&r.default.number(e.ageRating)},t.isContentResourceWithBrandLogo=function(e){return(0,a.isRecord)(e)&&(r.default.string(e.brandLogo)||r.default.urlInstance(e.brandLogo))},t.isContentResourceWithProductPlacement=function(e){return(0,a.isRecord)(e)&&r.default.boolean(e.hasProductPlacement)},t.isContentResourceWithCornerBug=function(e){return(0,a.isRecord)(e)&&r.default.boolean(e.hasCornerBug)},t.isContentResourceWithPlaybackStartPosition=function(e){return(0,a.isRecord)(e)&&r.default.number(e.playbackStartPosition)},t.isContentResourceWithTitle=function(e){return(0,a.isRecord)(e)&&r.default.string(e.title)},t.isContentResourceWithPrimaryColor=function(e){return(0,a.isRecord)(e)&&r.default.string(e.primaryColor)},t.isContentResourceWithThumbnail=function(e){return(0,a.isRecord)(e)&&(r.default.string(e.thumbnail)||r.default.urlInstance(e.thumbnail))},t.isContentResourceWithActors=function(e){return(0,a.isRecord)(e)&&r.default.array(e.actors)},t.isContentResourceWithContentTags=function(e){return(0,a.isRecord)(e)&&r.default.array(e.contentTags)},t.isContentResourceWithLicenseTypes=function(e){return(0,a.isRecord)(e)&&r.default.array(e.licenseTypes)},t.isLegacyLivestreamContentResource=function(e){return"live"===e.contentType},t.isLegacyLivestreamOnDemandChannelContentResource=function(e){return"live-on-demand"===e.contentType},t.getItemFromLivestreamOnDemandChannelContentResource=function(e,t){let n=t.andThen(t=>i.Maybe.of(e.onDemandContentResources[t]));return i.Result.fromMaybe(Error(`Canât find an on demand channel item for given index: ${t.toString()}`),n)},t.getPathFromContentResource=function(e){switch(e.contentType){case"compilation-item":return e.compilationItemPath;case"live":case"live-on-demand":return i.Maybe.nothing();case"movie":case"short-form":case"clip":case"sports-match":return e.path;case"series-episode":return e.episodePath;default:return f(e)}},t.mapContentResourceToLegacyContentResource=function(e){switch(e.contentType){case"compilation-item":return(0,o.mapCompilationItemContentResourceToLegacyContentResource)(e);case"live":case"live-on-demand":return(0,u.mapLivestreamContentResourceToLegacyContentResource)(e);case"movie":return(0,c.mapMovieContentResourceToLegacyContentResource)(e);case"series-episode":return(0,d.mapSeriesEpisodeContentResourceToLegacyContentResource)(e);case"short-form":return(0,s.mapShortFormContentResourceToLegacyContentResource)(e);case"clip":return(0,l.mapClipContentResourceToLegacyContentResource)(e);case"sports-match":return(0,p.mapSportsMatchContentResourceToLegacyContentResource)(e);default:return f(e)}}},44665:(e,t)=>{"use strict";
407Object.defineProperty(t,"__esModule",{value:!0})},44927:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGenerateAlternativeUrlApi=void 0,t.createGenerateAlternativeUrlApi=(e,t)=>{let{generateAlternativeUrl:n}=e,{adBlockPreventionBaseUrl:r="https://swankyrule.zomap.de/v2/"}=t;return e=>e.startsWith(r)?e:n({endpoint:r,url:e})}},45088:(e,t,n)=>{"use strict";function r(e,t){if(!e)throw Error(null!=t?t:"Unexpected invariant triggered.")}n.d(t,{V:()=>r})},45265:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAdMediaFilesFetcher=void 0;let r=n(72678),i=n(63741),a=n(21805);t.createAdMediaFilesFetcher=function(e,t){let{httpClient:n}=e,o=(0,r.createLogger)(["player","fetchadmediafiles"]),s=(0,i.createAdSourceClient)({httpClient:n,logger:o.createChildLogger(["ad-source-client"])},t);return(0,a.createFetchAdMediaFilesApi)({adSourceClient:s},t)}},45303:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorMap=t.setErrorMap=t.defaultErrorMap=void 0;let i=r(n(36375));t.defaultErrorMap=i.default;let a=i.default;t.setErrorMap=function(e){a=e},t.getErrorMap=function(){return a}},45490:e=>{e.exports={cdnName:"EDGECAST",parsers:[{element:"host",headerName:"Server",regex:/\((.+)\/.+\)/},{element:"type",headerName:"X-Cache",regex:/(.+)/}],parseType:function(e){return"HIT"===e?1:2}}},45566:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}
407(n(55821));t.default=function(e){let t;if(!(0,r.default)(e))throw TypeError("Invalid UUID");let n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/0x10000000000&255,n[11]=t/0x100000000&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}},45711:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormattedDateTime=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(67608),s=n(1036),l="de-DE",u="Europe/Berlin",c=new Intl.DateTimeFormat(l,{day:"numeric",month:"long",timeZone:u}),d=new Intl.DateTimeFormat(l,{hour:"2-digit",minute:"2-digit",timeZone:u}),p=a.default.time(e=>{let{theme:t}=e;return{fontFamily:t.fontFamilyBold,fontSize:"16px",lineHeight:"19px"}}),f=(0,a.default)(s.TimeIcon)({margin:"0 6px 0 12px",verticalAlign:"sub"});t.FormattedDateTime=e=>{let{value:t,className:n}=e,r=(0,o.toDate)(t);return(0,i.jsxs)(p,Object.assign({dateTime:r.toISOString(),className:n},{children:[c.format(r),(0,i.jsx)(f,{size:17}),d.format(r)]}))}},45936:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.highlightGraphQlQuerySchema=t.highlightSchema=t.parentSchema=void 0;let r=n(47561),i=n(92712),a=n(493),o=n(70351),s=n(16002),l=n(66054),u=n(20795),c=n(65317),d=n(76700),p=n(9334),f=n(16104),h=i.z.object({__typename:i.z.literal("Series"),genres:o.parentGenresSchema,id:s.idSchema,title:i.z.string()}).strict().nullable().transform(r.Maybe.of),m=i.z.object({__typename:i.z.literal("Compilation"),id:s.idSchema}).strict(),g=i.z.object({__typename:i.z.literal("Episode"),id:s.idSchema,series:h}).strict(),y=i.z.object({__typename:i.z.literal("Movie"),genres:o.parentGenresSchema,id:s.idSchema,title:i.z.string()}).strict(),v=i.z.object({__typename:i.z.literal("Season"),series:h}).strict(),b=i.z.object({__typename:i.z.literal("SportsCompetition"),id:s.idSchema}).strict(),_=i.z.object({__typename:i.z.literal("SportsMatch")}).strict(),S=i.z.object({__typename:i.z.literal("Series"),genres:o.parentGenresSchema,id:s.idSchema,title:i.z.string()}).strict(),E=i.z.object({__typename:i.z.literal("SportsStage")}).strict();t.parentSchema=i.z.discriminatedUnion("__typename",[m,g,y,v,S,b,E,_]),t.highlightSchema=i.z.object({__typename:i.z.literal("Extra"),ageRating:c.ageRatingSchema,artLogoImage:l.imageUrlSchema,brands:a.brandsSchema,id:s.idSchema,parent:t.parentSchema.nullable().transform(r.Maybe.of),path:d.pathSchema,posterImage:l.imageUrlSchema,title:i.z.string(),tracking:p.trackingSchema,vibrantColorImage:u.imageVibrantColorSchema,video:f.videoSchema}).strict(),t.highlightGraphQlQuerySchema=i.z.object({extra:t.highlightSchema}).strict()},46034:(e,t,n)=>{"use strict";let r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){return e&&e.__esModule?e:{default:e}}(n(18164)),o=n(31527);let s=0,l=0;t.default=function(e,t,n){let u=t&&n||0,c=t||Array(16),d=(e=e||{}).node||r,p=void 0!==e.clockseq?e.clockseq:i;if(null==d||null==p){let t=e.random||(e.rng||a.default)();null==d&&(d=r=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==p&&(p=i=(t[6]<<8|t[7])&16383)}let f=void 0!==e.msecs?e.msecs:Date.now(),h=void 0!==e.nsecs?e.nsecs:l+1,m=f-s+(h-l)/1e4;if(m<0&&void 0===e.clockseq&&(p=p+1&16383),(m<0||f>s)&&void 0===e.nsecs&&(h=0),h>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");s=f,l=h,i=p;let g=((0xfffffff&(f+=122192928e5))*1e4+h)%0x100000000;c[u++]=g>>>24&255,c[u++]=g>>>16&255,c[u++]=g>>>8&255,c[u++]=255&g;let y=f/0x100000000*1e4&0xfffffff;c[u++]=y>>>8&255,c[u++]=255&y,c[u++]=y>>>24&15|16,c[u++]=y>>>16&255,c[u++]=p>>>8|128,c[u++]=255&p;for(let e=0;e<6;++e)c[u+e]=d[e];return t||(0,o.unsafeStringify)(c)}},46045:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVastSchemaError=t.VastSchemaError=void 0;let r=n(70015).__importDefault(n(19577)),i=n(50454);class a extends Error{constructor(e,t,n){super(e),this.vastString=t,this.vastJson=n,this.message=`Scheme definition mismatch: ${e}
407`,this.code=i.iabVastErrorCode.VAST_SCHEMA_VALIDATION_ERROR}}t.VastSchemaError=a,t.isVastSchemaError=e=>e instanceof a&&!r.default.nullOrUndefined(e.vastJson)},46523:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(82486),i=n(92221),a=n(76227),o=n(76737),s=n(82609),l=o.toSCXMLEvent({type:a.init});function u(e,t){return t&&t[e]||void 0}function c(e,t){var n;if(o.isString(e)||"number"==typeof e){var i=u(e,t);n=o.isFunction(i)?{type:e,exec:i}:i||{type:e,exec:void 0}}else if(o.isFunction(e))n={type:e.name||e.toString(),exec:e};else{var i=u(e.type,t);if(o.isFunction(i))n=r.__assign(r.__assign({},e),{exec:i});else if(i){var a=i.type||e.type;n=r.__assign(r.__assign(r.__assign({},i),e),{type:a})}else n=e}return n}var d=function(e,t){return e?(o.isArray(e)?e:[e]).map(function(e){return c(e,t)}):[]};function p(e){var t=c(e);return r.__assign(r.__assign({id:o.isString(e)?e:t.id},t),{type:t.type})}function f(e,t,n,i){var s,l={_event:n},u=o.toSCXMLEvent(o.isFunction(e.event)?e.event(t,n.data,l):e.event);if(o.isString(e.delay)){var c=i&&i[e.delay];s=o.isFunction(c)?c(t,n.data,l):c}else s=o.isFunction(e.delay)?e.delay(t,n.data,l):e.delay;return r.__assign(r.__assign({},e),{type:a.raise,_event:u,delay:s})}function h(e,t){return{to:t?t.to:void 0,type:a.send,event:o.isFunction(e)?e:o.toEventObject(e),delay:t?t.delay:void 0,id:t&&void 0!==t.id?t.id:o.isFunction(e)?e.name:o.getEventType(e)}}function m(e,t,n,i){var a,s={_event:n},l=o.toSCXMLEvent(o.isFunction(e.event)?e.event(t,n.data,s):e.event);if(o.isString(e.delay)){var u=i&&i[e.delay];a=o.isFunction(u)?u(t,n.data,s):u}else a=o.isFunction(e.delay)?e.delay(t,n.data,s):e.delay;var c=o.isFunction(e.to)?e.to(t,n.data,s):e.to;return r.__assign(r.__assign({},e),{to:c,_event:l,event:l.data,delay:a})}function g(e,t){return h(e,r.__assign(r.__assign({},t),{to:i.SpecialTargets.Parent}))}var y=function(e,t){return{context:e,event:t}},v=function(e,t,n){return r.__assign(r.__assign({},e),{value:o.isString(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})};function b(e,t,n){var r=o.isFunction(e.activity)?e.activity(t,n.data):e.activity;return{type:i.ActionTypes.Stop,activity:"string"==typeof r?{id:r}:r}}var _=function(e){var t,n,i=[];try{for(var o=r.__values(e),s=o.next();!s.done;s=o.next())for(var l=s.value,u=0;u<l.actions.length;){if(l.actions[u].type===a.assign){i.push(l.actions[u]),l.actions.splice(u,1);continue}u++}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return i};t.actionTypes=a,t.after=function(e,t){return"".concat(i.ActionTypes.After,"(").concat(e,")").concat(t?"#".concat(t):"")},t.assign=function(e){return{type:a.assign,assignment:e}},t.cancel=function(e){return{type:a.cancel,sendId:e}},t.choose=function(e){return{type:i.ActionTypes.Choose,conds:e}},t.done=function(e,t){var n="".concat(i.ActionTypes.DoneState,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r},t.doneInvoke=function(e,t){var n="".concat(i.ActionTypes.DoneInvoke,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r},t.error=function(e,t){var n="".concat(i.ActionTypes.ErrorPlatform,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r},t.escalate=function(e,t){return g(function(t,n,r){return{type:a.error,data:o.isFunction(e)?e(t,n,r):e}},r.__assign(r.__assign({},t),{to:i.SpecialTargets.Parent}))},t.forwardTo=function(e,t){if(!s.IS_PRODUCTION&&(!e||"function"==typeof e)){var n=e;e=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i="function"==typeof n?n.apply(void 0,r.__spreadArray([],r.__read(e),!1)):n;if(!i)throw Error("Attempted to forward event to undefined actor. This risks an infinite loop in the sender.");return i}}return h(function(e,t){return t},r.__assign(r.__assign({},t),{to:e}))},t.getActionFunction=u,t.initEvent=l,t.isActionObject=function(e){return"object"==typeof e&&"type"in e},t.log=function(e,t){return void 0===e&&(e=y),{type:a.log,label:t,expr:e}},t.pure=function(e){return{type:i.ActionTypes.Pure,get:e}},t.raise=function(e,t){return{type:a.raise,event:"function"==typeof e?e:o.toEventObject(e),delay:t?t.delay:void 0,id:null==t?void 0:t.id}},t.resolveActions=function e(t,n,l,u,p,h,g){void 0===g&&(g=!1);var y=g?[]:_(p),S=y.length?o.updateContext(l,u,y,n):l,E=g?[l]:void 0,k=[];return[o.flatten(p.map(function(p){var y,_,A=[];try{for(var T=r.__values(p.actions),x=T.next();!x.done;x=T.next()){var w=x.value,C=function(p,y){var _;switch(y.type){case a.raise:var A=f(y,S,u,t.options.delays);return h&&"number"==typeof A.delay&&h(A,S,u),A;case a.send:var T=m(y,S,u,t.options.delays);if(!s.IS_PRODUCTION){var x=y.delay;o.warn(!o.isString(x)||"number"==typeof T.delay,"No delay reference for delay expression '".concat(x,"' was found on machine '").concat(t.id,"'"))}return h&&T.to!==i.SpecialTargets.Internal&&("entry"===p?k.push(T):h(T,S,u)),T;case a.log:var w=v(y,S,u);return null==h||h(w,S,u),w;case a.choose:var C=null==(_=y.conds.find(function(e){var r=o.toGuard(e.cond,t.options.guards);return!r||o.evaluateGuard(t,r,S,u,h?void 0:n)}))?void 0:_.actions;if(!C)return[];var I=r.__read(e(t,n,S,u,[{type:p,actions:d(o.toArray(C),t.options.actions)}],h,g),2),O=I[0];return S=I[1],null==E||E.push(S),O;case a.pure:var C=y.get(S,u.data);if(!C)return[];var R=r.__read(e(t,n,S,u,[{type:p,actions:d(o.toArray(C),t.options.actions)}],h,g),2),P=R[0];return S=R[1],null==E||E.push(S),P;case a.stop:var w=b(y,S,u);return null==h||h(w,l,u),w;case a.assign:S=o.updateContext(S,u,[y],h?void 0:n),null==E||E.push(S);break;default:var N=c(y,t.options.actions),L=N.exec;if(h)h(N,S,u);else if(L&&E){var j=E.length-1;N=r.__assign(r.__assign({},N),{exec:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];L.apply(void 0,r.__spreadArray([E[j]],r.__read(t),!1))}})}return N}}
407(p.type,w);C&&(A=A.concat(C))}}catch(e){y={error:e}}finally{try{x&&!x.done&&(_=T.return)&&_.call(T)}finally{if(y)throw y.error}}return k.forEach(function(e){h(e,S,u)}),k.length=0,A})),S]},t.resolveLog=v,t.resolveRaise=f,t.resolveSend=m,t.resolveStop=b,t.respond=function(e,t){return h(e,r.__assign(r.__assign({},t),{to:function(e,t,n){return n._event.origin}}))},t.send=h,t.sendParent=g,t.sendTo=function(e,t,n){return h(t,r.__assign(r.__assign({},n),{to:e}))},t.sendUpdate=function(){return g(a.update)},t.start=function(e){var t=p(e);return{type:i.ActionTypes.Start,activity:t,exec:void 0}},t.stop=function(e){var t=o.isFunction(e)?e:p(e);return{type:i.ActionTypes.Stop,activity:t,exec:void 0}},t.toActionObject=c,t.toActionObjects=d,t.toActivityDefinition=p},46565:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetchAndBuildContentResourcesForExtra=void 0;let r=n(70015),i=n(54556);t.createFetchAndBuildContentResourcesForExtra=function(e,t){let{buildContentResourceForExtra:n,fetchExtra:a,graphqlClient:o}=e,{graphqlEndpoint:s,graphqlServiceApiKey:l}=t,u=null!=a?a:i.fetchExtra;return function(e){return r.__awaiter(this,void 0,void 0,function*(){let{extraId:t,userState:r,userToken:i}=e;return[n((yield u({graphqlClient:o},{extraId:t,graphqlEndpoint:s,graphqlServiceApiKey:l,userState:r,userToken:i})))]})}}},47286:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchAndCreateDynamicAdScheduleEntry=t.createDynamicAdScheduleEntry=t.resolveIfIsOnDemandChannelContentResource=t.createAdScheduleWithNextMidrollEntry=t.replaceSourcesUrls=t.getAdPodFromAdSchedule=t.replaceAdSource=t.getAdSourceByAdCursor=t.removeRegularAdsAfterCursor=t.getSourcesByAdCursor=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47561),o=n(44539),s=n(34975),l=n(27504),u=n(72839),c=n(30517),d=n(9837),p=n(68565);t.getSourcesByAdCursor=(e,t)=>{var n,r;let{adScheduleTimeOffset:a}=t;return i.default.nonEmptyString(a)&&null!=(r=null==(n=e[a])?void 0:n.sources)?r:null},t.removeRegularAdsAfterCursor=(e,t)=>{let{adScheduleTimeOffset:n,adIndex:r}=t;if(null===n||null===r)return e;let i=e[n];return void 0===i?e:Object.assign(Object.assign({},e),{[n]:Object.assign(Object.assign({},i),{sources:i.sources.map(e=>{var t,n;return Object.assign(Object.assign({},e),{resource:{vast:Object.assign(Object.assign({},e.resource.vast),{ad:null==(n=null==(t=e.resource.vast)?void 0:t.ad)?void 0:n.filter((e,t)=>t<=r||(0,u.getSlotTypeFromVastAd)(e).mapOr(!1,c.isSponsorSlotType))})}})})})})},t.getAdSourceByAdCursor=(e,n)=>{var r,a;let{adScheduleTimeOffset:o,adScheduleTimeOffsetIndex:s}=n;return i.default.nonEmptyString(o)&&i.default.number(s)&&null!=(a=null==(r=(0,t.getSourcesByAdCursor)(e,n))?void 0:r[s])?a:null},t.replaceAdSource=(e,t,n)=>{let{adScheduleTimeOffset:r,adScheduleTimeOffsetIndex:a}=t,{resource:o}=n;if(!i.default.nonEmptyString(r)||!i.default.number(a))return e;let s=e[r],u=null==s?void 0:s.sources;return s&&u?Object.assign(Object.assign({},e),{[r]:Object.assign(Object.assign({},s),{sources:(0,l.replaceArrayItem)(u,a,Object.assign(Object.assign({},u[a]),{rawVast:n.rawVast,resource:o}))})}):e},t.getAdPodFromAdSchedule=(e,n)=>{var r,i;return null==(i=null==(r=(0,t.getAdSourceByAdCursor)(e,n))?void 0:r.resource.vast)?void 0:i.ad},t.replaceSourcesUrls=(e,t,n)=>{let r=e[t];return r?Object.assign(Object.assign({},e),{[t]:Object.assign(Object.assign({},r),{sources:r.sources.map((e,t)=>Object.assign(Object.assign({},e),{url:n[t]}))})}):e},t.createAdScheduleWithNextMidrollEntry=(e,t)=>{let{adLoad:n}=t,r=e=>t=>`${t}${e}`;return{[(0,s.isAdLoadWithStartTime)(n)?r("uts")(n.startTime):r("s")(n.startTimeOffset)]:(0,d.createAdScheduleEntry)(e,Object.assign(Object.assign({},t),{type:"linear"}))}},t.resolveIfIsOnDemandChannelContentResource=(e,t)=>{if((0,o.isLegacyLivestreamOnDemandChannelContentResource)(e)){let n=(0,o.getItemFromLivestreamOnDemandChannelContentResource)(e,t);if(n.isOk())return n.value}return e},t.createDynamicAdScheduleEntry=(e,n)=>{let{adServerOverrideUrl:o,adLoad:s,somqueryBaseUrl:l,referrerUrl:u}=n,c=r.__rest(n,["adServerOverrideUrl","adLoad","somqueryBaseUrl","referrerUrl"]),{store:d,createSomqueryUrl:f,errorReporter:h,createAdScheduleNextMidrollEntry:m,logger:g,random:y,toggleRouter:v}=e,{childPlaylistIndex:b,contentResource:_,adClientInformation:S,blockPosition:E,allowAdServerOverride:k}=d.getState();if(!i.default.nullOrUndefined(_)&&!i.default.nullOrUndefined(l)&&!i.default.nullOrUndefined(S)&&!i.default.nullOrUndefined(s)){let n=(0,t.resolveIfIsOnDemandChannelContentResource)(_,b);if(s.desiredAdCount>
4070){let t={adLoad:s,adServerOverrideUrl:a.Maybe.of(o),allowAdServerOverride:k,somqueryOptions:Object.assign(Object.assign({},c),{adClientInformation:S,adLoad:s,contentResource:n,maxAdBreakDuration:s.desiredBreakDuration,maxAdCount:s.desiredAdCount,referrerUrl:u,rollIndex:E-1,somqueryBaseUrl:l,somqueryRollPlacement:"midcontent"})},r=(0,p.createAdScheduleOverlay)(e).getOverlayEntry(t).unwrapOr({}),i=m({createSomqueryUrl:f,errorReporter:h,logger:g,random:y,toggleRouter:v},t);return Object.assign(Object.assign({},r),i)}}return{}},t.fetchAndCreateDynamicAdScheduleEntry=(e,n)=>r.__awaiter(void 0,void 0,void 0,function*(){let{adDecisionServiceProvider:r,store:i}=e,{playerState:a,somqueryBaseUrl:o}=n,{entitlementTokenPayload:s,encodedEntitlementJsonWebToken:l,childPlaylistIndex:u,contentResource:c,adClientInformation:d}=i.getState();if(c&&d&&void 0!==o){let o=(0,t.resolveIfIsOnDemandChannelContentResource)(c,u),d=yield r.get(a,o,"midroll",s,l);return(i.setState({adLoad:d}),0===d.desiredAdCount)?{}:(0,t.createDynamicAdScheduleEntry)(e,Object.assign({adLoad:d},n))}return{}})},47397:(e,t)=>{"use strict";function n(e,t,n){return Reflect.has(e,t)&&typeof e[t]===n}Object.defineProperty(t,"__esModule",{value:!0}),t.hasOwnPropertyOf=t.hasPropertyOf=t.hasProperty=t.isRecord=void 0,t.isRecord=function(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)},t.hasProperty=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.hasPropertyOf=n,t.hasOwnPropertyOf=function(e,t,r){return Object.prototype.hasOwnProperty.call(e,t)&&n(e,t,r)}},47428:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.errorUtil=void 0,function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:null==e?void 0:e.message}(t.errorUtil||(t.errorUtil={}))},47613:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.App=void 0;let r=n(70015),i=n(80263),a=n(30589),o=r.__importDefault(n(28909)),s=n(53239),l=n(47561),u=n(9407),c=n(83814),d=n(49061),p=n(93234),f=o.default.div(d.absoluteStyles);t.App=e=>{let{clock:t,fontsBaseUrl:n,registerStateUpdateHandler:r,registerActionsUpdateHandler:o,registerControlsInteractionsUpdateHandler:d,keyBindings:h,getFeatureValue:m,joynCountry:g,isUserLoggedIn:y,joynDistributionTenant:v,externalChildren:b}=e,_=(0,s.useRef)(null),S=(0,u.useElementWidth)(_.current),[E,k]=(0,s.useState)(null),[A,T]=(0,s.useState)(null),[x,w]=(0,s.useState)(l.Maybe.nothing());if((0,s.useEffect)(()=>{r(k)},[r]),(0,s.useEffect)(()=>{o(T)},[o]),(0,s.useEffect)(()=>{d(e=>{w(l.Maybe.just(e))})},[d]),!E||!A)return null;let C=(0,c.createFontStyles)(["Campton-Book","Campton-Bold"],n);return(0,i.jsxs)(s.Fragment,{children:[(0,i.jsx)(a.Global,{styles:C}),(0,i.jsx)(f,Object.assign({onMouseDown:e=>{A.touchVideoElement({event:e.nativeEvent})},onTouchStart:e=>{A.touchVideoElement({event:e.nativeEvent})},id:"trackable-player-element",ref:_},{children:null!==S&&(0,i.jsx)(p.PlayerWithContext,{clock:t,externalState:E,externalActions:A,keyBindings:h,getFeatureValue:m,playerWidth:S,controlsInteractions:x,joynCountry:l.Maybe.of(g),joynDistributionTenant:l.Maybe.of(v),isUserLoggedIn:l.Maybe.of(y),externalChildren:l.Maybe.of(b)})}))]})}},47694:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pick=void 0,t.pick=function(e,t){return Object.fromEntries(Object.entries(e).filter(([e])=>t.includes(e)))}},47701:function(e){e.exports=function(){"use strict";let e=/^xn--/,t=/[^\0-\x7E]/,n=/[\x2E\u3002\uFF0E\uFF61]/g,r={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},i=Math.floor,a=String.fromCharCode;function o(e){throw RangeError(r[e])}function s(e,t){let r=e.split("@"),i="";return r.length>1&&(i=r[0]+"@",e=r[1]),i+(function(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n})((e=e.replace(n,".")).split("."),t).join(".")}function l(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){let r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}let u=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},c=function(e,t,n){let r=0;for(e=n?i(e/700):e>>1,e+=i(e/t);e>455;r+=36)e=i(e/35);return i(r+36*e/(e+38))},d=function(e){var t;let n=[],r=e.length,a=0,s=128,l=72,u=e.lastIndexOf("-");u<0&&(u=0);for(let t=0;t<u;++t)e.charCodeAt(t)>=128&&o("not-basic"),n.push(e.charCodeAt(t));for(let d=u>0?u+1:0;d<r;){let u=a;for(let n=1,s=36;;s+=36){d>=r&&o("invalid-input");let u=(t=e.charCodeAt(d++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36;(u>=36||u>i((0x7fffffff-a)/n))&&o("overflow"),a+=u*n;let c=s<=l?1:s>=l+26?26:s-l;if(u<c)break;let p=36-c;n>i(0x7fffffff/p)&&o("overflow"),n*=p}let p=n.length+1;l=c(a-u,p,0==u),i(a/p)>0x7fffffff-s&&o("overflow"),s+=i(a/p),a%=p,n.splice(a++,0,s)}return String.fromCodePoint(...n)},p=function(e){let t=[],n=(e=l(e)).length,r=128,s=0,d=72;for(let n of e)n<128&&t.push(a(n));let p=t.length,f=p;for(p&&t.push("-");f<n;){let n=0x7fffffff;for(let t of e)t>=r&&t<n&&(n=t);let l=f+1;for(let h of(n-r>i((0x7fffffff-s)/l)&&o("overflow"),s+=(n-r)*l,r=n,e))if(h<r&&++s>0x7fffffff&&o("overflow"),h==r){let e=s;for(let n=36;;n+=36){let r=n<=d?1:n>=d+26?26:n-d;if(e<r)break;let o=e-r,s=36-r;t.push(a(u(r+o%s,0))),e=i(o/s)}t.push(a(u(e,0))),d=c(s,l,f==p),s=0,++f}++s,++r}return t.join("")},{ucs2:{decode:f,encode:h}}={version:"2.1.0",ucs2:{decode:l,encode:e=>String.fromCodePoint(...e)},decode:d,encode:p,toASCII:function(e){return s(e,function(e){return t.test(e)?"xn--"+p(e):e})},toUnicode:function(t){return s(t,function(t){return e.test(t)?d(t.slice(4).toLowerCase()):t})}},m=/^[A-Z]{2}$/;return{continents:{AF:"Africa",AN:"Antarctica",AS:"Asia",EU:"Europe",NA:"North America",OC:"Oceania",SA:"South America"},countries:{AD:{name:"Andorra",native:"Andorra",phone:"376",continent:"EU",capital:"Andorra la Vella",currency:"EUR",languages:["ca"],emoji:"\uD83C\uDDE6\uD83C\uDDE9",emojiU:"U+1F1E6 U+1F1E9"},AE:{name:"United Arab Emirates",native:"دÙÙØ© Ø§ÙØ¥Ù
ارات Ø§ÙØ¹Ø±Ø¨ÙØ© اÙÙ
ØªØØ¯Ø©",phone:"971",continent:"AS",capital:"Abu Dhabi",currency:"AED",languages:["ar"],emoji:"\uD83C\uDDE6\uD83C\uDDEA",emojiU:"U+1F1E6 U+1F1EA"},AF:{name:"Afghanistan",native:"Ø§ÙØºØ§ÙستاÙ",phone:"93",continent:"AS",capital:"Kabul",currency:"AFN",languages:["ps","uz","tk"],emoji:"\uD83C\uDDE6\uD83C\uDDEB",emojiU:"U+1F1E6 U+1F1EB"},AG:{name:"Antigua and Barbuda",native:"Antigua and Barbuda",phone:"1268",continent:"NA",capital:"Saint John's",currency:"XCD",languages:["en"],emoji:"\uD83C\uDDE6\uD83C\uDDEC",emojiU:"U+1F1E6 U+1F1EC"},AI:{name:"Anguilla",native:"Anguilla",phone:"1264",continent:"NA",capital:"The Valley",currency:"XCD",languages:["en"],emoji:"\uD83C\uDDE6\uD83C\uDDEE",emojiU:"U+1F1E6 U+1F1EE"},AL:{name:"Albania",native:"Shqip\xebria",phone:"355",continent:"EU",capital:"Tirana",currency:"ALL",languages:["sq"],emoji:"\uD83C\uDDE6\uD83C\uDDF1",emojiU:"U+1F1E6 U+1F1F1"},AM:{name:"Armenia",native:"ÕÕ¡ÕµÕ¡Õ½Õ¿Õ¡Õ¶",phone:"374",continent:"AS",capital:"Yerevan",currency:"AMD",languages:["hy","ru"],emoji:"\uD83C\uDDE6\uD83C\uDDF2",emojiU:"U+1F1E6 U+1F1F2"},AO:{name:"Angola",native:"Angola",phone:"244",continent:"AF",capital:"Luanda",currency:"AOA",languages:["pt"],emoji:"\uD83C\uDDE6\uD83C\uDDF4",emojiU:"U+1F1E6 U+1F1F4"},AQ:{name:"Antarctica",native:"Antarctica",phone:"672",continent:"AN",capital:"",currency:"",languages:[],emoji:"\uD83C\uDDE6\uD83C\uDDF6",emojiU:"U+1F1E6 U+1F1F6"},AR:{name:"Argentina",native:"Argentina",phone:"54",continent:"SA",capital:"Buenos Aires",currency:"ARS",languages:["es","gn"],emoji:"\uD83C\uDDE6\uD83C\uDDF7",emojiU:"U+1F1E6 U+1F1F7"}
407,AS:{name:"American Samoa",native:"American Samoa",phone:"1684",continent:"OC",capital:"Pago Pago",currency:"USD",languages:["en","sm"],emoji:"\uD83C\uDDE6\uD83C\uDDF8",emojiU:"U+1F1E6 U+1F1F8"},AT:{name:"Austria",native:"\xd6sterreich",phone:"43",continent:"EU",capital:"Vienna",currency:"EUR",languages:["de"],emoji:"\uD83C\uDDE6\uD83C\uDDF9",emojiU:"U+1F1E6 U+1F1F9"},AU:{name:"Australia",native:"Australia",phone:"61",continent:"OC",capital:"Canberra",currency:"AUD",languages:["en"],emoji:"\uD83C\uDDE6\uD83C\uDDFA",emojiU:"U+1F1E6 U+1F1FA"},AW:{name:"Aruba",native:"Aruba",phone:"297",continent:"NA",capital:"Oranjestad",currency:"AWG",languages:["nl","pa"],emoji:"\uD83C\uDDE6\uD83C\uDDFC",emojiU:"U+1F1E6 U+1F1FC"},AX:{name:"\xc5land",native:"\xc5land",phone:"358",continent:"EU",capital:"Mariehamn",currency:"EUR",languages:["sv"],emoji:"\uD83C\uDDE6\uD83C\uDDFD",emojiU:"U+1F1E6 U+1F1FD"},AZ:{name:"Azerbaijan",native:"AzÉrbaycan",phone:"994",continent:"AS",capital:"Baku",currency:"AZN",languages:["az"],emoji:"\uD83C\uDDE6\uD83C\uDDFF",emojiU:"U+1F1E6 U+1F1FF"}
407,BA:{name:"Bosnia and Herzegovina",native:"Bosna i Hercegovina",phone:"387",continent:"EU",capital:"Sarajevo",currency:"BAM",languages:["bs","hr","sr"],emoji:"\uD83C\uDDE7\uD83C\uDDE6",emojiU:"U+1F1E7 U+1F1E6"},BB:{name:"Barbados",native:"Barbados",phone:"1246",continent:"NA",capital:"Bridgetown",currency:"BBD",languages:["en"],emoji:"\uD83C\uDDE7\uD83C\uDDE7",emojiU:"U+1F1E7 U+1F1E7"},BD:{name:"Bangladesh",native:"Bangladesh",phone:"880",continent:"AS",capital:"Dhaka",currency:"BDT",languages:["bn"],emoji:"\uD83C\uDDE7\uD83C\uDDE9",emojiU:"U+1F1E7 U+1F1E9"},BE:{name:"Belgium",native:"Belgi\xeb",phone:"32",continent:"EU",capital:"Brussels",currency:"EUR",languages:["nl","fr","de"],emoji:"\uD83C\uDDE7\uD83C\uDDEA",emojiU:"U+1F1E7 U+1F1EA"},BF:{name:"Burkina Faso",native:"Burkina Faso",phone:"226",continent:"AF",capital:"Ouagadougou",currency:"XOF",languages:["fr","ff"],emoji:"\uD83C\uDDE7\uD83C\uDDEB",emojiU:"U+1F1E7 U+1F1EB"},BG:{name:"Bulgaria",native:"ÐÑлгаÑиÑ",phone:"359",continent:"EU",capital:"Sofia",currency:"BGN",languages:["bg"],emoji:"\uD83C\uDDE7\uD83C\uDDEC",emojiU:"U+1F1E7 U+1F1EC"},BH:{name:"Bahrain",native:"âØ§ÙØ¨ØØ±ÙÙ",phone:"973",continent:"AS",capital:"Manama",currency:"BHD",languages:["ar"],emoji:"\uD83C\uDDE7\uD83C\uDDED",emojiU:"U+1F1E7 U+1F1ED"},BI:{name:"Burundi",native:"Burundi",phone:"257",continent:"AF",capital:"Bujumbura",currency:"BIF",languages:["fr","rn"],emoji:"\uD83C\uDDE7\uD83C\uDDEE",emojiU:"U+1F1E7 U+1F1EE"},BJ:{name:"Benin",native:"B\xe9nin",phone:"229",continent:"AF",capital:"Porto-Novo",currency:"XOF",languages:["fr"],emoji:"\uD83C\uDDE7\uD83C\uDDEF",emojiU:"U+1F1E7 U+1F1EF"},BL:{name:"Saint Barth\xe9lemy",native:"Saint-Barth\xe9lemy",phone:"590",continent:"NA",capital:"Gustavia",currency:"EUR",languages:["fr"],emoji:"\uD83C\uDDE7\uD83C\uDDF1",emojiU:"U+1F1E7 U+1F1F1"},BM:{name:"Bermuda",native:"Bermuda",phone:"1441",continent:"NA",capital:"Hamilton",currency:"BMD",languages:["en"],emoji:"\uD83C\uDDE7\uD83C\uDDF2",emojiU:"U+1F1E7 U+1F1F2"},BN:{name:"Brunei",native:"Negara Brunei Darussalam",phone:"673",continent:"AS",capital:"Bandar Seri Begawan",currency:"BND",languages:["ms"],emoji:"\uD83C\uDDE7\uD83C\uDDF3",emojiU:"U+1F1E7 U+1F1F3"},BO:{name:"Bolivia",native:"Bolivia",phone:"591",continent:"SA",capital:"Sucre",currency:"BOB,BOV",languages:["es","ay","qu"],emoji:"\uD83C\uDDE7\uD83C\uDDF4",emojiU:"U+1F1E7 U+1F1F4"},BQ:{name:"Bonaire",native:"Bonaire",phone:"5997",continent:"NA",capital:"Kralendijk",currency:"USD",languages:["nl"],emoji:"\uD83C\uDDE7\uD83C\uDDF6",emojiU:"U+1F1E7 U+1F1F6"},BR:{name:"Brazil",native:"Brasil",phone:"55",continent:"SA",capital:"Bras\xedlia",currency:"BRL",languages:["pt"],emoji:"\uD83C\uDDE7\uD83C\uDDF7",emojiU:"U+1F1E7 U+1F1F7"},BS:{name:"Bahamas",native:"Bahamas",phone:"1242",continent:"NA",capital:"Nassau",currency:"BSD",languages:["en"],emoji:"\uD83C\uDDE7\uD83C\uDDF8",emojiU:"U+1F1E7 U+1F1F8"},BT:{name:"Bhutan",native:"ʼbrug-yul",phone:"975",continent:"AS",capital:"Thimphu",currency:"BTN,INR",languages:["dz"],emoji:"\uD83C\uDDE7\uD83C\uDDF9",emojiU:"U+1F1E7 U+1F1F9"},BV:{name:"Bouvet Island",native:"Bouvet\xf8ya",phone:"47",continent:"AN",capital:"",currency:"NOK",languages:["no","nb","nn"],emoji:"\uD83C\uDDE7\uD83C\uDDFB",emojiU:"U+1F1E7 U+1F1FB"},BW:{name:"Botswana",native:"Botswana",phone:"267",continent:"AF",capital:"Gaborone",currency:"BWP",languages:["en","tn"],emoji:"\uD83C\uDDE7\uD83C\uDDFC",emojiU:"U+1F1E7 U+1F1FC"},BY:{name:"Belarus",native:"ÐелаÑÑÌÑÑ",phone:"375",continent:"EU",capital:"Minsk",currency:"BYN",languages:["be","ru"],emoji:"\uD83C\uDDE7\uD83C\uDDFE",emojiU:"U+1F1E7 U+1F1FE"},BZ:{name:"Belize",native:"Belize",phone:"501",continent:"NA",capital:"Belmopan",currency:"BZD",languages:["en","es"],emoji:"\uD83C\uDDE7\uD83C\uDDFF",emojiU:"U+1F1E7 U+1F1FF"},CA:{name:"Canada",native:"Canada",phone:"1",continent:"NA",capital:"Ottawa",currency:"CAD",languages:["en","fr"],emoji:"\uD83C\uDDE8\uD83C\uDDE6",emojiU:"U+1F1E8 U+1F1E6"},CC:{name:"Cocos [Keeling] Islands",native:"Cocos (Keeling) Islands",phone:"61",continent:"AS",capital:"West Island",currency:"AUD",languages:["en"],emoji:"\uD83C\uDDE8\uD83C\uDDE8",emojiU:"U+1F1E8 U+1F1E8"},CD:{name:"Democratic Republic of the Congo",native:"R\xe9publique d\xe9mocratique du Congo",phone:"243",continent:"AF",capital:"Kinshasa",currency:"CDF",languages:["fr","ln","kg","sw","lu"],emoji:"\uD83C\uDDE8\uD83C\uDDE9",emojiU:"U+1F1E8 U+1F1E9"},CF:{name:"Central African Republic",native:"K\xf6d\xf6r\xf6s\xease t\xee B\xeaafr\xeeka",phone:"236",continent:"AF",capital:"Bangui",currency:"XAF",languages:["fr","sg"],emoji:"\uD83C\uDDE8\uD83C\uDDEB",emojiU:"U+1F1E8 U+1F1EB"},CG:{name:"Republic of the Congo",native:"R\xe9publique du Congo",phone:"242",continent:"AF",capital:"Brazzaville",currency:"XAF",languages:["fr","ln"],emoji:"\uD83C\uDDE8\uD83C\uDDEC",emojiU:"U+1F1E8 U+1F1EC"}
407,CH:{name:"Switzerland",native:"Schweiz",phone:"41",continent:"EU",capital:"Bern",currency:"CHE,CHF,CHW",languages:["de","fr","it"],emoji:"\uD83C\uDDE8\uD83C\uDDED",emojiU:"U+1F1E8 U+1F1ED"},CI:{name:"Ivory Coast",native:"C\xf4te d'Ivoire",phone:"225",continent:"AF",capital:"Yamoussoukro",currency:"XOF",languages:["fr"],emoji:"\uD83C\uDDE8\uD83C\uDDEE",emojiU:"U+1F1E8 U+1F1EE"},CK:{name:"Cook Islands",native:"Cook Islands",phone:"682",continent:"OC",capital:"Avarua",currency:"NZD",languages:["en"],emoji:"\uD83C\uDDE8\uD83C\uDDF0",emojiU:"U+1F1E8 U+1F1F0"},CL:{name:"Chile",native:"Chile",phone:"56",continent:"SA",capital:"Santiago",currency:"CLF,CLP",languages:["es"],emoji:"\uD83C\uDDE8\uD83C\uDDF1",emojiU:"U+1F1E8 U+1F1F1"},CM:{name:"Cameroon",native:"Cameroon",phone:"237",continent:"AF",capital:"Yaound\xe9",currency:"XAF",languages:["en","fr"],emoji:"\uD83C\uDDE8\uD83C\uDDF2",emojiU:"U+1F1E8 U+1F1F2"},CN:{name:"China",native:"ä¸å½",phone:"86",continent:"AS",capital:"Beijing",currency:"CNY",languages:["zh"],emoji:"\uD83C\uDDE8\uD83C\uDDF3",emojiU:"U+1F1E8 U+1F1F3"},CO:{name:"Colombia",native:"Colombia",phone:"57",continent:"SA",capital:"Bogot\xe1",currency:"COP",languages:["es"],emoji:"\uD83C\uDDE8\uD83C\uDDF4",emojiU:"U+1F1E8 U+1F1F4"},CR:{name:"Costa Rica",native:"Costa Rica",phone:"506",continent:"NA",capital:"San Jos\xe9",currency:"CRC",languages:["es"],emoji:"\uD83C\uDDE8\uD83C\uDDF7",emojiU:"U+1F1E8 U+1F1F7"},CU:{name:"Cuba",native:"Cuba",phone:"53",continent:"NA",capital:"Havana",currency:"CUC,CUP",languages:["es"],emoji:"\uD83C\uDDE8\uD83C\uDDFA",emojiU:"U+1F1E8 U+1F1FA"},CV:{name:"Cape Verde",native:"Cabo Verde",phone:"238",continent:"AF",capital:"Praia",currency:"CVE",languages:["pt"],emoji:"\uD83C\uDDE8\uD83C\uDDFB",emojiU:"U+1F1E8 U+1F1FB"},CW:{name:"Curacao",native:"Cura\xe7ao",phone:"5999",continent:"NA",capital:"Willemstad",currency:"ANG",languages:["nl","pa","en"],emoji:"\uD83C\uDDE8\uD83C\uDDFC",emojiU:"U+1F1E8 U+1F1FC"},CX:{name:"Christmas Island",native:"Christmas Island",phone:"61",continent:"AS",capital:"Flying Fish Cove",currency:"AUD",languages:["en"],emoji:"\uD83C\uDDE8\uD83C\uDDFD",emojiU:"U+1F1E8 U+1F1FD"},CY:{name:"Cyprus",native:"ÎÏÏÏοÏ",phone:"357",continent:"EU",capital:"Nicosia",currency:"EUR",languages:["el","tr","hy"],emoji:"\uD83C\uDDE8\uD83C\uDDFE",emojiU:"U+1F1E8 U+1F1FE"},CZ:{name:"Czech Republic",native:"Äesk\xe1 republika",phone:"420",continent:"EU",capital:"Prague",currency:"CZK",languages:["cs","sk"],emoji:"\uD83C\uDDE8\uD83C\uDDFF",emojiU:"U+1F1E8 U+1F1FF"},DE:{name:"Germany",native:"Deutschland",phone:"49",continent:"EU",capital:"Berlin",currency:"EUR",languages:["de"],emoji:"\uD83C\uDDE9\uD83C\uDDEA",emojiU:"U+1F1E9 U+1F1EA"},DJ:{name:"Djibouti",native:"Djibouti",phone:"253",continent:"AF",capital:"Djibouti",currency:"DJF",languages:["fr","ar"],emoji:"\uD83C\uDDE9\uD83C\uDDEF",emojiU:"U+1F1E9 U+1F1EF"},DK:{name:"Denmark",native:"Danmark",phone:"45",continent:"EU",capital:"Copenhagen",currency:"DKK",languages:["da"],emoji:"\uD83C\uDDE9\uD83C\uDDF0",emojiU:"U+1F1E9 U+1F1F0"},DM:{name:"Dominica",native:"Dominica",phone:"1767",continent:"NA",capital:"Roseau",currency:"XCD",languages:["en"],emoji:"\uD83C\uDDE9\uD83C\uDDF2",emojiU:"U+1F1E9 U+1F1F2"},DO:{name:"Dominican Republic",native:"Rep\xfablica Dominicana",phone:"1809,1829,1849",continent:"NA",capital:"Santo Domingo",currency:"DOP",languages:["es"],emoji:"\uD83C\uDDE9\uD83C\uDDF4",emojiU:"U+1F1E9 U+1F1F4"},DZ:{name:"Algeria",native:"Ø§ÙØ¬Ø²Ø§Ø¦Ø±",phone:"213",continent:"AF",capital:"Algiers",currency:"DZD",languages:["ar"],emoji:"\uD83C\uDDE9\uD83C\uDDFF",emojiU:"U+1F1E9 U+1F1FF"},EC:{name:"Ecuador",native:"Ecuador",phone:"593",continent:"SA",capital:"Quito",currency:"USD",languages:["es"],emoji:"\uD83C\uDDEA\uD83C\uDDE8",emojiU:"U+1F1EA U+1F1E8"},EE:{name:"Estonia",native:"Eesti",phone:"372",continent:"EU",capital:"Tallinn",currency:"EUR",languages:["et"],emoji:"\uD83C\uDDEA\uD83C\uDDEA",emojiU:"U+1F1EA U+1F1EA"},EG:{name:"Egypt",native:"Ù
صرâ",phone:"20",continent:"AF",capital:"Cairo",currency:"EGP",languages:["ar"],emoji:"\uD83C\uDDEA\uD83C\uDDEC",emojiU:"U+1F1EA U+1F1EC"},EH:{name:"Western Sahara",native:"Ø§ÙØµØØ±Ø§Ø¡ Ø§ÙØºØ±Ø¨ÙØ©",ph
407one:"212",continent:"AF",capital:"El Aai\xfan",currency:"MAD,DZD,MRU",languages:["es"],emoji:"\uD83C\uDDEA\uD83C\uDDED",emojiU:"U+1F1EA U+1F1ED"},ER:{name:"Eritrea",native:"á¤ááµá«",phone:"291",continent:"AF",capital:"Asmara",currency:"ERN",languages:["ti","ar","en"],emoji:"\uD83C\uDDEA\uD83C\uDDF7",emojiU:"U+1F1EA U+1F1F7"},ES:{name:"Spain",native:"Espa\xf1a",phone:"34",continent:"EU",capital:"Madrid",currency:"EUR",languages:["es","eu","ca","gl","oc"],emoji:"\uD83C\uDDEA\uD83C\uDDF8",emojiU:"U+1F1EA U+1F1F8"},ET:{name:"Ethiopia",native:"á¢áµá®áµá«",phone:"251",continent:"AF",capital:"Addis Ababa",currency:"ETB",languages:["am"],emoji:"\uD83C\uDDEA\uD83C\uDDF9",emojiU:"U+1F1EA U+1F1F9"},FI:{name:"Finland",native:"Suomi",phone:"358",continent:"EU",capital:"Helsinki",currency:"EUR",languages:["fi","sv"],emoji:"\uD83C\uDDEB\uD83C\uDDEE",emojiU:"U+1F1EB U+1F1EE"},FJ:{name:"Fiji",native:"Fiji",phone:"679",continent:"OC",capital:"Suva",currency:"FJD",languages:["en","fj","hi","ur"],emoji:"\uD83C\uDDEB\uD83C\uDDEF",emojiU:"U+1F1EB U+1F1EF"},FK:{name:"Falkland Islands",native:"Falkland Islands",phone:"500",continent:"SA",capital:"Stanley",currency:"FKP",languages:["en"],emoji:"\uD83C\uDDEB\uD83C\uDDF0",emojiU:"U+1F1EB U+1F1F0"},FM:{name:"Micronesia",native:"Micronesia",phone:"691",continent:"OC",capital:"Palikir",currency:"USD",languages:["en"],emoji:"\uD83C\uDDEB\uD83C\uDDF2",emojiU:"U+1F1EB U+1F1F2"},FO:{name:"Faroe Islands",native:"F\xf8royar",phone:"298",continent:"EU",capital:"T\xf3rshavn",currency:"DKK",languages:["fo"],emoji:"\uD83C\uDDEB\uD83C\uDDF4",emojiU:"U+1F1EB U+1F1F4"},FR:{name:"France",native:"France",phone:"33",continent:"EU",capital:"Paris",currency:"EUR",languages:["fr"],emoji:"\uD83C\uDDEB\uD83C\uDDF7",emojiU:"U+1F1EB U+1F1F7"},GA:{name:"Gabon",native:"Gabon",phone:"241",continent:"AF",capital:"Libreville",currency:"XAF",languages:["fr"],emoji:"\uD83C\uDDEC\uD83C\uDDE6",emojiU:"U+1F1EC U+1F1E6"},GB:{name:"United Kingdom",native:"United Kingdom",phone:"44",continent:"EU",capital:"London",currency:"GBP",languages:["en"],emoji:"\uD83C\uDDEC\uD83C\uDDE7",emojiU:"U+1F1EC U+1F1E7"},GD:{name:"Grenada",native:"Grenada",phone:"1473",continent:"NA",capital:"St. George's",currency:"XCD",languages:["en"],emoji:"\uD83C\uDDEC\uD83C\uDDE9",emojiU:"U+1F1EC U+1F1E9"},GE:{name:"Georgia",native:"á¡áá¥áá ááááá",phone:"995",continent:"AS",capital:"Tbilisi",currency:"GEL",languages:["ka"],emoji:"\uD83C\uDDEC\uD83C\uDDEA",emojiU:"U+1F1EC U+1F1EA"},GF:{name:"French Guiana",native:"Guyane fran\xe7aise",phone:"594",continent:"SA",capital:"Cayenne",currency:"EUR",languages:["fr"],emoji:"\uD83C\uDDEC\uD83C\uDDEB",emojiU:"U+1F1EC U+1F1EB"},GG:{name:"Guernsey",native:"Guernsey",phone:"44",continent:"EU",capital:"St. Peter Port",currency:"GBP",languages:["en","fr"],emoji:"\uD83C\uDDEC\uD83C\uDDEC",emojiU:"U+1F1EC U+1F1EC"},GH:{name:"Ghana",native:"Ghana",phone:"233",continent:"AF",capital:"Accra",currency:"GHS",languages:["en"],emoji:"\uD83C\uDDEC\uD83C\uDDED",emojiU:"U+1F1EC U+1F1ED"},GI:{name:"Gibraltar",native:"Gibraltar",phone:"350",continent:"EU",capital:"Gibraltar",currency:"GIP",languages:["en"],emoji:"\uD83C\uDDEC\uD83C\uDDEE",emojiU:"U+1F1EC U+1F1EE"},GL:{name:"Greenland",native:"Kalaallit Nunaat",phone:"299",continent:"NA",capital:"Nuuk",currency:"DKK",languages:["kl"],emoji:"\uD83C\uDDEC\uD83C\uDDF1",emojiU:"U+1F1EC U+1F1F1"},GM:{name:"Gambia",native:"Gambia",phone:"220",continent:"AF",capital:"Banjul",currency:"GMD",languages:["en"],emoji:"\uD83C\uDDEC\uD83C\uDDF2",emojiU:"U+1F1EC U+1F1F2"},GN:{name:"Guinea",native:"Guin\xe9e",phone:"224",continent:"AF",capital:"Conakry",currency:"GNF",languages:["fr","ff"],emoji:"\uD83C\uDDEC\uD83C\uDDF3",emojiU:"U+1F1EC U+1F1F3"},GP:{name:"Guadeloupe",native:"Guadeloupe",phone:"590",continent:"NA",capital:"Basse-Terre",currency:"EUR",languages:["fr"],emoji:"\uD83C\uDDEC\uD83C\uDDF5",emojiU:"U+1F1EC U+1F1F5"},GQ:{name:"Equatorial Guinea",native:"Guinea Ecuatorial",phone:"240",continent:"AF",capital:"Malabo",currency:"XAF",languages:["es","fr"],emoji:"\uD83C\uDDEC\uD83C\uDDF6",emojiU:"U+1F1EC U+1F1F6"},GR:{name:"Greece",native:"Îλλάδα",phone:"30",continent:"EU",capital:"Athens",currency:"EUR",languages:["el"],emoji:"\uD83C\uDDEC\uD83C\uDDF7",emojiU:"U+1F1EC U+1F1F7"},GS:{name:"South Georgia and the South Sandwich Islands",native:"South Georgia",phone:"500",continent:"AN",capital:"King Edward Point",currency:"GBP",languages:["en"],emoji:"\uD83C\uDDEC\uD83C\uDDF8",emojiU:"U+1F1EC U+1F1F8"},GT:{name:"Guatemala",native:"Guatemala",phone:"502",continent:"NA",capital:"Guatemala City",currency:"GTQ",languages:["es"],emoji:"\uD83C\uDDEC\uD83C\uDDF9",emojiU:"U+1F1EC U+1F1F9"},GU:{name:"Guam",native:"Guam",phone:"1671",continent:"OC",capital:"Hag\xe5t\xf1a",currency:"USD",languages:["en","ch","es"],emoji:"\uD83C\uDDEC\uD83C\uDDFA",emojiU:"U+1F1EC U+1F1FA"},GW:{name:"Guinea-Bissau",native:"Guin\xe9-Bissau",phone:"245",continent:"AF",capital:"Bissau",currency:"XOF",languages:["pt"],emoji:"\uD83C\uDDEC\uD83C\uDDFC",emojiU:"U+1F1EC U+1F1FC"},GY:{name:"Guyana",native:"Guyana",phone:"592",continent:"SA",capital:"Georgetown",currency:"GYD",languages:["en"],emoji:"\uD83C\uDDEC\uD83C\uDDFE",emojiU:"U+1F1EC U+1F1FE"},HK:{name:"Hong Kong",native:"馿¸¯",phone:"852",continent:"AS",capital:"City of Victoria",currency:"HKD",languages:["zh","en"],emoji:"\uD83C\uDDED\uD83C\uDDF0",emojiU:"U+1F1ED U+1F1F0"},HM:{name:"Heard Island and McDonald Islands",native:"Heard Island and McDonald Islands",phone:"61",continent:"AN",capital:"",currency:"AUD",languages:["en"],emoji:"\uD83C\uDDED\uD83C\uDDF2",emojiU:"U+1F1ED U+1F1F2"},HN:{name:"Honduras",native:"Honduras",phone:"504",continent:"NA",capital:"Tegucigalpa",currency:"HNL",languages:["es"],emoji:"\uD83C\uDDED\uD83C\uDDF3",emojiU:"U+1F1ED U+1F1F3"},HR:{name:"Croatia",native:"Hrvatska",phone:"385",continent:"EU",capital:"Zagreb",currency:"HRK",languages:["hr"],emoji:"\uD83C\uDDED\uD83C\uDDF7",emojiU:"U+1F1ED U+1F1F7"},HT:{name:"Haiti",native:"Ha\xefti",phone:"509",continent:"NA",capital:"Port-au-Prince",currency:"HTG,USD",languages:["fr","ht"],emoji:"\uD83C\uDDED\uD83C\uDDF9",emojiU:"U+1F1ED U+1F1F9"},HU:{name:"Hungary",native:"Magyarorsz\xe1g",phone:"36",continent:"EU",capital:"Budapest",currency:"HUF",languages:["hu"],emoji:"\uD83C\uDDED\uD83C\uDDFA",emojiU:"U+1F1ED U+1F1FA"},ID:{name:"Indonesia",native:"Indonesia",phone:"62",continent:"AS",capital:"Jakarta",currency:"IDR",languages:["id"],emoji:"\uD83C\uDDEE\uD83C\uDDE9",emojiU:"U+1F1EE U+1F1E9"},IE:{name:"Ireland",native:"\xc9ire",phone:"353",continent:"EU",capital:"Dublin",currency:"EUR",languages:["ga","en"],emoji:"\uD83C\uDDEE\uD83C\uDDEA",emojiU:"U+1F1EE U+1F1EA"},IL:{name:"Israel",native:"×ִשְ×רָ×Öµ×",phone:"972",continent:"AS",capital:"Jerusalem",currency:"ILS",languages:["he","ar"],emoji:"\uD83C\uDDEE\uD83C\uDDF1",emojiU:"U+1F1EE U+1F1F1"},IM:{name:"Isle of Man",native:"Isle of Man",phone:"44",continent:"EU",capital:"Douglas",currency:"GBP",languages:["en","gv"],emoji:"\uD83C\uDDEE\uD83C\uDDF2",emojiU:"U+1F1EE U+1F1F2"}
407,IN:{name:"India",native:"à¤à¤¾à¤°à¤¤",phone:"91",continent:"AS",capital:"New Delhi",currency:"INR",languages:["hi","en"],emoji:"\uD83C\uDDEE\uD83C\uDDF3",emojiU:"U+1F1EE U+1F1F3"},IO:{name:"British Indian Ocean Territory",native:"British Indian Ocean Territory",phone:"246",continent:"AS",capital:"Diego Garcia",currency:"USD",languages:["en"],emoji:"\uD83C\uDDEE\uD83C\uDDF4",emojiU:"U+1F1EE U+1F1F4"},IQ:{name:"Iraq",native:"Ø§ÙØ¹Ø±Ø§Ù",phone:"964",continent:"AS",capital:"Baghdad",currency:"IQD",languages:["ar","ku"],emoji:"\uD83C\uDDEE\uD83C\uDDF6",emojiU:"U+1F1EE U+1F1F6"},IR:{name:"Iran",native:"Ø§ÛØ±Ø§Ù",phone:"98",continent:"AS",capital:"Tehran",currency:"IRR",languages:["fa"],emoji:"\uD83C\uDDEE\uD83C\uDDF7",emojiU:"U+1F1EE U+1F1F7"},IS:{name:"Iceland",native:"\xcdsland",phone:"354",continent:"EU",capital:"Reykjavik",currency:"ISK",languages:["is"],emoji:"\uD83C\uDDEE\uD83C\uDDF8",emojiU:"U+1F1EE U+1F1F8"},IT:{name:"Italy",native:"Italia",phone:"39",continent:"EU",capital:"Rome",currency:"EUR",languages:["it"],emoji:"\uD83C\uDDEE\uD83C\uDDF9",emojiU:"U+1F1EE U+1F1F9"},JE:{name:"Jersey",native:"Jersey",phone:"44",continent:"EU",capital:"Saint Helier",currency:"GBP",languages:["en","fr"],emoji:"\uD83C\uDDEF\uD83C\uDDEA",emojiU:"U+1F1EF U+1F1EA"},JM:{name:"Jamaica",native:"Jamaica",phone:"1876",continent:"NA",capital:"Kingston",currency:"JMD",languages:["en"],emoji:"\uD83C\uDDEF\uD83C\uDDF2",emojiU:"U+1F1EF U+1F1F2"},JO:{name:"Jordan",native:"Ø§ÙØ£Ø±Ø¯Ù",phone:"962",continent:"AS",capital:"Amman",currency:"JOD",languages:["ar"],emoji:"\uD83C\uDDEF\uD83C\uDDF4",emojiU:"U+1F1EF U+1F1F4"},JP:{name:"Japan",native:"æ¥æ¬",phone:"81",continent:"AS",capital:"Tokyo",currency:"JPY",languages:["ja"],emoji:"\uD83C\uDDEF\uD83C\uDDF5",emojiU:"U+1F1EF U+1F1F5"},KE:{name:"Kenya",native:"Kenya",phone:"254",continent:"AF",capital:"Nairobi",currency:"KES",languages:["en","sw"],emoji:"\uD83C\uDDF0\uD83C\uDDEA",emojiU:"U+1F1F0 U+1F1EA"},KG:{name:"Kyrgyzstan",native:"ÐÑÑгÑзÑÑан",phone:"996",continent:"AS",capital:"Bishkek",currency:"KGS",languages:["ky","ru"],emoji:"\uD83C\uDDF0\uD83C\uDDEC",emojiU:"U+1F1F0 U+1F1EC"},KH:{name:"Cambodia",native:"K\xe2mpÅch\xe9a",phone:"855",continent:"AS",capital:"Phnom Penh",currency:"KHR",languages:["km"],emoji:"\uD83C\uDDF0\uD83C\uDDED",emojiU:"U+1F1F0 U+1F1ED"},KI:{name:"Kiribati",native:"Kiribati",phone:"686",continent:"OC",capital:"South Tarawa",currency:"AUD",languages:["en"],emoji:"\uD83C\uDDF0\uD83C\uDDEE",emojiU:"U+1F1F0 U+1F1EE"},KM:{name:"Comoros",native:"Komori",phone:"269",continent:"AF",capital:"Moroni",currency:"KMF",languages:["ar","fr"],emoji:"\uD83C\uDDF0\uD83C\uDDF2",emojiU:"U+1F1F0 U+1F1F2"},KN:{name:"Saint Kitts and Nevis",native:"Saint Kitts and Nevis",phone:"1869",continent:"NA",capital:"Basseterre",currency:"XCD",languages:["en"],emoji:"\uD83C\uDDF0\uD83C\uDDF3",emojiU:"U+1F1F0 U+1F1F3"},KP:{name:"North Korea",native:"ë¶í",phone:"850",continent:"AS",capital:"Pyongyang",currency:"KPW",languages:["ko"],emoji:"\uD83C\uDDF0\uD83C\uDDF5",emojiU:"U+1F1F0 U+1F1F5"},KR:{name:"South Korea",native:"ëí민êµ",phone:"82",continent:"AS",capital:"Seoul",currency:"KRW",languages:["ko"],emoji:"\uD83C\uDDF0\uD83C\uDDF7",emojiU:"U+1F1F0 U+1F1F7"},KW:{name:"Kuwait",native:"اÙÙÙÙØª",phone:"965",continent:"AS",capital:"Kuwait City",currency:"KWD",languages:["ar"],emoji:"\uD83C\uDDF0\uD83C\uDDFC",emojiU:"U+1F1F0 U+1F1FC"},KY:{name:"Cayman Islands",native:"Cayman Islands",phone:"1345",continent:"NA",capital:"George Town",currency:"KYD",languages:["en"],emoji:"\uD83C\uDDF0\uD83C\uDDFE",emojiU:"U+1F1F0 U+1F1FE"},KZ:{name:"Kazakhstan",native:"ÒазаÒÑÑан",phone:"76,77",continent:"AS",capital:"Astana",currency:"KZT",languages:["kk","ru"],emoji:"\uD83C\uDDF0\uD83C\uDDFF",emojiU:"U+1F1F0 U+1F1FF"},LA:{name:"Laos",native:"ສàºàºàº¥àº²àº§",phone:"856",continent:"AS",capital:"Vientiane",currency:"LAK",languages:["lo"],emoji:"\uD83C\uDDF1\uD83C\uDDE6",emojiU:"U+1F1F1 U+1F1E6"},LB:{name:"Lebanon",native:"ÙØ¨ÙاÙ",phone:"961",continent:"AS",capital:"Beirut",currency:"LBP",languages:["ar","fr"],emoji:"\uD83C\uDDF1\uD83C\uDDE7",emojiU:"U+1F1F1 U+1F1E7"},LC:{name:"Saint Lucia",native:"Saint Lucia",phone:"1758",continent:"NA",capital:"Castries",currency:"XCD",languages:["en"],emoji:"\uD83C\uDDF1\uD83C\uDDE8",emojiU:"U+1F1F1 U+1F1E8"}
407,LI:{name:"Liechtenstein",native:"Liechtenstein",phone:"423",continent:"EU",capital:"Vaduz",currency:"CHF",languages:["de"],emoji:"\uD83C\uDDF1\uD83C\uDDEE",emojiU:"U+1F1F1 U+1F1EE"},LK:{name:"Sri Lanka",native:"ÅrÄ« laá¹kÄva",phone:"94",continent:"AS",capital:"Colombo",currency:"LKR",languages:["si","ta"],emoji:"\uD83C\uDDF1\uD83C\uDDF0",emojiU:"U+1F1F1 U+1F1F0"},LR:{name:"Liberia",native:"Liberia",phone:"231",continent:"AF",capital:"Monrovia",currency:"LRD",languages:["en"],emoji:"\uD83C\uDDF1\uD83C\uDDF7",emojiU:"U+1F1F1 U+1F1F7"},LS:{name:"Lesotho",native:"Lesotho",phone:"266",continent:"AF",capital:"Maseru",currency:"LSL,ZAR",languages:["en","st"],emoji:"\uD83C\uDDF1\uD83C\uDDF8",emojiU:"U+1F1F1 U+1F1F8"},LT:{name:"Lithuania",native:"Lietuva",phone:"370",continent:"EU",capital:"Vilnius",currency:"EUR",languages:["lt"],emoji:"\uD83C\uDDF1\uD83C\uDDF9",emojiU:"U+1F1F1 U+1F1F9"},LU:{name:"Luxembourg",native:"Luxembourg",phone:"352",continent:"EU",capital:"Luxembourg",currency:"EUR",languages:["fr","de","lb"],emoji:"\uD83C\uDDF1\uD83C\uDDFA",emojiU:"U+1F1F1 U+1F1FA"},LV:{name:"Latvia",native:"Latvija",phone:"371",continent:"EU",capital:"Riga",currency:"EUR",languages:["lv"],emoji:"\uD83C\uDDF1\uD83C\uDDFB",emojiU:"U+1F1F1 U+1F1FB"},LY:{name:"Libya",native:"âÙÙØ¨Ùا",phone:"218",continent:"AF",capital:"Tripoli",currency:"LYD",languages:["ar"],emoji:"\uD83C\uDDF1\uD83C\uDDFE",emojiU:"U+1F1F1 U+1F1FE"},MA:{name:"Morocco",native:"اÙÙ
غرب",phone:"212",continent:"AF",capital:"Rabat",currency:"MAD",languages:["ar"],emoji:"\uD83C\uDDF2\uD83C\uDDE6",emojiU:"U+1F1F2 U+1F1E6"},MC:{name:"Monaco",native:"Monaco",phone:"377",continent:"EU",capital:"Monaco",currency:"EUR",languages:["fr"],emoji:"\uD83C\uDDF2\uD83C\uDDE8",emojiU:"U+1F1F2 U+1F1E8"},MD:{name:"Moldova",native:"Moldova",phone:"373",continent:"EU",capital:"ChiÈinÄu",currency:"MDL",languages:["ro"],emoji:"\uD83C\uDDF2\uD83C\uDDE9",emojiU:"U+1F1F2 U+1F1E9"},ME:{name:"Montenegro",native:"ЦÑна ÐоÑа",phone:"382",continent:"EU",capital:"Podgorica",currency:"EUR",languages:["sr","bs","sq","hr"],emoji:"\uD83C\uDDF2\uD83C\uDDEA",emojiU:"U+1F1F2 U+1F1EA"},MF:{name:"Saint Martin",native:"Saint-Martin",phone:"590",continent:"NA",capital:"Marigot",currency:"EUR",languages:["en","fr","nl"],emoji:"\uD83C\uDDF2\uD83C\uDDEB",emojiU:"U+1F1F2 U+1F1EB"},MG:{name:"Madagascar",native:"Madagasikara",phone:"261",continent:"AF",capital:"Antananarivo",currency:"MGA",languages:["fr","mg"],emoji:"\uD83C\uDDF2\uD83C\uDDEC",emojiU:"U+1F1F2 U+1F1EC"},MH:{name:"Marshall Islands",native:"M̧ajeļ",phone:"692",continent:"OC",capital:"Majuro",currency:"USD",languages:["en","mh"],emoji:"\uD83C\uDDF2\uD83C\uDDED",emojiU:"U+1F1F2 U+1F1ED"},MK:{name:"North Macedonia",native:"СевеÑна ÐакедониÑа",phone:"389",continent:"EU",capital:"Skopje",currency:"MKD",languages:["mk"],emoji:"\uD83C\uDDF2\uD83C\uDDF0",emojiU:"U+1F1F2 U+1F1F0"},ML:{name:"Mali",native:"Mali",phone:"223",continent:"AF",capital:"Bamako",currency:"XOF",languages:["fr"],emoji:"\uD83C\uDDF2\uD83C\uDDF1",emojiU:"U+1F1F2 U+1F1F1"},MM:{name:"Myanmar [Burma]",native:"áá¼ááºáá¬",phone:"95",continent:"AS",capital:"Naypyidaw",currency:"MMK",languages:["my"],emoji:"\uD83C\uDDF2\uD83C\uDDF2",emojiU:"U+1F1F2 U+1F1F2"},MN:{name:"Mongolia",native:"Ðонгол ÑлÑ",phone:"976",continent:"AS",capital:"Ulan Bator",currency:"MNT",languages:["mn"],emoji:"\uD83C\uDDF2\uD83C\uDDF3",emojiU:"U+1F1F2 U+1F1F3"},MO:{name:"Macao",native:"æ¾³é",phone:"853",continent:"AS",capital:"",currency:"MOP",languages:["zh","pt"],emoji:"\uD83C\uDDF2\uD83C\uDDF4",emojiU:"U+1F1F2 U+1F1F4"},MP:{name:"Northern Mariana Islands",native:"Northern Mariana Islands",phone:"1670",continent:"OC",capital:"Saipan",currency:"USD",languages:["en","ch"],emoji:"\uD83C\uDDF2\uD83C\uDDF5",emojiU:"U+1F1F2 U+1F1F5"},MQ:{name:"Martinique",native:"Martinique",phone:"596",continent:"NA",capital:"Fort-de-France",currency:"EUR",languages:["fr"],emoji:"\uD83C\uDDF2\uD83C\uDDF6",emojiU:"U+1F1F2 U+1F1F6"},MR:{name:"Mauritania",native:"Ù
ÙØ±ÙتاÙÙØ§",phone:"222",continent:"AF",capital:"Nouakchott",currency:"MRU",languages:["ar"],emoji:"\uD83C\uDDF2\uD83C\uDDF7",emojiU:"U+1F1F2 U+1F1F7"},MS:{name:"Montserrat",native:"Montserrat",phone:"1664",continent:"NA",capital:"Plymouth",currency:"XCD",languages:["en"],emoji:"\uD83C\uDDF2\uD83C\uDDF8",emojiU:"U+1F1F2 U+1F1F8"}
407,MT:{name:"Malta",native:"Malta",phone:"356",continent:"EU",capital:"Valletta",currency:"EUR",languages:["mt","en"],emoji:"\uD83C\uDDF2\uD83C\uDDF9",emojiU:"U+1F1F2 U+1F1F9"},MU:{name:"Mauritius",native:"Maurice",phone:"230",continent:"AF",capital:"Port Louis",currency:"MUR",languages:["en"],emoji:"\uD83C\uDDF2\uD83C\uDDFA",emojiU:"U+1F1F2 U+1F1FA"},MV:{name:"Maldives",native:"Maldives",phone:"960",continent:"AS",capital:"Mal\xe9",currency:"MVR",languages:["dv"],emoji:"\uD83C\uDDF2\uD83C\uDDFB",emojiU:"U+1F1F2 U+1F1FB"},MW:{name:"Malawi",native:"Malawi",phone:"265",continent:"AF",capital:"Lilongwe",currency:"MWK",languages:["en","ny"],emoji:"\uD83C\uDDF2\uD83C\uDDFC",emojiU:"U+1F1F2 U+1F1FC"},MX:{name:"Mexico",native:"M\xe9xico",phone:"52",continent:"NA",capital:"Mexico City",currency:"MXN",languages:["es"],emoji:"\uD83C\uDDF2\uD83C\uDDFD",emojiU:"U+1F1F2 U+1F1FD"},MY:{name:"Malaysia",native:"Malaysia",phone:"60",continent:"AS",capital:"Kuala Lumpur",currency:"MYR",languages:["ms"],emoji:"\uD83C\uDDF2\uD83C\uDDFE",emojiU:"U+1F1F2 U+1F1FE"},MZ:{name:"Mozambique",native:"Mo\xe7ambique",phone:"258",continent:"AF",capital:"Maputo",currency:"MZN",languages:["pt"],emoji:"\uD83C\uDDF2\uD83C\uDDFF",emojiU:"U+1F1F2 U+1F1FF"},NA:{name:"Namibia",native:"Namibia",phone:"264",continent:"AF",capital:"Windhoek",currency:"NAD,ZAR",languages:["en","af"],emoji:"\uD83C\uDDF3\uD83C\uDDE6",emojiU:"U+1F1F3 U+1F1E6"},NC:{name:"New Caledonia",native:"Nouvelle-Cal\xe9donie",phone:"687",continent:"OC",capital:"Noum\xe9a",currency:"XPF",languages:["fr"],emoji:"\uD83C\uDDF3\uD83C\uDDE8",emojiU:"U+1F1F3 U+1F1E8"},NE:{name:"Niger",native:"Niger",phone:"227",continent:"AF",capital:"Niamey",currency:"XOF",languages:["fr"],emoji:"\uD83C\uDDF3\uD83C\uDDEA",emojiU:"U+1F1F3 U+1F1EA"},NF:{name:"Norfolk Island",native:"Norfolk Island",phone:"672",continent:"OC",capital:"Kingston",currency:"AUD",languages:["en"],emoji:"\uD83C\uDDF3\uD83C\uDDEB",emojiU:"U+1F1F3 U+1F1EB"},NG:{name:"Nigeria",native:"Nigeria",phone:"234",continent:"AF",capital:"Abuja",currency:"NGN",languages:["en"],emoji:"\uD83C\uDDF3\uD83C\uDDEC",emojiU:"U+1F1F3 U+1F1EC"},NI:{name:"Nicaragua",native:"Nicaragua",phone:"505",continent:"NA",capital:"Managua",currency:"NIO",languages:["es"],emoji:"\uD83C\uDDF3\uD83C\uDDEE",emojiU:"U+1F1F3 U+1F1EE"},NL:{name:"Netherlands",native:"Nederland",phone:"31",continent:"EU",capital:"Amsterdam",currency:"EUR",languages:["nl"],emoji:"\uD83C\uDDF3\uD83C\uDDF1",emojiU:"U+1F1F3 U+1F1F1"}
407,NO:{name:"Norway",native:"Norge",phone:"47",continent:"EU",capital:"Oslo",currency:"NOK",languages:["no","nb","nn"],emoji:"\uD83C\uDDF3\uD83C\uDDF4",emojiU:"U+1F1F3 U+1F1F4"},NP:{name:"Nepal",native:"नपल",phone:"977",continent:"AS",capital:"Kathmandu",currency:"NPR",languages:["ne"],emoji:"\uD83C\uDDF3\uD83C\uDDF5",emojiU:"U+1F1F3 U+1F1F5"},NR:{name:"Nauru",native:"Nauru",phone:"674",continent:"OC",capital:"Yaren",currency:"AUD",languages:["en","na"],emoji:"\uD83C\uDDF3\uD83C\uDDF7",emojiU:"U+1F1F3 U+1F1F7"},NU:{name:"Niue",native:"NiuÄ",phone:"683",continent:"OC",capital:"Alofi",currency:"NZD",languages:["en"],emoji:"\uD83C\uDDF3\uD83C\uDDFA",emojiU:"U+1F1F3 U+1F1FA"},NZ:{name:"New Zealand",native:"New Zealand",phone:"64",continent:"OC",capital:"Wellington",currency:"NZD",languages:["en","mi"],emoji:"\uD83C\uDDF3\uD83C\uDDFF",emojiU:"U+1F1F3 U+1F1FF"},OM:{name:"Oman",native:"عÙ
اÙ",phone:"968",continent:"AS",capital:"Muscat",currency:"OMR",languages:["ar"],emoji:"\uD83C\uDDF4\uD83C\uDDF2",emojiU:"U+1F1F4 U+1F1F2"},PA:{name:"Panama",native:"Panam\xe1",phone:"507",continent:"NA",capital:"Panama City",currency:"PAB,USD",languages:["es"],emoji:"\uD83C\uDDF5\uD83C\uDDE6",emojiU:"U+1F1F5 U+1F1E6"},PE:{name:"Peru",native:"Per\xfa",phone:"51",continent:"SA",capital:"Lima",currency:"PEN",languages:["es"],emoji:"\uD83C\uDDF5\uD83C\uDDEA",emojiU:"U+1F1F5 U+1F1EA"},PF:{name:"French Polynesia",native:"Polyn\xe9sie fran\xe7aise",phone:"689",continent:"OC",capital:"PapeetÄ",currency:"XPF",languages:["fr"],emoji:"\uD83C\uDDF5\uD83C\uDDEB",emojiU:"U+1F1F5 U+1F1EB"},PG:{name:"Papua New Guinea",native:"Papua Niugini",phone:"675",continent:"OC",capital:"Port Moresby",currency:"PGK",languages:["en"],emoji:"\uD83C\uDDF5\uD83C\uDDEC",emojiU:"U+1F1F5 U+1F1EC"},PH:{name:"Philippines",native:"Pilipinas",phone:"63",continent:"AS",capital:"Manila",currency:"PHP",languages:["en"],emoji:"\uD83C\uDDF5\uD83C\uDDED",emojiU:"U+1F1F5 U+1F1ED"},PK:{name:"Pakistan",native:"Pakistan",phone:"92",continent:"AS",capital:"Islamabad",currency:"PKR",languages:["en","ur"],emoji:"\uD83C\uDDF5\uD83C\uDDF0",emojiU:"U+1F1F5 U+1F1F0"},PL:{name:"Poland",native:"Polska",phone:"48",continent:"EU",capital:"Warsaw",currency:"PLN",languages:["pl"],emoji:"\uD83C\uDDF5\uD83C\uDDF1",emojiU:"U+1F1F5 U+1F1F1"},PM:{name:"Saint Pierre and Miquelon",native:"Saint-Pierre-et-Miquelon",phone:"508",continent:"NA",capital:"Saint-Pierre",currency:"EUR",languages:["fr"],emoji:"\uD83C\uDDF5\uD83C\uDDF2",emojiU:"U+1F1F5 U+1F1F2"},PN:{name:"Pitcairn Islands",native:"Pitcairn Islands",phone:"64",continent:"OC",capital:"Adamstown",currency:"NZD",languages:["en"],emoji:"\uD83C\uDDF5\uD83C\uDDF3",emojiU:"U+1F1F5 U+1F1F3"},PR:{name:"Puerto Rico",native:"Puerto Rico",phone:"1787,1939",continent:"NA",capital:"San Juan",currency:"USD",languages:["es","en"],emoji:"\uD83C\uDDF5\uD83C\uDDF7",emojiU:"U+1F1F5 U+1F1F7"},PS:{name:"Palestine",native:"ÙÙØ³Ø·ÙÙ",phone:"970",continent:"AS",capital:"Ramallah",currency:"ILS",languages:["ar"],emoji:"\uD83C\uDDF5\uD83C\uDDF8",emojiU:"U+1F1F5 U+1F1F8"},PT:{name:"Portugal",native:"Portugal",phone:"351",continent:"EU",capital:"Lisbon",currency:"EUR",languages:["pt"],emoji:"\uD83C\uDDF5\uD83C\uDDF9",emojiU:"U+1F1F5 U+1F1F9"},PW:{name:"Palau",native:"Palau",phone:"680",continent:"OC",capital:"Ngerulmud",currency:"USD",languages:["en"],emoji:"\uD83C\uDDF5\uD83C\uDDFC",emojiU:"U+1F1F5 U+1F1FC"},PY:{name:"Paraguay",native:"Paraguay",phone:"595",continent:"SA",capital:"Asunci\xf3n",currency:"PYG",languages:["es","gn"],emoji:"\uD83C\uDDF5\uD83C\uDDFE",emojiU:"U+1F1F5 U+1F1FE"},QA:{name:"Qatar",native:"ÙØ·Ø±",phone:"974",continent:"AS",capital:"Doha",currency:"QAR",languages:["ar"],emoji:"\uD83C\uDDF6\uD83C\uDDE6",emojiU:"U+1F1F6 U+1F1E6"},RE:{name:"R\xe9union",native:"La R\xe9union",phone:"262",continent:"AF",capital:"Saint-Denis",currency:"EUR",languages:["fr"],emoji:"\uD83C\uDDF7\uD83C\uDDEA",emojiU:"U+1F1F7 U+1F1EA"},RO:{name:"Romania",native:"Rom\xe2nia",phone:"40",continent:"EU",capital:"Bucharest",currency:"RON",languages:["ro"],emoji:"\uD83C\uDDF7\uD83C\uDDF4",emojiU:"U+1F1F7 U+1F1F4"},RS:{name:"Serbia",native:"СÑбиÑа",phone:"381",continent:"EU",capital:"Belgrade",currency:"RSD",languages:["sr"],emoji:"\uD83C\uDDF7\uD83C\uDDF8",emojiU:"U+1F1F7 U+1F1F8"},RU:{name:"Russia",native:"РоÑÑиÑ",phone:"7",continent:"EU",capital:"Moscow",currency:"RUB",languages:["ru"],emoji:"\uD83C\uDDF7\uD83C\uDDFA",emojiU:"U+1F1F7 U+1F1FA"},RW:{name:"Rwanda",native:"Rwanda",phone:"250",continent:"AF",capital:"Kigali",currency:"RWF",languages:["rw","en","fr"],emoji:"\uD83C\uDDF7\uD83C\uDDFC",emojiU:"U+1F1F7 U+1F1FC"},SA:{name:"Saudi Arabia",native:"Ø§ÙØ¹Ø±Ø¨ÙØ© Ø§ÙØ³Ø¹ÙØ¯ÙØ©",ph
407one:"966",continent:"AS",capital:"Riyadh",currency:"SAR",languages:["ar"],emoji:"\uD83C\uDDF8\uD83C\uDDE6",emojiU:"U+1F1F8 U+1F1E6"},SB:{name:"Solomon Islands",native:"Solomon Islands",phone:"677",continent:"OC",capital:"Honiara",currency:"SBD",languages:["en"],emoji:"\uD83C\uDDF8\uD83C\uDDE7",emojiU:"U+1F1F8 U+1F1E7"},SC:{name:"Seychelles",native:"Seychelles",phone:"248",continent:"AF",capital:"Victoria",currency:"SCR",languages:["fr","en"],emoji:"\uD83C\uDDF8\uD83C\uDDE8",emojiU:"U+1F1F8 U+1F1E8"},SD:{name:"Sudan",native:"Ø§ÙØ³ÙداÙ",phone:"249",continent:"AF",capital:"Khartoum",currency:"SDG",languages:["ar","en"],emoji:"\uD83C\uDDF8\uD83C\uDDE9",emojiU:"U+1F1F8 U+1F1E9"},SE:{name:"Sweden",native:"Sverige",phone:"46",continent:"EU",capital:"Stockholm",currency:"SEK",languages:["sv"],emoji:"\uD83C\uDDF8\uD83C\uDDEA",emojiU:"U+1F1F8 U+1F1EA"},SG:{name:"Singapore",native:"Singapore",phone:"65",continent:"AS",capital:"Singapore",currency:"SGD",languages:["en","ms","ta","zh"],emoji:"\uD83C\uDDF8\uD83C\uDDEC",emojiU:"U+1F1F8 U+1F1EC"},SH:{name:"Saint Helena",native:"Saint Helena",phone:"290",continent:"AF",capital:"Jamestown",currency:"SHP",languages:["en"],emoji:"\uD83C\uDDF8\uD83C\uDDED",emojiU:"U+1F1F8 U+1F1ED"},SI:{name:"Slovenia",native:"Slovenija",phone:"386",continent:"EU",capital:"Ljubljana",currency:"EUR",languages:["sl"],emoji:"\uD83C\uDDF8\uD83C\uDDEE",emojiU:"U+1F1F8 U+1F1EE"},SJ:{name:"Svalbard and Jan Mayen",native:"Svalbard og Jan Mayen",phone:"4779",continent:"EU",capital:"Longyearbyen",currency:"NOK",languages:["no"],emoji:"\uD83C\uDDF8\uD83C\uDDEF",emojiU:"U+1F1F8 U+1F1EF"},SK:{name:"Slovakia",native:"Slovensko",phone:"421",continent:"EU",capital:"Bratislava",currency:"EUR",languages:["sk"],emoji:"\uD83C\uDDF8\uD83C\uDDF0",emojiU:"U+1F1F8 U+1F1F0"},SL:{name:"Sierra Leone",native:"Sierra Leone",phone:"232",continent:"AF",capital:"Freetown",currency:"SLL",languages:["en"],emoji:"\uD83C\uDDF8\uD83C\uDDF1",emojiU:"U+1F1F8 U+1F1F1"},SM:{name:"San Marino",native:"San Marino",phone:"378",continent:"EU",capital:"City of San Marino",currency:"EUR",languages:["it"],emoji:"\uD83C\uDDF8\uD83C\uDDF2",emojiU:"U+1F1F8 U+1F1F2"},SN:{name:"Senegal",native:"S\xe9n\xe9gal",phone:"221",continent:"AF",capital:"Dakar",currency:"XOF",languages:["fr"],emoji:"\uD83C\uDDF8\uD83C\uDDF3",emojiU:"U+1F1F8 U+1F1F3"},SO:{name:"Somalia",native:"Soomaaliya",phone:"252",continent:"AF",capital:"Mogadishu",currency:"SOS",languages:["so","ar"],emoji:"\uD83C\uDDF8\uD83C\uDDF4",emojiU:"U+1F1F8 U+1F1F4"},SR:{name:"Suriname",native:"Suriname",phone:"597",continent:"SA",capital:"Paramaribo",currency:"SRD",languages:["nl"],emoji:"\uD83C\uDDF8\uD83C\uDDF7",emojiU:"U+1F1F8 U+1F1F7"},SS:{name:"South Sudan",native:"South Sudan",phone:"211",continent:"AF",capital:"Juba",currency:"SSP",languages:["en"],emoji:"\uD83C\uDDF8\uD83C\uDDF8",emojiU:"U+1F1F8 U+1F1F8"},ST:{name:"S\xe3o Tom\xe9 and Pr\xedncipe",native:"S\xe3o Tom\xe9 e Pr\xedncipe",phone:"239",continent:"AF",capital:"S\xe3o Tom\xe9",currency:"STN",languages:["pt"],emoji:"\uD83C\uDDF8\uD83C\uDDF9",emojiU:"U+1F1F8 U+1F1F9"},SV:{name:"El Salvador",native:"El Salvador",phone:"503",continent:"NA",capital:"San Salvador",currency:"SVC,USD",languages:["es"],emoji:"\uD83C\uDDF8\uD83C\uDDFB",emojiU:"U+1F1F8 U+1F1FB"},SX:{name:"Sint Maarten",native:"Sint Maarten",phone:"1721",continent:"NA",capital:"Philipsburg",currency:"ANG",languages:["nl","en"],emoji:"\uD83C\uDDF8\uD83C\uDDFD",emojiU:"U+1F1F8 U+1F1FD"},SY:{name:"Syria",native:"Ø³ÙØ±Ùا",phone:"963",continent:"AS",capital:"Damascus",currency:"SYP",languages:["ar"],emoji:"\uD83C\uDDF8\uD83C\uDDFE",emojiU:"U+1F1F8 U+1F1FE"},SZ:{name:"Swaziland",native:"Swaziland",phone:"268",continent:"AF",capital:"Lobamba",currency:"SZL",languages:["en","ss"],emoji:"\uD83C\uDDF8\uD83C\uDDFF",emojiU:"U+1F1F8 U+1F1FF"},TC:{name:"Turks and Caicos Islands",native:"Turks and Caicos Islands",phone:"1649",continent:"NA",capital:"Cockburn Town",currency:"USD",languages:["en"],emoji:"\uD83C\uDDF9\uD83C\uDDE8",emojiU:"U+1F1F9 U+1F1E8"},TD:{name:"Chad",native:"Tchad",phone:"235",continent:"AF",capital:"N'Djamena",currency:"XAF",languages:["fr","ar"],emoji:"\uD83C\uDDF9\uD83C\uDDE9",emojiU:"U+1F1F9 U+1F1E9"},TF:{name:"French Southern Territories",native:"Territoire des Terres australes et antarctiques fr",phone:"262",continent:"AN",capital:"Port-aux-Fran\xe7ais",currency:"EUR",languages:["fr"],emoji:"\uD83C\uDDF9\uD83C\uDDEB",emojiU:"U+1F1F9 U+1F1EB"},TG:{name:"Togo",native:"Togo",phone:"228",continent:"AF",capital:"Lom\xe9",currency:"XOF",languages:["fr"],emoji:"\uD83C\uDDF9\uD83C\uDDEC",emojiU:"U+1F1F9 U+1F1EC"},TH:{name:"Thailand",native:"à¸à¸£à¸°à¹à¸à¸¨à¹à¸à¸¢",phone:"66",continent:"AS",capital:"Bangkok",currency:"THB",languages:["th"],emoji:"\uD83C\uDDF9\uD83C\uDDED",emojiU:"U+1F1F9 U+1F1ED"},TJ:{name:"Tajikistan",native:"ТоҷикиÑÑон",phone:"992",continent:"AS",capital:"Dushanbe",currency:"TJS",languages:["tg","ru"],emoji:"\uD83C\uDDF9\uD83C\uDDEF",emojiU:"U+1F1F9 U+1F1EF"},TK:{name:"Tokelau",native:"Tokelau",phone:"690",continent:"OC",capital:"Fakaofo",currency:"NZD",languages:["en"],emoji:"\uD83C\uDDF9\uD83C\uDDF0",emojiU:"U+1F1F9 U+1F1F0"},TL:{name:"East Timor",native:"Timor-Leste",phone:"670",continent:"OC",capital:"Dili",currency:"USD",languages:["pt"],emoji:"\uD83C\uDDF9\uD83C\uDDF1",emojiU:"U+1F1F9 U+1F1F1"},TM:{name:"Turkmenistan",native:"T\xfcrkmenistan",phone:"993",continent:"AS",capital:"Ashgabat",currency:"TMT",languages:["tk","ru"],emoji:"\uD83C\uDDF9\uD83C\uDDF2",emojiU:"U+1F1F9 U+1F1F2"},TN:{name:"Tunisia",native:"تÙÙØ³",phone:"216",continent:"AF",capital:"Tunis",currency:"TND",languages:["ar"],emoji:"\uD83C\uDDF9\uD83C\uDDF3",emojiU:"U+1F1F9 U+1F1F3"},TO:{name:"Tonga",native:"Tonga",phone:"676",continent:"OC",capital:"Nuku'alofa",currency:"TOP",languages:["en","to"],emoji:"\uD83C\uDDF9\uD83C\uDDF4",emojiU:"U+1F1F9 U+1F1F4"},TR:{name:"Turkey",native:"T\xfcrkiye",phone:"90",continent:"AS",capital:"Ankara",currency:"TRY",languages:["tr"],emoji:"\uD83C\uDDF9\uD83C\uDDF7",emojiU:"U+1F1F9 U+1F1F7"},TT:{name:"Trinidad and Tobago",native:"Trinidad and Tobago",phone:"1868",continent:"NA",capital:"Port of Spain",currency:"TTD",languages:["en"],emoji:"\uD83C\uDDF9\uD83C\uDDF9",emojiU:"U+1F1F9 U+1F1F9"},TV:{name:"Tuvalu",native:"Tuvalu",phone:"688",continent:"OC",capital:"Funafuti",currency:"AUD",languages:["en"],emoji:"\uD83C\uDDF9\uD83C\uDDFB",emojiU:"U+1F1F9 U+1F1FB"},TW:{name:"Taiwan",native:"èºç£",phone:"886",continent:"AS",capital:"Taipei",currency:"TWD",languages:["zh"],emoji:"\uD83C\uDDF9\uD83C\uDDFC",emojiU:"U+1F1F9 U+1F1FC"},TZ:{name:"Tanzania",native:"Tanzania",phone:"255",continent:"AF",capital:"Dodoma",currency:"TZS",languages:["sw","en"],emoji:"\uD83C\uDDF9\uD83C\uDDFF",emojiU:"U+1F1F9 U+1F1FF"}
407,UA:{name:"Ukraine",native:"УкÑаÑна",phone:"380",continent:"EU",capital:"Kyiv",currency:"UAH",languages:["uk"],emoji:"\uD83C\uDDFA\uD83C\uDDE6",emojiU:"U+1F1FA U+1F1E6"},UG:{name:"Uganda",native:"Uganda",phone:"256",continent:"AF",capital:"Kampala",currency:"UGX",languages:["en","sw"],emoji:"\uD83C\uDDFA\uD83C\uDDEC",emojiU:"U+1F1FA U+1F1EC"},UM:{name:"U.S. Minor Outlying Islands",native:"United States Minor Outlying Islands",phone:"1",continent:"OC",capital:"",currency:"USD",languages:["en"],emoji:"\uD83C\uDDFA\uD83C\uDDF2",emojiU:"U+1F1FA U+1F1F2"},US:{name:"United States",native:"United States",phone:"1",continent:"NA",capital:"Washington D.C.",currency:"USD,USN,USS",languages:["en"],emoji:"\uD83C\uDDFA\uD83C\uDDF8",emojiU:"U+1F1FA U+1F1F8"},UY:{name:"Uruguay",native:"Uruguay",phone:"598",continent:"SA",capital:"Montevideo",currency:"UYI,UYU",languages:["es"],emoji:"\uD83C\uDDFA\uD83C\uDDFE",emojiU:"U+1F1FA U+1F1FE"},UZ:{name:"Uzbekistan",native:"Oâzbekiston",phone:"998",continent:"AS",capital:"Tashkent",currency:"UZS",languages:["uz","ru"],emoji:"\uD83C\uDDFA\uD83C\uDDFF",emojiU:"U+1F1FA U+1F1FF"},VA:{name:"Vatican City",native:"Vaticano",phone:"379",continent:"EU",capital:"Vatican City",currency:"EUR",languages:["it","la"],emoji:"\uD83C\uDDFB\uD83C\uDDE6",emojiU:"U+1F1FB U+1F1E6"},VC:{name:"Saint Vincent and the Grenadines",native:"Saint Vincent and the Grenadines",phone:"1784",continent:"NA",capital:"Kingstown",currency:"XCD",languages:["en"],emoji:"\uD83C\uDDFB\uD83C\uDDE8",emojiU:"U+1F1FB U+1F1E8"},VE:{name:"Venezuela",native:"Venezuela",phone:"58",continent:"SA",capital:"Caracas",currency:"VES",languages:["es"],emoji:"\uD83C\uDDFB\uD83C\uDDEA",emojiU:"U+1F1FB U+1F1EA"},VG:{name:"British Virgin Islands",native:"British Virgin Islands",phone:"1284",continent:"NA",capital:"Road Town",currency:"USD",languages:["en"],emoji:"\uD83C\uDDFB\uD83C\uDDEC",emojiU:"U+1F1FB U+1F1EC"},VI:{name:"U.S. Virgin Islands",native:"United States Virgin Islands",phone:"1340",continent:"NA",capital:"Charlotte Amalie",currency:"USD",languages:["en"],emoji:"\uD83C\uDDFB\uD83C\uDDEE",emojiU:"U+1F1FB U+1F1EE"},VN:{name:"Vietnam",native:"Viá»t Nam",phone:"84",continent:"AS",capital:"Hanoi",currency:"VND",languages:["vi"],emoji:"\uD83C\uDDFB\uD83C\uDDF3",emojiU:"U+1F1FB U+1F1F3"},VU:{name:"Vanuatu",native:"Vanuatu",phone:"678",continent:"OC",capital:"Port Vila",currency:"VUV",languages:["bi","en","fr"],emoji:"\uD83C\uDDFB\uD83C\uDDFA",emojiU:"U+1F1FB U+1F1FA"},WF:{name:"Wallis and Futuna",native:"Wallis et Futuna",phone:"681",continent:"OC",capital:"Mata-Utu",currency:"XPF",languages:["fr"],emoji:"\uD83C\uDDFC\uD83C\uDDEB",emojiU:"U+1F1FC U+1F1EB"},WS:{name:"Samoa",native:"Samoa",phone:"685",continent:"OC",capital:"Apia",currency:"WST",languages:["sm","en"],emoji:"\uD83C\uDDFC\uD83C\uDDF8",emojiU:"U+1F1FC U+1F1F8"},XK:{name:"Kosovo",native:"Republika e Kosov\xebs",phone:"377,381,383,386",continent:"EU",capital:"Pristina",currency:"EUR",languages:["sq","sr"],emoji:"\uD83C\uDDFD\uD83C\uDDF0",emojiU:"U+1F1FD U+1F1F0"},YE:{name:"Yemen",native:"اÙÙÙÙ
ÙÙ",phone:"967",continent:"AS",capital:"Sana'a",currency:"YER",languages:["ar"],emoji:"\uD83C\uDDFE\uD83C\uDDEA",emojiU:"U+1F1FE U+1F1EA"},YT:{name:"Mayotte",native:"Mayotte",phone:"262",continent:"AF",capital:"Mamoudzou",currency:"EUR",languages:["fr"],emoji:"\uD83C\uDDFE\uD83C\uDDF9",emojiU:"U+1F1FE U+1F1F9"},ZA:{name:"South Africa",native:"South Africa",phone:"27",continent:"AF",capital:"Pretoria",currency:"ZAR",languages:["af","en","nr","st","ss","tn","ts","ve","xh","zu"],emoji:"\uD83C\uDDFF\uD83C\uDDE6",emojiU:"U+1F1FF U+1F1E6"},ZM:{name:"Zambia",native:"Zambia",phone:"260",continent:"AF",capital:"Lusaka",currency:"ZMW",languages:["en"],emoji:"\uD83C\uDDFF\uD83C\uDDF2",emojiU:"U+1F1FF U+1F1F2"},ZW:{name:"Zimbabwe",native:"Zimbabwe",phone:"263",continent:"AF",capital:"Harare",currency:"USD,ZAR,BWP,GBP,AUD,CNY,INR,JPY",languages:["en","sn","nd"],emoji:"\uD83C\uDDFF\uD83C\uDDFC",emojiU:"U+1F1FF U+1F1FC"}},languages:{af:{name:"Afrikaans",native:"Afrikaans"},am:{name:"Amharic",native:"á ááá"},ar:{name:"Arabic",native:"Ø§ÙØ¹Ø±Ø¨ÙØ©",rtl:1},ay:{name:"Aymara",native:"Aymar"},az:{name:"Azerbaijani",native:"AzÉrbaycanca / Ø¢Ø°Ø±Ø¨Ø§ÙØ¬Ø§Ù"},be:{name:"Belarusian",native:"ÐелаÑÑÑкаÑ"},bg:{name:"Bulgarian",native:"ÐÑлгаÑÑки"},bi:{name:"Bislama",native:"Bislama"},bn:{name:"Bengali",native:"বাà¦à¦²à¦¾"},bs:{name:"Bosnian",native:"Bosanski"},ca:{name:"Catalan",native:"Catal\xe0"}
407,ch:{name:"Chamorro",native:"Chamoru"},cs:{name:"Czech",native:"ÄeÅ¡tina"},da:{name:"Danish",native:"Dansk"},de:{name:"German",native:"Deutsch"},dv:{name:"Divehi",native:"ÞÞ¨ÞÞ¬ÞÞ¨ÞÞ¦ÞÞ°",rtl:1},dz:{name:"Dzongkha",native:"à½à½¼à½à¼à½"},el:{name:"Greek",native:"Îλληνικά"},en:{name:"English",native:"English"},es:{name:"Spanish",native:"Espa\xf1ol"},et:{name:"Estonian",native:"Eesti"},eu:{name:"Basque",native:"Euskara"},fa:{name:"Persian",native:"ÙØ§Ø±Ø³Û",rtl:1},ff:{name:"Peul",native:"Fulfulde"},fi:{name:"Finnish",native:"Suomi"},fj:{name:"Fijian",native:"Na Vosa Vakaviti"},fo:{name:"Faroese",native:"F\xf8royskt"},fr:{name:"French",native:"Fran\xe7ais"},ga:{name:"Irish",native:"Gaeilge"},gl:{name:"Galician",native:"Galego"},gn:{name:"Guarani",native:"Ava\xf1e'ẽ"},gv:{name:"Manx",native:"Gaelg"},he:{name:"Hebrew",native:"×¢×ר×ת",rtl:1},hi:{name:"Hindi",native:"हिनà¥à¤¦à¥"},hr:{name:"Croatian",native:"Hrvatski"},ht:{name:"Haitian",native:"Kr\xe8yol ayisyen"},hu:{name:"Hungarian",native:"Magyar"},hy:{name:"Armenian",native:"ÕÕ¡ÕµÕ¥ÖÕ¥Õ¶"},id:{name:"Indonesian",native:"Bahasa Indonesia"},is:{name:"Icelandic",native:"\xcdslenska"},it:{name:"Italian",native:"Italiano"},ja:{name:"Japanese",native:"æ¥æ¬èª"},ka:{name:"Georgian",native:"á¥áá áá£áá"},kg:{name:"Kongo",native:"KiKongo"},kk:{name:"Kazakh",native:"ÒазаÒÑа"},kl:{name:"Greenlandic",native:"Kalaallisut"},km:{name:"Cambodian",native:"áá¶áá¶ááááá"},ko:{name:"Korean",native:"íêµì´"},ku:{name:"Kurdish",native:"Kurd\xee / ÙÙØ±Ø¯Û",rtl:1},ky:{name:"Kyrgyz",native:"ÐÑÑгÑзÑа"},la:{name:"Latin",native:"Latina"},lb:{name:"Luxembourgish",native:"L\xebtzebuergesch"},ln:{name:"Lingala",native:"Ling\xe1la"},lo:{name:"Laotian",native:"ລາວ / Pha xa lao"},lt:{name:"Lithuanian",native:"Lietuvių"},lu:{name:"Luba-Katanga",native:"Tshiluba"},lv:{name:"Latvian",native:"LatvieÅ¡u"},mg:{name:"Malagasy",native:"Malagasy"},mh:{name:"Marshallese",native:"Kajin Majel / Ebon"},mi:{name:"Maori",native:"MÄori"},mk:{name:"Macedonian",native:"ÐакедонÑки"},mn:{name:"Mongolian",native:"Ðонгол"},ms:{name:"Malay",native:"Bahasa Melayu"},mt:{name:"Maltese",native:"bil-Malti"},my:{name:"Burmese",native:"áá¼ááºáá¬á
á¬"},na:{name:"Nauruan",native:"Dorerin Naoero"},nb:{name:"Norwegian Bokm\xe5l",native:"Norsk bokm\xe5l"},nd:{name:"North Ndebele",native:"Sindebele"},ne:{name:"Nepali",native:"नà¥à¤ªà¤¾à¤²à¥"},nl:{name:"Dutch",native:"Nederlands"},nn:{name:"Norwegian Nynorsk",native:"Norsk nynorsk"},no:{name:"Norwegian",native:"Norsk"},nr:{name:"South Ndebele",native:"isiNdebele"},ny:{name:"Chichewa",native:"Chi-Chewa"},oc:{name:"Occitan",native:"Occitan"},pa:{name:"Panjabi / Punjabi",native:"ਪੰà¨à¨¾à¨¬à© / पà¤à¤à¤¾à¤¬à¥ / Ù¾ÙØ¬Ø§Ø¨Ù"},pl:{name:"Polish",native:"Polski"},ps:{name:"Pashto",native:"Ù¾ÚØªÙ",rtl:1},pt:{name:"Portuguese",native:"Portugu\xeas"},qu:{name:"Quechua",native:"Runa Simi"},rn:{name:"Kirundi",native:"Kirundi"},ro:{name:"Romanian",native:"Rom\xe2nÄ"},ru:{name:"Russian",native:"Ð ÑÑÑкий"},rw:{name:"Rwandi",native:"Kinyarwandi"},sg:{name:"Sango",native:"S\xe4ng\xf6"},si:{name:"Sinhalese",native:"à·à·à¶à·à¶½"},sk:{name:"Slovak",native:"SlovenÄina"},sl:{name:"Slovenian",native:"SlovenÅ¡Äina"},sm:{name:"Samoan",native:"Gagana Samoa"},sn:{name:"Shona",native:"chiShona"},so:{name:"Somalia",native:"Soomaaliga"}
407,sq:{name:"Albanian",native:"Shqip"},sr:{name:"Serbian",native:"СÑпÑки"},ss:{name:"Swati",native:"SiSwati"},st:{name:"Southern Sotho",native:"Sesotho"},sv:{name:"Swedish",native:"Svenska"},sw:{name:"Swahili",native:"Kiswahili"},ta:{name:"Tamil",native:"தமிழà¯"},tg:{name:"Tajik",native:"Тоҷикӣ"},th:{name:"Thai",native:"à¹à¸à¸¢ / Phasa Thai"},ti:{name:"Tigrinya",native:"áµááá"},tk:{name:"Turkmen",native:"ТÑÑкмен / ترÙÙ
Ù"},tn:{name:"Tswana",native:"Setswana"},to:{name:"Tonga",native:"Lea Faka-Tonga"},tr:{name:"Turkish",native:"T\xfcrk\xe7e"},ts:{name:"Tsonga",native:"Xitsonga"},uk:{name:"Ukrainian",native:"УкÑаÑнÑÑка"},ur:{name:"Urdu",native:"اردÙ",rtl:1},uz:{name:"Uzbek",native:"Ðзбек"},ve:{name:"Venda",native:"Tshivená¸a"},vi:{name:"Vietnamese",native:"Tiếng Viá»t"},xh:{name:"Xhosa",native:"isiXhosa"},zh:{name:"Chinese",native:"䏿"},zu:{name:"Zulu",native:"isiZulu"}},languagesAll:{aa:{name:"Afar",native:"Afar"},ab:{name:"Abkhazian",native:"ÐÒ§ÑÑа"},af:{name:"Afrikaans",native:"Afrikaans"},ak:{name:"Akan",native:"Akana"},am:{name:"Amharic",native:"á ááá"},an:{name:"Aragonese",native:"Aragon\xe9s"},ar:{name:"Arabic",native:"Ø§ÙØ¹Ø±Ø¨ÙØ©",rtl:1},as:{name:"Assamese",native:"à¦
সমà§à¦¯à¦¼à¦¾"},av:{name:"Avar",native:"ÐваÑ"},ay:{name:"Aymara",native:"Aymar"},az:{name:"Azerbaijani",native:"AzÉrbaycanca / Ø¢Ø°Ø±Ø¨Ø§ÙØ¬Ø§Ù"},ba:{name:"Bashkir",native:"ÐаÑҡоÑÑ"},be:{name:"Belarusian",native:"ÐелаÑÑÑкаÑ"},bg:{name:"Bulgarian",native:"ÐÑлгаÑÑки"},bh:{name:"Bihari",native:"à¤à¥à¤à¤ªà¥à¤°à¥"},bi:{name:"Bislama",native:"Bislama"},bm:{name:"Bambara",native:"Bamanankan"},bn:{name:"Bengali",native:"বাà¦à¦²à¦¾"},bo:{name:"Tibetan",native:"à½à½¼à½à¼à½¡à½²à½ / Bod skad"},br:{name:"Breton",native:"Brezhoneg"},bs:{name:"Bosnian",native:"Bosanski"},ca:{name:"Catalan",native:"Catal\xe0"},ce:{name:"Chechen",native:"ÐоÑ
Ñийн"},ch:{name:"Chamorro",native:"Chamoru"},co:{name:"Corsican",native:"Corsu"},cr:{name:"Cree",native:"Nehiyaw"},cs:{name:"Czech",native:"ÄeÅ¡tina"},cu:{name:"Old Church Slavonic / Old Bulgarian",native:"ÑловѣнÑÑÐºÑ / slovÄnÄskÅ"},cv:{name:"Chuvash",native:"ЧÄваÑ"},cy:{name:"Welsh",native:"Cymraeg"},da:{name:"Danish",native:"Dansk"},de:{name:"German",native:"Deutsch"},dv:{name:"Divehi",native:"ÞÞ¨ÞÞ¬ÞÞ¨ÞÞ¦ÞÞ°",rtl:1},dz:{name:"Dzongkha",native:"à½à½¼à½à¼à½"},ee:{name:"Ewe",native:"ÆÊÉ"},el:{name:"Greek",native:"Îλληνικά"},en:{name:"English",native:"English"},eo:{name:"Esperanto",native:"Esperanto"},es:{name:"Spanish",native:"Espa\xf1ol"},et:{name:"Estonian",native:"Eesti"},eu:{name:"Basque",native:"Euskara"},fa:{name:"Persian",native:"ÙØ§Ø±Ø³Û",rtl:1},ff:{name:"Peul",native:"Fulfulde"},fi:{name:"Finnish",native:"Suomi"},fj:{name:"Fijian",native:"Na Vosa Vakaviti"},fo:{name:"Faroese",native:"F\xf8royskt"},fr:{name:"French",native:"Fran\xe7ais"},fy:{name:"West Frisian",native:"Frysk"},ga:{name:"Irish",native:"Gaeilge"},gd:{name:"Scottish Gaelic",native:"G\xe0idhlig"},gl:{name:"Galician",native:"Galego"},gn:{name:"Guarani",native:"Ava\xf1e'ẽ"},gu:{name:"Gujarati",native:"àªà«àªàª°àª¾àª¤à«"},gv:{name:"Manx",native:"Gaelg"},ha:{name:"Hausa",native:"ÙÙÙÙØ³Ù",rtl:1},he:{name:"Hebrew",native:"×¢×ר×ת",rtl:1},hi:{name:"Hindi",native:"हिनà¥à¤¦à¥"},ho:{name:"Hiri Motu",native:"Hiri Motu"},hr:{name:"Croatian",native:"Hrvatski"},ht:{name:"Haitian",native:"Kr\xe8yol ayisyen"},hu:{name:"Hungarian",native:"Magyar"},hy:{name:"Armenian",native:"ÕÕ¡ÕµÕ¥ÖÕ¥Õ¶"},hz:{name:"Herero",native:"Otsiherero"},ia:{name:"Interlingua",native:"Interlingua"},id:{name:"Indonesian",native:"Bahasa Indonesia"},ie:{name:"Interlingue",native:"Interlingue"},ig:{name:"Igbo",native:"Igbo"},ii:{name:"Sichuan Yi",native:"êê / åå·å½è¯"},ik:{name:"Inupiak",native:"I\xf1upiak"},io:{name:"Ido",native:"Ido"},is:{name:"Icelandic",native:"\xcdslenska"},it:{name:"Italian",native:"Italiano"},iu:{name:"Inuktitut",native:"áááááá¦"},ja:{name:"Japanese",native:"æ¥æ¬èª"},jv:{name:"Javanese",native:"Basa Jawa"},ka:{name:"Georgian",native:"á¥áá áá£áá"}
407,kg:{name:"Kongo",native:"KiKongo"},ki:{name:"Kikuyu",native:"GÄ©kÅ©yÅ©"},kj:{name:"Kuanyama",native:"Kuanyama"},kk:{name:"Kazakh",native:"ÒазаÒÑа"},kl:{name:"Greenlandic",native:"Kalaallisut"},km:{name:"Cambodian",native:"áá¶áá¶ááááá"},kn:{name:"Kannada",native:"à²à²¨à³à²¨à²¡"},ko:{name:"Korean",native:"íêµì´"},kr:{name:"Kanuri",native:"Kanuri"},ks:{name:"Kashmiri",native:"à¤à¤¶à¥à¤®à¥à¤°à¥ / ÙØ´Ù
ÙØ±Ù",rtl:1},ku:{name:"Kurdish",native:"Kurd\xee / ÙÙØ±Ø¯Û",rtl:1},kv:{name:"Komi",native:"Ðоми"},kw:{name:"Cornish",native:"Kernewek"},ky:{name:"Kyrgyz",native:"ÐÑÑгÑзÑа"},la:{name:"Latin",native:"Latina"},lb:{name:"Luxembourgish",native:"L\xebtzebuergesch"},lg:{name:"Ganda",native:"Luganda"},li:{name:"Limburgian",native:"Limburgs"},ln:{name:"Lingala",native:"Ling\xe1la"},lo:{name:"Laotian",native:"ລາວ / Pha xa lao"},lt:{name:"Lithuanian",native:"Lietuvių"},lu:{name:"Luba-Katanga",native:"Tshiluba"},lv:{name:"Latvian",native:"LatvieÅ¡u"},mg:{name:"Malagasy",native:"Malagasy"},mh:{name:"Marshallese",native:"Kajin Majel / Ebon"},mi:{name:"Maori",native:"MÄori"},mk:{name:"Macedonian",native:"ÐакедонÑки"},ml:{name:"Malayalam",native:"മലയാളà´"},mn:{name:"Mongolian",native:"Ðонгол"},mo:{name:"Moldovan",native:"MoldoveneascÄ"},mr:{name:"Marathi",native:"मराठà¥"},ms:{name:"Malay",native:"Bahasa Melayu"},mt:{name:"Maltese",native:"bil-Malti"},my:{name:"Burmese",native:"áá¼ááºáá¬á
á¬"},na:{name:"Nauruan",native:"Dorerin Naoero"},nb:{name:"Norwegian Bokm\xe5l",native:"Norsk bokm\xe5l"},nd:{name:"North Ndebele",native:"Sindebele"},ne:{name:"Nepali",native:"नà¥à¤ªà¤¾à¤²à¥"},ng:{name:"Ndonga",native:"Oshiwambo"},nl:{name:"Dutch",native:"Nederlands"},nn:{name:"Norwegian Nynorsk",native:"Norsk nynorsk"},no:{name:"Norwegian",native:"Norsk"},nr:{name:"South Ndebele",native:"isiNdebele"},nv:{name:"Navajo",native:"Din\xe9 bizaad"},ny:{name:"Chichewa",native:"Chi-Chewa"},oc:{name:"Occitan",native:"Occitan"},oj:{name:"Ojibwa",native:"ááááá¯á§áá / Anishinaabemowin"},om:{name:"Oromo",native:"Oromoo"},or:{name:"Oriya",native:"à¬à¬¡à¬¼à¬¿à¬"},os:{name:"Ossetian / Ossetic",native:"ÐÑонаÑ"},pa:{name:"Panjabi / Punjabi",native:"ਪੰà¨à¨¾à¨¬à© / पà¤à¤à¤¾à¤¬à¥ / Ù¾ÙØ¬Ø§Ø¨Ù"},pi:{name:"Pali",native:"PÄli / पाऴि"},pl:{name:"Polish",native:"Polski"},ps:{name:"Pashto",native:"Ù¾ÚØªÙ",rtl:1},pt:{name:"Portuguese",native:"Portugu\xeas"},qu:{name:"Quechua",native:"Runa Simi"},rm:{name:"Raeto Romance",native:"Rumantsch"},rn:{name:"Kirundi",native:"Kirundi"},ro:{name:"Romanian",native:"Rom\xe2nÄ"},ru:{name:"Russian",native:"Ð ÑÑÑкий"},rw:{name:"Rwandi",native:"Kinyarwandi"},sa:{name:"Sanskrit",native:"सà¤à¤¸à¥à¤à¥à¤¤à¤®à¥"}
407,sc:{name:"Sardinian",native:"Sardu"},sd:{name:"Sindhi",native:"सिनधि"},se:{name:"Northern Sami",native:"S\xe1megiella"},sg:{name:"Sango",native:"S\xe4ng\xf6"},sh:{name:"Serbo-Croatian",native:"Srpskohrvatski / СÑпÑкоÑ
ÑваÑÑки"},si:{name:"Sinhalese",native:"à·à·à¶à·à¶½"},sk:{name:"Slovak",native:"SlovenÄina"},sl:{name:"Slovenian",native:"SlovenÅ¡Äina"},sm:{name:"Samoan",native:"Gagana Samoa"},sn:{name:"Shona",native:"chiShona"},so:{name:"Somalia",native:"Soomaaliga"},sq:{name:"Albanian",native:"Shqip"},sr:{name:"Serbian",native:"СÑпÑки"},ss:{name:"Swati",native:"SiSwati"},st:{name:"Southern Sotho",native:"Sesotho"},su:{name:"Sundanese",native:"Basa Sunda"},sv:{name:"Swedish",native:"Svenska"},sw:{name:"Swahili",native:"Kiswahili"},ta:{name:"Tamil",native:"தமிழà¯"},te:{name:"Telugu",native:"à°¤à±à°²à±à°à±"},tg:{name:"Tajik",native:"Тоҷикӣ"},th:{name:"Thai",native:"à¹à¸à¸¢ / Phasa Thai"},ti:{name:"Tigrinya",native:"áµááá"},tk:{name:"Turkmen",native:"ТÑÑкмен / ترÙÙ
Ù"},tl:{name:"Tagalog / Filipino",native:"Tagalog"},tn:{name:"Tswana",native:"Setswana"},to:{name:"Tonga",native:"Lea Faka-Tonga"},tr:{name:"Turkish",native:"T\xfcrk\xe7e"},ts:{name:"Tsonga",native:"Xitsonga"},tt:{name:"Tatar",native:"Tatar\xe7a"},tw:{name:"Twi",native:"Twi"},ty:{name:"Tahitian",native:"Reo MÄ`ohi"},ug:{name:"Uyghur",native:"UyÆ£urqÉ / ئÛÙØºÛرÚÛ"},uk:{name:"Ukrainian",native:"УкÑаÑнÑÑка"},ur:{name:"Urdu",native:"اردÙ",rtl:1},uz:{name:"Uzbek",native:"Ðзбек"},ve:{name:"Venda",native:"Tshivená¸a"},vi:{name:"Vietnamese",native:"Tiếng Viá»t"},vo:{name:"Volap\xfck",native:"Volap\xfck"},wa:{name:"Walloon",native:"Walon"},wo:{name:"Wolof",native:"Wollof"},xh:{name:"Xhosa",native:"isiXhosa"},yi:{name:"Yiddish",native:"××Ö´××ש",rtl:1},yo:{name:"Yoruba",native:"Yor\xf9b\xe1"},za:{name:"Zhuang",native:"Cuengh / T\xf4\xf4 / 壮è¯"},zh:{name:"Chinese",native:"䏿"},zu:{name:"Zulu",native:"isiZulu"}},getEmojiFlag:e=>m.test(e)?h(e.split("").map(e=>127397+e.charCodeAt(0))):"",getUnicode:e=>f(e).map(e=>"U+"+Number(e).toString(16).toUpperCase()).join(" ")}}()},47725:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAgainstSchema=void 0;let r=n(47561),i=n(16006),a=n(74259);t.validateAgainstSchema=function(e,t){let n=e.safeParse(t,{errorMap:i.formatIssueMessage});return n.success?r.Result.ok(n.data):r.Result.err((0,a.createValidationError)(n.error))}},47756:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.playbackCapabilitiesSchema=t.streamingFormatSchema=void 0;let r=n(92712),i=r.z.enum(["widevine","fairplay","playready"]);t.streamingFormatSchema=r.z.enum(["dash","hls"]);let a=r.z.enum(["cenc","cbcs"]),o=r.z.union([r.z.literal(1),r.z.literal(2),r.z.literal(3),r.z.literal(4),r.z.literal(5)]);t.playbackCapabilitiesSchema=r.z.object({drmType:i.optional(),encryptionScheme:a.optional(),maxSecurityLevel:o.optional(),streamingFormat:t.streamingFormatSchema,supportMultiAudio:r.z.boolean().optional()})},47760:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdDecisionError=void 0;class n extends Error{constructor(e,t,n){super(e),this.originalError=t,this.customData=n}}t.AdDecisionError=n},47778:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createVastFetcher=t.validateVastJson=void 0;let r=n(50694),i=n(90634),a=n(3674);var o=n(41013);Object.defineProperty(t,"validateVastJson",{enumerable:!0,get:function(){return o.validateVastJson}}),t.createVastFetcher=({performFetch:e,domParser:t,encodeUriComponent:n})=>{let o=(0,i.createParseAndValidateVast)({xmlToJson:(0,a.createXmlToJson)({domParser:t})});return(0,r.createApi)({encodeUriComponent:n,parseAndValidateVast:o,performFetch:e})}},48232:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebCryptoSha256=t.Ie11Sha256=void 0,n(63195).__exportStar(n(34027),t);var r=n(79030);Object.defineProperty(t,"Ie11Sha256",{enumerable:!0,get:function(){return r.Sha256}});var i=n(87599);Object.defineProperty(t,"WebCryptoSha256",{enumerable:!0,get:function(){return i.Sha256}})},48400:(e,t)=>{"use strict";
407Object.defineProperty(t,"__esModule",{value:!0}),t.createAdsAdapter=void 0,t.createAdsAdapter=function(e){return{getCreativeId:()=>e.getStateProperty("creativeId"),getDuration:()=>e.getStateProperty("duration"),getIsFullscreen:()=>e.getStateProperty("isFullscreen"),getIsSkippable:()=>e.getStateProperty("adIsSkippable"),getPlayhead:()=>e.getStateProperty("adPlayhead"),getPosition(){let t=e.getStateProperty("rollName");return"midroll"===t?"mid":"preroll"===t?"pre":null},getProvider:()=>e.getStateProperty("adSystem"),getResource:()=>e.getStateProperty("adResourceUrl"),getTitle:()=>e.getStateProperty("adTitle")}}},48507:(e,t,n)=>{var r=n(35121),i=n(2502);e.exports=r.extend({_services:[i.Service.INIT,i.Service.START,i.Service.OFFLINE_EVENTS],isBlocking:function(e){if(this._isBusy&&null!=e){if(-1!==this._services.indexOf(e.service))this.done();else if(e.service===i.Service.ERROR)return!1}return r.prototype.isBlocking.apply(this,arguments)}})},48641:(e,t,n)=>{"use strict";n.d(t,{BD:()=>s,Kg:()=>u,Qd:()=>d,Qg:()=>m,T2:()=>o,W6:()=>l,bJ:()=>i,gd:()=>h,mE:()=>g,sO:()=>c,tH:()=>v,vq:()=>f,xH:()=>p,yr:()=>y});let r=Object.prototype.toString;function i(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return v(e,Error)}}function a(e,t){return r.call(e)===`[object ${t}]`}function o(e){return a(e,"ErrorEvent")}function s(e){return a(e,"DOMError")}function l(e){return a(e,"DOMException")}function u(e){return a(e,"String")}function c(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function d(e){return a(e,"Object")}function p(e){return"undefined"!=typeof Event&&v(e,Event)}function f(e){return"undefined"!=typeof Element&&v(e,Element)}function h(e){return a(e,"RegExp")}function m(e){return!!(e&&e.then&&"function"==typeof e.then)}function g(e){return d(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function y(e){return"number"==typeof e&&e!=e}function v(e,t){try{return e instanceof t}catch(e){return!1}}},48670:e=>{var t=["Shift","Meta","Alt","Control"],n="object"==typeof navigator&&/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"Meta":"Control";e.exports=function(e,r,i){void 0===i&&(i={});var a,o,s=null!=(a=i.timeout)?a:1e3,l=null!=(o=i.event)?o:"keydown",u=Object.keys(r).map(function(e){return[e.trim().split(" ").map(function(e){var t=e.split(/\b\+/),r=t.pop();return[t=t.map(function(e){return"$mod"===e?n:e}),r]}),r[e]]}),c=new Map,d=null,p=function(e){e instanceof KeyboardEvent&&(u.forEach(function(n){var r,i=n[0],a=n[1],o=c.get(i)||i;(r=o[0])[1].toUpperCase()!==e.key.toUpperCase()&&r[1]!==e.code||r[0].find(function(t){return!e.getModifierState(t)})||t.find(function(t){return!r[0].includes(t)&&r[1]!==t&&e.getModifierState(t)})?e.getModifierState(e.key)||c.delete(i):o.length>1?c.set(i,o.slice(1)):(c.delete(i),a(e))}),d&&clearTimeout(d),d=setTimeout(c.clear.bind(c),s))};return e.addEventListener(l,p),function(){e.removeEventListener(l,p)}}},48673:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSomAdScheduler=t.getAdSourceApiBaseUrl=void 0;let r=n(41701),i=n(72678),a=n(45265),o=n(47286),s=n(39549),l=n(26774),u=n(75028),c="https://hybrid-prd.ad-prd.s.joyn.de/playout/v1/sources";t.getAdSourceApiBaseUrl=e=>e.getFeatureValue("enable-ad-source-api-v2").match({Just:e=>e?"https://source-router.abs-prd.s.joyn.de/playout/v1/sources":c,Nothing:()=>c}),t.createSomAdScheduler=(e,n)=>{var c;let{toggleRouter:d}=e,{adMediaSourceApiBaseUrl:p=(0,t.getAdSourceApiBaseUrl)(d),allowedSourceStreamingFormats:f,joynDistributionTenant:h,fallbackToSourceAssetOnFailure:m=!1,logLevel:g}=n,y=(0,i.createLogger)(["player","advertisement","adschedulersom"]);g&&y.setLevel(g);let v=(0,a.createAdMediaFilesFetcher)(e,{adMediaSourceApiBaseUrl:p,allowedSourceStreamingFormats:f,fallbackToSourceAssetOnFailure:m,joynDistributionTenant:h}),b=(0,u.createStore)(),_=null!=(c=n.somqueryBaseUrl)?c:"https://joyn.somquery.sqrt-5041.de/v4";return(0,s.createSomAdSchedulerApi)(Object.assign({createAdScheduleWithNextMidrollEntry:o.createAdScheduleWithNextMidrollEntry,createDynamicAdScheduleEntry:o.createDynamicAdScheduleEntry,createSomqueryUrl:l.createSomqueryUrl,createUuid:r.v4,fetchAdMediaFiles:v,fetchAndCreateDynamicAdScheduleEntry:o.fetchAndCreateDynamicAdScheduleEntry,logger:y,random:Math.random,store:b},e),Object.assign(Object.assign({},n),{somqueryBaseUrl:_}))}},48886:(e,t)=>{"use strict";function n(e,t){return e<<t|e>>>32-t}
407Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){let t=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6],r=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0];if("string"==typeof e){let t=unescape(encodeURIComponent(e));e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);let i=Math.ceil((e.length/4+2)/16),a=Array(i);for(let t=0;t<i;++t){let n=new Uint32Array(16);for(let r=0;r<16;++r)n[r]=e[64*t+4*r]<<24|e[64*t+4*r+1]<<16|e[64*t+4*r+2]<<8|e[64*t+4*r+3];a[t]=n}a[i-1][14]=(e.length-1)*8/0x100000000,a[i-1][14]=Math.floor(a[i-1][14]),a[i-1][15]=(e.length-1)*8|0;for(let e=0;e<i;++e){let i=new Uint32Array(80);for(let t=0;t<16;++t)i[t]=a[e][t];for(let e=16;e<80;++e)i[e]=n(i[e-3]^i[e-8]^i[e-14]^i[e-16],1);let o=r[0],s=r[1],l=r[2],u=r[3],c=r[4];for(let e=0;e<80;++e){let r=Math.floor(e/20),a=n(o,5)+function(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}(r,s,l,u)+c+t[r]+i[e]>>>0;c=u,u=l,l=n(s,30)>>>0,s=o,o=a}r[0]=r[0]+o>>>0,r[1]=r[1]+s>>>0,r[2]=r[2]+l>>>0,r[3]=r[3]+u>>>0,r[4]=r[4]+c>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}},49061:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.absoluteStyles=void 0,t.absoluteStyles=(0,n(30589).css)({bottom:0,left:0,position:"absolute",right:0,top:0})},49079:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JumpToBeginning=void 0;let r=n(80263),i=n(83947);t.JumpToBeginning=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M5.2,9c1.8-3.1,5.1-5,8.6-5c5.5,0,10,4.5,10,10s-4.5,10-10,10c-3.5,0-6.9-1.9-8.6-5c-0.3-0.5-0.1-1.1,0.4-1.4\nC6,17.4,6.7,17.5,6.9,18c1.4,2.5,4.1,4,6.9,4c4.4,0,8-3.6,8-8s-3.6-8-8-8c-2.7,0-5.3,1.4-6.8,3.7l1.2,0.4c0.3,0.1,0.4,0.5,0.1,0.7\nl-3.3,2.4c-0.3,0.2-0.6,0-0.7-0.3l-1-3.9C3.4,8.8,3.7,8.5,4.1,8.6L5.2,9C5.2,9,5.2,9,5.2,9C5.2,9,5.2,9,5.2,9z M17.2,14.5l-4.4,3\nc-0.4,0.2-0.8,0-0.8-0.5v-6c0-0.5,0.5-0.7,0.8-0.5l4.4,3C17.6,13.8,17.6,14.3,17.2,14.5z"})}))},49315:e=>{"use strict";let t=async e=>{try{let t=await e;return{isFulfilled:!0,isRejected:!1,value:t}}catch(e){return{isFulfilled:!1,isRejected:!0,reason:e}}};e.exports=t,e.exports.default=t},49424:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WrapperLimitError=void 0;let r=n(50454),i=n(56859);class a extends i.VastError{constructor(e,t,n,i="ad_wrapper_limit_reached"){super(e,t,n,r.iabVastErrorCode.VAST_WRAPPER_LIMIT_ERROR,i),this.message=e,this.corruptVast=t,this.vastString=n,this.type=i}}t.WrapperLimitError=a},49567:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLazyInitializationTrackerFactory=void 0;let r=n(70015);t.createLazyInitializationTrackerFactory=function(e){let{invoker:t,errorReporter:n}=e;return function(e){let i,{initializeLazy:a,track:o}=e,s=!1,l=[];return a().then(e=>r.__awaiter(this,void 0,void 0,function*(){s=!0,i=e,l.forEach(([e,n])=>{t.fireAndForget(o,[e,n,i])})})).catch(e=>{n.sendNonUserImpactingError(e)}),(e,t)=>r.__awaiter(this,void 0,void 0,function*(){s?yield o(e,t,i):l.push([e,t])})}}},49660:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWhyThisAdIcon=void 0;let r=n(47561),i=n(92712),a=i.z.object({altText:i.z.string().optional(),height:i.z.string(),sourceUrl:i.z.string(),width:i.z.string()}).strict(),o=i.z.object({altText:i.z.string().optional(),clickThroughUrl:i.z.string(),height:i.z.string(),iconClickFallbackImage:a.optional(),sourceUrl:i.z.string(),width:i.z.string(),xPosition:i.z.string(),yPosition:i.z.string()}).strict(),s=({iconclickfallbackimages:e})=>{var t;return r.Maybe.of(null==(t=null==e?void 0:e.iconclickfallbackimage)?void 0:t[0])};t.getWhyThisAdIcon=e=>{let{icons:t=[],iconExtensions:n=[]}=e,i=t.find(({$program:e})=>"GoogleWhyThisAd"===e);return r.Maybe.of(i).toOkOrErr(Error("GoogleWhyThisAd icon not found")).andThen(({iconclicks:e,staticresource:t,$alttext:i,$height:a,$width:l,$xposition:u,$yposition:c})=>{var d,p;let f=(e=>
407{let{iconClicks:t,iconExtensions:n}=e,i=r.Maybe.of(t).andThen(s),a=r.Maybe.of(n.find(({$type:e})=>"IconClickFallbackImages"===e)).andThen(s);return i.or(a).map(({$height:e,$width:t,alttext:n,staticresource:r})=>{var i;return{iconClickFallbackImage:{altText:null==n?void 0:n.value,height:e,sourceUrl:null==(i=null==r?void 0:r[0])?void 0:i.value,width:t}}})})({iconClicks:e,iconExtensions:n}),h=o.safeParse(Object.assign({altText:i,clickThroughUrl:null==(d=null==e?void 0:e.iconclickthrough)?void 0:d.value,height:a,sourceUrl:null==(p=null==t?void 0:t[0])?void 0:p.value,width:l,xPosition:u,yPosition:c},f.unwrapOr({})));return h.success?r.Result.ok(h.data):r.Result.err(h.error)})}},49712:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScreenSize=void 0;let n={mini:270,small:600,tiny:450};t.getScreenSize=function(e){return e<n.mini?"mini":e<n.tiny?"tiny":e<n.small?"small":"medium"}},50104:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createHandlers=void 0;let r=n(70015),i=n(47561),a=n(22851),o=n(83836),s=n(14397),l=n(2961),u=["airPlayAvailableStateChanged","appBackgrounded","appForegrounded","audioTracksUpdated","fullscreenEntered","fullscreenExited","pictureInPictureAvailableStateChanged","seeked","subtitleCuesChanged","subtitleSelected","subtitlesUpdated"];t.createHandlers=({viewabilityObserver:e,store:t,actions:n,emitExternal:c})=>{let d={},p=Object.keys(n).reduce((e,t)=>{let i=function(e){return(...t)=>r.__awaiter(this,void 0,void 0,function*(){yield new Promise(n=>{n(e(...t))}).catch(l.logger.warn)})}(n[t]);return Object.assign(Object.assign({},e),{[t]:i})},{});return a.platformPlayerEvents.forEach(e=>{d[e]=n=>{t.isInLinearAdMode()||c(e,n)}}),o.adPlaybackEvents.forEach(e=>{d[e]=t=>{c(e,t)}}),s.internalEvents.forEach(e=>{d[e]=()=>{l.logger.warn(`Unhandled internal event ${e}`)}}),u.forEach(e=>{d[e]=(...t)=>{c(e,...t)}}),Object.assign(d,{adError(t){null==e||e.unobserve(),p.handleAdError(t)},adNonLinearAdStopped(e){c("adNonLinearAdStopped",e),p.startNextAdWithinRoll()},adPaused(e){t.setState({currentAdIsPaused:!0}),c("adPaused",e)},adPlaying(e){t.setState({currentAdIsPaused:!1}),c("adPlaying",e)},adPositionChange(e){c("adPositionChange",e);let{position:t}=e;p.fetchNextAdForAdPosition(t),p.prefetchContent(t)},adScheduleUpdated(e){let{adSchedule:n}=e;if(t.getState().adSchedule!==n)return void l.logger.warn("Ignoring `adScheduleUpdated` from old adSchedule instance");p.emitAdRollMarkersUpdate()},adSchedulerCallErrorOnGet(){p.checkAdBlockPreventionAvailability()},adSchedulerTimedOut(){c("adSchedulerTimedOut")},adSkipped(){null==e||e.unobserve(),c("adSkipped"),p.handleAdSkipped()},adStarted(n){let r=!1;null==e||e.observe(({ratio:e,isVisible:n})=>{let{currentAdIsPaused:i}=t.getState();!(e<.75)&&n||i?r&&(p.play({origin:"api"}),r=!1):(p.pause(),r=!0)}),c("adStarted",n)},adStopped(t){null==e||e.unobserve(),c("adStopped",t),p.handleAdStopped()},adVideoComplete(){null==e||e.unobserve(),c("adVideoComplete"),p.handleAdVideoComplete()},airPlayEntered(e){t.setState({isInAirplayMode:!0}),c("airPlayEntered",e)},airPlayExited(e){t.setState({isInAirplayMode:!1}),c("airPlayExited",e)},audioTrackSelected(e){c("audioTrackSelected",e),t.isInLinearAdMode()||p.handleAudioTrackSelected(e)},durationUpdate(e){t.isInLinearAdMode()||(p.updateContentDuration(),c("durationUpdate",e),p.emitAdRollMarkersUpdate())},error(e){p.handlePlaybackError(e)},pictureInPictureEntered(e){t.setState({isInPictureInPictureMode:!0}),c("pictureInPictureEntered",e)},pictureInPictureExited(e){t.setState({isInPictureInPictureMode:!1}),c("pictureInPictureExited",e)},play(e){!t.isInLinearAdMode()&&(c("play",e),t.getState().initialPlayHandled||(t.setState({initialPlayHandled:!0}),p.startAdRoll({adMode:i.Maybe.just("linear"),timeOffset:"start"})))},playbackFinished(){t.isInLinearAdMode()||p.startAdRoll({adMode:i.Maybe.just("linear"),timeOffset:"end"})},positionChange(e){if(t.isInLinearAdMode())return;p.updateContentPosition(),c("positionChange",e);let{contentPositionInSeconds:n,contentPositionAsUts:r}=t.getState();null!==n&&null!==r&&(p.fetchAdRollForPosition(n,r),p.startMidrollForPosition(n,r))},ready(e){c("ready",Object.assign(Object.assign({},e),{isAdBlockerEnabled:t.getState().adBlockPreventionIsActive}))},seekTo(e){t.isInLinearAdMode()||t.isInteractiveContent()||(c("seekTo",e),p.updateAdScheduleWithSeek())},sourceLoad(){p.handleSourceLoad()},stallEnded(){t.setState({playbackIsStalling:!1}),t.isInLinearAdMode()||p.updateStalling()},stallStarted(){t.setState({playbackIsStalling:!0}),t.isInLinearAdMode()||p.updateStalling()},videoQualityChanged(e){t.isInLinearAdMode()||(p.handleVideoQualityChanged(),c("videoQualityChanged",e))}}),d}},50160:(e,t)=>{"use strict";
407Object.defineProperty(t,"__esModule",{value:!0}),t.SetNicknameError=t.SeriesSubtype=t.SearchableItem=t.ProductType=t.PlaylistItemType=t.PlaybackQualityLevel=t.PeriodUnit=t.PageType=t.OrderPreviewErrors=t.OrderByArgs=t.NavigationId=t.MultiLanguageFieldType=t.Marking=t.MarkerType=t.LivestreamType=t.LiveStreamOrderByArgs=t.LiveStreamMarking=t.LiveStreamGroupFilter=t.LiveStreamGroup=t.LiveStreamFilter=t.LicenseType=t.LicenseFilter=t.LanguageCode=t.InteractivityItemMarking=t.ImageType=t.Focus=t.FeatureType=t.ExtraType=t.EpgGridNavigationRange=t.EntitlementInfoContentType=t.DurationUnits=t.Depth=t.CustomerState=t.Currency=t.CountryCode=t.ContentFilterCategory=t.CompletedCustomerProfile=t.ClipType=t.CheckCouponErrors=t.ChannelPageSeoType=t.BroadcasterType=t.BrandVisibilityFilter=t.BrandMarking=t.BookmarkedBrandSortOrder=t.BlockVariations=t.AudioFormatType=t.AssetsOrderByArgs=t.AgeRatingType=t.AgeRatingSystem=t.AccentColorType=void 0,t.WebOrderNewCustomerErrors=t.WebOrderExistingCustomerErrors=t.WebOrderErrors=t.WatchNextLabelType=t.VideoType=t.VideoQuality=t.VideoFormatType=t.VerifySubscriptionProviders=t.SubscriptionType=t.SubscriptionStoreEnum=t.SubscriptionStateValue=t.SubscriptionServiceVersion=t.SubscriptionProduct=t.SubscriptionPlatform=t.SubscriptionAppEnum=t.SortArgs=void 0,function(e){e.DarkVibrant="DARK_VIBRANT",e.Vibrant="VIBRANT"}(t.AccentColorType||(t.AccentColorType={})),function(e){e.Fsf="FSF",e.Fsk="FSK"}(t.AgeRatingSystem||(t.AgeRatingSystem={})),function(e){e.Fsf0="FSF0",e.Fsf6="FSF6",e.Fsf12="FSF12",e.Fsf16="FSF16",e.Fsf18="FSF18",e.Fsk0="FSK0",e.Fsk6="FSK6",e.Fsk12="FSK12",e.Fsk16="FSK16",e.Fsk18="FSK18",e.Fskkjf="FSKKJF",e.Fskne="FSKNE",e.I0="I0",e.I6="I6",e.I12="I12",e.I16="I16",e.I18="I18",e.Jmk0="JMK0",e.Jmk6="JMK6",e.Jmk8="JMK8",e.Jmk10="JMK10",e.Jmk12="JMK12",e.Jmk14="JMK14",e.Jmk16="JMK16",e.Jmk18="JMK18",e.Juschg14="JUSCHG14"}(t.AgeRatingType||(t.AgeRatingType={})),(t.AssetsOrderByArgs||(t.AssetsOrderByArgs={})).MostWatched="MOST_WATCHED",function(e){e.Dolby_5_1="DOLBY_5_1",e.DolbyAtmos="DOLBY_ATMOS",e.DolbyStereo="DOLBY_STEREO",e.Stereo="STEREO"}(t.AudioFormatType||(t.AudioFormatType={})),function(e){e.BroadcasterVod="BroadcasterVOD",e.Default="Default",e.GermanysNextTopModel="GermanysNextTopModel",e.Originals="Originals",e.Top10Categories="Top10Categories",e.Top10ShortformLive="Top10ShortformLive"}(t.BlockVariations||(t.BlockVariations={})),function(e){e.Default="DEFAULT",e.Epg="EPG"}(t.BookmarkedBrandSortOrder||(t.BookmarkedBrandSortOrder={})),function(e){e.JoynOriginal="JOYN_ORIGINAL",e.PlusOnly="PLUS_ONLY"}(t.BrandMarking||(t.BrandMarking={})),function(e){e.All="ALL",e.Free="FREE",e.Plus="PLUS"}(t.BrandVisibilityFilter||(t.BrandVisibilityFilter={})),function(e){e.Private="PRIVATE",e.Public="PUBLIC",e.Valuable="VALUABLE"}(t.BroadcasterType||(t.BroadcasterType={})),function(e){e.Live="LIVE",e.Vod="VOD"}(t.ChannelPageSeoType||(t.ChannelPageSeoType={})),function(e){e.AlreadyUsed="ALREADY_USED",e.InternalServerError="INTERNAL_SERVER_ERROR",e.InvalidCode="INVALID_CODE",e.InvalidRequestBody="INVALID_REQUEST_BODY"}(t.CheckCouponErrors||(t.CheckCouponErrors={})),function(e){e.Clip="CLIP",e.Highlights="HIGHLIGHTS",e.Trailer="TRAILER"}(t.ClipType||(t.ClipType={})),function(e){e.Complete="COMPLETE",e.Incomplete="INCOMPLETE",e.NotExisting="NOT_EXISTING"}(t.CompletedCustomerProfile||(t.CompletedCustomerProfile={})),function(e){e.ChannelType="CHANNEL_TYPE",e.ContentType="CONTENT_TYPE",e.Genre="GENRE"}(t.ContentFilterCategory||(t.ContentFilterCategory={})),function(e){e.At="AT",e.Ch="CH",e.De="DE"}(t.CountryCode||(t.CountryCode={})),function(e){e.Chf="CHF",e.Eur="EUR"}(t.Currency||(t.Currency={})),function(e){e.Complete="COMPLETE",e.Incomplete="INCOMPLETE",e.NotExisting="NOT_EXISTING"}(t.CustomerState||(t.CustomerState={})),function(e){e.Children="CHILDREN",e.Self="SELF"}(t.Depth||(t.Depth={})),function(e){e.Day="DAY",e.Month="MONTH",e.Week="WEEK",e.Year="YEAR"}(t.DurationUnits||(t.DurationUnits={})),function(e){e.Live="LIVE",e.Vod="VOD"}(t.EntitlementInfoContentType||(t.EntitlementInfoContentType={})),function(e){e.SixHours="SIX_HOURS",e.ThreeHours="THREE_HOURS"}(t.EpgGridNavigationRange||(t.EpgGridNavigationRange={})),function(e){e.Clip="CLIP",e.Highlights="HIGHLIGHTS",e.Trailer="TRAILER"}(t.ExtraType||(t.ExtraType={})),function(e){e.CantBeClarified="CANT_BE_CLARIFIED",e.CornerBug="CORNER_BUG",e.Exclusive="EXCLUSIVE",e.Infomercial="INFOMERCIAL",e.LotteryPartner="LOTTERY_PARTNER",e.OnlineExclusive="ONLINE_EXCLUSIVE",e.Original="ORIGINAL",e.ProductPlacement="PRODUCT_PLACEMENT"}(t.FeatureType||(t.FeatureType={})),function(e){e.Clips="CLIPS",e.Episodes="EPISODES"}(t.Focus||(t.Focus={}
407)),function(e){e.ArtLogo="ART_LOGO",e.Background="BACKGROUND",e.BrandLogo="BRAND_LOGO",e.HeroLandscape="HERO_LANDSCAPE",e.HeroPortrait="HERO_PORTRAIT",e.HeroVideo="HERO_VIDEO",e.Iconic="ICONIC",e.LiveStill="LIVE_STILL",e.Primary="PRIMARY",e.Thumbnail="THUMBNAIL",e.VideoStill="VIDEO_STILL"}(t.ImageType||(t.ImageType={})),function(e){e.Hd="HD",e.JoynOriginal="JOYN_ORIGINAL",e.Kostenlos="KOSTENLOS",e.Live="LIVE",e.Plus="PLUS",e.Premium="PREMIUM"}(t.InteractivityItemMarking||(t.InteractivityItemMarking={})),function(e){e.De="DE",e.Aar="aar",e.Abk="abk",e.Ace="ace",e.Ach="ach",e.Ada="ada",e.Ady="ady",e.Afa="afa",e.Afh="afh",e.Afr="afr",e.Ain="ain",e.Aka="aka",e.Akk="akk",e.Alb="alb",e.Ale="ale",e.Alg="alg",e.Alt="alt",e.Amh="amh",e.Ang="ang",e.Anp="anp",e.Apa="apa",e.Ara="ara",e.Arc="arc",e.Arg="arg",e.Arm="arm",e.Arn="arn",e.Arp="arp",e.Art="art",e.Arw="arw",e.Asm="asm",e.Ast="ast",e.Ath="ath",e.Aus="aus",e.Ava="ava",e.Ave="ave",e.Awa="awa",e.Aym="aym",e.Aze="aze",e.Bad="bad",e.Bai="bai",e.Bak="bak",e.Bal="bal",e.Bam="bam",e.Ban="ban",e.Baq="baq",e.Bas="bas",e.Bat="bat",e.Bej="bej",e.Bel="bel",e.Bem="bem",e.Ben="ben",e.Ber="ber",e.Bho="bho",e.Bi
407h="bih",e.Bik="bik",e.Bin="bin",e.Bis="bis",e.Bla="bla",e.Bnt="bnt",e.Bod="bod",e.Bos="bos",e.Bra="bra",e.Bre="bre",e.Btk="btk",e.Bua="bua",e.Bug="bug",e.Bul="bul",e.Bur="bur",e.Byn="byn",e.Cad="cad",e.Cai="cai",e.Car="car",e.Cat="cat",e.Cau="cau",e.Ceb="ceb",e.Cel="cel",e.Ces="ces",e.Cha="cha",e.Chb="chb",e.Che="che",e.Chg="chg",e.Chi="chi",e.Chk="chk",e.Chm="chm",e.Chn="chn",e.Cho="cho",e.Chp="chp",e.Chr="chr",e.Chu="chu",e.Chv="chv",e.Chy="chy",e.Cmc="cmc",e.Cnr="cnr",e.Cop="cop",e.Cor="cor",e.Cos="cos",e.Cpe="cpe",e.Cpf="cpf",e.Cpp="cpp",e.Cre="cre",e.Crh="crh",e.Crp="crp",e.Csb="csb",e.Cus="cus",e.Cym="cym",e.Cze="cze",e.Dak="dak",e.Dan="dan",e.Dar="dar",e.Day="day",e.Del="del",e.Den="den",e.Deu="deu",e.Dgr="dgr",e.Din="din",e.Div="div",e.Doi="doi",e.Dra="dra",e.Dsb="dsb",e.Dua="dua",e.Dum="dum",e.Dut="dut",e.Dyu="dyu",e.Dzo="dzo",e.Efi="efi",e.Egy="egy",e.Eka="eka",e.Ell="ell",e.Elx="elx",e.Eng="eng",e.Enm="enm",e.Epo="epo",e.Est="est",e.Eus="eus",e.Ewe="ewe",e.Ewo="ewo",e.Fan="fan",e.Fao="fao",e.Fas="fas",e.Fat="fat",e.Fij="fij",e.Fil="fil",e.Fin="fin",e.Fiu="fiu",e.Fon="fon",e.Fra="fra",e.Fre="fre",e.Frm="frm",e.Fro="fro",e.Frr="frr",e.Frs="frs",e.Fry="fry",e.Ful="ful",e.Fur="fur",e.Gaa="gaa",e.Gay="gay",e.Gba="gba",e.Gem="gem",e.Geo="geo",e.Ger="ger",e.Gez="gez",e.Gil="gil",e.Gla="gla",e.Gle="gle",e.Glg="glg",e.Glv="glv",e.Gmh="gmh",e.Goh="goh",e.Gon="gon",e.Gor="gor",e.Got="got",e.Grb="grb",e.Grc="grc",e.Gre="gre",e.Grn="grn",e.Gsw="gsw",e.Guj="guj",e.Gwi="gwi",e.Hai="hai",e.Hat="hat",e.Hau="hau",e.Haw="haw",e.Heb="heb",e.Her="her",e.Hil="hil",e.Him="him",e.Hin="hin",e.Hit="hit",e.Hmn="hmn",e.Hmo="hmo",e.Hrv="hrv",e.Hsb="hsb",e.Hun="hun",e.Hup="hup",e.Hye="hye",e.Iba="iba",e.Ibo="ibo",e.Ice="ice",e.Ido="ido",e.Iii="iii",e.Ijo="ijo",e.Iku="iku",e.Ile="ile",e.Ilo="ilo",e.Ina="ina",e.Inc="inc",e.Ind="ind",e.Ine="ine",e.Inh="inh",e.Ipk="ipk",e.Ira="ira",e.Iro="iro",e.Isl="isl",e.Ita="ita",e.Jav="jav",e.Jbo="jbo",e.Jpn="jpn",e.Jpr="jpr",e.Jrb="jrb",e.Kaa="kaa",e.Kab="kab",e.Kac="kac",e.Kal="kal",e.Kam="kam",e.Kan="kan",e.Kar="kar",e.Kas="kas",e.Kat="kat",e.Kau="kau",e.Kaw="kaw",e.Kaz="kaz",e.Kbd="kbd",e.Kha="kha",e.Khi="khi",e.Khm="khm",e.Kho="kho",e.Kik="kik",e.Kin="kin",e.Kir="kir",e.Kmb="kmb",e.Kok="kok",e.Kom="kom",e.Kon="kon",e.Kor="kor",e.Kos="kos",e.Kpe="kpe",e.Krc="krc",e.Krl="krl",e.Kro="kro",e.Kru="kru",e.Kua="kua",e.Kum="kum",e.Kur="kur",e.Kut="kut",e.Lad="lad",e.Lah="lah",e.Lam="lam",e.Lao="lao",e.Lat="lat",e.Lav="lav",e.Lez="lez",e.Lim="lim",e.Lin="lin",e.Lit="lit",e.Lol="lol",e.Loz="loz",e.Ltz="ltz",e.Lua="lua",e.Lub="lub",e.Lug="lug",e.Lui="lui",e.Lun="lun",e.Luo="luo",e.Lus="lus",e.Mac="mac",e.Mad="mad",e.Mag="mag",e.Mah="mah",e.Mai="mai",e.Mak="mak",e.Mal="mal",e.Man="man",e.Mao="mao",e.Map="map",e.Mar="mar",e.Mas="mas",e.May="may",e.Mdf="mdf",e.Mdr="mdr",e.Men="men",e.Mga="mga",e.Mic="mic",e.Min="min",e.Mis="mis",e.Mkd="mkd",e.Mkh="mkh",e.Mlg="mlg",e.Mlt="mlt",e.Mnc="mnc",e.Mni="mni",e.Mno="mno",e.Moh="moh",e.Mon="mon",e.Mos="mos",e.Mri="mri",e.Msa="msa",e.Mul="mul",e.Mun="mun",e.Mus="mus",e.Mwl="mwl",e.Mwr="mwr",e.Mya="mya",e.Myn="myn",e.Myv="myv",e.Nah="nah",e.Nai="nai",e.Nap="nap",e.Nau="nau",e.Nav="nav",e.Nbl="nbl",e.Nde="nde",e.Ndo="ndo",e.Nds="nds",e.Nep="nep",e.New="new",e.Nia="nia",e.Nic="nic",e.Niu="niu",e.Nld="nld",e.Nno="nno",e.Nob="nob",e.Nog="nog",e.Non="non",e.Nor="nor",e.Nqo="nqo",e.Nso="nso",e.Nub="nub",e.Nwc="nwc",e.Nya="nya",e.Nym="nym",e.Nyn="nyn",e.Nyo="nyo",e.Nzi="nzi",e.Oci="oci",e.Oji="oji",e.Ori="ori",e.Orm="orm",e.Osa="osa",e.Oss="oss",e.Ota="ota",e.Oto="oto",e.Paa="paa",e.Pag="pag",e.Pal="pal",e.Pam="pam",e.Pan="pan",e.Pap="pap",e.Pau="pau",e.Peo="peo",e.Per="per",e.Phi="phi",e.Phn="phn",e.Pli="pli",e.Pol="pol",e.Pon="pon",e.Por="por",e.Pra="pra",e.Pro="pro",e.Pus="pus",e.Que="que",e.Raj="raj",e.Rap="rap",e.Rar="rar",e.Roa="roa",e.Roh="roh",e.Rom="rom",e.Ron="ron",e.Rum="rum",e.Run="run",e.Rup="rup",e.Rus="rus",e.Sad="sad",e.Sag="sag",e.Sah="sah",e.Sai="sai",e.Sal="sal",e.Sam="sam",e.San="san",e.Sas="sas",e.Sat="sat",e.Scn="scn",e.Sco="sco",e.Sel="sel",e.Sem="sem",e.Sga="sga",e.Sgn="sgn",e.Shn="shn",e.Sid="sid",e.Sin="sin",e.Sio="sio",e.Sit="sit",e.Sla="sla",e.Slk="slk",e.Slo="slo",e.Slv="slv",e.Sma="sma",e.Sme="sme",e.Smi="smi",e.Smj="smj",e.Smn="smn",e.Smo="smo",e.Sms="sms",e.Sna="sna",e.Snd="snd",e.Snk="snk",e.Sog="sog",e.Som="som",e.Son="son",e.Sot="sot",e.Spa="spa",e.Sqi="sqi",e.Srd="srd",e.Srn="srn",e.Srp="srp",e.Srr="srr",e.Ssa="ssa",e.Ssw="ssw",e.Suk="suk",e.Sun="sun",e.Sus="sus",e.Sux="sux",e.Swa="swa",e.Swe="swe",e.Syc="syc",e.Syr="syr",e.Tah="tah",e.Tai="tai",e.Tam="tam",e.Tat="tat",e.Tel="tel",e.Tem="tem",e.Ter="ter",e.Tet="tet",e.Tgk="tgk",e.Tgl="tgl",e.Tha="tha",e.Tib="tib",e.Tig="tig",e.Tir="tir",e.Tiv="tiv",e.Tkl="tkl",e.Tlh="tlh",e.Tli="tli",e.Tmh="tmh",e.Tog="tog",e.Ton="ton",e.Tpi="tpi",e.Tsi="tsi",e.Tsn="tsn",e.Tso="tso",e.Tuk="tuk",e.Tum="tum",e.Tup="tup",e.Tur="tur",e.Tut="tut",e.Tvl="tvl",e.Twi="twi",e.Tyv="tyv",e.Udm="udm",e.Uga="uga",e.Uig="uig",e.Ukr="ukr",e.Umb="umb",e.Und="und",e.Urd="urd",e.Uzb="uzb",e.Vai="vai",e.Ven="ven",e.Vie="vie",e.Vol="vol",e.Vot="vot",e.Wak="wak",e.Wal
407="wal",e.War="war",e.Was="was",e.Wel="wel",e.Wen="wen",e.Wln="wln",e.Wol="wol",e.Xal="xal",e.Xho="xho",e.Yao="yao",e.Yap="yap",e.Yid="yid",e.Yor="yor",e.Ypk="ypk",e.Zap="zap",e.Zbl="zbl",e.Zen="zen",e.Zgh="zgh",e.Zha="zha",e.Zho="zho",e.Znd="znd",e.Zul="zul",e.Zun="zun",e.Zxx="zxx",e.Zza="zza"}(t.LanguageCode||(t.LanguageCode={})),function(e){e.All="ALL",e.AvodOnly="AVOD_ONLY",e.Free="FREE",e.Svod="SVOD",e.SvodOnly="SVOD_ONLY"}(t.LicenseFilter||(t.LicenseFilter={})),function(e){e.Avod="AVOD",e.Fvod="FVOD",e.Rvod="RVOD",e.Svod="SVOD"}(t.LicenseType||(t.LicenseType={})),function(e){e.All="ALL",e.EventOnly="EVENT_ONLY",e.LinearOnly="LINEAR_ONLY",e.OnDemandOnly="ON_DEMAND_ONLY"}(t.LiveStreamFilter||(t.LiveStreamFilter={})),function(e){e.PublicValue="PUBLIC_VALUE",e.Sports="SPORTS"}(t.LiveStreamGroup||(t.LiveStreamGroup={})),function(e){e.Default="DEFAULT",e.PublicValue="PUBLIC_VALUE",e.Sports="SPORTS"}(t.LiveStreamGroupFilter||(t.LiveStreamGroupFilter={})),function(e){e.Plus="PLUS",e.Premium="PREMIUM"}(t.LiveStreamMarking||(t.LiveStreamMarking={})),function(e){e.MostWatched="MOST_WATCHED",e.SortPosition="SORT_POSITION"}(t.LiveStreamOrderByArgs||(t.LiveStreamOrderByArgs={})),function(e){e.Event="EVENT",e.Linear="LINEAR",e.OnDemand="ON_DEMAND"}(t.LivestreamType||(t.LivestreamType={})),function(e){e.ClosingCredits="CLOSING_CREDITS",e.OpeningCredits="OPENING_CREDITS"}(t.MarkerType||(t.MarkerType={})),function(e){e.Hd="HD",e.JoynOriginal="JOYN_ORIGINAL",e.Plus="PLUS",e.Premium="PREMIUM",e.Preview="PREVIEW",e.WithAds="WITH_ADS"}(t.Marking||(t.Marking={})),function(e){e.Hero="HERO",e.Main="MAIN"}(t.MultiLanguageFieldType||(t.MultiLanguageFieldType={})),function(e){e.Footer="FOOTER",e.Header="HEADER"}(t.NavigationId||(t.NavigationId={})),function(e){e.Number="NUMBER",e.Title="TITLE"}(t.OrderByArgs||(t.OrderByArgs={})),function(e){e.CustomerAlreadySubscribed="CUSTOMER_ALREADY_SUBSCRIBED",e.InternalServerError="INTERNAL_SERVER_ERROR",e.InvalidCouponCode="INVALID_COUPON_CODE",e.InvalidRequestBody="INVALID_REQUEST_BODY",e.UnavailableProduct="UNAVAILABLE_PRODUCT",e.UnknownProduct="UNKNOWN_PRODUCT"}(t.OrderPreviewErrors||(t.OrderPreviewErrors={})),function(e){e.ArticlePage="ArticlePage",e.BrandPage="BrandPage",e.ClipPage="ClipPage",e.CompilationItemPage="CompilationItemPage",e.CompilationPage="CompilationPage",e.EpisodePage="EpisodePage",e.ExtraPage="ExtraPage",e.GenrePage="GenrePage",e.GridPage="GridPage",e.IllyHomePage="IllyHomePage",e.LandingpagePage="LandingpagePage",e.LivePage="LivePage",e.MoviePage="MoviePage",e.PersonalizationSelectionPage="PersonalizationSelectionPage",e.SeriesPage="SeriesPage",e.SportsCompetitionPage="SportsCompetitionPage",e.SportsMatchPage="SportsMatchPage",e.SportsPage="SportsPage",e.WatchAssistantCategoryPage="WatchAssistantCategoryPage",e.WatchAssistantSelectionPage="WatchAssistantSelectionPage"}(t.PageType||(t.PageType={})),function(e){e.Day="DAY",e.Month="MONTH",e.Week="WEEK",e.Year="YEAR"}(t.PeriodUnit||(t.PeriodUnit={})),function(e){e.High="HIGH",e.Low="LOW",e.Mid="MID"}(t.PlaybackQualityLevel||(t.PlaybackQualityLevel={})),function(e){e.Clip="CLIP",e.CompilationItem="COMPILATION_ITEM",e.Episode="EPISODE",e.Extra="EXTRA",e.Match="MATCH",e.Movie="MOVIE"}(t.PlaylistItemType||(t.PlaylistItemType={})),function(e){e.Hd="HD",e.Plus="PLUS",e.Premium="PREMIUM"}(t.ProductType||(t.ProductType={})),function(e){e.Brand="BRAND",e.Compilation="COMPILATION",e.Movie="MOVIE",e.ScheduleEvent="SCHEDULE_EVENT",e.Series="SERIES"}(t.SearchableItem||(t.SearchableItem={})),function(e){e.Series="SERIES",e.Show="SHOW",e.Tvcontent="TVCONTENT"}(t.SeriesSubtype||(t.SeriesSubtype={})),function(e){e.AlreadyTaken="ALREADY_TAKEN",e.ContainsInvalidCharacters="CONTAINS_INVALID_CHARACTERS",e.ProfanityCheckFailed="PROFANITY_CHECK_FAILED",e.TooLong="TOO_LONG",e.TooManyNicknameUpdates="TOO_MANY_NICKNAME_UPDATES",e.TooShort="TOO_SHORT"}(t.SetNicknameError||(t.SetNicknameError={})),function(e){e.Asc="ASC",e.Desc="DESC"}(t.SortArgs||(t.SortArgs={})),function(e){e.Mobile="MOBILE",e.Tv="TV"}(t.SubscriptionAppEnum||(t.SubscriptionAppEnum={}
407)),function(e){e.IapAmazon="IAP_AMAZON",e.IapApple="IAP_APPLE",e.IapGoogle="IAP_GOOGLE",e.IapHuawei="IAP_HUAWEI",e.Web="WEB"}(t.SubscriptionPlatform||(t.SubscriptionPlatform={})),function(e){e.Atplus="atplus",e.Atplusmxd="atplusmxd",e.Dehd="dehd",e.Deplus="deplus",e.Deplusmxd="deplusmxd"}(t.SubscriptionProduct||(t.SubscriptionProduct={})),function(e){e.V1="V1",e.V2="V2"}(t.SubscriptionServiceVersion||(t.SubscriptionServiceVersion={})),function(e){e.Active="ACTIVE",e.Cancelled="CANCELLED",e.Expired="EXPIRED"}(t.SubscriptionStateValue||(t.SubscriptionStateValue={})),function(e){e.IapAmazon="IAP_AMAZON",e.IapApple="IAP_APPLE",e.IapGoogle="IAP_GOOGLE"}(t.SubscriptionStoreEnum||(t.SubscriptionStoreEnum={})),function(e){e.Hd="HD",e.Plus="PLUS",e.Premium="PREMIUM"}(t.SubscriptionType||(t.SubscriptionType={})),function(e){e.IapAmazon="IAP_AMAZON",e.IapApple="IAP_APPLE",e.IapGoogle="IAP_GOOGLE",e.IapHuawei="IAP_HUAWEI",e.Partner="PARTNER"}(t.VerifySubscriptionProviders||(t.VerifySubscriptionProviders={})),function(e){e.Avc="AVC",e.Hevc="HEVC"}(t.VideoFormatType||(t.VideoFormatType={})),function(e){e.Hd="HD",e.Sd="SD",e.Uhd="UHD"}(t.VideoQuality||(t.VideoQuality={})),function(e){e.BonusMaterial="BONUS_MATERIAL",e.Clip="CLIP",e.DeletedScenes="DELETED_SCENES",e.Featurette="FEATURETTE",e.FullEpisode="FULL_EPISODE",e.Highlights="HIGHLIGHTS",e.MainVideo="MAIN_VIDEO",e.Preview="PREVIEW",e.Trailer="TRAILER"}(t.VideoType||(t.VideoType={})),function(e){e.Main="MAIN",e.Short="SHORT"}(t.WatchNextLabelType||(t.WatchNextLabelType={})),function(e){e.CouponInvalid="COUPON_INVALID",e.CustomerAlreadySubscribed="CUSTOMER_ALREADY_SUBSCRIBED",e.CustomerCouldNotBeCreated="CUSTOMER_COULD_NOT_BE_CREATED",e.CustomerDoesNotExist="CUSTOMER_DOES_NOT_EXIST",e.CustomerIncomplete="CUSTOMER_INCOMPLETE",e.InternalServerError="INTERNAL_SERVER_ERROR",e.InvalidRequestBody="INVALID_REQUEST_BODY",e.UnavailableProduct="UNAVAILABLE_PRODUCT",e.UnknownProduct="UNKNOWN_PRODUCT"}(t.WebOrderErrors||(t.WebOrderErrors={})),function(e){e.CustomerAlreadySubscribed="CUSTOMER_ALREADY_SUBSCRIBED",e.CustomerDoesNotExist="CUSTOMER_DOES_NOT_EXIST",e.CustomerIncomplete="CUSTOMER_INCOMPLETE",e.InternalServerError="INTERNAL_SERVER_ERROR",e.InvalidRequestBody="INVALID_REQUEST_BODY",e.UnknownProduct="UNKNOWN_PRODUCT"}(t.WebOrderExistingCustomerErrors||(t.WebOrderExistingCustomerErrors={})),function(e){e.CustomerAlreadySubscribed="CUSTOMER_ALREADY_SUBSCRIBED",e.CustomerCouldNotBeCreated="CUSTOMER_COULD_NOT_BE_CREATED",e.InternalServerError="INTERNAL_SERVER_ERROR",e.InvalidRequestBody="INVALID_REQUEST_BODY",e.UnknownProduct="UNKNOWN_PRODUCT"}(t.WebOrderNewCustomerErrors||(t.WebOrderNewCustomerErrors={}))},50229:(e,t,n)=>{var r=n(16421),i=n(60161),a=n(31335),o=n(87671),s=n(37906);e.exports={getPlayhead:function(){var e=this._safeGetterAdapter("getPlayhead");return i.parseNumber(e,0)},getPlayrate:function(){var e=0;if(this._adapter&&this._adapter.flags&&!this._adapter.flags.isPaused)try{e=this._adapter.getPlayrate()}catch(e){r.warn("An error occured while calling getPlayrate",e)}return e},getFramesPerSecond:function(){return this._safeGetterAdapter("getFramesPerSecond","content.fps")},getSegmentDuration:function(){return this.hybridNetwork.getSegmentDuration()||this._safeGetterAdapter("getSegmentDuration","content.segmentDuration")},getDroppedFrames:function(){var e=this._safeGetterAdapter("getDroppedFrames");return e||(e=this.getWebkitDroppedFrames()),i.parseNumber(e,0)},getWebkitDroppedFrames:function(){return this._adapter&&this._adapter.tag&&this._adapter.tag.webkitDroppedFrameCount?this._adapter.tag.webkitDroppedFrameCount:null},getDuration:function(){var e=this._safeGetterAdapter("getDuration","content.duration")||null;return i.parseNumber(Math.round(e),null)},getBitrate:function(){var e=this._safeGetterAdapter("getBitrate","content.bitrate");return e&&-1!==e||(e=this.getWebkitBitrate()),i.parseNumber(e,-1)},getTotalBytes:function(){return this.options["content.sendTotalBytes"]?this._safeGetterAdapter("getTotalBytes","content.totalBytes"):null},getWebkitBitrate:function(){if(this._adapter&&this._adapter.tag&&this._adapter.tag.webkitVideoDecodedByteCount){var e=this._adapter.tag.webkitVideoDecodedByteCount;return this._lastWebkitBitrate&&(e=Math.round((this._adapter.tag.webkitVideoDecodedByteCount-this._lastWebkitBitrate)/this.viewTransform.response.pingTime*8)),this._lastWebkitBitrate=this._adapter.tag.webkitVideoDecodedByteCount,0!==e?e:-1}},getThroughput:function(){var e=this._safeGetterAdapter("getThroughput","content.throughput");return i.parseNumber(e,-1)},getRendition:function(){return this._safeGetterAdapter("getRendition","content.rendition")},getTitle:function(){return this._safeGetterAdapter("getTitle","content.title")},getTitle2:function(){return this._safeGetterAdapter("getTitle2","content.program")},getIsLive:function(){var e=this.options["content.isLive"];return(e=this._convertStringToBoolean(e))||!1===e||(e=this._safeGetterAdapter("getIsLive")||!1),e},getResource:function(){return this._safeGetterAdapter("getResource","content.resource")}
407,getParsedResource:function(){var e=null;return this.resourceTransform.isBlocking()||(e=this.resourceTransform.getResource()),(e=e||this._safeGetterAdapter("getURLToParse"))===this.getResource()?null:e},getTransactionCode:function(){return this.options["content.transactionCode"]},getMetadata:function(){return this.options["content.metadata"]},getPlayerVersion:function(){return this._safeGetterAdapter("getPlayerVersion")||""},getPlayerName:function(){return this._safeGetterAdapter("getPlayerName")||""},getCdn:function(){var e=null;return this.resourceTransform.isBlocking()||(e=this.resourceTransform.getCdnName()),e||this.options["content.cdn"]},getPluginVersion:function(){var e=this.getAdapterVersion();return e||(e=a+"-adapterless-js"),e},getLibVersion:function(){return a},getAdapterVersion:function(){return this._safeGetterAdapter("getVersion")},getCdnTraffic:function(){return this._safeGetterAdapter("getCdnTraffic")||this.hybridNetwork.getCdnTraffic()},getMultiCdnInfo:function(){return this.hybridNetwork.getMultiCdnInfo()},getBalancerResponseId:function(){var e=this.hybridNetwork.getBalancerResponseId();return!e&&this.options["cdnbalancer.uuid"]?this.options["cdnbalancer.uuid"]:e},getP2PTraffic:function(){return this._safeGetterAdapter("getP2PTraffic")||this.hybridNetwork.getP2PTraffic()},getUploadTraffic:function(){return this._safeGetterAdapter("getUploadTraffic")||this.hybridNetwork.getUploadTraffic()},getIsP2PEnabled:function(){return this._safeGetterAdapter("getIsP2PEnabled")||this.hybridNetwork.getIsP2PEnabled()},getStreamingProtocol:function(){var e=this.options["content.streamingProtocol"];if(e){for(var t in s)if(s[t]===e)return e}return null},getTransportFormat:function(){var e=this.options["content.transportFormat"];if(e||!this.options["parse.manifest"]||this.resourceTransform.isBlocking()||(e=this.resourceTransform.getTransportFormat()),e){for(var t in o)if(o[t]===e)return e}return null},getHouseholdId:function(){return this._safeGetterAdapter("getHouseholdId")},getLatency:function(){return this.getIsLive()?this._safeGetterAdapter("getLatency"):null},getPacketLoss:function(){return this._safeGetterAdapter("getPacketLoss")},getPacketSent:function(){return this._safeGetterAdapter("getPacketSent")},getVideoMetrics:function(){return i.getMetricsFrom(this._adapter?this._adapter.getMetrics():null,this.options["content.metrics"])},getPlayerStartupTime:function(){return this.browserLoadTimes.getPlayerStartupTime()},getJoinDuration:function(){return this._adapter?this._adapter.chronos.join.getDeltaTime(!1):-1},getBufferDuration:function(){return this._adapter?this._adapter.chronos.buffer.getDeltaTime(!1):-1},getSeekDuration:function(){return this._adapter?this._adapter.chronos.seek.getDeltaTime(!1):-1},getPauseDuration:function(){return this._adapter?this._adapter.chronos.pause.getDeltaTime(!1):0},getPackage:function(){return this.options["content.package"]},getSaga:function(){return this.options["content.saga"]},getTvShow:function(){return this.options["content.tvShow"]},getSeason:function(){return this.options["content.season"]},getEpisodeTitle:function(){return this.options["content.episodeTitle"]},getChannel:function(){return this.options["content.channel"]},getID:function(){return this.options["content.id"]},getImdbId:function(){return this.options["content.imdbId"]},getGracenoteID:function(){return this.options["content.gracenoteId"]},getType:function(){return this.options["content.type"]},getGenre:function(){return this.options["content.genre"]},getVideoLanguage:function(){return this.options["content.language"]},getSubtitles:function(){return this.options["content.subtitles"]},getContractedResolution:function(){return this.options["content.contractedResolution"]},getCost:function(){return this.options["content.cost"]},getPrice:function(){return this.options["content.price"]},getPlaybackType:function(){var e=this.options["content.playbackType"];if(!e){var t=this.options["content.isLive"];"boolean"!=typeof t&&(t=this._safeGetterAdapter("getIsLive")),"boolean"==typeof t&&(e=t?"Live":"VoD")}return e},getDRM:function(){return this.options["content.drm"]},getVideoCodec:function(){return this._safeGetterAdapter("getVideoCodec","content.encoding.videoCodec")},getAudioCodec:function(){return this._safeGetterAdapter("getAudioCodec","content.encoding.audioCodec")}
407,getCodecSettings:function(){return this.options["content.encoding.codecSettings"]},getCodecProfile:function(){return this.options["content.encoding.codecProfile"]},getContainerFormat:function(){return this.options["content.encoding.containerFormat"]},getLinkedViewId:function(){return this.options.linkedViewId},_safeGetterAdapter:function(e,t){var n=null;if(t&&this.options[t])n=this.options[t];else try{this._adapter&&"function"==typeof this._adapter[e]&&(n=this._adapter[e]())}catch(t){r.warn("An error occured while calling "+e,t)}return n},_convertStringToBoolean:function(e){return"true"===e||"false"!==e&&"string"!=typeof e&&e}}},50425:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPremiumUser=void 0,t.isPremiumUser=e=>e.some(e=>e.endsWith("_PREMIUM")||e.endsWith("_HD"))},50454:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iabVastErrorCode=void 0,t.iabVastErrorCode={VAST_COMPANION_ADS_ERROR:600,VAST_COMPANION_DISPLAY_ERROR:602,VAST_COMPANION_FETCH_ERROR:603,VAST_COMPANION_OUT_OF_BOUNDS_ERROR:601,VAST_CONDITIONAL_REJECTION_ERROR:408,VAST_DURATION_ERROR:202,VAST_INTERACTIVE_CREATIVE_EXECUTION_ERROR:409,VAST_LINEAR_ERROR:400,VAST_LINEARITY_ERROR:201,VAST_MEDIAFILE_NOT_FOUND_ERROR:401,VAST_MEDIAFILE_TIMEOUT_ERROR:402,VAST_MEZZAZINE_DOWNLOADING_ERROR:407,VAST_MEZZAZINE_FILE_INVALID_ERROR:411,VAST_MEZZAZINE_NOT_PROVIDED_ERROR:406,VAST_MISSING_CATEGORY_ERROR:204,VAST_NETWORK_ERROR:301,VAST_NETWORK_ERROR_CONSENT_CUSTOM:3451,VAST_NO_SUPPORTED_COMPANION_EROR:604,VAST_NO_SUPPORTED_MEDIAFILE_ERROR:403,VAST_NO_SUPPORTED_NON_LINEAR_ERROR:503,VAST_NON_LINEAR_ERROR:500,VAST_NON_LINEAR_FETCH_ERROR:502,VAST_NON_LINEAR_OUT_OF_BOUNDS_ERROR:501,VAST_PARSING_ERROR:100,VAST_RESPONSE_EMPTY_BODY:1009,VAST_RESPONSE_ERROR:303,VAST_RESPONSE_SHIMMED:450,VAST_SCHEMA_VALIDATION_ERROR:101,VAST_SIZE_ERROR:203,VAST_TIME_LIMIT_ERROR:304,VAST_TRAFFICKING_ERROR:200,VAST_UNDEFINED_ERROR:900,VAST_UNSUPPORTED_MEDIAFILE_ERROR:405,VAST_UNSUPPORTED_VERSION_ERROR:102,VAST_VERIFICATION_EXECUTION_ERROR:410,VAST_WRAPPER_ERROR:300,VAST_WRAPPER_LIMIT_ERROR:302,VMAP_GENERAL_DOCUMENT_ERROR:1004,VMAP_PARSING_ERROR:1002,VMAP_RESPONSE_DOCUMENT_EXTRACTION_ERROR:1006,VMAP_RETRIEVAL_ERROR_ERROR:1008,VMAP_RETRIEVAL_TIMEOUT_ERROR:1007,VMAP_SCHEMA_ERROR:1e3,VMAP_UNDEFINED_ERROR:900,VMAP_UNSUPPORTED_ADBREAK_TYPE_ERROR:1003,VMAP_UNSUPPORTED_RESPONSE_TEMPLATE_ERROR:1005,VMAP_UNSUPPORTED_VERSION_ERROR:1001}},50563:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVideoElementActivated=void 0;let r=n(70015),i=n(91040);t.isVideoElementActivated=e=>r.__awaiter(void 0,void 0,void 0,function*(){let t=e.muted;e.type="video/mp4",e.removeAttribute("muted"),e.muted=!1,e.src=i.emptyMp4WithAudio;let n=!1;try{let t=e.play();n=(null==t?void 0:t.catch)?yield t.then(()=>!0).catch(()=>!1):!e.paused}catch(t){n=!e.paused}return e.pause(),e.muted=t,n})},50614:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=function(e){return"string"==typeof e?0===e.length:0===e.byteLength}},50694:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createApi=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47561),o=n(50454),s=n(14555),l=n(85237),u=n(41013),c=n(56859),d=n(82504),p=n(49424),f=e=>{var t;let{adIndex:n,adSource:r,vast:a}=e,{resource:o={vast:a}}=r;return Object.assign(Object.assign({},r),{resource:{vast:Object.assign({},!i.default.nullOrUndefined(o.vast)&&Object.assign(Object.assign({},o.vast),i.default.nonEmptyArray(o.vast.ad)&&{ad:[...o.vast.ad.slice(0,n),Object.assign(Object.assign({},o.vast.ad[n]),{wrapper:Object.assign(Object.assign({},null==(t=o.vast.ad[n])?void 0:t.wrapper),{vast:a})}),...o.vast.ad.slice(n+1)]}))}})};t.createApi=function({encodeUriComponent:e,performFetch:t,parseAndValidateVast:n,validateVastJson:h=u.validateVastJson}){let m=({adItem:e,adIndex:t,adErrorPath:n,lastResult:a,macroValues:o,wrapperCount:s})=>r.__awaiter(this,void 0,void 0,function*(){var r,l,u,d,p,h;let m=n?`${n}.vast.ad[${t}]`:`vast.ad[${t}]`;return(yield v({adErrorPath:m,adIndex:0,lastResult:{rawVast:a.rawVast,resource:null!=(d=null==(u=null==(l=null==(r=a.resource.vast)?void 0:r.ad)?void 0:l[t])?void 0:u.wrapper)?d:{}},macroValues:o,url:null==(h=null==(p=e.wrapper)?void 0:p.vastadtaguri)?void 0:h.value,wrapperCount:s+1})).map(({resource:{vast:e}={}})=>f({adIndex:t,adSource:a,vast:e})).mapErr(e=>
407{if((0,c.isVastError)(e)&&i.default.object(e.corruptVast)){let{message:n,vastString:r,code:i,type:o,url:s,corruptVast:l}=e,u=f({adIndex:t,adSource:a,vast:l.vast});return new c.VastError(n,u.resource,r,i,o,s)}return e})}),g=e=>r.__awaiter(this,void 0,void 0,function*(){try{let n=yield t(e);if(i.default.undefined(n))return a.Result.err(new c.VastError("The VAST response document is empty",{},"",o.iabVastErrorCode.VAST_RESPONSE_EMPTY_BODY));if(i.default.string(n))return a.Result.ok(n);return a.Result.err(new d.VastNetworkError("Network error loading VAST url. Response type is not string",{status:500},e))}catch(t){return a.Result.err(new d.VastNetworkError("Network error loading VAST url.",t,e))}}),y=e=>r.__awaiter(this,void 0,void 0,function*(){let{ad:t,adErrorPath:n,adIndex:o,lastResult:s,wrapperCount:l,macroValues:u}=e,c=a.Result.ok(s);return a.Maybe.of(o).chain(e=>a.Maybe.of(t[e]).map(t=>({adItem:t,index:e}))).match({Just:({adItem:e,index:t})=>r.__awaiter(this,void 0,void 0,function*(){let{wrapper:r}=e;return i.default.undefined(r)?c:m({adErrorPath:n,adIndex:t,adItem:e,lastResult:s,macroValues:u,wrapperCount:l})}),Nothing:()=>r.__awaiter(this,void 0,void 0,function*(){return c})})}),v=({url:t,lastResult:o={rawVast:"",resource:{vast:void 0}},adIndex:u,adErrorPath:c="",macroValues:d,wrapperCount:f=0})=>r.__awaiter(this,void 0,void 0,function*(){let h=Math.max(0,f-1);if(h>6)return a.Result.err(new p.WrapperLimitError(`${c} wrapper limit reached (max: 6, count: ${h})`));let m=(0,s.replaceMacros)(null!=t?t:"",d,e),v=(i.default.nonEmptyString(m)?yield(0,l.resultAsyncChain)(g(m),e=>r.__awaiter(this,void 0,void 0,function*(){return n({adIndex:a.Maybe.of(u).unwrapOr(0),isWithinWrapper:f>1,url:m,xmlString:e})})):a.Result.ok(o)).map(({rawVast:e,resource:t,url:n})=>t.vast?Object.assign(Object.assign({},o),{rawVast:e,resource:{vast:t.vast},url:n}):o);return(0,l.resultAsyncChain)(v,e=>r.__awaiter(this,void 0,void 0,function*(){let{resource:t={}}=e,{vast:{ad:n=[]}={}}=t;return(yield y({ad:n,adErrorPath:c,adIndex:u,lastResult:e,macroValues:d,wrapperCount:f})).mapErr(e=>e instanceof p.WrapperLimitError?new p.WrapperLimitError(e.message,t,e.vastString):e)}))});return{fetchVast:(e,t)=>r.__awaiter(this,void 0,void 0,function*(){return v({macroValues:t,url:e})}),resolveVastJson:(e,t,n)=>r.__awaiter(this,void 0,void 0,function*(){return(0,l.resultAsyncChain)(h({adIndex:t,adSource:e}),e=>r.__awaiter(this,void 0,void 0,function*(){return v({adIndex:t,lastResult:e,macroValues:n})}))})}}},50772:(e,t,n)=>{var r=n(54906),i=n(16421),a=r.extend({exists:function(e){return a.Dictionary.hasOwnProperty(e)},getNewName:function(e){var t=a.Dictionary[e];return i.warn('The option "'+e+'" is deprecated, use "'+t+'" instead'),t}},{Dictionary:{httpSecure:"app.https",username:"user.name",anonymousUser:"user.anonymousId",obfuscateIp:"user.obfuscateIp",userType:"user.type","content.title2":"content.program","background.settings.iphone":"background.settings.iOS","parse.hls":"parse.manifest","parse.dash":"parse.manifest","parse.locationHeader":"parse.manifest","extraparam.1":"content.customDimension.1","extraparam.2":"content.customDimension.2","extraparam.3":"content.customDimension.3","extraparam.4":"content.customDimension.4","extraparam.5":"content.customDimension.5","extraparam.6":"content.customDimension.6","extraparam.7":"content.customDimension.7","extraparam.8":"content.customDimension.8","extraparam.9":"content.customDimension.9","extraparam.10":"content.customDimension.10","extraparam.11":"content.customDimension.11","extraparam.12":"content.customDimension.12","extraparam.13":"content.customDimension.13","extraparam.14":"content.customDimension.14","extraparam.15":"content.customDimension.15","extraparam.16":"content.customDimension.16","extraparam.17":"content.customDimension.17","extraparam.18":"content.customDimension.18","extraparam.19":"content.customDimension.19","extraparam.20":"content.customDimension.20","ad.extraparam.1":"ad.customDimension.1","ad.extraparam.2":"ad.customDimension.2","ad.extraparam.3":"ad.customDimension.3","ad.extraparam.4":"ad.customDimension.4","ad.extraparam.5":"ad.customDimension.5","ad.extraparam.6":"ad.customDimension.6","ad.extraparam.7":"ad.customDimension.7","ad.extraparam.8":"ad.customDimension.8","ad.extraparam.9":"ad.customDimension.9","ad.extraparam.10":"ad.customDimension.10"}});e.exports=a},51130:(e,t,n)=>{"use strict";
407Object.defineProperty(t,"__esModule",{value:!0}),t.EXTRA_GRAPHQL_QUERY_DOCUMENT=void 0;let r=n(42049);t.EXTRA_GRAPHQL_QUERY_DOCUMENT=(0,r.gql)` 408 query Extra($id: ID!) { 409 extra(id: $id) { 410 __typename 411 ageRating { 412 descriptorsText 413 minAge 414 } 415 brands { 416 logo { 417 url(profile: "nextgen-web-artlogo-183x75") 418 } 419 title 420 } 421 id 422 title 423 tracking { 424 agofCode 425 externalAssetId 426 genres 427 } 428 video { 429 id 430 } 431 parent { 432 ... on Episode { 433 artLogoImage: image(type: ART_LOGO) { 434 url(profile: "nextgen-web-artlogo-183x75") 435 } 436 heroLandscapeImage: image(type: HERO_LANDSCAPE) { 437 vibrantColor: accentColor(type: DARK_VIBRANT) 438 } 439 path 440 posterImage: image(type: PRIMARY) { 441 url(profile: "nextgen-web-primarycut-1920x1080") 442 } 443 __typename 444 series { 445 __typename 446 genres { 447 __typename 448 name 449 } 450 id 451 title 452 } 453 } 454 ... on Season { 455 __typename 456 series { 457 __typename 458 genres { 459 __typename 460 name 461 } 462 id 463 title 464 } 465 } 466 ... on Compilation { 467 artLogoImage: image(type: ART_LOGO) { 468 url(profile: "nextgen-web-artlogo-183x75") 469 } 470 heroLandscapeImage: image(type: HERO_LANDSCAPE) { 471 vibrantColor: accentColor(type: DARK_VIBRANT) 472 } 473 path 474 posterImage: image(type: PRIMARY) { 475 url(profile: "nextgen-web-primarycut-1920x1080") 476 } 477 __typename 478 title 479 } 480 ... on Movie { 481 artLogoImage: image(type: ART_LOGO) { 482 url(profile: "nextgen-web-artlogo-183x75") 483 } 484 heroLandscapeImage: image(type: HERO_LANDSCAPE) { 485 vibrantColor: accentColor(type: DARK_VIBRANT) 486 } 487 path 488 posterImage: image(type: PRIMARY) { 489 url(profile: "nextgen-web-primarycut-1920x1080") 490 } 491 __typename 492 genres { 493 __typename 494 name 495 } 496 title 497 } 498 ... on Series { 499 artLogoImage: image(type: ART_LOGO) { 500 url(profile: "nextgen-web-artlogo-183x75") 501 } 502 heroLandscapeImage: image(type: HERO_LANDSCAPE) { 503 vibrantColor: accentColor(type: DARK_VIBRANT) 504 } 505 path 506 posterImage: image(type: PRIMARY) { 507 url(profile: "nextgen-web-primarycut-1920x1080") 508 } 509 __typename 510 genres { 511 __typename 512 name 513 } 514 title 515 } 516 ... on SportsMatch { 517 artLogoImage: image(type: ART_LOGO) { 518 url(profile: "nextgen-web-artlogo-183x75") 519 } 520 heroLandscapeImage: image(type: HERO_LANDSCAPE) { 521 vibrantColor: accentColor(type: DARK_VIBRANT) 522 } 523 path 524 posterImage: image(type: PRIMARY) { 525 url(profile: "nextgen-web-primarycut-1920x1080") 526 } 527 __typename 528 title 529 } 530 ... on SportsStage { 531 __typename 532 title 533 } 534 ... on SportsCompetition { 535 __typename 536 title 537 } 538 } 539 } 540 } 541`}
vendor: 5,338 bytes, line 541
541,51364:(e,t,n)=>{"use strict";n.d(t,{A:()=>z});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t));var t,n=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(n);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else n.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},e}(),i=Math.abs,a=String.fromCharCode,o=Object.assign;function s(e,t,n){return e.replace(t,n)}function l(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function c(e,t,n){return e.slice(t,n)}function d(e){return e.length}function p(e,t){return t.push(e),e}var f=1,h=1,m=0,g=0,y=0,v="";function b(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:f,column:h,length:o,return:""}}function _(e,t){return o(b("",null,null,"",null,null,0),e,{length:-e.length},t)}function S(){return y=g<m?u(v,g++):0,h++,10===y&&(h=1,f++),y}function E(){return u(v,g)}function k(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function A(e){return f=h=1,m=d(v=e),g=0,[]}function T(e){var t,n;return(t=g-1,n=function e(t){for(;S();)switch(y){case t:return g;case 34:case 39:34!==t&&39!==t&&e(y);break;case 40:41===t&&e(t);break;case 92:S()}return g}(91===e?e+2:40===e?e+1:e),c(v,t,n)).trim()}var x="-ms-",w="-moz-",C="-webkit-",I="comm",O="rule",R="decl",P="@keyframes";function N(e,t){for(var n="",r=e.length,i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function L(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case R:return e.return=e.return||e.value;case I:return"";case P:return e.return=e.value+"{"+N(e.children,r)+"}";case O:e.value=e.props.join(",")}return d(n=N(e.children,r))?e.return=e.value+"{"+n+"}":""}function j(e,t,n,r,a,o,l,u,d,p,f){for(var h=a-1,m=0===a?o:[""],g=m.length,y=0,v=0,_=0;y<r;++y)for(var S=0,E=c(e,h+1,h=i(v=l[y])),k=e;S<g;++S)(k=(v>0?m[S]+" "+E:s(E,/&\f/g,m[S])).trim())&&(d[_++]=k);return b(e,t,n,0===a?O:u,d,p,f)}function M(e,t,n,r){return b(e,t,n,R,c(e,0,r),c(e,r+1,-1),r)}var D=function(e,t,n){for(var r=0,i=0;r=i,i=E(),38===r&&12===i&&(t[n]=1),!k(i);)S();return c(v,e,g)},F=function(e,t){var n=-1,r=44;do switch(k(r)){case 0:38===r&&12===E()&&(t[n]=1),e[n]+=D(g-1,t,n);break;case 2:e[n]+=T(r);break;case 4:if(44===r){e[++n]=58===E()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=a(r)}while(r=S());return e},U=function(e,t){var n;return n=F(A(e),t),v="",n},V=new WeakMap,B=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||V.get(n))&&!r){V.set(e,!0);for(var i=[],a=U(t,i),o=n.props,s=0,l=0;s<a.length;s++)for(var u=0;u<o.length;u++,l++)e.props[l]=i[s]?a[s].replace(/&\f/g,o[u]):o[u]+" "+a[s]}}},G=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},Y=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case R:e.return=function e(t,n){switch(45^u(t,0)?(((n<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return C+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return C+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return C+t+w+t+x+t+t;case 6828:case 4268:return C+t+x+t+t;case 6165:return C+t+x+"flex-"+t+t;case 5187:return C+t+s(t,/(\w+).+(:[^]+)/,C+"box-$1$2"+x+"flex-$1$2")+t;case 5443:return C+t+x+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return C+t+x+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return C+t+x+s(t,"shrink","negative")+t;case 5292:return C+t+x+s(t,"basis","preferred-size")+t;case 6060:return C+"box-"+s(t,"-grow","")+C+t+x+s(t,"grow","positive")+t;case 4554:return C+s(t,/([^-])(transform)/g,"$1"+C+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,C+"$1"),/(image-set)/,C+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,C+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,C+"box-pack:$3"+x+"flex-
541pack:$3"),/s.+-b[^;]+/,"justify")+C+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,C+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(d(t)-1-n>6)switch(u(t,n+1)){case 109:if(45!==u(t,n+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+C+"$2-$3$1"+w+(108==u(t,n+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?e(s(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==u(t,n+1))break;case 6444:switch(u(t,d(t)-3-(~l(t,"!important")&&10))){case 107:return s(t,":",":"+C)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+C+(45===u(t,14)?"inline-":"")+"box$3$1"+C+"$2$3$1"+x+"$2box$3")+t}break;case 5936:switch(u(t,n+11)){case 114:return C+t+x+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return C+t+x+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return C+t+x+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return C+t+x+t+t}return t}(e.value,e.length);break;case P:return N([_(e,{value:s(e.value,"@","@"+C)})],r);case O:if(e.length){var i,a;return i=e.props,a=function(t){var n;switch(n=t,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return N([_(e,{props:[s(t,/:(read-\w+)/,":"+w+"$1")]})],r);case"::placeholder":return N([_(e,{props:[s(t,/:(plac\w+)/,":"+C+"input-$1")]}),_(e,{props:[s(t,/:(plac\w+)/,":"+w+"$1")]}),_(e,{props:[s(t,/:(plac\w+)/,x+"input-$1")]})],r)}return""},i.map(a).join("")}}}],z=function(e){var t,n,i,o,m,_=e.key;if("css"===_){var x=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(x,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var w=e.stylisPlugins||Y,C={},O=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+_+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)C[t[n]]=!0;O.push(e)});var R=(n=(t=[B,G].concat(w,[L,(i=function(e){m.insert(e)},function(e){!e.root&&(e=e.return)&&i(e)})])).length,function(e,r,i,a){for(var o="",s=0;s<n;s++)o+=t[s](e,r,i,a)||"";return o}),P=function(e){var t,n;return N((n=function e(t,n,r,i,o,m,_,A,x){for(var w,C=0,O=0,R=_,P=0,N=0,L=0,D=1,F=1,U=1,V=0,B="",G=o,Y=m,z=i,W=B;F;)switch(L=V,V=S()){case 40:if(108!=L&&58==u(W,R-1)){-1!=l(W+=s(T(V),"&","&\f"),"&\f")&&(U=-1);break}case 34:case 39:case 91:W+=T(V);break;case 9:case 10:case 13:case 32:W+=function(e){for(;y=E();)if(y<33)S();else break;return k(e)>2||k(y)>3?"":" "}(L);break;case 92:W+=function(e,t){for(var n;--t&&S()&&!(y<48)&&!(y>102)&&(!(y>57)||!(y<65))&&(!(y>
54170)||!(y<97)););return n=g+(t<6&&32==E()&&32==S()),c(v,e,n)}(g-1,7);continue;case 47:switch(E()){case 42:case 47:p((w=function(e,t){for(;S();)if(e+y===57)break;else if(e+y===84&&47===E())break;return"/*"+c(v,t,g-1)+"*"+a(47===e?e:S())}(S(),g),b(w,n,r,I,a(y),c(w,2,-2),0)),x);break;default:W+="/"}break;case 123*D:A[C++]=d(W)*U;case 125*D:case 59:case 0:switch(V){case 0:case 125:F=0;case 59+O:-1==U&&(W=s(W,/\f/g,"")),N>0&&d(W)-R&&p(N>32?M(W+";",i,r,R-1):M(s(W," ","")+";",i,r,R-2),x);break;case 59:W+=";";default:if(p(z=j(W,n,r,C,O,o,A,B,G=[],Y=[],R),m),123===V)if(0===O)e(W,n,z,z,G,m,R,A,Y);else switch(99===P&&110===u(W,3)?100:P){case 100:case 108:case 109:case 115:e(t,z,z,i&&p(j(t,z,z,0,0,o,A,B,o,G=[],R),Y),o,Y,R,A,i?G:Y);break;default:e(W,z,z,z,[""],Y,0,A,Y)}}C=O=N=0,D=U=1,B=W="",R=_;break;case 58:R=1+d(W),N=L;default:if(D<1){if(123==V)--D;else if(125==V&&0==D++&&125==(y=g>0?u(v,--g):0,h--,10===y&&(h=1,f--),y))continue}switch(W+=a(V),V*D){case 38:U=O>0?1:(W+="\f",-1);break;case 44:A[C++]=(d(W)-1)*U,U=1;break;case 64:45===E()&&(W+=T(S())),P=E(),O=R=d(B=W+=function(e){for(;!k(E());)S();return c(v,e,g)}(g)),V++;break;case 45:45===L&&2==d(W)&&(D=0)}}return m}("",null,null,null,[""],t=A(t=e),0,[0],t),v="",n),R)},D={key:_,sheet:new r({key:_,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:C,registered:{},insert:function(e,t,n,r){m=n,P(e?e+"{"+t.styles+"}":t.styles),r&&(D.inserted[t.name]=!0)}};return D.sheet.hydrate(O),D}},51666:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCreateVideoAd=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=r.__importDefault(n(30029)),o=n(47561),s=n(30936),l=n(7939),u=n(56320),c=n(27504),d=n(50454),p=n(49660),f=n(30843),h=n(2961),m=n(3756),g=5e3;t.createCreateVideoAd=({playbackCore:e,actions:t,adBlockPreventionIsActive:n,createTrackVastEvent:y,generateAdProxyUrl:v,openWebsite:b,store:_,createQuartileState:S=m.createQuartileState,setSourcesTimeout:E=g})=>function({id:m,collections:g,sources:k,adCursor:A,durationInSec:T,clickThroughTarget:x,adSource:w}){let C,I,O,R,P=y(g),N=(0,l.createEventEmitter)(),{resource:L}=w,j=(0,p.getWhyThisAdIcon)(g).map(e=>({whyThisAdIcon:e})).unwrapOr({}),{adIndex:M}=A,D=(0,c.getSkipOffset)(L,M),F=D.isJust(),U=!1,V=!1,B=[...(0,c.getAdVerifications)(L,M),...(0,c.getAdVerificationsFromExtensions)(L,M)],G=(n,i)=>r.__awaiter(this,void 0,void 0,function*(){var r;return t.trackViewability(n,Object.assign(Object.assign({},i),{adCursor:Object.assign(Object.assign({},A),{rollName:(0,u.getRollNameByOffset)(A.adScheduleTimeOffset)}),adResource:L,adVerificationResources:B,currentTime:e.getPosition(),duration:null!=(r=e.getDuration())?r:0,isFullscreen:e.isFullscreen(),isMuted:e.isMuted(),isSkippable:F,volume:e.getVolume()}))}),Y=(e,t={origin:"api"})=>{if(U)return;let{bitrate:n,duration:r,error:a,position:o,isMuted:s,isSkipOffsetReached:l,volume:u,clickThroughTarget:c=x,whyThisAdIcon:d}=t,p=Object.assign(Object.assign(Object.assign({},w),!!c&&{clickThroughTarget:c}),{adCursor:A,id:m,isSkippable:F,mimetype:O,sourceUrl:R});N.emit(e,Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},!i.default.undefined(n)&&{bitrate:n}),!i.default.undefined(r)&&{duration:r}),!i.default.undefined(a)&&{error:a}),!i.default.undefined(s)&&{isMuted:s}),!i.default.undefined(o)&&{position:o}),!i.default.undefined(u)&&{volume:u}),!i.default.undefined(t.origin)&&{origin:t.origin}),!i.default.undefined(d)&&{whyThisAdIcon:d}),{ad:p,adCanClickThrough:!!x,adPositionWithinRoll:_.getCurrentAdPositionWithinAdRoll(),adRollLength:_.getCurrentAdRollLength(),isSkipOffsetReached:l}))},z=()=>r.__awaiter(this,void 0,void 0,function*(){P("click"),i.default.nonEmptyString(x)&&(n()&&(x=v(x)),Y("adClickThru",{clickThroughTarget:x,origin:"api"}),G("AdClickThru"),r.__awaiter(this,void 0,void 0,function*(){try{yield b(x)}catch(e){Y("adClickThroughBlocked",{clickThroughTarget:x,origin:"api"})}}))}),W=()=>{P("expand"),P("fullscreen"),P("playerExpand")},Z=()=>{U||(U=!0,q())},H=e=>{if(U)return;let t=e.type,r="playback_no_source_provided"===t||"playback_no_supported_source_provided"===t,i=r?new s.PlayerError("ad_no_supported_mediafile_provided","No supported ad mediafile provided"):new s.PlayerError("ad_mediafile_error","Video ad error");(n()||r)&&P("error",{ERRORCODE:d.iabVastErrorCode.VAST_LINEAR_ERROR}),G("AdError",{error:i}),Y("adError",{error:i,origin:"api"}),Z()},K=S(e=>{switch(e){case 0:G("AdStarted"),P("impression"),Y("adImpression"),G("AdImpression"),t.updateAdScheduleWithAdImpression(),P("start"),G("AdVideoStart"),P("creativeView");break;case 1:P("firstQuartile"),Y("adVideoFirstQuartile"),G("AdVideoFirstQuartile");break;case 2:P("midpoint"),Y("adVideoMidpoint"),G("AdVideoMidpoint");break;case 3:P("thirdQuartile"),Y("adVideoThirdQuartile"),G("AdVideoThirdQuartile");break;case 4:q(),P("complete"),t.updateAdScheduleWithAdComplete(),Y("adVideoComplete"),G("AdVideoComplete");break;default:throw Error(`Unexcepted value for quartile ${e}`)}}),X=!1,$={error({error:e}){let{code:t}=e;H(new f.AdError(e.message,t,e.type))}},J={durationUpdate(e){var t;let n={duration:null!=(t=e.duration)?t:void 0};K.setValues(n),Y("adDurationChange",{duration:n.duration,origin:"api"}),G("AdDurationChange")}
541,fullscreenEntered(){W(),Y("adFullscreenEntered"),G("AdSizeChange")},fullscreenExited(){P("collapse"),P("exitFullscreen"),P("playerCollapse"),Y("adFullscreenExited"),G("AdSizeChange")},paused(){P("pause"),Y("adPaused"),G("AdPaused")},playbackFinished(){K.finish()},playing(){let t=e.getPosition(),r=e.getDuration();if(n()&&r!==T&&null!==r&&r<2)return void H(new f.AdError("Ad mediafile manipulated","ad_blocked"));K.isPaused()||(X?(Y("adPlaying"),G("AdPlaying"),P("resume")):(Y("adStarted"),X=!0)),K.setValues({duration:null!=r?r:void 0,position:t})},positionChange(t){let{position:n}=t;n<e.getDuration()&&K.setValues({position:n}),F&&!V&&n>=D.unwrapOr(1e3)&&(V=!0,G("AdSkippableStateChange")),Y("adPositionChange",Object.assign(Object.assign({},t),{isSkipOffsetReached:V,origin:"api"}))},stallEnded(){t.updateStalling(),G("AdStallEnded")},stallStarted(){t.updateStalling(),G("AdStallStarted")},videoQualityChanged(e){Y("adVideoQualityChanged",Object.assign(Object.assign({},e),{origin:"api"}))},volumeChanged(e){let t=(({volume:e,isMuted:t})=>0===e||t)({isMuted:I,volume:C}),n=(({volume:e,isMuted:t})=>0===e||t)(e);t!==n&&P(n?"mute":"unmute"),I=e.isMuted,C=e.volume,Y("adVolumeChange",e),G("AdVolumeChange")}},q=()=>{e.off("durationUpdate",J.durationUpdate),e.off("fullscreenEntered",J.fullscreenEntered),e.off("fullscreenExited",J.fullscreenExited),e.off("paused",J.paused),e.off("playbackFinished",J.playbackFinished),e.off("playing",J.playing),e.off("positionChange",J.positionChange),e.off("stallEnded",J.stallEnded),e.off("stallStarted",J.stallStarted),e.off("videoQualityChanged",J.videoQualityChanged),e.off("volumeChanged",J.volumeChanged),e.off("error",$.error)},Q=()=>r.__awaiter(this,void 0,void 0,function*(){let e=n()?6e3:E;return(0,a.default)(t.setAdSources(k,{disableSeeking:!0}),e,()=>o.Result.err(Error(`Ad took longer than ${e}ms to load`)))}),ee={close(){P("close"),P("closeLinear")},collapse(){},expand(){},getDuration:()=>e.getDuration(),getSkipOffset:()=>D,getVideoQuality:()=>e.getVideoQuality(),mute(t){e.mute(t)},openClickThrough:z,pause(){return r.__awaiter(this,void 0,void 0,function*(){return K.pause(),e.pause()})},resume(t){return r.__awaiter(this,void 0,void 0,function*(){return K.resume(),e.play(t)})},setVolume(t,n){e.setVolume(t,n)},skip(){V?(h.logger.log("Ad skipped"),P("skip"),G("AdSkipped"),Y("adSkipped"),Z()):h.logger.warn("Ad skip called before skip offset reached")},start(){return r.__awaiter(this,void 0,void 0,function*(){e.on("error",$.error);let t=yield Q(),n=t.chain(()=>U?o.Result.err(Error("video ad destroyed while setting ad sources")):t).map(t=>{try{let{duration:n,usedSource:r}=t;return e.on("durationUpdate",J.durationUpdate),e.on("fullscreenEntered",J.fullscreenEntered),e.on("fullscreenExited",J.fullscreenExited),e.on("paused",J.paused),e.on("playbackFinished",J.playbackFinished),e.on("playing",J.playing),e.on("positionChange",J.positionChange),e.on("stallEnded",J.stallEnded),e.on("stallStarted",J.stallStarted),e.on("videoQualityChanged",J.videoQualityChanged),e.on("volumeChanged",J.volumeChanged),O=r.mimetype,R=r.url,Y("adLoaded",Object.assign({origin:"api"},j)),G("AdLoaded",j),Y("adDurationChange",{duration:null!=n?n:void 0,origin:"api"}),e.play({origin:"api"}),C=e.getVolume(),I=e.isMuted(),(({volume:e,isMuted:t})=>0===e||t)({isMuted:I,volume:C})&&P("mute"),e.isFullscreen()&&W(),t}catch(e){throw H(e),e}}).mapErr(e=>(H(e),e));return n.isOk()?o.Maybe.nothing():o.Maybe.just(n.error)})},stop(){Y("adStopped"),G("AdStopped"),Z()},unmute(t){e.unmute(t)}};return{getSources:()=>k,init:()=>r.__awaiter(this,void 0,void 0,function*(){return ee}),on:(e,t)=>{N.on(e,t)}}}},51876:e=>{e.exports={cdnName:"CLOUDFRT",parsers:[{element:"host",headerName:"X-Amz-Cf-Id",regex:/(.+)/},{element:"type",headerName:"X-Cache",regex:/(\S+)\s.+/}],parseType:function(e){switch(e){case"Hit":return 1;case"Miss":return 2;default:return 0}}}},52087:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRatingIcon=void 0;let r=n(80263);t.AgeRatingIcon=e=>{let{width:t,height:n,children:i}=e,a=`0 0 ${t} ${n}`;return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:a,role:"figure"},{children:(0,r.jsx)("g",Object.assign({fill:"none",fillRule:"evenodd"},{children:(0,r.jsx)("g",Object.assign({fill:"#FFF",fillRule:"nonzero"},{children:(0,r.jsx)("g",{children:i})}))}))}))}},52408:(e,t,n)=>{"use strict";
541Object.defineProperty(t,"__esModule",{value:!0}),t.getHighestResolutionMediafile=t.mapReadyAdSourcesToAdMediaMap=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47561),a=n(92712),o=n(89800),s=a.z.object({$bitrate:a.z.string(),$type:o.videoMimetypesSchema,value:a.z.string()}),l=a.z.union([a.z.literal("video/webm"),a.z.literal("video/mp4")]);t.mapReadyAdSourcesToAdMediaMap=function({adSources:e,allowedSourceStreamingFormats:t=["DASH","HLS"],dashUrl:n,hlsUrl:r}){return e.reduce((e,i)=>(e.set(i.hash,{durationInSeconds:i.durationInSeconds,mediafiles:(()=>{let e={DASH:{$type:"application/dash+xml",value:n},HLS:{$type:"application/x-mpegURL",value:r}};return t.map(t=>e[t])})()}),e),new Map)};let u=(e,t)=>{let n=Number(null==e?void 0:e.$bitrate),i=Number(null==t?void 0:t.$bitrate),a=l.safeParse(null==e?void 0:e.$type).success,o=l.safeParse(null==t?void 0:t.$type).success;if(r.default.number(n)&&r.default.number(i)){if(a&&!o)return -1;if(!a&&o||n<i)return 1}return -1};t.getHighestResolutionMediafile=e=>{let{mediafiles:t,mezzanine:n}=e,a=null==n?void 0:n.value;if(r.default.string(a))return i.Maybe.just(a);let[o]=t.filter(e=>s.safeParse(e).success).sort(u),l=null==o?void 0:o.value;return r.default.string(l)?i.Maybe.just(l):i.Maybe.nothing()}},52518:(e,t,n)=>{var r=n(60161);e.exports={getContext:function(){return"Default"},getScrollDepth:function(){var e=this.storage.getSession("pageScrollDepth");return this.storage.removeSession("pageScrollDepth"),e},getSession:function(){var e=this.storage.getStorages("session");if("undefined"===e&&(e=void 0),!e){var t=this.getStoredData();if(t)try{e=JSON.parse(t).q.c}catch(e){}}return e},getStorageHost:function(){var e=null,t=this.getStoredData();if(t)try{e=JSON.parse(t).q.h}catch(e){}return e?r.addProtocol(e,this.options["app.https"]):e},getStoredData:function(){return this.storage.getStorages("data")},getDataTime:function(){return this.storage.getStorages("dataTime")},getLastActive:function(){return this.storage.getStorages("lastactive")},setStoredData:function(e){this.storage.setStorages("data",e)},setSession:function(e){this.storage.setStorages("session",e)},setDataTime:function(e){this.storage.setStorages("dataTime",e)},setLastActive:function(e){this.storage.setStorages("lastactive",e)},getPageName:function(){if("undefined"!=typeof document&&document.title)return document.title},getPageLoadTime:function(){return this.browserLoadTimes.getPageLoadTime()},getIsSessionExpired:function(){var e=new Date().getTime();return!this.getSession()||this.infinity.getFirstActive()<e-this.sessionExpire},getIsDataExpired:function(){var e=new Date().getTime();return!this.storage.isEnabled()||!this.getStoredData()||this.infinity.getFirstActive()<e-this.sessionExpire}}},52625:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProgramEntry=t.LiveOnDemandPlayIndicator=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(19577)),s=n(53239),l=n(67722),u=n(17352),c=n(8283),d=n(14810),p=n(98978),f=e=>{var t;return{color:(0,d.createSemiTransparentWhiteColorString)(.5),display:"block",fontFamily:null==(t=e.theme)?void 0:t.fontFamily,fontSize:"13px",lineHeight:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},h=(0,a.default)(u.FormattedTimeRange)(f),m=(0,a.default)(l.FormattedDuration)(f),g=a.default.h6(e=>{let{theme:t}=e;return{WebkitBoxOrient:"vertical",WebkitLineClamp:2,color:"#fff",display:"-webkit-box",fontFamily:t.fontFamilyBold,fontSize:"16px",height:"38px",lineHeight:"19px",margin:"4px 0 0 0",overflow:"hidden",padding:0,textOverflow:"ellipsis",wordWrap:"break-word"}});t.LiveOnDemandPlayIndicator=(0,a.default)(c.PlayIcon)({fill:"white",position:"absolute",right:"5px",top:"5px"});let y={horizontalPadding:15,verticalPadding:11},v=a.default.li(e=>{let{relativeWidth:t,applyStyling:n,colors:r}=e,i="100%",a=t,o=0,s="none",l={},u={},c={};return n&&(i=`calc(100% - ${2*y.verticalPadding}px)`,a=`calc(${t} - ${2*y.horizontalPadding}px)`,o=`${y.verticalPadding}px ${y.horizontalPadding}px`,s=r.backgroundColor,l={"> h6":{color:r.titleHoverColor},"> span":{color:r.airTimeHoverColor},background:r.backgroundHoverColor},u={color:r.titleColor},c={color:r.airTimeColor}),{":hover":l,":last-of-type":{marginRight:0},"> h6":u,"> span":c,background:s,borderRadius:"2px",display:"block",height:i,margin:"0 2px 0 0",minWidth:a,overflow:"hidden",padding:o,position:"relative",width:a}}),b=a.default.a(e=>{let{colors:t,cursor:n="pointer"}=e;return{":hover":{"> h6":{color:t.titleHoverColor},"> span":{color:t.airTimeHoverColor},background:t.backgroundHoverColor},"> h6":{color:t.titleColor},"> span":{color:t.airTimeColor},background:t.backgroundColor,cursor:n,display:"block",height:`calc(100% - ${2*y.verticalPadding}px)`,padding:`${y.verticalPadding}px ${y.horizontalPadding}px`,position:"relative",textDecoration:"none",width:`calc(100% - ${2*y.horizontalPadding}px)`}}
541);function _(e){return"event-only"===e.onAir&&!e.informationAvailable}t.ProgramEntry=e=>{let{width:n,isCurrentlyRunning:r,channelType:a}=e,l=function(e){let{informationAvailable:t,onAir:n,title:r}=e;return t?o.default.nonEmptyString(r)?r:"Keine Programminformation verf\xfcgbar":"always"===n?"Keine Programminformation verf\xfcgbar":"Sendepause"}(e),u=(0,d.determineColors)(e);return(0,i.jsx)(v,Object.assign({relativeWidth:n,applyStyling:"live-on-demand"!==a&&!r||_(e),colors:u},{children:function(e,t,n){let{channelId:r,isInThePast:a,playlistIndex:o,playlistChildIndex:s,isCurrentlyRunning:l,channelType:u}=e;return"live-on-demand"!==u&&!l||_(e)?t:(0,i.jsx)(b,Object.assign({colors:n,cursor:"live-on-demand"===u&&a?"auto":"pointer",href:`#${r}`,onClick:t=>{t.preventDefault(),"live-on-demand"===u?a?t.preventDefault():null!==s&&e.switchChannelEntry({playlistChildIndex:s,playlistIndex:o}):e.switchChannel({playlistIndex:o})}},{children:t}))}(e,(0,i.jsxs)(s.Fragment,{children:[function(e){return"live-on-demand"===e.channelType?(0,i.jsx)(m,{duration:e.duration.value}):(0,i.jsx)(h,{from:e.airTimeRange.start,to:e.airTimeRange.end})}(e),(0,i.jsx)(g,{children:l}),function(e){let{isCurrentlyRunning:t,elapsedDurationPercentage:n}=e;return t?(0,i.jsx)(p.ProgramEntryProgress,{value:n}):null}(e),function(e){let{selected:n,selectedPlaylistChildIndex:r,playlistChildIndex:a,title:s,channelType:l,isInThePast:u}=e;return o.default.nullOrUndefined(s)||"live-on-demand"!==l||u||n&&r===a?null:(0,i.jsx)(t.LiveOnDemandPlayIndicator,{})}(e)]}),u)}))}},52627:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloseIcon=void 0;let r=n(80263),i=n(83947);t.CloseIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M14 12.547l7.195-7.195c.44-.44 1.122-.472 1.524-.07.4.4.37 1.083-.071 1.523L15.453 14l7.195 7.195c.44.44.472 1.122.07 1.524-.4.4-1.083.37-1.523-.071L14 15.453l-7.195 7.195c-.44.44-1.122.472-1.524.07-.4-.4-.37-1.083.071-1.523L12.547 14 5.352 6.805c-.44-.44-.472-1.122-.07-1.524.4-.4 1.083-.37 1.523.071L14 12.547z"})}))},52726:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FullscreenEnterIcon=void 0;let r=n(80263),i=n(83947);t.FullscreenEnterIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M10.857 24.41v-1.963a.591.591 0 0 0-.59-.59H6.144v-4.125a.59.59 0 0 0-.59-.588H3.59a.59.59 0 0 0-.59.588v6.09C3 24.475 3.525 25 4.178 25h6.09c.324 0 .59-.265.59-.59m13.552-7.266h-1.963a.59.59 0 0 0-.59.588v4.125h-4.125a.591.591 0 0 0-.59.59v1.963c0 .325.266.59.59.59h6.09c.652 0 1.178-.525 1.178-1.178v-6.09a.59.59 0 0 0-.59-.588M17.143 3.59v1.963c0 .325.265.59.59.59h4.124v4.126c0 .322.265.588.59.588h1.963c.325 0 .59-.266.59-.588v-6.09C25 3.525 24.474 3 23.822 3h-6.09a.591.591 0 0 0-.59.59M3 10.269v-6.09C3 3.525 3.525 3 4.178 3h6.09c.324 0 .59.265.59.59v1.963c0 .325-.266.59-.59.59H6.143v4.126a.592.592 0 0 1-.59.588H3.59A.592.592 0 0 1 3 10.27"})}))},52817:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});let r="production"},53078:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CLIP_GRAPHQL_QUERY_DOCUMENT=void 0;let r=n(42049);t.CLIP_GRAPHQL_QUERY_DOCUMENT=(0,r.gql)` 542 query Clip($id: ID!) { 543 clip(id: $id) { 544 id 545 description 546 path 547 __typename 548 ageRating { 549 minAge 550 descriptorsText 551 } 552 image(type: THUMBNAIL) { 553 id 554 url 555 type 556 } 557 brands { 558 logo { 559 url(profile: "nextgen-web-artlogo-183x75") 560 } 561 title 562 } 563 id 564 title 565 tracking { 566 agofCode 567 externalAssetId 568 genres 569 } 570 brands { 571 title 572 } 573 video { 574 id 575 } 576 licenseTypes 577 tracking { 578 agofCode 579 externalAssetId 580 } 581 } 582 } 583`},53128:(e,t)=>
583{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCollectionFromVast=void 0,t.getErrorCollectionFromVast=(e,n,r=[])=>{var i,a;let o=null==(i=e.vast)?void 0:i.ad,s=null==o?void 0:o[n],l=null==(a=e.vast)?void 0:a.error;if(l&&(r=r.concat(l)),s){let{inline:e,wrapper:n}=s;(null==e?void 0:e.error)?r=r.concat(e.error):n&&(n.error&&(r=r.concat(n.error)),r=(0,t.getErrorCollectionFromVast)(n,0,r))}return r}},53176:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElectronicProgramGuideFavorites=t.ElectronicProgramGuideAnonymousComponent=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(53239),s=n(66976),l=n(7730),u=n(30836),c=n(90867),d=n(12919),p=n(70185),f=a.default.p` 584 margin-left: 0.5rem; 585`,h=a.default.div` 586 max-height: calc(100% - 5.3125rem); // 85px 587 overflow-x: hidden; 588 padding: 0; 589`,m=a.default.div` 590 display: flex; 591 align-items: center; 592 justify-content: flex-start; 593 text-align: left; 594 flex-wrap: nowrap; 595 margin: 1.25rem 1.25rem; // 20px 596`,g=(0,a.default)(m)` 597 justify-content: start; 598 margin: 1.25rem 1.25rem; // 20px 599`,y=a.default.div` 600 color: #fff; 601 display: flex; 602 width: 100%; 603 align-items: center; 604 justify-content: space-between; 605`,v=a.default.div` 606 margin-left: 0.5rem; 607 display: flex; 608 align-items: center; 609`,b=a.default.div` 610 color: #fff; 611 justify-content: space-between; 612`,_=a.default.div` 613 display: flex; 614 align-items: center; 615 margin: 0 1.25rem; // 20px 616`,S=a.default.div` 617 display: flex; 618 align-items: center; 619 justify-content: center; 620 height: 5rem; // 80px 621 min-width: 5rem; // 80px 622 width: 5rem; // 80px 623 background: #ffffff1a; 624 border-radius: 0.125rem; // 2px 625`,E=a.default.div` 626 display: flex; 627 justify-content: space-between; 628 align-items: center; 629 flex: 1; 630 margin: 0 0 0 0.125rem; // 2px 631 padding-right: 1.25rem; // 20px 632 background: #ffffff33; 633 border-radius: 0.125rem; // 2px 634 height: 5rem; // 80px 635 color: #fff; 636 637 & > div { 638 display: flex; 639 flex-direction: column; 640 padding: 0.9375rem; // 15px 641 cursor: pointer; 642 } 643`,k=a.default.div` 644 font-family: Campton-Book, Helvetica, sans-serif; 645 font-size: 13px; 646 line-height: 15.6px; 647`,A=(0,a.default)(k)` 648 font-size: 11px; 649 line-height: 15px; 650`,T=a.default.div` 651 font-family: Campton-Bold, Helvetica, sans-serif; 652 font-size: 16px; 653 line-height: 19px; 654 margin-bottom: 0.25rem; 655`,x=a.default.button` 656 font-family: Campton-Bold-16, Helvetica, sans-serif; 657 display: 'flex'; 658 padding: 0.875rem 1.25rem; // 14px 20px 659 border-radius: 0.125rem; // 2px 660 align-items: center; 661 justify-content: center; 662 background: #ffffff33; 663 border: none; 664 cursor: pointer; 665 text-align: center; 666 color: #fff; 667 font-weight: bold; 668`,w=({favorites:e=0,total:t=0,actionButton:n,children:r})=>{let{isMobileOrTablet:a}=(0,l.useBreakpoint)();return(0,i.jsxs)(h,{children:[(0,i.jsxs)(m,{children:[t>0?(0,i.jsx)(d.HeartIcon,{}):(0,i.jsx)(p.HeartOutlineIcon,{}),(0,i.jsxs)(y,{children:[(0,i.jsxs)(v,{children:["Deine Favoriten"," ",e,"/",t]}),a?(0,i.jsx)(b,{children:n}):null]})]}),r,(0,i.jsxs)(g,{children:[(0,i.jsx)(c.ChannelsListIcon,{}),(0,i.jsx)(f,{children:"Sender"})]})]})};t.ElectronicProgramGuideAnonymousComponent=({isMobileOrTablet:e,onLoginRedirect:t})=>(0,i.jsxs)(_,{children:[(0,i.jsx)(S,{children:(0,i.jsx)(d.HeartIcon,{width:40,height:40})}),(0,i.jsxs)(E,Object.assign({onClick:t},{children:[(0,i.jsxs)("div",{children:[(0,i.jsx)(T,{children:"Setze deine Lieblingssender"}),e?(0,i.jsx)(A,{children:"Mit der Joyn Mobile App kannst du deine Favoriten setzen."}):(0,i.jsx)(k,{children:"Mit der Joyn Mobile App kannst du deine Favoriten setzen. Sie werden dann hier f\xfcr dich angezeigt."})]}),e?null:(0,i.jsx)(x,Object.assign({onClick:t},{children:"Anmelden"}))]}))]});let C=({isMobileOrTablet:e,selectedChannelItemRef:t,switchChannel:n,switchChannelEntry:r,livePlaylistItems:a,playlistIndex:o,playlistChildIndex:s,favorites:l=0,total:c=0})=>l>0?(0,i.jsx)(u.ChannelList,{selectedChannelItemRef:t,switchChannel:n,switchChannelEntry:r,channels:a,selectedPlaylistIndex:o,selectedPlaylistChildIndex:s}):0===l&&c>0?null:(0,i.jsxs)(_,{children:[(0,i.jsx)(S,{children:(0,i.jsx)(d.HeartIcon,{width:40,height:40})}),(0,i.jsx)(E,{children:(0,i.jsxs)("div",{children:[(0,i.jsx)(T,{children:"Setze deine Lieblingssender"}),e?(0,i.jsx)(A,{children:"Mit der Joyn Mobile App kannst du deine Favoriten setzen."}):(0,i.jsx)(k,{children:"Mit der Joyn Mobile App kannst du deine Favoriten setzen. Sie werden dann hier f\xfcr dich angezeigt."})]})})]});t.ElectronicProgramGuideFavorites=({selectedChannelItemRef:e,switchChannel:n,switchChannelEntry:r,livePlaylistItems:a,playlistIndex:u,playlistChildIndex:c})=>{let{getFeatureValue:d,actions:p,state:f}=(0,o.useContext)(s.PlayerContext),{isUserLoggedIn:h,bookmarkedBrandIds:m}=f,g=d("epg-favorites").unwrapOr(!1),{isMobileOrTablet:y}
668=(0,l.useBreakpoint)();if(!g)return null;let v=()=>{p.login({isEpgFavorite:!0})};return(0,i.jsx)(w,Object.assign({favorites:a.length,total:m.length,actionButton:h?null:(0,i.jsx)(x,Object.assign({onClick:v},{children:"Anmelden"}))},{children:h?(0,i.jsx)(C,{isMobileOrTablet:y,selectedChannelItemRef:e,switchChannel:n,switchChannelEntry:r,livePlaylistItems:a,playlistIndex:u,playlistChildIndex:c,favorites:a.length,total:m.length}):(0,i.jsx)(t.ElectronicProgramGuideAnonymousComponent,{onLoginRedirect:v,isMobileOrTablet:y})}))}},53335:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isXmlMalformedError=t.isXmlParsingError=t.XmlParsingError=void 0;let r=n(70015).__importDefault(n(19577)),i=n(50454);class a extends Error{constructor(e){super("XML parsing failed"),this.code=i.iabVastErrorCode.VAST_PARSING_ERROR,this.xmlJson=e.xmlJson,this.xmlString=e.xmlString,this.originalErrorMessage=e.originalErrorMessage,this.url=e.url}}t.XmlParsingError=a,t.isXmlParsingError=e=>e instanceof a&&!r.default.nullOrUndefined(e.xmlString),t.isXmlMalformedError=e=>(0,t.isXmlParsingError)(e)&&e.originalErrorMessage.includes("not well-formed")},53347:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(45303),t),i(n(62981),t),i(n(31362),t),i(n(80750),t),i(n(26586),t),i(n(90861),t)},53725:(e,t,n)=>{e.exports=n(54906).extend({constructor:function(){"undefined"!=typeof navigator&&navigator.userAgent&&(this._isSmartTVDevice=navigator.userAgent.toLowerCase().match(/smarttv/)||navigator.userAgent.toLowerCase().match(/smart-tv/)||navigator.userAgent.toLowerCase().match(/appletv/)||navigator.userAgent.toLowerCase().match(/apple tv/),this._isPlaystationDevice=null!==navigator.userAgent.match(/PlayStation/),this._isIphoneDevice=null!==navigator.userAgent.match(/iPhone|iPad|iPod/i),this._isAndroidDevice=null!==navigator.userAgent.match(/Android/),this._isSmartphoneDevice=!this._isSmartTVDevice&&!this._isPlaystationDevice&&(this._isIphoneDevice||this._isAndroidDevice),this._isDesktopDevice=!this._isSmartphoneDevice&&!this._isSmartTVDevice&&!this._isPlaystationDevice)},isIphone:function(){return this._isIphoneDevice},isAndroid:function(){return this._isAndroidDevice},isSmartphone:function(){return this._isSmartphoneDevice},isDesktop:function(){return this._isDesktopDevice},isSmartTV:function(){return this._isSmartTVDevice},isPlayStation:function(){return this._isPlaystationDevice}})},53843:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.errorSchema=void 0;let r=n(92712);t.errorSchema=r.z.object({value:r.z.string().optional()})},54425:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUserTokenStateMachine=void 0;let r=n(47561),i=n(21639),a=n(47397);t.createUserTokenStateMachine=function(e,t=3e5,n=3){return(0,i.createMachine)({predictableActionArguments:!0,type:"compound",initial:"idle",context:{retryCount:0,userState:r.Maybe.nothing(),userToken:r.Maybe.nothing()},preserveActionOrder:!0,on:{SET_VALID_TOKEN:{actions:["setValidToken","emitValidTokenSet"],target:".validTokenAvailable"},SET_USER_STATE:{actions:"setUserState"}},states:{idle:{on:{REQUEST_TOKEN_REFRESH:"waitingForValidToken"}},validTokenAvailable:{on:{INVALIDATE_TOKEN:"waitingForValidToken"}},waitingForValidToken:{entry:"emitWaitingForValidToken",on:{INVALIDATE_TOKEN:"retrying"},after:{WAITING_DELAY:"retrying"}},retrying:{entry:"increaseRetryCount",always:[{target:"failed",cond:"isRetryLimitReached"},{target:"waitingForValidToken"}]},failed:{entry:["emitFailed"],on:{REQUEST_TOKEN_REFRESH:"waitingForValidToken"},after:{[t]:"waitingForValidToken"}}}},{actions:{setValidToken:(0,i.assign)({userToken:(e,t)=>"SET_VALID_TOKEN"===t.type?r.Maybe.just(t.userToken):e.userToken,userState:()=>r.Maybe.nothing()}),setUserState:(0,i.assign)({userState:(e,t)=>
668(0,a.isRecord)(t)&&"SET_USER_STATE"===t.type&&(0,a.hasOwnPropertyOf)(t,"userState","object")&&(0,a.hasOwnPropertyOf)(t.userState,"state","string")&&Array.isArray(t.userState.bookmarkedBrandIds)?r.Maybe.just(t.userState):e.userState}),increaseRetryCount:(0,i.assign)({retryCount:e=>e.retryCount+1}),resetRetryCount:(0,i.assign)({retryCount:e=>0}),emitFailed:t=>{e.emit("FAILED")},emitWaitingForValidToken:t=>{e.emit("WAITING_FOR_VALID_TOKEN")},emitValidTokenSet:t=>{e.emit("VALID_TOKEN_SET")}},guards:{isRetryLimitReached:e=>e.retryCount>=n},delays:{WAITING_DELAY:e=>(e.retryCount+1)*1e4}})}},54556:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchExtra=void 0;let r=n(70015),i=n(51130);t.fetchExtra=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){let{extraId:n,userState:r,userToken:a}=t,{graphqlClient:o}=e;return o.query(i.EXTRA_GRAPHQL_QUERY_DOCUMENT,{id:n},{authorization:`Bearer ${a}`,"joyn-user-state":r})})}},54694:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCredentialsService=void 0;let r=n(70015),i=r.__importDefault(n(37153)),a=n(47561),o=n(21639),s=n(56838),l=n(7939),u=n(54425);t.createCredentialsService=function(e){let{dispatch:t,errorReporter:n,fetchUserState:c}=e,d=a.Maybe.nothing(),p=(0,l.createEventEmitter)(),f=(0,u.createUserTokenStateMachine)(p),h=(0,o.interpret)(f);return p.on("FAILED",()=>{d=d.andThen(e=>(e.reject(Error("Failed to refresh user token")),a.Maybe.just(e)))}),p.on("VALID_TOKEN_SET",()=>{d=d.andThen(e=>(e.resolve(),a.Maybe.just(e)))}),p.on("WAITING_FOR_VALID_TOKEN",()=>{n.recordEvent("client-interaction","Waiting for new user token from client application"),t("credentials:actionRequired",{type:"set_user_token"})}),{destroy(){h.stop()},setUserToken(e){n.recordEvent("client-interaction","Received new user token"),t("credentials:userTokenUpdated",{userToken:e}),h.send("SET_VALID_TOKEN",{userToken:e})},start(){if(h.status!==s.InterpreterStatus.NotStarted)throw Error("Canât start credentials service again, it has been already started");h.start()},waitForUserState(){return r.__awaiter(this,void 0,void 0,function*(){let{userToken:e}=h.getSnapshot().context;if(e.isNothing())throw Error("User token not available");return[(yield h.getSnapshot().context.userState.unwrapOrElse(()=>r.__awaiter(this,void 0,void 0,function*(){let t=yield c(e.value);return h.send("SET_USER_STATE",{userState:t}),t}))),e.value]})},waitForValidUserToken(){return r.__awaiter(this,void 0,void 0,function*(){d.isNothing()&&!h.state.matches("validTokenAvailable")&&(d=a.Maybe.just((0,i.default)()),h.send("REQUEST_TOKEN_REFRESH")),d.isJust()&&(yield d.value.promise);let{userToken:e}=h.getSnapshot().context;if(e.isNothing())throw Error("User token not available");return e.value})}}}},54700:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetClientCapabilities=void 0;let r=n(70015),i=n(92712),a=n(47756),o=i.z.enum(["a1","android-tv","android","browser","chromecast","fire-tv","hisense","ios","ipados","kepler","netrange","panasonic","philips","playstation","sky-q","sunrise","tivo","tizen","tvos","vestel","webos"]),s=i.z.object({deviceModel:i.z.string(),manufacturer:i.z.string(),platform:o}).merge(a.playbackCapabilitiesSchema);t.createGetClientCapabilities=function({player:e,toggleRouter:t},n){var{deviceModel:i="unknown",manufacturer:a="unknown"}=n,o=r.__rest(n,["deviceModel","manufacturer"]);return function(){var n;return r.__awaiter(this,void 0,void 0,function*(){let r=yield e.getCapabilities(),l=t.getFeatureValue("use-hls-streaming-format").unwrapOr(!1)?"hls":null!=(n=o.streamingFormat)?n:r.streamingFormat;return s.parse(Object.assign(Object.assign(Object.assign(Object.assign({},r),{deviceModel:i,manufacturer:a}),o),{streamingFormat:l}))})}}},54906:(e,t,n)=>{var r=n(86829),i=n(7424),a=function(){};a.prototype={constructor:function(){}},a.extend=function(e,t){var n,a=this;return r(n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return a.apply(this,arguments)},a,t),n.prototype=i(a.prototype),e&&r(n.prototype,e),n.prototype.constructor=n,n.__super__=a.prototype,n},e.exports=a},55036:(e,t,n)=>{"use strict";
668Object.defineProperty(t,"__esModule",{value:!0}),t.usageSettingsSchema=void 0;let r=n(92712);t.usageSettingsSchema=r.z.object({cellularConnectionUsagePermitted:r.z.boolean()}).strict()},55058:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RadioButtonGroup=t.RadioButtonGroupEntry=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(53239),s=n(47561),l=n(47397),u=n(38913),c=n(68342),d=n(99139),p=a.default.fieldset({border:"none",margin:0,padding:0}),f=a.default.legend(({theme:e})=>({color:e.color.white,fontSize:"13px",lineHeight:1,marginBottom:"20px",marginLeft:"15px",opacity:e.opacity.medium,padding:0,textTransform:"uppercase"}));t.RadioButtonGroupEntry=e=>(0,o.useContext)(c.RadioButtonGroupContext).mapOr(null,t=>{let n=e.value,r=t.name,a=`${r}-${n}`;return(0,i.jsx)("li",{children:(0,i.jsx)(d.RadioButton,{id:a,className:e.className,checked:e.value===t.selectedValue,name:r,onChange:t.onChange,value:n,label:e.label})})}),t.RadioButtonGroup=e=>{let t="horizontal"===e.direction?"row":"column",n=(0,o.useMemo)(()=>s.Maybe.just({name:e.name,onChange:e.onChange,selectedValue:e.selectedValue}),[e.name,e.onChange,e.selectedValue]);return(0,i.jsxs)(p,Object.assign({className:e.className},{children:[function(e){return(0,l.hasOwnPropertyOf)(e,"title","string")?(0,i.jsx)(f,{children:e.title}):null}(e),(0,i.jsx)(u.OrderedList,Object.assign({flexDirection:t,gap:e.spacing},{children:(0,i.jsx)(c.RadioButtonGroupContext.Provider,Object.assign({value:n},{children:e.children}))}))]}))}},55185:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=()=>{};function r(e){return{tag:0,0:e}}function i(e){return{tag:1,0:e}}var a=()=>"function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator",o=()=>"function"==typeof Symbol&&Symbol.observable||"@@observable",s=e=>e;function l(e){return t=>i=>{var a=[],o=n,s=n,l=!1,u=!1,c=!1,d=!1;t(t=>{d||(0===t?(d=!0,c||a.length||i(0)):0===t.tag?o=t[0]:(l=!1,c?a.push(t[0]):function t(n){c=!0,n(n=>{0===n?c&&(c=!1,a.length?t(e(a.shift())):d?i(0):l||(l=!0,o(0))):0===n.tag?(u=!1,(s=n[0])(0)):c&&(i(n),u?u=!1:s(0))})}(e(t[0]))))}),i(r(e=>{1===e?(d||(d=!0,o(1)),c&&(c=!1,s(1))):(d||l||(l=!0,o(0)),c&&!u&&(u=!0,s(0)))}))}}function u(e){return l(s)(e)}function c(e){return t=>i=>{var a=[],o=n,s=!1,l=!1;t(t=>{if(l);else if(0===t)l=!0,a.length||i(0);else if(0===t.tag)o=t[0];else{var r,u;s=!1,r=e(t[0]),u=n,r(e=>{if(0===e){if(a.length){var t=a.indexOf(u);t>-1&&(a=a.slice()).splice(t,1),!a.length&&(l?i(0):s||(s=!0,o(0)))}}else 0===e.tag?(a.push(u=e[0]),u(0)):a.length&&(i(e),u(0))}),s||(s=!0,o(0))}}),i(r(e=>{if(1===e){l||(l=!0,o(1));for(var t=0,n=a,r=a.length;t<r;t++)n[t](1);a.length=0}else{l||s?s=!1:(s=!0,o(0));for(var i=0,u=a,c=a.length;i<c;i++)u[i](0)}}))}}function d(e){return c(s)(e)}function p(e){return t=>n=>{var i=!1;t(t=>{if(i);else if(0===t)i=!0,n(0);else if(0===t.tag){var a=t[0];n(r(e=>{1===e&&(i=!0),a(e)}))}else e(t[0]),n(t)})}}function f(e){var t=[],i=n,a=!1;return n=>{t.push(n),1===t.length&&e(e=>{if(0===e){for(var n=0,r=t,o=t.length;n<o;n++)r[n](0);t.length=0}else if(0===e.tag)i=e[0];else{a=!1;for(var s=0,l=t,u=t.length;s<u;s++)l[s](e)}}),n(r(e=>{if(1===e){var r=t.indexOf(n);r>-1&&(t=t.slice()).splice(r,1),t.length||i(1)}else a||(a=!0,i(0))}))}}function h(e){return t=>i=>{var a=n,o=n,s=!1,l=!1,u=!1,c=!1;t(t=>{if(c);else if(0===t)c=!0,u||i(0);else if(0===t.tag)a=t[0];else{var r;u&&(o(1),o=n),s?s=!1:(s=!0,a(0)),r=e(t[0]),u=!0,r(e=>{u&&(0===e?(u=!1,c?i(0):s||(s=!0,a(0))):0===e.tag?(l=!1,(o=e[0])(0)):(i(e),l?l=!1:o(0)))})}}),i(r(e=>{1===e?(c||(c=!0,a(1)),u&&(u=!1,o(1))):(c||s||(s=!0,a(0)),u&&!l&&(l=!0,o(0)))}))}}function m(e){return t=>{var n,o=e[a()]&&e[a()]()||e,s=!1,l=!1,u=!1;t(r(async e=>{if(1===e)s=!0,o.return&&o.return();else if(l)u=!0;else{for(u=l=!0;u&&!s;)if((n=await o.next()).done)s=!0,o.return&&await o.return(),t(0);else try{u=!1,t(i(n.value))}catch(e){if(o.throw)(s=!!(await o.throw(e)).done)&&t(0);else throw e}l=!1}}
668))}}function g(e){return e[Symbol.asyncIterator]?m(e):t=>{var n,a=e[Symbol.iterator](),o=!1,s=!1,l=!1;t(r(e=>{if(1===e)o=!0,a.return&&a.return();else if(s)l=!0;else{for(l=s=!0;l&&!o;)if((n=a.next()).done)o=!0,a.return&&a.return(),t(0);else try{l=!1,t(i(n.value))}catch(e){if(a.throw)(o=!!a.throw(e).done)&&t(0);else throw e}s=!1}}))}}function y(e){return t=>{var n=!1,a=e({next(e){n||t(i(e))},complete(){n||(n=!0,t(0))}});t(r(e=>{1!==e||n||(n=!0,a())}))}}function v(e){return t=>{var r=n,i=!1;return t(t=>{0===t?i=!0:0===t.tag?(r=t[0])(0):i||(e(t[0]),r(0))}),{unsubscribe(){i||(i=!0,r(1))}}}}var b={done:!0};function _(e){var t=Object.keys(e).length;return a=>{var o=new Set,s=Array.isArray(e)?Array(t).fill(n):{},l=Array.isArray(e)?Array(t):{},u=!1,c=!1,d=!1,p=0,f=function(r){e[r](f=>{if(0===f)p>=t-1?(d=!0,a(0)):p++;else if(0===f.tag)s[r]=f[0];else if(!d)if(l[r]=f[0],o.add(r),!u&&o.size<t)if(c)c=!1;else for(var h in e)o.has(h)||(s[h]||n)(0);else u=!0,c=!1,a(i(Array.isArray(l)?l.slice():{...l}))})};for(var h in e)f(h);a(r(e=>{if(d);else if(1===e)for(var t in d=!0,s)s[t](1);else if(!c)for(var n in c=!0,s)s[n](0)}))}}t.buffer=function(e){return t=>a=>{var o=[],s=n,l=n,u=!1,c=!1;t(t=>{c||(0===t?(c=!0,l(1),o.length&&a(i(o)),a(0)):0===t.tag?(s=t[0],e(e=>{if(c);else if(0===e)c=!0,s(1),o.length&&a(i(o)),a(0);else if(0===e.tag)l=e[0];else if(o.length){var t=i(o);o=[],a(t)}})):(o.push(t[0]),u?u=!1:(u=!0,s(0),l(0))))}),a(r(e=>{1!==e||c?c||u||(u=!0,s(0),l(0)):(c=!0,s(1),l(1))}))}},t.combine=function(...e){return _(e)},t.concat=function(e){return u(g(e))},t.concatAll=u,t.concatMap=l,t.debounce=function(e){return t=>n=>{var i,a=!1,o=!1;t(t=>{if(o);else if(0===t)o=!0,i?a=!0:n(0);else if(0===t.tag){var s=t[0];n(r(e=>{1!==e||o?o||s(0):(o=!0,a=!1,i&&clearTimeout(i),s(1))}))}else i&&clearTimeout(i),i=setTimeout(()=>{i=void 0,n(t),a&&n(0)},e(t[0]))})}},t.delay=function(e){return t=>n=>{var r=0;t(t=>{0!==t&&0===t.tag?n(t):(r++,setTimeout(()=>{r&&(r--,n(t))},e))})}},t.empty=e=>{var t=!1;e(r(n=>{1===n?t=!0:t||(t=!0,e(0))}))},t.filter=function(e){return t=>r=>{var i=n;t(t=>{0===t?r(0):0===t.tag?(i=t[0],r(t)):e(t[0])?r(t):i(0)})}},t.flatten=d,t.forEach=function(e){return t=>{v(e)(t)}},t.fromArray=g,t.fromAsyncIterable=m,t.fromCallbag=function(e){return t=>{e(0,(e,n)=>{0===e?t(r(e=>{n(e+1)})):1===e?t(i(n)):t(0)})}},t.fromDomEvent=function(e,t){return y(n=>(e.addEventListener(t,n.next),()=>e.removeEventListener(t,n.next)))},t.fromIterable=g,t.fromObservable=function(e){return t=>{var n=(e[o()]?e[o()]():e).subscribe({next(e){t(i(e))},complete(){t(0)},error(e){throw e}});t(r(e=>{1===e&&n.unsubscribe()}))}},t.fromPromise=function(e){return y(t=>(e.then(e=>{Promise.resolve(e).then(()=>{t.next(e),t.complete()})}),n))},t.fromValue=function(e){return t=>{var n=!1;t(r(r=>{1===r?n=!0:n||(n=!0,t(i(e)),t(0))}))}},t.interval=function(e){return y(t=>{var n=0,r=setInterval(()=>t.next(n++),e);return()=>clearInterval(r)})},t.lazy=function(e){return t=>e()(t)},t.make=y,t.makeSubject=function(){var e,t;return{source:f(y(r=>(e=r.next,t=r.complete,n))),next(t){e&&e(t)},complete(){t&&t()}}},t.map=function(e){return t=>n=>t(t=>{0===t||0===t.tag?n(t):n(i(e(t[0])))})},t.merge=function(e){return d(g(e))},t.mergeAll=d,t.mergeMap=c,t.never=e=>{e(r(n))},t.onEnd=function(e){return t=>n=>{var i=!1;t(t=>{if(i);else if(0===t)i=!0,n(0),e();else if(0===t.tag){var a=t[0];n(r(t=>{1===t?(i=!0,a(1),e()):a(t)}))}else n(t)})}},t.onPush=p,t.onStart=function(e){return t=>n=>t(t=>{0===t?n(0):0===t.tag?(n(t),e()):n(t)})},t.pipe=(...e)=>{for(var t=e[0],n=1,r=e.length;n<r;n++)t=e[n](t);return t},t.publish=function(e){v(e=>{})(e)},t.sample=function(e){return t=>a=>{var o,s=n,l=n,u=!1,c=!1;t(e=>{c||(0===e?(c=!0,l(1),a(0)):0===e.tag?s=e[0]:(o=e[0],u?u=!1:(u=!0,l(0),s(0))))}),e(e=>{if(c);else if(0===e)c=!0,s(1),a(0);else if(0===e.tag)l=e[0];else if(void 0!==o){var t=i(o);o=void 0,a(t)}}),a(r(e=>{1!==e||c?c||u||(u=!0,s(0),l(0)):(c=!0,s(1),l(1))}))}},t.scan=function(e,t){return n=>r=>{var a=t;n(t=>{0===t?r(0):0===t.tag?r(t):r(i(a=e(a,t[0])))})}},t.share=f,t.skip=function(e){return t=>r=>{var i=n,a=e;t(e=>{0===e?r(0):0===e.tag?(i=e[0],r(e)):a-- >0?i(0):r(e)})}},t.skipUntil=function(e){return t=>i=>{var a=n,o=n,s=!0,l=!1,u=!1;t(t=>{u||(0===t?(u=!0,s&&o(1),i(0)):0===t.tag?(a=t[0],e(e=>{0===e?s&&(u=!0,a(1)):0===e.tag?(o=e[0])(0):(s=!1,o(1))})):s?l?l=!1:(l=!0,a(0),o(0)):(l=!1,i(t)))}),i(r(e=>{1!==e||u?u||l||(l=!0,s&&o(0),a(0)):(u=!0,a(1),s&&o(1))}))}},t.skipWhile=function(e){return t=>r=>{var i=n,a=!0;t(t=>{0===t?r(0):0===t.tag?(i=t[0],r(t)):a?e(t[0])?i(0):(a=!1,r(t)):r(t)})}},t.subscribe=v,t.switchAll=function(e){return h(s)(e)},t.switchMap=h,t.take=function(e){return t=>i=>{var a=n,o=!1,s=0;t(t=>{o||(0===t?(o=!0,i(0)):0===t.tag?e<=0?(o=!0,i(0),t[0](1)):a=t[0]:s++<e?(i(t),!o&&s>=e&&(o=!0,i(0),a(1))):i(t))}),i(r(t=>{1!==t||o?0===t&&!o&&s<e&&a(0):(o=!0,a(1))}))}},t.takeLast=function(e){return t=>r=>{var i=[],a=n;t(t=>{0===t?g(i)(r):0===t.tag?e<=0?(t[0](1),g(i)(r)):(a=t[0])(0):(i.length>=e&&e&&i.shift(),i.push(t[0]),a(0))})}},t.takeUntil=function(e){return t=>i=>{var a=n,o=n,s=!1;t(t=>{s||(0===t?(s=!0,o(1),i(0)):0===t.tag?(a=t[0],e(e=>{0===e||(0===e.tag?(o=e[0])(0):(s=!0,o(1),a(1),i(0)))})):i(t))}),i(r(e=>{1!==e||s?s||a(0):(s=!0,a(1),o(1))}))}},t.takeWhile=function(e,t){return r=>i=>{var a=n,o=!1;r(n=>{o||(0===n?(o=!0,i(0)):0===n.tag?(a=n[0],i(n)):e(n[0])?i(n):(o=!0,t&&i(n),i(0),a(1)))})}},t.tap=p,t.throttle=function(e){return t=>n=>{var i,a=!1;t(t=>{if(0===t)i&&clearTimeout(i),n(0);else if(0===t.tag){var o=t[0];n(r(e=>{1===e?(i&&clearTimeout(i),o(1)):o(0)}))}else a||(a=!0,i&&clearTimeout(i),i=setTimeout(()=>{i=void 0,a=!1}
668,e(t[0])),n(t))})}},t.toArray=function(e){var t=[],r=n,i=!1;return e(e=>{0===e?i=!0:0===e.tag?(r=e[0])(0):(t.push(e[0]),r(0))}),i||r(1),t},t.toAsyncIterable=e=>{var t,r=[],i=!1,o=!1,s=!1,l=n;return{next:async()=>(o||(o=!0,e(e=>{i||(0===e?(t&&(t=t(b)),i=!0):0===e.tag?(s=!0,(l=e[0])(0)):(s=!1,t?t=t({value:e[0],done:!1}):r.push(e[0])))})),i&&!r.length)?b:(i||s||!(r.length<=1)||(s=!0,l(0)),r.length?{value:r.shift(),done:!1}:new Promise(e=>t=e)),return:async()=>(i||(t=l(1)),i=!0,b),[a()](){return this}}},t.toCallbag=function(e){return(t,n)=>{0===t&&e(e=>{0===e?n(2):0===e.tag?n(0,t=>{t<3&&e[0](t-1)}):n(1,e[0])})}},t.toObservable=function(e){return{subscribe(t,r,i){var a="object"==typeof t?t:{next:t,error:r,complete:i},o=n,s=!1;e(e=>{s||(0===e?(s=!0,a.complete&&a.complete()):0===e.tag?(o=e[0])(0):(a.next(e[0]),o(0)))});var l={closed:!1,unsubscribe(){l.closed=!0,s=!0,o(1)}};return l},[o()](){return this}}},t.toPromise=function(e){return new Promise(t=>{var r,i=n;e(e=>{0===e?Promise.resolve(r).then(t):0===e.tag?(i=e[0])(0):(r=e[0],i(0))})})},t.zip=_},55263:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adSystemSchema=void 0;let r=n(92712);t.adSystemSchema=r.z.object({$version:r.z.string().optional(),value:r.z.string()})},55809:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNetworkInformationApi=void 0;let r=n(70015),i=n(66023),a=n(7939),o=n(85172),s=n(55036);t.createNetworkInformationApi=function(e){let{nativeNetworkEventEmitter:t,nativeNetworkInformationApi:n,errorReporter:l,invoker:u}=e,c=(0,a.createEventEmitter)();function d(){return r.__awaiter(this,void 0,void 0,function*(){let e=yield n.getConnectionInformation();return o.networkConnectionInformationSchema.parse(e)})}function p(){return r.__awaiter(this,void 0,void 0,function*(){let e=yield n.getUsageSettings();return s.usageSettingsSchema.parse(e)})}function f(){return r.__awaiter(this,void 0,void 0,function*(){let e;try{e=yield d()}catch(e){l.sendError((0,i.stampError)("Failed to retrieve connection information",e));return}c.emit("connectionInformationChange",e)})}function h(){return r.__awaiter(this,void 0,void 0,function*(){let e;try{e=yield p()}catch(e){l.sendError((0,i.stampError)("Failed to retrieve network usage settings",e));return}c.emit("usageSettingsChange",e)})}function m(){u.fireAndForget(f,[])}function g(){u.fireAndForget(h,[])}return t.on("connectionInformationChange",m),t.on("usageSettingsChange",g),{destroy(){t.off("connectionInformationChange",m),t.off("usageSettingsChange",g),c.destroy()},getConnectionInformation:d,getUsageSettings:p,off:c.off,on:c.on}}},55821:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(94490));t.default=function(e){return"string"==typeof e&&r.default.test(e)}},55855:(e,t,n)=>{"use strict";n.d(t,{i:()=>s,s:()=>o});var r,i=n(53239),a=!!(r||(r=n.t(i,2))).useInsertionEffect&&(r||(r=n.t(i,2))).useInsertionEffect,o=a||function(e){return e()},s=a||i.useLayoutEffect},55936:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatSeconds=void 0;function n(e){return Math.floor(e/60)%60}function r(e){return Math.floor(e/3600)}function i(e,t){let{targetLength:n}=t;return`${e}`.padStart(n,"0")}function a(e){return e.toString().length}t.formatSeconds=function(e,t,o=!1){let s=o?Math.ceil:Math.floor,l=!Number.isNaN(e)&&Number.isFinite(e)&&e>=0?e:0,u=null!=t?t:l,c=s(l),d=c%60,p=n(c),f=r(c),h=r(u),m=n(u);return h>0?[i(f,{targetLength:a(h)}),i(p,{targetLength:2}),i(d,{targetLength:2})].join(":"):[i(p,{targetLength:a(m)}),i(d,{targetLength:2})].join(":")}},55961:(e,t,n)=>{var r=n(16421),i=n(2502),a=n(3656),o=n(60161);e.exports={getAdsAdapter:function(){return this._adsAdapter},setAdsAdapter:function(e){if(e.plugin)r.warn("Adapters can only be added to a single plugin");else for(var t in this.removeAdsAdapter(),e.plugin=this,this._adsAdapter=e,e.setIsAds(!0),this.adsAdapterListeners={},this.adsAdapterListeners[a.Event.START]=this._adStartListener.bind(this),this.adsAdapterListeners[a.Event.JOIN]=this._adJoinListener.bind(this),this.adsAdapterListeners[a.Event.PAUSE]=this._adPauseListener.bind(this),this.adsAdapterListeners[a.Event.RESUME]=this._adResumeListener.bind(this),this.adsAdapterListeners[a.Event.BUFFER_BEGIN]=this._adBufferBeginListener.bind(this),this.adsAdapterListeners[a.Event.BUFFER_END]=this._adBufferEndListener.bind(this),this.adsAdapterListeners[a.Event.STOP]=this._adStopListener.bind(this),this.adsAdapterListeners[a.Event.ERROR]=this._adErrorListener.bind(this),this.adsAdapterListeners[a.Event.CLICK
668]=this._adClickListener.bind(this),this.adsAdapterListeners[a.Event.MANIFEST]=this._adManifestListener.bind(this),this.adsAdapterListeners[a.Event.PODSTART]=this._adBreakStartListener.bind(this),this.adsAdapterListeners[a.Event.PODSTOP]=this._adBreakStopListener.bind(this),this.adsAdapterListeners[a.Event.QUARTILE]=this._adQuartileListener.bind(this),this.adsAdapterListeners)this._adsAdapter.on(t,this.adsAdapterListeners[t])},removeAdsAdapter:function(){if(this._adsAdapter){if(this._adsAdapter.dispose(),this._adsAdapter.plugin=null,this.adsAdapterListeners){for(var e in this.adsAdapterListeners)this._adsAdapter.off(e,this.adsAdapterListeners[e]);delete this.adsAdapterListeners}this.resizeScrollDetector.stopDetection(),this._adsAdapter=null}},_adStartListener:function(e){this._adapter?(this._adapter.fireBufferEnd(null,"adStartListener"),this._adapter.fireSeekEnd(null,"adStartListener"),this.isInitiated||this._adapter.flags.isStarted||this._adapter.fireStart(),this._adapter.flags.isPaused&&this._adapter.chronos.pause.reset()):this.fireInit(),this._adsAdapter&&(this._adsAdapter.chronos.viewedMax=[]);var t=e.data.params||{};t.adNumber=this.requestBuilder.getNewAdNumber(),(this.getAdResource()||this.getAdTitle())&&"number"==typeof this.getAdDuration()?(this.adStartSent=!0,this._adsAdapter.fireManifest(),this._adsAdapter.fireBreakStart(),t.adNumberInBreak=this.requestBuilder.getNewAdNumberInBreak(),this._sendAdEventIfAllowed(i.WillSendEvent.WILL_SEND_AD_START,i.Service.AD_START,t)):(this.adInitSent=!0,t.adNumberInBreak=this.requestBuilder.getNewAdNumberInBreak(),this._sendAdEventIfAllowed(i.WillSendEvent.WILL_SEND_AD_INIT,i.Service.AD_INIT,t))},_adJoinListener:function(e){var t={};o.assign(t,e.data.params||{}),this.adInitSent&&!this.adStartSent&&(this._adsAdapter.fireManifest(),this._adsAdapter.fireBreakStart(),this._sendAdEventIfAllowed(i.WillSendEvent.WILL_SEND_AD_START,i.Service.AD_START,t)),this._adsAdapter.startChronoView(),this.adConnected&&(this._adsAdapter.chronos.join.startTime=this.adConnectedTime,this._adsAdapter.chronos.total.startTime=this.adConnectedTime,this.adConnectedTime=0,this.adConnected=!1),t=e.data.params||{},this._sendAdEventIfAllowed(i.WillSendEvent.WILL_SEND_AD_JOIN,i.Service.AD_JOIN,t),this.adInitSent=!1,this.adStartSent=!1},_adPauseListener:function(e){var t=e.data.params||{};this._adsAdapter.stopChronoView(),this._sendAdEventIfAllowed(i.WillSendEvent.WILL_SEND_AD_PAUSE,i.Service.AD_PAUSE,t)},_adResumeListener:function(e){var t=e.data.params||{};this._adsAdapter.startChronoView(),this._sendAdEventIfAllowed(i.WillSendEvent.WILL_SEND_AD_RESUME,i.Service.AD_RESUME,t)},_adBufferBeginListener:function(e){r.notice("Ad Buffer Begin"),this._adsAdapter.stopChronoView(),this._adsAdapter&&this._adsAdapter.flags.isPaused&&this._adsAdapter.chronos.pause.reset()},_adBufferEndListener:function(e){var t=e.data.params||{};this._adsAdapter.startChronoView(),this._sendAdEventIfAllowed(i.WillSendEvent.WILL_SEND_AD_BUFFER,i.Service.AD_BUFFER,t)},_adStopListener:function(e){this._adsAdapter.stopChronoView(),this._adsAdapter.flags.reset(),this._totalPrerollsTime=(this._totalPrerollsTime||0)+this._adsAdapter.chronos.total.getDeltaTime();var t=e.data.params||{};if(t.position=this.requestBuilder.lastSent.position,this._sendAdEventIfAllowed(i.WillSendEvent.WILL_SEND_AD_STOP,i.Service.AD_STOP,t),this.requestBuilder.lastSent.position===i.AdPosition.Postroll){var n=this.options["ad.expectedPattern"];this.playedPostrolls++,(this.requestBuilder.lastSent.givenAds&&this.requestBuilder.lastSent.givenAds<=this.playedPostrolls||!this.requestBuilder.lastSent.givenAds&&n&&n.post&&n.post[0]&&n.post[0]<=this.playedPostrolls)&&this.fireStop()}this.adConnected=!0,this.adConnectedTime=new Date().getTime()},_adErrorListener:function(e){var t=e.data.params||{};return!this._adapter||this._adapter.flags.isStarted||this.isInitiated?this._blockAdError(e.data.params)?null:void(this._adsAdapter&&(this._adsAdapter.fireManifest(),this._adsAdapter.fireBreakStart()),(!this._adsAdapter||!this._adsAdapter.flags.isStarted)&&(t.adNumber=this.requestBuilder.getNewAdNumber(),t.adNumberInBreak=this.requestBuilder.getNewAdNumberInBreak()),!this.isBreakStarted&&(t.breakNumber=this.requestBuilder.getNewBreakNumber()),this._sendAdEventIfAllowed(i.WillSendEvent.WILL_SEND_AD_ERROR,i.Service.AD_ERROR,t)):(this._savedAdError=e,null)},_adSavedError:function(){this._savedAdError&&(this._adErrorListener(this._savedAdError),this._savedAdError=null)},_adSavedManifest:function(){this._savedAdManifest&&(this._adManifestListener(this._savedAdManifest),this._savedAdManifest=null)},_blockAdError:function(e){var t=Date.now();
668return this._lastAdErrorParams&&this._lastAdErrorParams.errorCode===e.errorCode&&this._lastAdErrorParams.msg===e.msg&&this._lastAdErrorParams.adCreativeId===this.getAdCreativeId()&&this._lastAdErrorTime+5e3>t?(this._lastAdErrorTime=t,!0):(this._lastAdErrorTime=t,this._lastAdErrorParams=e,!1)},_adClickListener:function(e){var t=e.data.params||{};this._adsAdapter.stopChronoView(),this._sendAdEventIfAllowed(i.WillSendEvent.WILL_SEND_AD_CLICK,i.Service.AD_CLICK,t)},_adManifestListener:function(e){if(!this.isAdsManifestSent){if(this._adapter&&!this._adapter.flags.isStarted&&!this.isInitiated)return this._savedAdManifest=e,null;var t=e.data.params||{};this.isAdsManifestSent=!0,this._sendAdEventIfAllowed(i.WillSendEvent.WILL_SEND_AD_MANIFEST,i.Service.AD_MANIFEST,t)}},_adBreakStartListener:function(e){if(!this.isBreakStarted){this.isBreakStarted=!0,this._adapter&&this._adapter.firePause();var t=e.data.params||{};t.breakNumber=this.requestBuilder.getNewBreakNumber(),this._sendAdEventIfAllowed(i.WillSendEvent.WILL_SEND_AD_POD_START,i.Service.AD_POD_START,t),this.adConnected=!1}},_adBreakStopListener:function(e){if(this.isBreakStarted){this.isBreakStarted=!1;var t=e.data.params||{};t.position=this.requestBuilder.lastSent.position,this._sendAdEventIfAllowed(i.WillSendEvent.WILL_SEND_AD_POD_STOP,i.Service.AD_POD_STOP,t),this.adConnected=!1,this._adapter&&this._adapter.fireResume()}},_adQuartileListener:function(e){var t=e.data.params||{};t.quartile&&this._sendAdEventIfAllowed(i.WillSendEvent.WILL_SEND_AD_QUARTILE,i.Service.AD_QUARTILE,t)},_sendAdEventIfAllowed:function(e,t,n){this.options["ad.ignore"]||this._send(e,t,n),r.notice(t)}}},55970:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clamp=void 0,t.clamp=function(e,t,n){return Math.max(Math.min(e,n),t)}},56320:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRollNameByOffset=void 0,t.getRollNameByOffset=e=>{let t="midroll";return"start"===e||null===e?t="preroll":"end"===e&&(t="postroll"),t}},56374:e=>{var t=function(e){var n,r,i=(e=e||window).document,a=function(t){var n=!1;if(t.getBoundingClientRect){var r=t.getBoundingClientRect();(n={top:Math.max(r.top,0),left:Math.max(r.left,0),bottom:Math.min(r.bottom,e.innerHeight||i.documentElement.clientHeight),right:Math.min(r.right,e.innerWidth||i.documentElement.clientWidth)}).bottom<=n.top||n.right<=n.left?n=!1:n.area=(n.bottom-n.top)*(n.right-n.left)}return n},o=function(e,t){if(t){var n=a(e);n&&s.push({url:t,area:n.area,rect:n})}},s=[],l=[];try{var u=e.performance.timing.navigationStart;!function(){for(var n=i.getElementsByTagName("*"),r=/url\(.*(http.*)\)/ig,l=0;l<n.length;l++){var u=n[l],c=e.getComputedStyle(u);if("IMG"===u.tagName&&o(u,u.src),c["background-image"]){r.lastIndex=0;var d=r.exec(c["background-image"]);d&&d.length>1&&o(u,d[1].replace('"',""))}if("IFRAME"===u.tagName)try{var p=a(u);if(p){var f=t(u.contentWindow);f&&s.push({tm:f,area:p.area,rect:p})}}catch(e){}}}();for(var c={},d=e.performance.getEntriesByType("resource"),p=0;p<d.length;p++)c[d[p].name]=d[p].responseEnd;for(var f=0;f<s.length;f++)"tm"in s[f]||(s[f].tm=void 0!==c[s[f].url]?c[s[f].url]:0);if(!function(){"msFirstPaint"in e.performance.timing&&(n=e.performance.timing.msFirstPaint-u);for(var t=e.performance.getEntriesByType("paint"),r=0;r<t.length;r++)"first-paint"===t[r].name&&(n=t[r].startTime);if(void 0===n||n<0||n>12e4){n=e.performance.timing.responseStart-u;for(var a={},o=i.getElementsByTagName("head")[0].children,s=0;s<o.length;s++){var l=o[s];"SCRIPT"===l.tagName&&l.src&&!l.async&&(a[l.src]=!0),"LINK"===l.tagName&&"stylesheet"===l.rel&&l.href&&(a[l.href]=!0)}for(var c=e.performance.getEntriesByType("resource"),d=!1,p=0;p<c.length;p++)if(!d&&a[c[p].name]&&("script"===c[p].initiatorType||"link"===c[p].initiatorType)){var f=c[p].responseEnd;(void 0===n||f>n)&&(n=f)}else d=!0}n=Math.max(n,0)}(),!function(){for(var t={0:0},r=0,a=0;a<s.length;a++){var o=n;"tm"in s[a]&&s[a].tm>n&&(o=s[a].tm),void 0===t[o]&&(t[o]=0),t[o]+=s[a].area,r+=s[a].area}var u=Math.max(i.documentElement.clientWidth,e.innerWidth||0)*Math.max(i.documentElement.clientHeight,e.innerHe
668ight||0);if(u>0&&(u=.1*Math.max(u-r,0),void 0===t[n]&&(t[n]=0),t[n]+=u,r+=u),r){for(var c in t)t.hasOwnProperty(c)&&l.push({tm:c,area:t[c]});l.sort(function(e,t){return e.tm-t.tm});for(var d=0,p=0;p<l.length;p++)d+=l[p].area,l[p].progress=d/r}}(),l.length){r=0;for(var h=0,m=0,g=0;g<l.length;g++){var y=l[g].tm-h;y>0&&m<1&&(r+=(1-m)*y),h=l[g].tm,m=l[g].progress}}else r=n}catch(e){}return r};e.exports=t},56404:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatInvalidUnionIssue=void 0;let r=n(39153),i=n(25851),a=new Set(["invalid_type","invalid_literal"]);t.formatInvalidUnionIssue=function(e,t){var n,o;let s=e.unionErrors.flatMap(e=>e.issues);if(n=e.path.length,s.every(e=>a.has(e.code)&&e.path.length===n)){let[e]=s;if(e){let n=(o=t.inputData,"invalid_type"===e.code?e.received:typeof o),a=s.map(e=>e.expected);return{message:`Invalid value provided${t.location}, expected ${function(e){let t=(0,r.extractUniqueValues)(e);return t.length>1?`one of ${(0,i.formatListOfValues)(t)}`:(0,i.formatListOfValues)(t)}(a)} but instead got ${n}`}}}return{message:`Invalid value provided${t.location}, given ${typeof t.inputData} doesnât match the expected union type`}}},56415:(e,t,n)=>{var r=n(54906),i=n(50772),a=n(16421),o=n(87671),s=n(37906),l=n(5669),u=r.extend({constructor:function(e){this.enabled=!0,this.host="a-fds.youborafds01.com",this.accountCode="nicetest",this.authToken=null,this.authType="Bearer",this.preventZombieViews=!0,this.offline=!1,this.referer=null,this.referral=null,this.disableCookies=!0,this.forceCookies=!1,this.disableStorage=!1,this["user.email"]=null,this["user.type"]=null,this["user.name"]=null,this["user.obfuscateIp"]=!1,this["user.anonymousId"]=null,this["user.privacyProtocol"]=null,this["user.profileId"]=null,this["parse.manifest"]=!1,this["parse.manifest.auth"]={},this["parse.cdnNameHeader"]=["x-cdn-forward"],this["parse.cdnNodeHeader"]="",this["parse.cdnNode"]=!1,this["parse.cdnNode.list"]=["Akamai","Amazon","Cloudfront","Level3","Fastly","Highwinds","Telefonica","Edgecast","NosOtt"],this["parse.fdsResponseHost"]=null,this["parse.cdnSwitchHeader"]=!1,this["parse.cdnTTL"]=60,this["network.ip"]=null,this["network.isp"]=null,this["network.connectionType"]=null,this["device.id"]=null,this["device.code"]=null,this["device.model"]=null,this["device.brand"]=null,this["device.type"]=null,this["device.name"]=null,this["device.osName"]=null,this["device.osVersion"]=null,this["device.browserName"]=null,this["device.browserVersion"]=null,this["device.browserType"]=null,this["device.browserEngine"]=null,this["device.EDID"]=null,this["device.isAnonymous"]=!1,this["content.transactionCode"]=null,this["content.resource"]=null,this["content.isLive"]=null,this["content.isLive.noSeek"]=!1,this["content.isLive.noMonitor"]=!1,this["content.title"]=null,this["content.program"]=null,this["content.duration"]=null,this["content.fps"]=null,this["content.segmentDuration"]=null,this["content.bitrate"]=null,this["content.totalBytes"]=null,this["content.sendTotalBytes"]=!1,this["content.throughput"]=null,this["content.rendition"]=null,this["content.cdn"]=null,this["content.cdnNode"]=null,this["content.cdnType"]=null,this["content.metadata"]={},this["content.metrics"]={},this["content.streamingProtocol"]=null,this["content.transportFormat"]=null,this["content.package"]=null,this["content.saga"]=null,this["content.tvShow"]=null,this["content.season"]=null,this["content.episodeTitle"]=null,this["content.channel"]=null,this["content.id"]=null,this["content.imdbId"]=null,this["content.gracenoteId"]=null,this["content.type"]=null,this["content.genre"]=null,this["content.language"]=null,this["content.autodetect.language"]=!0,this["content.subtitles"]=null,this["content.autodetect.subtitles"]=!0,this["content.contractedResolution"]=null,this["content.cost"]=null,this["content.price"]=null,this["content.playbackType"]=null,this["content.drm"]=null,this["content.encoding.videoCodec"]=null,this["content.encoding.audioCodec"]=null,this["content.encoding.codecSettings"]=null,this["content.encoding.codecProfile"]=null,this["content.encoding.containerFormat"]=null,this["ad.metadata"]={},this["ad.campaign"]=null,this["ad.creativeId"]=null,this["ad.provider"]=null,this["ad.resource"]=null,this["ad.title"]=null,this["ad.duration"]=null,this["ad.expectedPattern"]=null,this["ad.givenAds"]=null,this["ad.breaksTime"]=null,this["ad.expectedBreaks"]=null,this["ad.givenBreaks"]=null,this["ad.ignore"]=!1,this["ad.blockerDetected"]=null,this["app.name"]=null,this["app.releaseVersion"]=null,this["app.https"]=!1,this["background.enabled"]=!0,this["background.settings"]=null,this["background.settings.android"]="stop",this["background.settings.iOS"]="stop",this["background.settings.desktop"]=null,this["background.settings.tv"]="stop",this["background.settings.playstation"]="stop",this["cdnbalancer.uuid"]=null,this["content.customDimensions"]={},this["content.customDimension.1"]=null,this["content.customDimension.2"]=null,this["content.customDimension.3"]=null,this["content.customDimension.4"]=null,this["content.customDimension.5"]=null,this["content.customDimension.6"]=null,this["content.customDimension.7"]=null,this["content.customDimension.8"]=null,this["content.customDimension.9"]=null,this["content.customDimension.10"]=null,this["content.customDimension.11"]=null,this["content.customDimension.12"]=null,this["content.customDimension.13"]=null,this["content.customDimension.14"]=null,this["content.customDimension.15"]=null,this["content.customDimension.16"]=null,this["content.customDimension.17"]=null,this["content.customDimension.18"]=null,this["content.customDimension.19"]=null,this["content.customDimension.20"]=null,this["ad.customDimension.1"]=null,this["ad.customDimension.2"]=null,this["ad.customDimension.3"]=null,this["ad.customDimension.4"]=null,this["ad.customDimension.5"]=null,this["ad.customDimension.6"]=null,this["ad.customDimension.7"]=null,this["ad.customDimension.8"]=null,this["ad.customDimension.9"]=null,this["ad.customDimension.10"]=null,this.forceInit=!1,this["session.metrics"]={},this["session.context"]=!1,this["errors.fatal"]=[],this["errors.nonFatal"]=[],this["errors.ignore"]=[],this.linkedViewId=null,this.waitForMetadata=!1,this.pendingMetadata=[],this.method=l.GET,this["playhead.monitor"]=!0,this["readyState.monitor"]=!0,this["session.splitViews"]=!1,this.setOptions(e)},setOptions:function(e,t){var n=!1;if(void 0===t){t=this,n=!0;var r=new i}if(void 0!==e)for(var o in e){var s=!1,l=null;n&&!this.hasOwnProperty(o)&&(r.exists(o)?(l=r.getNewName(o),s=!0):a.warn('The option "'+o+'" does not exist, so it cannot be set')),"object"!=typeof t[o]||null===t[o]||Array.isArray(t[o])||"parse.cdnNode.list"!==o?s?t[l]=e[o]:t[o]=e[o]:this.setOptions(e[o],t[o])}},setExtraParams:function(e){if("object"==typeof e&&e.length){for(e.length>=20&&(e=e.slice(0,20));e.length<20;)e.push(null);e.forEach((function(e,t){this["content.customDimension."+(t+1).toString()]=e}).bind(this))}},setCustomDimensions:function(){u.prototype.setExtraParams.apply(this,arguments)},setAdExtraParams:function(e){if("object"==typeof e&&e.length){for(e.length>=10&&(e=e.slice(0,10));e.length<10;)e.push(null);e.forEach((function(e,t){this["ad.customDimension."+(t+1).toString()]=e}).bind(this))}},setAdCustomDimensions:function(){u.prototype.setAdExtraParams.apply(this,arguments)}}
668,{StreamingProtocol:s,TransportFormat:o,RequestMethod:l});e.exports=u},56428:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createHttpClient=t.HttpFailureResponseError=void 0;let r=n(70015),i=r.__importDefault(n(60654)),a=n(73326),o=n(59700);var s=n(59700);Object.defineProperty(t,"HttpFailureResponseError",{enumerable:!0,get:function(){return s.HttpFailureResponseError}}),t.createHttpClient=function(e){let{ky:t}=e;function n(e,n,s,l){return r.__awaiter(this,void 0,void 0,function*(){let u=Object.assign(Object.assign({timeout:3e4},function(e,t){let{retry:n=!1}=e,i=r.__rest(e,["retry"]),a=Object.assign(Object.assign({},t),i);return n&&(a.retry={limit:3,methods:["get","post"],statusCodes:[408,413,429,500,502,503,504]}),a}(s,l)),{method:n});try{let o=yield!0===s.retry?function e(n,a,o){return r.__awaiter(this,void 0,void 0,function*(){try{return yield t(n,a)}catch(t){if(!(t instanceof i.default.HTTPError)&&o<3)return e(n,a,o+1);throw t}})}(e,u,0):t(e,u);return(0,a.extractResponseBody)(o,e,n,s)}catch(t){throw yield(0,o.mapUnknownResponseErrorToHttpError)(t,e,n,s)}})}return{get({uri:e,options:t={}}){return r.__awaiter(this,void 0,void 0,function*(){return n(e,"get",t)})},post({uri:e,payload:t,options:i={}}){return r.__awaiter(this,void 0,void 0,function*(){return n(e,"post",i,{body:t})})},postJson({uri:e,payload:t,options:i={}}){return r.__awaiter(this,void 0,void 0,function*(){return n(e,"post",i,{json:t})})},putJson({uri:e,payload:t,options:i={}}){return r.__awaiter(this,void 0,void 0,function*(){return n(e,"put",i,{json:t})})}}}},56529:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateInline=void 0;let r=n(47561),i=n(35171),a=n(42164);t.validateInline=function(e,t,n){var o;let s=`${e}.inline`,l=null==(o=null==n?void 0:n.extensions)?void 0:o.extension,u=i.vastInlineSchema.safeParse(n);return u.success?r.Result.ok(t):(0,a.handleZodError)({adSource:t,baseErrorPath:s,error:u.error,extension:l})}},56689:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;0!=i--;){var r,i,a,o=a[i];if(!e(t[o],n[o]))return!1}return!0}return t!=t&&n!=n}},56838:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(82486),i=n(92221),a=n(21273),o=n(76227),s=n(46523),l=n(82609),u=n(76737),c=n(1646),d=n(26189),p=n(83139),f=n(11002),h=n(28481),m=n(87815),g={sync:!1,autoForward:!1};t.InterpreterStatus=void 0,function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"}(t.InterpreterStatus||(t.InterpreterStatus={}));var y=function(){function e(n,a){void 0===a&&(a=e.defaultOptions);var d=this;this.machine=n,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=t.InterpreterStatus.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(e,n){if(u.isArray(e))return d.batch(e),d.state;var r=u.toSCXMLEvent(u.toEventObject(e,n));if(d.status===t.InterpreterStatus.Stopped)return l.IS_PRODUCTION||u.warn(!1,'Event "'.concat(r.name,'" was sent to stopped service "').concat(d.machine.id,'". This service has already reached its final state, and will not transition.\nEvent: ').concat(JSON.stringify(r.data))),d.state;if(d.status!==t.InterpreterStatus.Running&&!d.options.deferEvents)throw Error('Event "'.concat(r.name,'" was sent to uninitialized service "').concat(d.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.\nEvent: ').concat(JSON.stringify(r.data)));return d.scheduler.schedule(function(){d.forward(r);var e=d._nextState(r);d.update(e,r)}),d._state},this.sendTo=function(e,n,a){var c=d.parent&&(n===i.SpecialTargets.Parent||d.parent.id===n),f=c?d.parent:u.isString(n)?n===i.SpecialTargets.Internal?d:d.children.get(n)||p.registry.get(n):u.isActor(n)?n:void 0;if(!f){if(!c)throw Error("Unable to send event to child '".concat(n,"' from service '").concat(d.id,"'."));l.IS_PRODUCTION||u.warn(!1,"Service '".concat(d.id,"' has no parent: unable to send event ").concat(e.type));return}if("machine"in f){if(d.status!==t.InterpreterStatus.Stopped||d.parent!==f||d.state.done){var h=r.__assign(r.__assign({},e),{name:e.name===o.error?"".concat(s.error(d.id)):e.name,origin:d.sessionId});!a&&d.machine.config.predictableActionArguments?d._outgoingQueue.push([f,h]):f.send(h)}}else!a&&d.machine.config.predictableActionArguments?d._outgoingQueue.push([f,e.data]):f.send(e.data)},this._exec=function(e,n,r,a){void 0===a&&(a=d.machine.options.actions);var c=e.exec||s.getActionFunction(e.type,a),p=u.isFunction(c)?c:c?c.exec:e.exec;if(p)try{return p(n,r.data,d.machine.config.predictableActionArguments?{action:e,_event:r}:{action:e,state:d.state,_event:r})}catch(e){throw d.parent&&d.parent.send({type:"xstate.error",data:e}),e}switch(e.type){case o.raise:d.defer(e);break;case o.send:if("number"==typeof e.delay)return void d.defer(e);e.to?d.sendTo(e._event,e.to,r===s.initEvent):d.send(e._event);break;case o.cancel:d.cancel(e.sendId);break;case o.start:if(d.status!==t.InterpreterStatus.Running)return;var f=e.activity;if(!d.machine.config.predictableActionArguments&&!d.state.activities[f.id||f.type])break;if(f.type===i.ActionTypes.Invoke){var h=u.toInvokeSource(f.src),m=d.machine.options.services?d.machine.options.services[h.type]:void 0,g=f.id,y=f.data;l.IS_PRODUCTION||u.warn(!("forward"in f),"`forward` property is deprecated (found in invocation of '".concat(f.src,"' in in machine '").concat(d.machine.id,"'). ")+"Please use `autoForward` instead.");var v="autoForward"in f?f.autoForward:!!f.forward;if(!m){l.IS_PRODUCTION||u.warn(!1,"No service found for invocation '".concat(f.src,"' in machine '").concat(d.machine.id,"'."));return}var b=y?u.mapContext(y,n,r):void 0;if("string"==typeof m)return;var _=u.isFunction(m)?m(n,r.data,{data:b,src:h,meta:f.meta}):m;if(!_)return;var S=void 0;u.isMachine(_)&&(_=b?_.withContext(b):_,S={autoForward:v}),d.spawn(_,g,S)}else d.spawnActivity(f);break;case o.stop:d.stopChild(e.activity.id);break;case o.log:var E=e.label,k=e.value;E?d.logger(E,k):d.logger(k);break;default:l.IS_PRODUCTION||u.warn(!1,"No implementation found for action type '".concat(e.type,"'"))}};var f=r.__assign(r.__assign({},e.defaultOptions),a),h=f.clock,m=f.logger,g=f.parent,y=f.id,v=void 0!==y?y:n.id;this.id=v,this.logger=m,this.clock=h,this.parent=g,this.options=f,this.scheduler
668=new c.Scheduler({deferEvents:this.options.deferEvents}),this.sessionId=p.registry.bookId()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var e=this;return this._initialState?this._initialState:h.provide(this,function(){return e._initialState=e.machine.initialState,e._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return l.IS_PRODUCTION||u.warn(this.status!==t.InterpreterStatus.NotStarted,"Attempted to read state from uninitialized service '".concat(this.id,"'. Make sure the service is started first.")),this._state},enumerable:!1,configurable:!0}),e.prototype.execute=function(e,t){var n,i;try{for(var a=r.__values(e.actions),o=a.next();!o.done;o=a.next()){var s=o.value;this.exec(s,e,t)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},e.prototype.update=function(e,t){var n,i,a,o,l,c,d,f,h=this;if(e._sessionid=this.sessionId,this._state=e,(!this.machine.config.predictableActionArguments||t===s.initEvent)&&this.options.execute)this.execute(this.state);else for(var m=void 0;m=this._outgoingQueue.shift();)m[0].send(m[1]);if(this.children.forEach(function(e){h.state.children[e.id]=e}),this.devTools&&this.devTools.send(t.data,e),e.event)try{for(var g=r.__values(this.eventListeners),y=g.next();!y.done;y=g.next()){var v=y.value;v(e.event)}}catch(e){n={error:e}}finally{try{y&&!y.done&&(i=g.return)&&i.call(g)}finally{if(n)throw n.error}}try{for(var b=r.__values(this.listeners),_=b.next();!_.done;_=b.next()){var v=_.value;v(e,e.event)}}catch(e){a={error:e}}finally{try{_&&!_.done&&(o=b.return)&&o.call(b)}finally{if(a)throw a.error}}try{for(var S=r.__values(this.contextListeners),E=S.next();!E.done;E=S.next())(0,E.value)(this.state.context,this.state.history?this.state.history.context:void 0)}catch(e){l={error:e}}finally{try{E&&!E.done&&(c=S.return)&&c.call(S)}finally{if(l)throw l.error}}if(this.state.done){var k=e.configuration.find(function(e){return"final"===e.type&&e.parent===h.machine}),A=k&&k.doneData?u.mapContext(k.doneData,e.context,t):void 0;this._doneEvent=s.doneInvoke(this.id,A);try{for(var T=r.__values(this.doneListeners),x=T.next();!x.done;x=T.next()){var v=x.value;v(this._doneEvent)}}catch(e){d={error:e}}finally{try{x&&!x.done&&(f=T.return)&&f.call(T)}finally{if(d)throw d.error}}this._stop(),this._stopChildren(),p.registry.free(this.sessionId)}},e.prototype.onTransition=function(e){return this.listeners.add(e),this.status===t.InterpreterStatus.Running&&e(this.state,this.state.event),this},e.prototype.subscribe=function(e,n,r){var i=this,a=u.toObserver(e,n,r);this.listeners.add(a.next),this.status!==t.InterpreterStatus.NotStarted&&a.next(this.state);var o=function(){i.doneListeners.delete(o),i.stopListeners.delete(o),a.complete()};return this.status===t.InterpreterStatus.Stopped?a.complete():(this.onDone(o),this.onStop(o)),{unsubscribe:function(){i.listeners.delete(a.next),i.doneListeners.delete(o),i.stopListeners.delete(o)}}},e.prototype.onEvent=function(e){return this.eventListeners.add(e),this},e.prototype.onSend=function(e){return this.sendListeners.add(e),this},e.prototype.onChange=function(e){return this.contextListeners.add(e),this},e.prototype.onStop=function(e){return this.stopListeners.add(e),this},e.prototype.onDone=function(e){return this.status===t.InterpreterStatus.Stopped&&this._doneEvent?e(this._doneEvent):this.doneListeners.add(e),this},e.prototype.off=function(e){return this.listeners.delete(e),this.eventListeners.delete(e),this.sendListeners.delete(e),this.stopListeners.delete(e),this.doneListeners.delete(e),this.contextListeners.delete(e),this},e.prototype.start=function(e){var n=this;if(this.status===t.InterpreterStatus.Running)return this;this.machine._init(),p.registry.register(this.sessionId,this),this.initialized=!0,this.status=t.InterpreterStatus.Running;var r=void 0===e?this.initialState:h.provide(this,function(){return a.isStateConfig(e)?n.machine.resolveState(e):n.machine.resolveState(a.State.from(e,n.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){n.update(r,s.initEvent)}),this}
668,e.prototype._stopChildren=function(){this.children.forEach(function(e){u.isFunction(e.stop)&&e.stop()}),this.children.clear()},e.prototype._stop=function(){var e,n,i,a,o,s,l,u,d,p;try{for(var f=r.__values(this.listeners),h=f.next();!h.done;h=f.next()){var m=h.value;this.listeners.delete(m)}}catch(t){e={error:t}}finally{try{h&&!h.done&&(n=f.return)&&n.call(f)}finally{if(e)throw e.error}}try{for(var g=r.__values(this.stopListeners),y=g.next();!y.done;y=g.next()){var m=y.value;m(),this.stopListeners.delete(m)}}catch(e){i={error:e}}finally{try{y&&!y.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}try{for(var v=r.__values(this.contextListeners),b=v.next();!b.done;b=v.next()){var m=b.value;this.contextListeners.delete(m)}}catch(e){o={error:e}}finally{try{b&&!b.done&&(s=v.return)&&s.call(v)}finally{if(o)throw o.error}}try{for(var _=r.__values(this.doneListeners),S=_.next();!S.done;S=_.next()){var m=S.value;this.doneListeners.delete(m)}}catch(e){l={error:e}}finally{try{S&&!S.done&&(u=_.return)&&u.call(_)}finally{if(l)throw l.error}}if(!this.initialized)return this;this.initialized=!1,this.status=t.InterpreterStatus.Stopped,this._initialState=void 0;try{for(var E=r.__values(Object.keys(this.delayedEventsMap)),k=E.next();!k.done;k=E.next()){var A=k.value;this.clock.clearTimeout(this.delayedEventsMap[A])}}catch(e){d={error:e}}finally{try{k&&!k.done&&(p=E.return)&&p.call(E)}finally{if(d)throw d.error}}this.scheduler.clear(),this.scheduler=new c.Scheduler({deferEvents:this.options.deferEvents})},e.prototype.stop=function(){var e=this,t=this.scheduler;return this._stop(),t.schedule(function(){var t=u.toSCXMLEvent({type:"xstate.stop"}),n=h.provide(e,function(){var n=u.flatten(r.__spreadArray([],r.__read(e.state.configuration),!1).sort(function(e,t){return t.order-e.order}).map(function(t){return s.toActionObjects(t.onExit,e.machine.options.actions)})),i=r.__read(s.resolveActions(e.machine,e.state,e.state.context,t,[{type:"exit",actions:n}],e.machine.config.predictableActionArguments?e._exec:void 0,e.machine.config.predictableActionArguments||e.machine.config.preserveActionOrder),2),o=i[0],l=i[1],c=new a.State({value:e.state.value,context:l,_event:t,_sessionid:e.sessionId,historyValue:void 0,history:e.state,actions:o.filter(function(e){return!u.isRaisableAction(e)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:e.state.done,tags:e.state.tags,machine:e.machine});return c.changed=!0,c});e.update(n,t),e._stopChildren(),p.registry.free(e.sessionId)}),this},e.prototype.batch=function(e){var n=this;if(this.status===t.InterpreterStatus.NotStarted&&this.options.deferEvents)l.IS_PRODUCTION||u.warn(!1,"".concat(e.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'" and are deferred. Make sure .start() is called for this service.\nEvent: ').concat(JSON.stringify(event)));else if(this.status!==t.InterpreterStatus.Running)throw Error("".concat(e.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'));if(e.length){var i=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var t,o,s=n.state,l=!1,c=[];try{for(var d=r.__values(e),p=d.next();!p.done;p=d.next()){var f=p.value;!function(e){var t=u.toSCXMLEvent(e);n.forward(t),s=h.provide(n,function(){return n.machine.transition(s,t,void 0,i||void 0)}),c.push.apply(c,r.__spreadArray([],r.__read(n.machine.config.predictableActionArguments?s.actions:s.actions.map(function(e){return a.bindActionToState(e,s)})),!1)),l=l||!!s.changed}(f)}}catch(e){t={error:e}}finally{try{p&&!p.done&&(o=d.return)&&o.call(d)}finally{if(t)throw t.error}}s.changed=l,s.actions=c,n.update(s,u.toSCXMLEvent(e[e.length-1]))})}},e.prototype.sender=function(e){return this.send.bind(this,e)},e.prototype._nextState=function(e,t){var n=this;void 0===t&&(t=!!this.machine.config.predictableActionArguments&&this._exec);var r=u.toSCXMLEvent(e);if(0===r.name.indexOf(o.errorPlatform)&&!this.state.nextEvents.some(function(e){return 0===e.indexOf(o.errorPlatform)}))throw r.data.data;return h.provide(this,function(){return n.machine.transition(n.state,r,void 0,t||void 0)})},e.prototype.nextState=function(e){return this._nextState(e,!1)},e.prototype.forward=function(e){var t,n;try{for(var i=r.__values(this.forwardTo),a=i.next();!a.done;a=i.next()){var o=a.value,s=this.children.get(o);if(!s)throw Error("Unable to forward event '".concat(e,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(o,"'."));s.send(e)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}},e.prototype.defer=function(e){var t=this,n=this.clock.setTimeout(function(){"to"in e&&e.to?t.sendTo(e._event,e.to,!0):t.send(e._event)},e.delay);e.id&&(this.delayedEventsMap[e.id]=n)},e.prototype.cancel=function(e){this.clock.clearTimeout(this.delayedEventsMap[e]),delete this.delayedEventsMap[e]},e.prototype.exec=function(e,t,n){void 0===n&&(n=this.machine.options.actions),this._exec(e,t.context,t._event,n)},e.prototype.removeChild=function(e){var t;this.children.delete(e),this.forwardTo.delete(e),null==(t=this.state)||delete t.children[e]},e.prototype.stopChild=function(e){var t=this.children.get(e);
668t&&(this.removeChild(e),u.isFunction(t.stop)&&t.stop())},e.prototype.spawn=function(e,n,i){if(this.status!==t.InterpreterStatus.Running)return d.createDeferredActor(e,n);if(u.isPromiseLike(e))return this.spawnPromise(Promise.resolve(e),n);if(u.isFunction(e))return this.spawnCallback(e,n);if(d.isSpawnedActor(e))return this.spawnActor(e,n);if(u.isObservable(e))return this.spawnObservable(e,n);if(u.isMachine(e))return this.spawnMachine(e,r.__assign(r.__assign({},i),{id:n}));else if(u.isBehavior(e))return this.spawnBehavior(e,n);else throw Error('Unable to spawn entity "'.concat(n,'" of type "').concat(typeof e,'".'))},e.prototype.spawnMachine=function(t,n){var i=this;void 0===n&&(n={});var a=new e(t,r.__assign(r.__assign({},this.options),{parent:this,id:n.id||t.id})),s=r.__assign(r.__assign({},g),n);return s.sync&&a.onTransition(function(e){i.send(o.update,{state:e,id:a.id})}),this.children.set(a.id,a),s.autoForward&&this.forwardTo.add(a.id),a.onDone(function(e){i.removeChild(a.id),i.send(u.toSCXMLEvent(e,{origin:a.id}))}).start(),a},e.prototype.spawnBehavior=function(e,t){var n=m.spawnBehavior(e,{id:t,parent:this});return this.children.set(t,n),n},e.prototype.spawnPromise=function(e,t){var n,r,i=this,a=!1;e.then(function(e){a||(r=e,i.removeChild(t),i.send(u.toSCXMLEvent(s.doneInvoke(t,e),{origin:t})))},function(e){if(!a){i.removeChild(t);var n=s.error(t,e);try{i.send(u.toSCXMLEvent(n,{origin:t}))}catch(r){u.reportUnhandledExceptionOnInvocation(e,r,t),i.devTools&&i.devTools.send(n,i.state),i.machine.strict&&i.stop()}}});var o=((n={id:t,send:function(){},subscribe:function(t,n,r){var i=u.toObserver(t,n,r),a=!1;return e.then(function(e){!a&&(i.next(e),a||i.complete())},function(e){a||i.error(e)}),{unsubscribe:function(){return a=!0}}},stop:function(){a=!0},toJSON:function(){return{id:t}},getSnapshot:function(){return r}})[u.symbolObservable]=function(){return this},n);return this.children.set(t,o),o},e.prototype.spawnCallback=function(e,t){var n,r,i,a=this,o=!1,l=new Set,c=new Set;try{i=e(function(e){r=e,c.forEach(function(t){return t(e)}),o||a.send(u.toSCXMLEvent(e,{origin:t}))},function(e){l.add(e)})}catch(e){this.send(s.error(t,e))}if(u.isPromiseLike(i))return this.spawnPromise(i,t);var d=((n={id:t,send:function(e){return l.forEach(function(t){return t(e)})},subscribe:function(e){var t=u.toObserver(e);return c.add(t.next),{unsubscribe:function(){c.delete(t.next)}}},stop:function(){o=!0,u.isFunction(i)&&i()},toJSON:function(){return{id:t}},getSnapshot:function(){return r}})[u.symbolObservable]=function(){return this},n);return this.children.set(t,d),d},e.prototype.spawnObservable=function(e,t){var n,r,i=this,a=e.subscribe(function(e){r=e,i.send(u.toSCXMLEvent(e,{origin:t}))},function(e){i.removeChild(t),i.send(u.toSCXMLEvent(s.error(t,e),{origin:t}))},function(){i.removeChild(t),i.send(u.toSCXMLEvent(s.doneInvoke(t),{origin:t}))}),o=((n={id:t,send:function(){},subscribe:function(t,n,r){return e.subscribe(t,n,r)},stop:function(){return a.unsubscribe()},getSnapshot:function(){return r},toJSON:function(){return{id:t}}})[u.symbolObservable]=function(){return this},n);return this.children.set(t,o),o},e.prototype.spawnActor=function(e,t){return this.children.set(t,e),e},e.prototype.spawnActivity=function(e){var t=this.machine.options&&this.machine.options.activities?this.machine.options.activities[e.type]:void 0;if(!t){l.IS_PRODUCTION||u.warn(!1,"No implementation found for activity '".concat(e.type,"'"));return}var n=t(this.state.context,e);this.spawnEffect(e.id,n)},e.prototype.spawnEffect=function(e,t){var n;this.children.set(e,((n={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:t||void 0,getSnapshot:function(){},toJSON:function(){return{id:e}}})[u.symbolObservable]=function(){return this},n))},e.prototype.attachDev=function(){var e=f.getGlobal();if(this.options.devTools&&e){if(e.__REDUX_DEVTOOLS_EXTENSION__){var t="object"==typeof this.options.devTools?this.options.devTools:void 0;this.devTools=e.__REDUX_DEVTOOLS_EXTENSION__.connect(r.__assign(r.__assign({name:this.id,autoPause:!0,stateSanitizer:function(e){return{value:e.value,context:e.context,actions:e.actions}}},t),{features:r.__assign({jump:!1,skip:!1},t?t.features:void 0)}),this.machine),this.devTools.init(this.state)}f.registerService(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[u.symbolObservable]=function(){return this},e.prototype.getSnapshot=function(){return this.status===t.InterpreterStatus.NotStarted?this.initialState:this._state},e.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(e,t){return setTimeout(e,t)},clearTimeout:function(e){return clearTimeout(e)}},logger:console.log.bind(console),devTools:!1},e.interpret=v,e}();function v(e,t){return new y(e,t)}t.Interpreter=y,t.interpret=v,t.spawn=function(e,t){var n=u.isString(t)?r.__assign(r.__assign({},g),{name:t}):r.__assign(r.__assign(r.__assign({},g),{name:u.uniqueId()}),t);return h.consume(function(t){if(!l.IS_PRODUCTION){var r=u.isMachine(e)||u.isFunction(e);u.warn(!!t||r,'Attempted to spawn an Actor (ID: "'.concat(u.isMachine(e)?e.id:"undefined",'") outside of a service. This will have no effect.'))}return t?t.spawn(e,n.name,n):d.createDeferredActor(e,n.name)})}},56859:(e,t,n)=>{"use strict";
668Object.defineProperty(t,"__esModule",{value:!0}),t.isVastError=t.VastError=void 0;let r=n(47397),i=n(50454);class a extends Error{constructor(e,t,n,r=i.iabVastErrorCode.VAST_UNDEFINED_ERROR,a="playback_error",o){super(e),this.message=e,this.corruptVast=t,this.vastString=n,this.code=r,this.type=a,this.url=o}}t.VastError=a,t.isVastError=e=>(0,r.isRecord)(e)&&(0,r.hasProperty)(e,"type")&&(0,r.hasProperty)(e,"code")&&(0,r.hasProperty)(e,"message")&&(0,r.hasProperty)(e,"corruptVast")&&(0,r.hasProperty)(e,"vastString")},57069:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderVertical=void 0;let r=n(70015),i=n(80263),a=n(30589),o=r.__importDefault(n(28909)),s=r.__importDefault(n(19577)),l=n(53239),u=n(55970),c=[{end:"mouseup",move:"mousemove",start:"mousedown"},{end:"touchend",move:"touchmove",start:"touchstart"}],d="1px",p="16px",f=o.default.div(()=>({alignItems:"center",cursor:"pointer",display:"flex",height:"100%",justifyContent:"center",position:"relative",width:"100%"})),h=o.default.div({height:"100%",overflow:"hidden",position:"relative",width:"5px"},({isRounded:e})=>e&&{borderRadius:d}),m=(0,a.css)({position:"absolute",width:"100%"}),g=o.default.div(m,({theme:e})=>({backgroundColor:e.color.white,opacity:e.opacity.little}),{height:"100%"}),y=o.default.div(m,({isDisabled:e,color:t,theme:n})=>({backgroundColor:null!=t?t:n.color.white,bottom:0,opacity:!0===e?n.opacity.medium:n.opacity.opaque}),({isRounded:e})=>e&&{borderRadius:`0 ${d} ${d} 0`});y.displayName="Bar";let v=o.default.div(({theme:e})=>({backgroundColor:e.color.white,borderRadius:"50%",boxShadow:"0 0 4px rgba(0,0,0,.5)",display:"block",height:p,left:"50%",position:"absolute",transform:"translate(-50%, -50%)",transition:`transform ${e.transition.duration.fast} ${e.transition.timingFunction}`,width:p}));t.SliderVertical=(0,l.memo)(e=>{let{min:t=0,max:n,value:r,isDisabled:a,color:o,roundedCorner:l=["Track","Track"],onChange:d,onEnd:p,onStart:m,onMoveOut:b}=e,_=(0,u.clamp)(r,t,n),S=0,E=0,k=e=>{let r=function(e){if(/^touch(?:start|end|move)$/.test(e.type)){if(e.touches[0])return e.touches[0].clientY;if(e.changedTouches[0])return e.changedTouches[0].clientY}else if(e.clientY)return e.clientY;throw Error("Missing clientY property from event")}(e),i=E-r,a=t+i/S*(n-t);return(0,u.clamp)(a,t,n)},A=e=>{let t=k(e);d&&d(t)},T=e=>{e.preventDefault(),A(e)},x=e=>{let t=c.find(t=>t.end===e.type);if(s.default.undefined(t))return;let{move:n,end:r}=t,i=k(e);p&&p(i),window.removeEventListener(n,T,{passive:!1}),window.removeEventListener(r,x)},w=e=>{e.preventDefault();let t=c.find(t=>t.start===e.type);if(s.default.undefined(t))return;let{move:n,end:r}=t;S=e.currentTarget.getBoundingClientRect().height,E=e.currentTarget.getBoundingClientRect().bottom,m&&m(),A(e),window.addEventListener(n,T,{passive:!1}),window.addEventListener(r,x)};return(0,i.jsxs)(f,Object.assign({onMouseDown:w,onTouchStart:w,onTouchEnd:b,onMouseOut:b},{children:[(0,i.jsxs)(h,Object.assign({isRounded:l.includes("Track")},{children:[(0,i.jsx)(g,{}),(0,i.jsx)(y,{style:{height:`${(_-t)/(n-t)*100}%`},isRounded:l.includes("Bar"),isDisabled:a,color:o})]})),(0,i.jsx)(v,{style:{top:`${100-(_-t)/(n-t)*100}%`}})]}))}),t.SliderVertical.displayName="Slider"},57298:(e,t,n)=>{var r=n(66569),i=Object.create||function(){function e(){}return function(t){if(1!=arguments.length)throw Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();function a(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function o(e){function t(e,t,n,r){return(0|e)*3600+(0|t)*60+(0|n)+(0|r)/1e3}var n=e.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return n?n[3]?t(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?t(n[1],n[2],0,n[4]):t(0,n[1],n[2],n[4]):null}function s(){this.values=i(null)}function l(e,t,n,r){var i=r?e.split(r):[e];for(var a in i)if("string"==typeof i[a]){var o=i[a].split(n);2===o.length&&t(o[0].trim(),o[1].trim())}}a.prototype=i(Error.prototype),a.prototype.constructor=a,a.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},s.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,n){for(var r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(t=parseFloat(t))>=0)&&!!(t<=100)&&(this.set(e,t),!0)}};
668var u=r.createElement&&r.createElement("textarea"),c={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},d={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},p={v:"title",lang:"lang"},f={rt:"ruby"};function h(e,t){for(var n,r=e.document.createElement("div"),i=r,a=[];null!==(n=function(){if(!t)return null;var e,n=t.match(/^([^<]*)(<[^>]*>?)?/);return e=n[1]?n[1]:n[2],t=t.substr(e.length),e}());){if("<"===n[0]){if("/"===n[1]){a.length&&a[a.length-1]===n.substr(2).replace(">","")&&(a.pop(),i=i.parentNode);continue}var s,l,h,m,g=o(n.substr(1,n.length-2));if(g){m=e.document.createProcessingInstruction("timestamp",g),i.appendChild(m);continue}var y=n.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!y||!(m=function(t,n){var r=c[t];if(!r)return null;var i=e.document.createElement(r),a=p[t];return a&&n&&(i[a]=n.trim()),i}(y[1],y[3]))||(l=i,f[(h=m).localName]&&f[h.localName]!==l.localName))continue;if(y[2]){var v=y[2].split(".");v.forEach(function(e){var t=/^bg_/.test(e),n=t?e.slice(3):e;if(d.hasOwnProperty(n)){var r=t?"background-color":"color",i=d[n];m.style[r]=i}}),m.className=v.join(" ")}a.push(y[1]),i.appendChild(m),i=m;continue}i.appendChild(e.document.createTextNode((u.innerHTML=s=n,s=u.textContent,u.textContent="",s)))}return r}var m=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function g(){}function y(e,t,n){g.call(this),this.cue=t,this.cueDiv=h(e,t.text);var r={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(r,this.cueDiv),this.div=e.document.createElement("div"),r={direction:function(e){var t=[],n="";if(!e||!e.childNodes)return"ltr";function r(e,t){for(var n=t.childNodes.length-1;n>=0;n--)e.push(t.childNodes[n])}for(r(t,e);n=function e(t){if(!t||!t.length)return null;var n=t.pop(),i=n.textContent||n.innerText;if(i){var a=i.match(/^.*(\n|\r)/);return a?(t.length=0,a[0]):i}return"ruby"===n.tagName?e(t):n.childNodes?(r(t,n),e(t)):void 0}(t);)for(var i=0;i<n.length;i++)if(function(e){for(var t=0;t<m.length;t++){var n=m[t];if(e>=n[0]&&e<=n[1])return!0}return!1}(n.charCodeAt(i)))return"rtl";return"ltr"}(this.cueDiv),writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:"middle"===t.align?"center":t.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(r),this.div.appendChild(this.cueDiv);var i=0;switch(t.positionAlign){case"start":i=t.position;break;case"center":i=t.position-t.size/2;break;case"end":i=t.position-t.size}""===t.vertical?this.applyStyles({left:this.formatStyle(i,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(i,"%"),height:this.formatStyle(t.size,"%")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")}
668)}}function v(e){var t,n,r,i;if(e.div){n=e.div.offsetHeight,r=e.div.offsetWidth,i=e.div.offsetTop;var a=(a=e.div.childNodes)&&(a=a[0])&&a.getClientRects&&a.getClientRects();e=e.div.getBoundingClientRect(),t=a?Math.max(a[0]&&a[0].height||0,e.height/a.length):0}this.left=e.left,this.right=e.right,this.top=e.top||i,this.height=e.height||n,this.bottom=e.bottom||i+(e.height||n),this.width=e.width||r,this.lineHeight=void 0!==t?t:e.lineHeight}function b(){}g.prototype.applyStyles=function(e,t){for(var n in t=t||this.div,e)e.hasOwnProperty(n)&&(t.style[n]=e[n])},g.prototype.formatStyle=function(e,t){return 0===e?0:e+t},y.prototype=i(g.prototype),y.prototype.constructor=y,v.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}},v.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},v.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},v.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},v.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},v.prototype.intersectPercentage=function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)},v.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},v.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,r=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||r,height:e.height||t,bottom:e.bottom||r+(e.height||t),width:e.width||n}},b.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},b.convertCueToDOMTree=function(e,t){return e&&t?h(e,t):null},b.processCues=function(e,t,n){if(!e||!t||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var r,i,a=e.document.createElement("div");if(a.style.position="absolute",a.style.left="0",a.style.right="0",a.style.top="0",a.style.bottom="0",a.style.margin="1.5%",n.appendChild(a),!function(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}(t)){for(var o=0;o<t.length;o++)a.appendChild(t[o].displayState);return}for(var s=[],l=v.getSimpleBoxPosition(a),u={font:Math.round(.05*l.height*100)/100+"px sans-serif"},c=0;c<t.length;c++)r=new y(e,i=t[c],u),a.appendChild(r.div),function(e,t,n,r){var i=new v(t),a=t.cue,o=function(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return -1;for(var t=e.track,n=t.textTrackList,r=0,i=0;i<n.length&&n[i]!==t;i++)"showing"===n[i].mode&&r++;return -1*++r}(a),s=[];if(a.snapToLines){switch(a.vertical){case"":s=["+y","-y"],l="height";break;case"rl":s=["+x","-x"],l="width";break;case"lr":s=["-x","+x"],l="width"}var l,u=i.lineHeight,c=u*Math.round(o),d=n[l]+u,p=s[0];Math.abs(c)>d&&(c=Math.ceil(d/u)*u*(c<0?-1:1)),o<0&&(c+=""===a.vertical?n.height:n.width,s=s.reverse()),i.move(p,c)}else{var f=i.lineHeight/n.height*100;switch(a.lineAlign){case"center":o-=f/2;break;case"end":o-=f}switch(a.vertical){case"":t.applyStyles({top:t.formatStyle(o,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(o,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(o,"%")})}s=["+y","-x","+x","-y"],i=new v(t)}var h=function(e,t){for(var i,a=new v(e),o=1,s=0;s<t.length;s++){for(;e.overlapsOppositeAxis(n,t[s])||e.within(n)&&e.overlapsAny(r);)e.move(t[s]);if(e.within(n))return e;var l=e.intersectPercentage(n);o>l&&(i=new v(e),o=l),e=new v(a)}return i||a}(i,s);t.move(h.toCSSCompatValues(n))}(0,r,l,s),i.displayState=r.div,s.push(v.getSimpleBoxPosition(r))},b.Parser=function(e,t,n){n||(n=t,t={}),t||(t={}),this.window=e,this.vttjs=t,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},b.Parser.prototype={reportOrThrowError:function(e){if(e instanceof a)this.onparsingerror&&this.onparsingerror(e);else throw e},parse:function(e){var t=this;function n(){for(var e=t.buffer,n=0;n<e.length&&"\r"!==e[n]&&"\n"!==e[n];)++n;var r=e.substr(0,n);return"\r"===e[n]&&++n,"\n"===e[n]&&++n,t.buffer=e.substr(n),r}e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));try{if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;var r,i=n(),u=i.match(/^WEBVTT([ \t].*)?$/);if(!u||!u[0])throw new a(a.Errors.BadSignature);t.state="HEADER"}for(var c=!1;t.buffer&&/\r\n|\n/.test(t.buffer);)switch(c?c=!1:i=n(),t.state){case"HEADER":/:/.test(i)?(r=i).match(/X-TIMESTAMP-MAP/)?l(r,function(e,n){if("X-TIMESTAMP-MAP"===e){var r;r=new s,l(n,function(e,t){switch(e){case"MPEGT":r.integer(e+"S",t);break;case"LOCA":r.set(e+"L",o(t))}},/[^\d]:/,/,/),t.ontimestampmap&&t.ontimestampmap({MPEGTS:r.get("MPEGTS"),LOCAL:r.get("LOCAL")})}},/=/):l(r,function(e,n){if("Region"===e){var r=new s;if(l(n,function(e,t){switch(e){case"id":r.set(e,t);break;case"width":r.percent(e,t);break;case"lines":r.integer(e,t);break;case"regionanchor":case"viewportanchor":var n=t.split(",");if(2!==n.length)break;var i=new s;if(i.percent("x",n[0]),i.percent("y",n[1]),!i.has("x")||!i.has("y"))break;r.set(e+"X",i.get("x")),r.set(e+"Y",i.get("y"));break;case"scroll":r.alt(e,t,["up"])}}
668,/=/,/\s/),r.has("id")){var i=new(t.vttjs.VTTRegion||t.window.VTTRegion);i.width=r.get("width",100),i.lines=r.get("lines",3),i.regionAnchorX=r.get("regionanchorX",0),i.regionAnchorY=r.get("regionanchorY",100),i.viewportAnchorX=r.get("viewportanchorX",0),i.viewportAnchorY=r.get("viewportanchorY",100),i.scroll=r.get("scroll",""),t.onregion&&t.onregion(i),t.regionList.push({id:r.get("id"),region:i})}}},/:/):i||(t.state="ID");continue;case"NOTE":i||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(i)){t.state="NOTE";break}if(!i)continue;t.cue=new(t.vttjs.VTTCue||t.window.VTTCue)(0,0,"");try{t.cue.align="center"}catch(e){t.cue.align="middle"}if(t.state="CUE",-1===i.indexOf("--\x3e")){t.cue.id=i;continue}case"CUE":try{!function(e,t,n){var r=e;function i(){var t=o(e);if(null===t)throw new a(a.Errors.BadTimeStamp,"Malformed timestamp: "+r);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function u(){e=e.replace(/^\s+/,"")}if(u(),t.startTime=i(),u(),"--\x3e"!==e.substr(0,3))throw new a(a.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+r);e=e.substr(3),u(),t.endTime=i(),u();var c=e,d=new s;l(c,function(e,t){switch(e){case"region":for(var r=n.length-1;r>=0;r--)if(n[r].id===t){d.set(e,n[r].region);break}break;case"vertical":d.alt(e,t,["rl","lr"]);break;case"line":var i=t.split(","),a=i[0];d.integer(e,a),d.percent(e,a)&&d.set("snapToLines",!1),d.alt(e,a,["auto"]),2===i.length&&d.alt("lineAlign",i[1],["start","center","end"]);break;case"position":i=t.split(","),d.percent(e,i[0]),2===i.length&&d.alt("positionAlign",i[1],["start","center","end"]);break;case"size":d.percent(e,t);break;case"align":d.alt(e,t,["start","center","end","left","right"])}},/:/,/\s/),t.region=d.get("region",null),t.vertical=d.get("vertical","");try{t.line=d.get("line","auto")}catch(e){}t.lineAlign=d.get("lineAlign","start"),t.snapToLines=d.get("snapToLines",!0),t.size=d.get("size",100);try{t.align=d.get("align","center")}catch(e){t.align=d.get("align","middle")}try{t.position=d.get("position","auto")}catch(e){t.position=d.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},t.align)}t.positionAlign=d.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},t.align)}(i,t.cue,t.regionList)}catch(e){t.reportOrThrowError(e),t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":var d=-1!==i.indexOf("--\x3e");if(!i||d&&(c=!0)){t.oncue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}t.cue.text&&(t.cue.text+="\n"),t.cue.text+=i.replace(/\u2028/g,"\n").replace(/u2029/g,"\n");continue;case"BADCUE":i||(t.state="ID");continue}}catch(e){t.reportOrThrowError(e),"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){try{if(this.buffer+=this.decoder.decode(),(this.cue||"HEADER"===this.state)&&(this.buffer+="\n\n",this.parse()),"INITIAL"===this.state)throw new a(a.Errors.BadSignature)}catch(e){this.reportOrThrowError(e)}return this.onflush&&this.onflush(),this}},e.exports=b},57531:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createApiService=void 0;let r=n(70015),i=n(92712),a=n(7939),o=n(21787),s=i.z.number().nonnegative();t.createApiService=function({dispatch:e,invoker:t,eventsTracer:n}){let i=!1,l=(0,a.createEventEmitter)({invoker:t}),u={origin:"api"},c=(t,...n)=>{if(i)throw Error(`API call with message "${t}" not done because player core is destroyed`);return e(t,...n)},d={addAdViewabilityProvider(e){c("api:addAdViewabilityProvider",Object.assign(Object.assign({},u),{adViewabilityProvider:e}))},addContent(e){c("api:addContent",Object.assign(Object.assign({},u),{rawContentResourceOrArray:e}))},addTrackingProvider(e){c("api:addTrackingProvider",Object.assign(Object.assign({},u),{trackingProvider:e}))},configure(e){var t;if(!n)return;let{maxNumEvents:r,filter:i}=null!=(t=e.traceEvents)?t:{};n.setMaxLength(null!=r?r:0),n.setFilter(null!=i?i:null)},destroy(e){c("api:destroy",Object.assign(Object.assign({},u),{reason:null==e?void 0:e.reason}))},determineInitialPlaylistIndexForLive:()=>c("api:determineInitialPlaylistIndexForLive"),getPlaylist:()=>c("api:getPlaylist",u),getPlaylistIndex:()=>
668c("api:getPlaylistIndex",u),getSavedEvents:()=>{var e;return null!=(e=null==n?void 0:n.getEvents())?e:[]},off:l.off,on:l.on,pause:()=>{c("api:pause",u)},play:()=>r.__awaiter(this,void 0,void 0,function*(){return c("api:play",u)}),reset(){c("api:reset")},setPlaylistIndex(e){let t=s.parse(e);c("api:setPlaylistIndex",Object.assign(Object.assign({},u),{playlistIndex:t}))},setUi(e){c("api:setUi",Object.assign(Object.assign({},u),{ui:e}))},setUserToken(e){c("api:setUserToken",Object.assign(Object.assign({},u),{userToken:e}))},startSelfManagedPlaylist(e){let t=o.selfManagedPlaylistOptionsSchema.parse(e);c("api:startSelfManagedPlaylist",Object.assign(Object.assign({},u),t))}};return Object.assign(Object.assign({},d),{destroyInternal(){l.removeAllListeners(),i=!0},emit:(e,...t)=>{i||l.emit(e,...t)},getPublicApi:()=>d})}},57620:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTrackingEvents=void 0;let r=n(15541);t.createTrackingEvents=function(){return{tracking:[{$offset:r.convertToSecondsOrPercent}]}}},57668:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLoadPixel=void 0;let r=n(70015);t.createLoadPixel=function(e=globalThis.Image){return function(t){return r.__awaiter(this,void 0,void 0,function*(){let n=(e,t)=>{e.src=t.trim()};return new Promise((r,i)=>{let a=new e;if(void 0===a.addEventListener){n(a,t),r({});return}a.addEventListener("error",()=>{i(Error(`Error loading image from ${t}`))}),a.addEventListener("load",r),n(a,t)})})}}},57788:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchHighlight=void 0;let r=n(70015),i=n(64376);t.fetchHighlight=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){let{highlightId:n,userState:r,userToken:a}=t,{graphqlClient:o}=e;return o.query(i.HIGHLIGHT_GRAPHQL_QUERY_DOCUMENT,{id:n},{authorization:`Bearer ${a}`,"joyn-user-state":r})})}},57821:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createYouboraLifecycleTracker=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(27504),o=n(58302),s=e=>i.default.undefined(e)?null:e;t.createYouboraLifecycleTracker=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){let{createYouboraClient:n,reportYouboraEvent:r,getSlotTypeFromProfile:i,toggleRouter:l,utmParametersApi:u}=e,c=yield u.getUtmParameters();return{enabled:!0,setup(e){let{resource:r}=e.content,i="live"===r.contentType||"interactive"===r.contentType,a=n({accountCode:"joyn",appVersion:t.appVersion,deviceModel:t.deviceModel,playerName:t.playerPackageName,playerVersion:t.playerPackageVersion},{assetId:r.id,assetTitle:(0,o.formatFullTitle)(r),isLive:i});return a.setState({utmCampaign:s(c.mapOr(null,({campaign:e})=>e)),utmSource:s(c.mapOr(null,({source:e})=>e))}),{youboraClient:a}},teardown(e){e.context.youboraClient.destroy()},track(e,n,o){var u,c,d,p,f,h,m,g,y;let{youboraClient:v}=o.context,{content:b,runtime:_}=n,{position:S,mediaType:E,duration:k,isInFullscreen:A,isAdBlockerEnabled:T,videoQuality:x}=_,w="live"===b.resource.contentType||"interactive"===b.resource.contentType;"ad"===E?v.setState({adPlayhead:S}):v.setState({adPlayhead:null,playhead:S}),v.setState({adBlockerDetected:T,adIsSkippable:null!=(c=null==(u=n.ad)?void 0:u.isSkippable)&&c,adResourceUrl:s(null==(d=n.ad)?void 0:d.sourceUrl),adSystem:(null==(h=n.ad)?void 0:h.resource)&&h.adCursor&&null!==h.adCursor.adIndex?(0,a.getAdSystem)(h.resource,h.adCursor.adIndex).unwrapOr("notSet"):null,adTitle:(null==(m=n.ad)?void 0:m.resource)&&m.adCursor&&null!==m.adCursor.adIndex?(0,a.getAdTitle)(m.resource,m.adCursor.adIndex).unwrapOr(null):null,allFeatures:l.getAllFeatures(),bitrate:s(null==x?void 0:x.bitrate),creativeId:s(null==(p=n.ad)?void 0:p.id),distributionTenant:t.distributionTenant,duration:k,enabledFeatures:l.getEnabledFeatures(),height:s(null==x?void 0:x.height),isFullscreen:A,playbackType:w?"LIVE":"VOD",resourceUrl:b.sourceUrl,rollName:s(null==(f=n.ad)?void 0:f.rollName),slotType:(null==(g=n.ad)?void 0:g.resource)&&g.adCursor&&null!==g.adCursor.adIndex?i(g.resource,g.adCursor.adIndex).unwrapOr(null):null,streamingProtocol:"application/d
668ash+xml"===(y=b.mimetype)?"DASH":"application/x-mpegURL"===y?"HLS":null,type:b.resource.contentType,userId:b.entitlementTokenPayload.mapOr(null,e=>e.user_id),width:s(null==x?void 0:x.width)}),r(e,v,n)}}})}},57847:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProductPlacementMarker=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(67651),s=a.default.aside({alignItems:"center",display:"flex",marginTop:"3px"}),l=(0,a.default)(o.ProductPlacementIcon)({height:"15px",marginRight:"6px",width:"15px"}),u=a.default.span({fontSize:"13px",lineHeight:1});t.ProductPlacementMarker=()=>(0,i.jsxs)(s,{children:[(0,i.jsx)(l,{}),(0,i.jsx)(u,{children:"Enth\xe4lt Produktplatzierung"})]})},57908:(e,t,n)=>{"use strict";var r,i,a,o,s,l,u=n(53239),c=n(57045);function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var p=new Set,f={};function h(e,t){m(e,t),m(e+"Capture",t)}function m(e,t){for(f[e]=t,e=0;e<t.length;e++)p.add(t[e])}var g="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,y=Object.prototype.hasOwnProperty,v=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,b={},_={};function S(e,t,n,r,i,a,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var E={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){E[e]=new S(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];E[t]=new S(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){E[e]=new S(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){E[e]=new S(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){E[e]=new S(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){E[e]=new S(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){E[e]=new S(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){E[e]=new S(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){E[e]=new S(e,5,!1,e.toLowerCase(),null,!1,!1)});var k=/[\-:]([a-z])/g;function A(e){return e[1].toUpperCase()}function T(e,t,n,r){var i,a=E.hasOwnProperty(t)?E[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(r)return!1;if(null!==n)return!n.acceptsBooleans;return"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e;default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?(i=t,(y.call(_,i)||!y.call(b,i)&&(v.test(i)?_[i]=!0:(b[i]=!0,!1)))&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n))):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
668-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(k,A);E[t]=new S(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(k,A);E[t]=new S(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(k,A);E[t]=new S(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){E[e]=new S(e,1,!1,e.toLowerCase(),null,!1,!1)}),E.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){E[e]=new S(e,1,!1,e.toLowerCase(),null,!0,!0)});var x=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),C=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),N=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),F=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var U=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var V=Symbol.iterator;function B(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=V&&e[V]||e["@@iterator"])?e:null}var G,Y=Object.assign;function z(e){if(void 0===G)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);G=t&&t[1]||""}return"\n"+G+e}var W=!1;function Z(e,t){if(!e||W)return"";W=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),a=r.stack.split("\n"),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(1!==o||1!==s)do if(o--,0>--s||i[o]!==a[s]){var l="\n"+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{W=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?z(e):""}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function K(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function X(e){e._valueTracker||(e._valueTracker=function(e){var t=K(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function $(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=K(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function J(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function q(e,t){var n=t.checked;return Y({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Q(e,t){var n=null==t.defaultValue?"":t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:n=H(null!=t.value?t.value:n),controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ee(e,t){null!=(t=t.checked)&&T(e,"checked",t,!1)}function et(e,t){ee(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?er(e,t.type,n):t.hasOwnProperty("defaultValue")&&er(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}
vendor: 9,268 bytes, line 668
668function en(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&(void 0===t.value||null===t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function er(e,t,n){("number"!==t||J(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ei=Array.isArray;function ea(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(i=0,n=""+H(n),t=null;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function eo(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(d(91));return Y({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function es(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(d(92));if(ei(n)){if(1<n.length)throw Error(d(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function el(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function eu(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ec(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ed(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ec(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ep,ef=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ep=ep||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ep.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function eh(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var em={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},eg=["Webkit","ms","Moz","O"];function ey(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||em.hasOwnProperty(e)&&em[e]?(""+t).trim():t+"px"}function ev(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=ey(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(em).forEach(function(e){eg.forEach(function(t){em[t=t+e.charAt(0).toUpperCase()+e.substring(1)]=em[e]})});var eb=Y({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function e_(e,t){if(t){if(eb[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(d(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(d(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(d(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(d(62))}}function eS(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var eE=null;function ek(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var eA=null,eT=null,ex=null;function ew(e){if(e=rj(e)){if("function"!=typeof eA)throw Error(d(280));var t=e.stateNode;t&&(t=rD(t),eA(e.stateNode,e.type,t))}}function eC(e){eT?ex?ex.push(e):ex=[e]:eT=e}function eI(){if(eT){var e=eT,t=ex;if(ex=eT=null,ew(e),t)for(e=0;e<t.length;e++)ew(t[e])}}function eO(e,t){return e(t)}function eR(){}var eP=!1;function eN(e,t,n){if(eP)return e(t,n);eP=!0;try{return eO(e,t,n)}finally{eP=!1,(null!==eT||null!==ex)&&(eR(),eI())}}function eL(e,t){var n=e.stateNode;if(null===n)return null;var r=rD(n);if(null===r)return null;switch(n=r[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r="button"!==(e=e.type)&&"input"!==e&&"select"!==e&&"textarea"!==e),e=!r;break;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(d(231,t,typeof n));return n}var ej=!1;if(g)try{var eM={};Object.defineProperty(eM,"passive",{get:function(){ej=!0}}),window.addEventListener("test",eM,eM),window.removeEventListener("test",eM,eM)}catch(e){ej=!1}function eD(e,t,n,r,i,a,o,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var eF=!1,eU=null,eV=!1,eB=null,eG={onError:function(e){eF=!0,eU=e}};function eY(e,t,n,r,i,a,o,s,l){eF=!1,eU=null,eD.apply(eG,arguments)}function ez(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(n=t.return),e=t.return;while(e)}return 3===t.tag?n:null}function eW(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function eZ(e){if(ez(e)!==e)throw Error(d(188))}function eH(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=ez(e)))throw Error(d(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return eZ(i),e;if(a===r)return eZ(i),t;a=a.sibling}throw Error(d(188))}if(n.return!==r.return)n=i,r=a;else{for(var o=!1,s=i.child;s;){if(s===n){o=!0,n=i,r=a;break}if(s===r){o=!0,r=i,n=a;break}s=s.sibling}if(!o){for(s=a.child;s;){if(s===n){o=!0,n=a,r=i;break}if(s===r){o=!0,r=a,n=i;break}s=s.sibling}if(!o)throw Error(d(189))}}if(n.alternate!==r)throw Error(d(190))}if(3!==n.tag)throw Error(d(188));return n.stateNode.current===n?e:t}(e))?function e(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){var n=e(t);if(null!==n)return n;t=t.sibling}return null}(e):null}var eK=c.unstable_scheduleCallback,eX=c.unstable_cancelCallback,e$=c.unstable_shouldYield,eJ=c.unstable_requestPaint,eq=c.unstable_now,eQ=c.unstable_getCurrentPriorityLevel,e0=c.unstable_ImmediatePriority,e1=c.unstable_UserBlockingPriority,e2=c.unstable_NormalPriority,e5=c.unstable_LowPriority,e3=c.unstable_IdlePriority,e9=null,e4=null,e6=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(e7(e)/e8|0)|0},e7=Math.log,e8=Math.LN2,te=64,tt=4194304;function tn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:return 0x7c00000&e;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0x40000000;default:return e}}function tr(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=0xfffffff&n;if(0!==o){var s=o&~i;0!==s?r=tn(s):0!=(a&=o)&&(r=tn(a))}else 0!=(o=n&~i)?r=tn(o):0!==a&&(r=tn(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&i)&&((i=r&-r)>=(a=t&-t)||16===i&&0!=(4194240&a)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-e6(t)),r|=e[n],t&=~i;return r}function ti(e){return 0!=(e=-0x40000001&e.pendingLanes)?e:0x40000000&e?0x40000000:0}function ta(){var e=te;return 0==(4194240&(te<<=1))&&(te=64),e}function to(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ts(e,t,n){e.pendingLanes|=t,0x20000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-e6(t)]=n}function tl(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-e6(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var tu=0;function tc(e){return 1<(e&=-e)?4<e?0!=(0xfffffff&e)?16:0x20000000:4:1}var td,tp,tf,th,tm,tg=!1,ty=[],tv=null,tb=null,t_=null,tS=new Map,tE=new Map,tk=[],tA="mou
668sedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function tT(e,t){switch(e){case"focusin":case"focusout":tv=null;break;case"dragenter":case"dragleave":tb=null;break;case"mouseover":case"mouseout":t_=null;break;case"pointerover":case"pointerout":tS.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":tE.delete(t.pointerId)}}function tx(e,t,n,r,i,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},null!==t&&null!==(t=rj(t))&&tp(t)):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i)),e}function tw(e){var t=rL(e.target);if(null!==t){var n=ez(t);if(null!==n){if(13===(t=n.tag)){if(null!==(t=eW(n))){e.blockedOn=t,tm(e.priority,function(){tf(n)});return}}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function tC(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=tU(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=rj(n))&&tp(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);eE=r,n.target.dispatchEvent(r),eE=null,t.shift()}return!0}function tI(e,t,n){tC(e)&&n.delete(t)}function tO(){tg=!1,null!==tv&&tC(tv)&&(tv=null),null!==tb&&tC(tb)&&(tb=null),null!==t_&&tC(t_)&&(t_=null),tS.forEach(tI),tE.forEach(tI)}function tR(e,t){e.blockedOn===t&&(e.blockedOn=null,tg||(tg=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,tO)))}function tP(e){function t(t){return tR(t,e)}if(0<ty.length){tR(ty[0],e);for(var n=1;n<ty.length;n++){var r=ty[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==tv&&tR(tv,e),null!==tb&&tR(tb,e),null!==t_&&tR(t_,e),tS.forEach(t),tE.forEach(t),n=0;n<tk.length;n++)(r=tk[n]).blockedOn===e&&(r.blockedOn=null);for(;0<tk.length&&null===(n=tk[0]).blockedOn;)tw(n),null===n.blockedOn&&tk.shift()}var tN=x.ReactCurrentBatchConfig,tL=!0;function tj(e,t,n,r){var i=tu,a=tN.transition;tN.transition=null;try{tu=1,tD(e,t,n,r)}finally{tu=i,tN.transition=a}}function tM(e,t,n,r){var i=tu,a=tN.transition;tN.transition=null;try{tu=4,tD(e,t,n,r)}finally{tu=i,tN.transition=a}}function tD(e,t,n,r){if(tL){var i=tU(e,t,n,r);if(null===i)ro(e,t,r,tF,n),tT(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return tv=tx(tv,e,t,n,r,i),!0;case"dragenter":return tb=tx(tb,e,t,n,r,i),!0;case"mouseover":return t_=tx(t_,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return tS.set(a,tx(tS.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,tE.set(a,tx(tE.get(a)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(tT(e,r),4&t&&-1<tA.indexOf(e)){for(;null!==i;){var a=rj(i);if(null!==a&&td(a),null===(a=tU(e,t,n,r))&&ro(e,t,r,tF,n),a===i)break;i=a}null!==i&&r.stopPropagation()}else ro(e,t,r,null,n)}}var tF=null;function tU(e,t,n,r){if(tF=null,null!==(e=rL(e=ek(r))))if(null===(t=ez(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=eW(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return tF=e,null}function tV(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(eQ()){case e0:return 1;case e1:return 4;case e2:case e5:return 16;case e3:return 0x20000000;default:return 16}default:return 16}}var tB=null,tG=null,tY=null;function tz(){if(tY)return tY;var e,t,n=tG,r=n.length,i="value"in tB?tB.value:tB.textContent,a=i.length;for(e=0;e<r&&n[e]===i[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===i[a-t];t++);return tY=i.slice(e,1<t?1-t:void 0)}function tW(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tZ(){return!0}function tH(){return!1}function tK(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?tZ:tH,this.isPropagationStopped=tH,this}return Y(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tZ)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tZ)},persist:function(){},isPersistent:tZ}),t}var tX,t$,tJ,tq={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tQ=tK(tq),t0=Y({},tq,{view:0,detail:0}),t1=tK(t0),t2=Y({},t0,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:nr,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 101,834 bytes, line 668
668Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==tJ&&(tJ&&"mousemove"===e.type?(tX=e.screenX-tJ.screenX,t$=e.screenY-tJ.screenY):t$=tX=0,tJ=e),tX)},movementY:function(e){return"movementY"in e?e.movementY:t$}}),t5=tK(t2),t3=tK(Y({},t2,{dataTransfer:0})),t9=tK(Y({},t0,{relatedTarget:0})),t4=tK(Y({},tq,{animationName:0,elapsedTime:0,pseudoElement:0})),t6=tK(Y({},tq,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),t7=tK(Y({},tq,{data:0})),t8={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ne={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},nt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function nn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=nt[e])&&!!t[e]}function nr(){return nn}var ni=tK(Y({},t0,{key:function(e){if(e.key){var t=t8[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tW(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ne[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:nr,charCode:function(e){return"keypress"===e.type?tW(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tW(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),na=tK(Y({},t2,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),no=tK(Y({},t0,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:nr})),ns=tK(Y({},tq,{propertyName:0,elapsedTime:0,pseudoElement:0})),nl=tK(Y({},t2,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),nu=[9,13,27,32],nc=g&&"CompositionEvent"in window,nd=null;g&&"documentMode"in document&&(nd=document.documentMode);var np=g&&"TextEvent"in window&&!nd,nf=g&&(!nc||nd&&8<nd&&11>=nd),nh=!1;function nm(e,t){switch(e){case"keyup":return -1!==nu.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ng(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ny=!1,nv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function nb(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nv[e.type]:"textarea"===t}function n_(e,t,n,r){eC(r),0<(t=rl(t,"onChange")).length&&(n=new tQ("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nS=null,nE=null;function nk(e){re(e,0)}function nA(e){if($(rM(e)))return e}function nT(e,t){if("change"===e)return t}var nx=!1;if(g){if(g){var nw="oninput"in document;if(!nw){var nC=document.createElement("div");nC.setAttribute("oninput","return;"),nw="function"==typeof nC.oninput}r=nw}else r=!1;nx=r&&(!document.documentMode||9<document.documentMode)}function nI(){nS&&(nS.detachEvent("onpropertychange",nO),nE=nS=null)}function nO(e){if("value"===e.propertyName&&nA(nE)){var t=[];n_(t,nE,e,ek(e)),eN(nk,t)}}function nR(e,t,n){"focusin"===e?(nI(),nS=t,nE=n,nS.attachEvent("onpropertychange",nO)):"focusout"===e&&nI()}function nP(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nA(nE)}function nN(e,t){if("click"===e)return nA(t)}function nL(e,t){if("input"===e||"change"===e)return nA(t)}var nj="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function nM(e,t){if(nj(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!y.call(t,i)||!nj(e[i],t[i]))return!1}return!0}function nD(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nF(e,t){var n,r=nD(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=nD(r)}}function nU(){for(var e=window,t=J();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=J(e.document)}return t}function nV(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var nB=g&&"documentMode"in document&&11>=document.documentMode,nG=null,nY=null,nz=null,nW=!1;function nZ(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nW||null==nG||nG!==J(r)||(r="selectionStart"in(r=nG)&&nV(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},nz&&nM(nz,r)||(nz=r,0<(r=rl(nY,"onSelect")).length&&(t=new tQ("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nG)))}function nH(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nK={animationend:nH("Animation","AnimationEnd"),animationiteration:nH("Animation","AnimationIteration"),animationstart:nH("Animation","AnimationStart"),transitionend:nH("Transition","TransitionEnd")},nX={},n$={};function nJ(e){if(nX[e])return nX[e];if(!nK[e])return e;var t,n=nK[e];for(t in n)if(n.hasOwnProperty(t)&&t in n$)return nX[e]=n[t];return e}g&&(n$=document.createElement("div").style,"AnimationEvent"in window||(delete nK.animationend.animation,delete nK.animationiteration.animation,delete nK.animationstart.animation),"TransitionEvent"in window||delete nK.transitionend.transition);var nq=nJ("animationend"),nQ=nJ("animationiteration"),n0=nJ("animationstart"),n1=nJ("transitionend"),n2=new Map,n5="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function n3(e,t){n2.set(e,t),h(t,[e])}for(var n9=0;n9<n5.length;n9++){var n4=n5[n9];n3(n4.toLowerCase(),"on"+(n4[0].toUpperCase()+n4.slice(1)))}n3(nq,"onAnimationEnd"),n3(nQ,"onAnimationIteration"),n3(n0,"onAnimationStart"),n3("dblclick","onDoubleClick"),n3("focusin","onFocus"),n3("focusout","onBlur"),n3(n1,"onTransitionEnd"),m("onMouseEnter",["mouseout","mouseover"]),m("onMouseLeave",["mouseout","mouseover"]),m("onPointerEnter",["pointerout","pointerover"]),m("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var n6="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),n7=new Set("cancel close invalid load scroll toggle".split(" ").concat(n6));function n8(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,a,o,s,l){if(eY.apply(this,arguments),eF){if(eF){var u=eU;eF=!1,eU=null}else throw Error(d(198));eV||(eV=!0,eB=u)}}(r,t,void 0,e),e.currentTarget=null}function re(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==a&&i.isPropagationStopped())break e;n8(i,s,u),a=l}else for(o=0;o<r.length;o++){if(l=(s=r[o]).instance,u=s.currentTarget,s=s.listener,l!==a&&i.isPropagationStopped())break e;n8(i,s,u),a=l}}}if(eV)throw e=eB,eV=!1,eB=null,e}function rt(e,t){var n=t[rR];void 0===n&&(n=t[rR]=new Set);var r=e+"__bubble";n.has(r)||(ra(t,e,2,!1),n.add(r))}function rn(e,t,n){var r=0;t&&(r|=4),ra(n,e,r,t)}var rr="_reactListening"+Math.random().toString(36).slice(2);function ri(e){if(!e[rr]){e[rr]=!0,p.forEach(function(t){"selectionchange"!==t&&(n7.has(t)||rn(t,!1,e),rn(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[rr]||(t[rr]=!0,rn("selectionchange",!1,t))}}function ra(e,t,n,r){switch(tV(t)){case 1:var i=tj;break;case 4:i=tM;break;default:i=tD}n=i.bind(null,t,n,e),i=void 0,ej&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function ro(e,t,n,r,i){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===o)for(o=r.return;null!==o;){var l=o.tag;if((3===l||4===l)&&((l=o.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;o=o.return}for(;null!==s;){if(null===(o=rL(s)))return;if(5===(l=o.tag)||6===l){r=a=o;continue e}s=s.parentNode}}r=r.return}eN(function(){var r=a,i=ek(n),o=[];e:{var s=n2.get(e);if(void 0!==s){var l=tQ,u=e;switch(e){case"keypress":if(0===tW(n))break e;case"keydown":case"keyup":l=ni;break;case"focusin":u="focus",l=t9;break;case"focusout":u="blur",l=t9;break;case"beforeblur":case"afterblur":l=t9;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=t5;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=t3;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=no;break;case nq:case nQ:case n0:l=t4;break;case n1:l=ns;break;case"scroll":l=t1;break;case"wheel":l=nl;break;case"copy":case"cut":case"paste":l=t6;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=na}var c=0!=(4&t),d=!c&&"scroll"===e,p=c?null!==s?s+"Capture":null:s;c=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&null!=(m=eL(h,p))&&c.push(rs(h,m,f))),d)break;h=h.return}0<c.length&&(s=new l(s,u,null,n,i),o.push({event:s,listeners:c}))}}if(0==(7&t)){if((s="mouseover"===e||"pointerover"===e,l="mouseout"===e||"pointerout"===e,!(s&&n!==eE&&(u=n.relatedTarget||n.fromElement)&&(rL(u)||u[rO])))&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,null!==(u=u?rL(u):null)&&(d=ez(u),u!==d||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=t5,m="onMouseLeave",p="onMouseEnter",h="mouse",("pointerout"===e||"pointerover"===e)&&(c=na,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==l?s:rM(l),f=null==u?s:rM(u),(s=new c(m,h+"leave",l,n,i)).target=d,s.relatedTarget=f,m=null,rL(i)===r&&((c=new c(p,h+"enter",u,n,i)).target=f,c.relatedTarget=d,m=c),d=m,l&&u)t:{for(c=l,p=u,h=0,f=c;f;f=ru(f))h++;for(f=0,m=p;m;m=ru(m))f++;for(;0<h-f;)c=ru(c),h--;for(;0<f-h;)p=ru(p),f--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break t;c=ru(c),p=ru(p)}c=null}else c=null;null!==l&&rc(o,s,l,c,!1),null!==u&&null!==d&&rc(o,d,u,c,!0)}e:{if("select"===(l=(s=r?rM(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g,y=nT;else if(nb(s))if(nx)y=nL;else{y=nP;var v=nR}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(y=nN);if(y&&(y=y(e,r))){n_(o,y,n,i);break e}v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&er(s,"number",s.value)}switch(v=r?rM(r):window,e){case"focusin":(nb(v)||"true"===v.contentEditable)&&(nG=v,nY=r,nz=null);break;case"focusout":nz=nY=nG=null;break;case"mousedown":nW=!0;break;case"contextmenu":case"mouseup":case"dragend":nW=!1,nZ(o,n,i);break;case"selectionchange":if(nB)break;case"keydown":case"keyup":nZ(o,n,i)}if(nc)t:{switch(e){case"compositionstart":var b="onCompositionStart";break t;case"compositionend":b="onCompositionEnd";break t;case"compositionupdate":b="onCompositionUpdate";break t}b=void 0}else ny?nm(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(nf&&"ko"!==n.locale&&(ny||"onCompositionStart"!==b?"onCompositionEnd"===b&&ny&&(g=tz()):(tG="value"in(tB=i)?tB.value:tB.textContent,ny=!0)),0<(v=rl(r,b)).length&&(b=new t7(b,e,null,n,i),o.push({event:b,listeners:v}),g?b.data=g:null!==(g=ng(n))&&(b.data=g))),(g=np?function(e,t){switch(e){case"compositionend":return ng(t);case"keypress":if(32!==t.which)return null;return nh=!0," ";case"textInput":return" "===(e=t.data)&&nh?null:e;default:return null}}(e,n):function(e,t){if(ny)return"compositionend"===e||!nc&&nm(e,t)?(e=tz(),tY=tG=tB=null,ny=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return nf&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=rl(r,"onBeforeInput")).length&&(i=new t7("onBeforeInput","beforeinput",null,n,i),o.push({event:i,listeners:r}),i.data=g)}re(o,t)})}function rs(e,t,n){return{instance:e,listener:t,currentTarget:n}}function rl(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,a=i.stateNode;5===i.tag&&null!==a&&(i=a,null!=(a=eL(e,n))&&r.unshift(rs(e,a,i)),null!=(a=eL(e,t))&&r.push(rs(e,a,i))),e=e.return}return r}function ru(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag);return e||null}function rc(e,t,n,r,i){for(var a=t._reactName,o=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,i?null!=(l=eL(n,a))&&o.unshift(rs(n,l,s)):i||null!=(l=eL(n,a))&&o.push(rs(n,l,s))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var rd=/\r\n?/g,rp=/\u0000|\uFFFD/g;function rf(e){return("string"==typeof e?e:""+e).replace(rd,"\n").replace(rp,"")}function rh(e,t,n){if(t=rf(t),rf(e)!==t&&n)throw Error(d(425))}function rm(){}var rg=null,ry=null;function rv(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var rb="function"==typeof setTimeout?setTimeout:void 0,r_="function"==typeof clearTimeout?clearTimeout:void 0,rS="function"==typeof Promise?Promise:void 0,rE="function"==typeof queueMicrotask?queueMicrotask:void 0!==rS?function(e){return rS.resolve(null).then(e).catch(rk)}:rb;function rk(e){setTimeout(function(){throw e})}function rA(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r){e.removeChild(i),tP(t);return}r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);tP(t)}function rT(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function rx(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var rw=Math.random().toString(36).slice(2),rC="__reactFiber$"+rw,rI="__reactProps$"+rw,rO="__reactContainer$"+rw,rR="__reactEvents$"+rw,rP="__reactListeners$"+rw,rN="__reactHandles$"+rw;function rL(e){var t=e[rC];if(t)return t;for(var n=e.parentNode;n;){if(t=n[rO]||n[rC]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=rx(e);null!==e;){if(n=e[rC])return n;e=rx(e)}return t}n=(e=n).parentNode}return null}function rj(e){return(e=e[rC]||e[rO])&&(5===e.tag||6===e.tag||13===e.tag||3===e.tag)?e:null}function rM(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(d(33))}function rD(e){return e[rI]||null}var rF=[],rU=-1;function rV(e){return{current:e}}function rB(e){0>rU||(e.current=rF[rU],rF[rU]=null,rU--)}function rG(e,t){rF[++rU]=e.current,e.current=t}var rY={},rz=rV(rY),rW=rV(!1),rZ=rY;function rH(e,t){var n=e.type.contextTypes;if(!n)return rY;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function rK(e){return null!=(e=e.childContextTypes)}function rX(){rB(rW),rB(rz)}function r$(e,t,n){if(rz.current!==rY)throw Error(d(168));rG(rz,t),rG(rW,n)}function rJ(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(d(108,function(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return function e(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case I:return"Fragment";case C:return"Portal";case R:return"Profiler";case O:return"StrictMode";case j:return"Suspense";case M:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case N:return(t.displayName||"Context")+".Consumer";case P:return(t._context.displayName||"Context")+".Provider";case L:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case D:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case F:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(t);case 8:return t===O?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}(e)||"Unknown",i));return Y({},n,r)}function rq(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rY,rZ=rz.current,rG(rz,e),rG(rW,rW.current),!0}function rQ(e,t,n){var r=e.stateNode;if(!r)throw Error(d(169));n?(r.__reactInternalMemoizedMergedChildContext=e=rJ(e,t,rZ),rB(rW),rB(rz),rG(rz,e)):rB(rW),rG(rW,n)}var r0=null,r1=!1,r2=!1;function r5(e){null===r0?r0=[e]:r0.push(e)}function r3(){if(!r2&&null!==r0){r2=!0;var e=0,t=tu;try{var n=r0;for(tu=1;e<n.length;e++){var r=n[e];do r=r(!0);while(null!==r)}r0=null,r1=!1}catch(t){throw null!==r0&&(r0=r0.slice(e+1)),eK(e0,r3),t}finally{tu=t,r2=!1}}return null}var r9=[],r4=0,r6=null,r7=0,r8=[],ie=0,it=null,ir=1,ii="";function ia(e,t){r9[r4++]=r7,r9[r4++]=r6,r6=e,r7=t}function io(e,t,n){r8[ie++]=ir,r8[ie++]=ii,r8[ie++]=it,it=e;var r=ir;e=ii;var i=32-e6(r)-1;r&=~(1<<i),n+=1;var a=32-e6(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,ir=1<<32-e6(t)+i|n<<i|r,ii=a+e}else ir=1<<a|n<<i|r,ii=e}function is(e){null!==e.return&&(ia(e,1),io(e,1,0))}function il(e){for(;e===r6;)r6=r9[--r4],r9[r4]=null,r7=r9[--r4],r9[r4]=null;for(;e===it;)it=r8[--ie],r8[ie]=null,ii=r8[--ie],r8[ie]=null,ir=r8[--ie],r8[ie]=null}var iu=null,ic=null,id=!1,ip=null;function ih(e,t){var n=sK(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function im(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,iu=e,ic=rT(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,iu=e,ic=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(e.memoizedState={dehydrated:t,treeContext:n=null!==it?{id:ir,overflow:ii}:null,retryLane:0x40000000},(n=sK(18,null,null,0)).stateNode=t,n.return=e,e.child=n,iu=e,ic=null,!0);default:return!1}}function ig(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function iy(e){if(id){var t=ic;if(t){var n=t;if(!im(e,t)){if(ig(e))throw Error(d(418));t=rT(n.nextSibling);var r=iu;t&&im(e,t)?ih(r,n):(e.flags=-4097&e.flags|2,id=!1,iu=e)}}else{if(ig(e))throw Error(d(418));e.flags=-4097&e.flags|2,id=!1,iu=e}}}function iv(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;iu=e}function ib(e){if(e!==iu)return!1;if(!id)return iv(e),id=!0,!1;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!rv(e.type,e.memoizedProps)),t&&(t=ic)){if(ig(e))throw i_(),Error(d(418));for(;t;)ih(e,t),t=rT(t.nextSibling)}if(iv(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(d(317));e:{for(t=0,e=e.nextSibling;e;){if(8===e.nodeType){var t,n=e.data;if("/$"===n){if(0===t){ic=rT(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ic=null}}else ic=iu?rT(e.stateNode.nextSibling):null;return!0}function i_(){for(var e=ic;e;)e=rT(e.nextSibling)}function iS(){ic=iu=null,id=!1}function iE(e){null===ip?ip=[e]:ip.push(e)}var ik=x.ReactCurrentBatchConfig;function iA(e,t){if(e&&e.defaultProps)for(var n in t=Y({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var iT=rV(null),ix=null,iw=null,iC=null;function iI(){iC=iw=ix=null}function iO(e){var t=iT.current;rB(iT),e._currentValue=t}function iR(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function iP(e,t){ix=e,iC=iw=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(os=!0),e.firstContext=null)}function iN(e){var t=e._currentValue;if(iC!==e)if(e={context:e,memoizedValue:t,next:null},null===iw){if(null===ix)throw Error(d(308));iw=e,ix.dependencies={lanes:0,firstContext:e}}else iw=iw.next=e;return t}var iL=null;function ij(e){null===iL?iL=[e]:iL.push(e)}function iM(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,ij(t)):(n.next=i.next,i.next=n),t.interleaved=n,iD(e,r)}function iD(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var iF=!1;function iU(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function iV(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function iB(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function iG(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&o3)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,iD(e,n)}return null===(i=r.interleaved)?(t.next=t,ij(r)):(t.next=i.next,i.next=t),r.interleaved=t,iD(e,n)}function iY(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tl(e,n)}}function iz(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?i=a=o:a=a.next=o,n=n.next}while(null!==n);null===a?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function iW(e,t,n,r){var i=e.updateQueue;iF=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,u=l.next;l.next=null,null===o?a=u:o.next=u,o=l;var c=e.alternate;null!==c&&(s=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l)}if(null!==a){var d=i.baseState;for(o=0,c=u=l=null,s=a;;){var p=s.lane,f=s.eventTime;if((r&p)===p){null!==c&&(c=c.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,m=s;switch(p=t,f=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(f,d,p);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=m.payload)?h.call(f,d,p):h))break e;d=Y({},d,p);break e;case 2:iF=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=i.effects)?i.effects=[s]:p.push(s))}else f={eventTime:f,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=f,l=d):c=c.next=f,o|=p;if(null===(s=s.next))if(null===(s=i.shared.pending))break;else s=(p=s).next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}if(null===c&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null!==(t=i.shared.interleaved)){i=t;do o|=i.lane,i=i.next;while(i!==t)}else null===a&&(i.shared.lanes=0);sn|=o,e.lanes=o,e.memoizedState=d}}function iZ(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(d(191,i));i.call(r)}}}var iH=(new u.Component).refs;function iK(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:Y({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var iX={isMounted:function(e){return!!(e=e._reactInternals)&&ez(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=s_(),i=sS(e),a=iB(r,i);a.payload=t,null!=n&&(a.callback=n),null!==(t=iG(e,a,i))&&(sE(t,e,i,r),iY(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=s_(),i=sS(e),a=iB(r,i);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=iG(e,a,i))&&(sE(t,e,i,r),iY(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=s_(),r=sS(e),i=iB(n,r);i.tag=2,null!=t&&(i.callback=t),null!==(t=iG(e,i,r))&&(sE(t,e,r,n),iY(t,e,r))}};function i$(e,t,n,r,i,a,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!t.prototype||!t.prototype.isPureReactComponent||!nM(n,r)||!nM(i,a)}function iJ(e,t,n){var r=!1,i=rY,a=t.contextType;return"object"==typeof a&&null!==a?a=iN(a):(i=rK(t)?rZ:rz.current,a=(r=null!=(r=t.contextTypes))?rH(e,i):rY),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=iX,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function iq(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&iX.enqueueReplaceState(t,t.state,null)}function iQ(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=iH,iU(e);var a=t.contextType;"object"==typeof a&&null!==a?i.context=iN(a):i.context=rH(e,a=rK(t)?rZ:rz.current),i.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(iK(e,t,a,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&iX.enqueueReplaceState(i,i.state,null),iW(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function i0(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(d(309));var r=n.stateNode}if(!r)throw Error(d(147,e));var i=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:((t=function(e){var t=i.refs;t===iH&&(t=i.refs={}),null===e?delete t[a]:t[a]=e})._stringRef=a,t)}if("string"!=typeof e)throw Error(d(284));if(!n._owner)throw Error(d(290,e))}return e}function i1(e,t){throw Error(d(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function i2(e){return(0,e._init)(e._payload)}function i5(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=s$(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return(t.index=r,e)?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function o(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?(t=s0(n,e.mode,r)).return=e:(t=i(t,n)).return=e,t}function l(e,t,n,r){var a=n.type;return a===I?c(e,t,n.props.children,r,n.key):(null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===F&&i2(a)===t.type)?(r=i(t,n.props)).ref=i0(e,t,n):(r=sJ(n.type,n.key,n.props,null,e.mode,r)).ref=i0(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=s1(n,e.mode,r)).return=e:(t=i(t,n.children||[])).return=e,t}function c(e,t,n,r,a){return null===t||7!==t.tag?(t=sq(n,e.mode,r,a)).return=e:(t=i(t,n)).return=e,t}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=s0(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=sJ(t.type,t.key,t.props,null,e.mode,n)).ref=i0(e,null,t),n.return=e,n;case C:return(t=s1(t,e.mode,n)).return=e,t;case F:return p(e,(0,t._init)(t._payload),n)}if(ei(t)||B(t))return(t=sq(t,e.mode,n,null)).return=e,t;i1(e,t)}return null}function f(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===i?l(e,t,n,r):null;case C:return n.key===i?u(e,t,n,r):null;case F:return f(e,t,(i=n._init)(n._payload),r)}if(ei(n)||B(n))return null!==i?null:c(e,t,n,r,null);i1(e,n)}return null}function h(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return l(t,e=e.get(null===r.key?n:r.key)||null,r,i);case C:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case F:return h(e,t,n,(0,r._init)(r._payload),i)}if(ei(r)||B(r))return c(t,e=e.get(n)||null,r,i,null);i1(t,r)}return null}return function s(l,u,c,m){if("object"==typeof c&&null!==c&&c.type===I&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case w:e:{for(var g=c.key,y=u;null!==y;){if(y.key===g){if((g=c.type)===I){if(7===y.tag){n(l,y.sibling),(u=i(y,c.props.children)).return=l,l=u;break e}}else if(y.elementType===g||"object"==typeof g&&null!==g&&g.$$typeof===F&&i2(g)===y.type){n(l,y.sibling),(u=i(y,c.props)).ref=i0(l,y,c),u.return=l,l=u;break e}n(l,y);break}t(l,y),y=y.sibling}c.type===I?((u=sq(c.props.children,l.mode,m,c.key)).return=l,l=u):((m=sJ(c.type,c.key,c.props,null,l.mode,m)).ref=i0(l,u,c),m.return=l,l=m)}return o(l);case C:e:{for(y=c.key;null!==u;){if(u.key===y)if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){n(l,u.sibling),(u=i(u,c.children||[])).return=l,l=u;break e}else{n(l,u);break}t(l,u),u=u.sibling}(u=s1(c,l.mode,m)).return=l,l=u}return o(l);case F:return s(l,u,(y=c._init)(c._payload),m)}if(ei(c))return function(i,o,s,l){for(var u=null,c=null,d=o,m=o=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var y=f(i,d,s[m],l);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(i,d),o=a(y,o,m),null===c?u=y:c.sibling=y,c=y,d=g}if(m===s.length)return n(i,d),id&&ia(i,m),u;if(null===d){for(;m<s.length;m++)null!==(d=p(i,s[m],l))&&(o=a(d,o,m),null===c?u=d:c.sibling=d,c=d);return id&&ia(i,m),u}for(d=r(i,d);m<s.length;m++)null!==(g=h(d,i,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),o=a(g,o,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(i,e)}),id&&ia(i,m),u}(l,u,c,m);if(B(c))return function(i,o,s,l){var u=B(s);if("function"!=typeof u)throw Error(d(150));if(null==(s=u.call(s)))throw Error(d(151));for(var c=u=null,m=o,g=o=0,y=null,v=s.next();null!==m&&!v.done;g++,v=s.next()){m.index>g?(y=m,m=null):y=m.sibling;var b=f(i,m,v.value,l);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(i,m),o=a(b,o,g),null===c?u=b:c.sibling=b,c=b,m=y}if(v.done)return n(i,m),id&&ia(i,g),u;if(null===m){for(;!v.done;g++,v=s.next())null!==(v=p(i,v.value,l))&&(o=a(v,o,g),null===c?u=v:c.sibling=v,c=v);return id&&ia(i,g),u}for(m=r(i,m);!v.done;g++,v=s.next())null!==(v=h(m,i,g,v.value,l))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),o=a(v,o,g),null===c?u=v:c.sibling=v,c=v);return e&&m.forEach(function(e){return t(i,e)}),id&&ia(i,g),u}(l,u,c,m);i1(l,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(l,u.sibling),(u=i(u,c)).return=l):(n(l,u),(u=s0(c,l.mode,m)).return=l),o(l=u)):n(l,u)}}var i3=i5(!0),i9=i5(!1),i4={},i6=rV(i4),i7=rV(i4),i8=rV(i4);function ae(e){if(e===i4)throw Error(d(174));return e}function at(e,t){switch(rG(i8,t),rG(i7,e),rG(i6,i4),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ed(null,"");break;default:t=ed(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}rB(i6),rG(i6,t)}function an(){rB(i6),rB(i7),rB(i8)}function ar(e){ae(i8.current);var t=ae(i6.current),n=ed(t,e.type);t!==n&&(rG(i7,e),rG(i6,n))}function ai(e){i7.current===e&&(rB(i6),rB(i7))}var aa=rV(0);function ao(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var as=[];function al(){for(var e=0;e<as.length;e++)as[e]._workInProgressVersionPrimary=null;as.length=0}var au=x.ReactCurrentDispatcher,ac=x.ReactCurrentBatchConfig,ad=0,ap=null,af=null,ah=null,am=!1,ag=!1,ay=0,av=0;function ab(){throw Error(d(321))}function a_(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!nj(e[n],t[n]))return!1;return!0}function aS(e,t,n,r,i,a){if(ad=a,ap=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,au.current=null===e||null===e.memoizedState?a3:a9,e=n(r,i),ag){a=0;do{if(ag=!1,ay=0,25<=a)throw Error(d(301));a+=1,ah=af=null,t.updateQueue=null,au.current=a4,e=n(r,i)}while(ag)}if(au.current=a5,t=null!==af&&null!==af.next,ad=0,ah=af=ap=null,am=!1,t)throw Error(d(300));return e}function aE(){var e=0!==ay;return ay=0,e}function ak(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ah?ap.memoizedState=ah=e:ah=ah.next=e,ah}function aA(){if(null===af){var e=ap.alternate;e=null!==e?e.memoizedState:null}else e=af.next;var t=null===ah?ap.memoizedState:ah.next;if(null!==t)ah=t,af=e;else{if(null===e)throw Error(d(310));e={memoizedState:(af=e).memoizedState,baseState:af.baseState,baseQueue:af.baseQueue,queue:af.queue,next:null},null===ah?ap.memoizedState=ah=e:ah=ah.next=e}return ah}function aT(e,t){return"function"==typeof t?t(e):t}function ax(e){var t=aA(),n=t.queue;if(null===n)throw Error(d(311));n.lastRenderedReducer=e;var r=af,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var o=i.next;i.next=a.next,a.next=o}r.baseQueue=i=a,n.pending=null}if(null!==i){a=i.next,r=r.baseState;var s=o=null,l=null,u=a;do{var c=u.lane;if((ad&c)===c)null!==l&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===l?(s=l=p,o=r):l=l.next=p,ap.lanes|=c,sn|=c}u=u.next}while(null!==u&&u!==a);null===l?o=r:l.next=s,nj(r,t.memoizedState)||(os=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do a=i.lane,ap.lanes|=a,sn|=a,i=i.next;while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function aw(e){var t=aA(),n=t.queue;if(null===n)throw Error(d(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);nj(a,t.memoizedState)||(os=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function aC(){}function aI(e,t){var n=ap,r=aA(),i=t(),a=!nj(r.memoizedState,i);if(a&&(r.memoizedState=i,os=!0),r=r.queue,aB(aP.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ah&&1&ah.memoizedState.tag){if(n.flags|=2048,aM(9,aR.bind(null,n,r,i,t),void 0,null),null===o9)throw Error(d(349));0!=(30&ad)||aO(n,t,i)}return i}function aO(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ap.updateQueue)?(t={lastEffect:null,stores:null},ap.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function aR(e,t,n,r){t.value=n,t.getSnapshot=r,aN(t)&&aL(e)}function aP(e,t,n){return n(function(){aN(t)&&aL(e)})}function aN(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nj(e,n)}catch(e){return!0}}function aL(e){var t=iD(e,1);null!==t&&sE(t,e,1,-1)}function aj(e){var t=ak();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,t.queue=e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:aT,lastRenderedState:e},e=e.dispatch=aQ.bind(null,ap,e),[t.memoizedState,e]}function aM(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ap.updateQueue)?(t={lastEffect:null,stores:null},ap.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function aD(){return aA().memoizedState}function aF(e,t,n,r){var i=ak();ap.flags|=e,i.memoizedState=aM(1|t,n,void 0,void 0===r?null:r)}function aU(e,t,n,r){var i=aA();r=void 0===r?null:r;var a=void 0;if(null!==af){var o=af.memoizedState;if(a=o.destroy,null!==r&&a_(r,o.deps)){i.memoizedState=aM(t,n,a,r);return}}ap.flags|=e,i.memoizedState=aM(1|t,n,a,r)}function aV(e,t){return aF(8390656,8,e,t)}function aB(e,t){return aU(2048,8,e,t)}function aG(e,t){return aU(4,2,e,t)}function aY(e,t){return aU(4,4,e,t)}function az(e,t){return"function"==typeof t?(t(e=e()),function(){t(null)}):null!=t?(t.current=e=e(),function(){t.current=null}):void 0}function aW(e,t,n){return n=null!=n?n.concat([e]):null,aU(4,4,az.bind(null,t,e),n)}function aZ(){}function aH(e,t){var n=aA();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&a_(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function aK(e,t){var n=aA();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&a_(t,r[1])?r[0]:(n.memoizedState=[e=e(),t],e)}function aX(e,t,n){return 0==(21&ad)?(e.baseState&&(e.baseState=!1,os=!0),e.memoizedState=n):(nj(n,t)||(n=ta(),ap.lanes|=n,sn|=n,e.baseState=!0),t)}function a$(e,t){var n=tu;tu=0!==n&&4>n?n:4,e(!0);var r=ac.transition;ac.transition={};try{e(!1),t()}finally{tu=n,ac.transition=r}}function aJ(){return aA().memoizedState}function aq(e,t,n){var r=sS(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},a0(e)?a1(t,n):null!==(n=iM(e,t,n,r))&&(sE(n,e,r,s_()),a2(n,t,r))}function aQ(e,t,n){var r=sS(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(a0(e))a1(t,i);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,nj(s,o)){var l=t.interleaved;null===l?(i.next=i,ij(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch(e){}finally{}null!==(n=iM(e,t,i,r))&&(sE(n,e,r,i=s_()),a2(n,t,r))}}function a0(e){var t=e.alternate;return e===ap||null!==t&&t===ap}function a1(e,t){ag=am=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function a2(e,t,n){if(0!=(4194240&n)){var r=t.lanes;r&=e.pendingLanes,t.lanes=n|=r,tl(e,n)}}var a5={readContext:iN,useCallback:ab,useContext:ab,useEffect:ab,useImperativeHandle:ab,useInsertionEffect:ab,useLayoutEffect:ab,useMemo:ab,useReducer:ab,useRef:ab,useState:ab,useDebugValue:ab,useDeferredValue:ab,useTransition:ab,useMutableSource:ab,useSyncExternalStore:ab,useId:ab,unstable_isNewReconciler:!1},a3={readContext:iN,useCallback:function(e,t){return ak().memoizedState=[e,void 0===t?null:t],e},useContext:iN,useEffect:aV,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,aF(4194308,4,az.bind(null,t,e),n)},useLayoutEffect:function(e,t){return aF(4194308,4,e,t)},useInsertionEffect:function(e,t){return aF(4,2,e,t)},useMemo:function(e,t){return t=void 0===t?null:t,ak().memoizedState=[e=e(),t],e},useReducer:function(e,t,n){var r=ak();return r.memoizedState=r.baseState=t=void 0!==n?n(t):t,r.queue=e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=aq.bind(null,ap,e),[r.memoizedState,e]},useRef:function(e){return ak().memoizedState={current:e}},useState:aj,useDebugValue:aZ,useDeferredValue:function(e){return ak().memoizedState=e},useTransition:function(){var e=aj(!1),t=e[0];return e=a$.bind(null,e[1]),ak().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ap,i=ak();if(id){if(void 0===n)throw Error(d(407));n=n()}else{if(n=t(),null===o9)throw Error(d(349));0!=(30&ad)||aO(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,aV(aP.bind(null,r,a,e),[e]),r.flags|=2048,aM(9,aR.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=ak(),t=o9.identifierPrefix;if(id){var n=ii,r=ir;t=":"+t+"R"+(n=(r&~(1<<32-e6(r)-1)).toString(32)+n),0<(n=ay++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=av++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},a9={readContext:iN,useCallback:aH,useContext:iN,useEffect:aB,useImperativeHandle:aW,useInsertionEffect:aG,useLayoutEffect:aY,useMemo:aK,useReducer:ax,useRef:aD,useState:function(){return ax(aT)},useDebugValue:aZ,useDeferredValue:function(e){return aX(aA(),af.memoizedState,e)},useTransition:function(){return[ax(aT)[0],aA().memoizedState]},useMutableSource:aC,useSyncExternalStore:aI,useId:aJ,unstable_isNewReconciler:!1},a4={readContext:iN,useCallback:aH,useContext:iN,useEffect:aB,useImperativeHandle:aW,useInsertionEffect:aG,useLayoutEffect:aY,useMemo:aK,useReducer:aw,useRef:aD,useState:function(){return aw(aT)},useDebugValue:aZ,useDeferredValue:function(e){var t=aA();return null===af?t.memoizedState=e:aX(t,af.memoizedState,e)},useTransition:function(){return[aw(aT)[0],aA().memoizedState]},useMutableSource:aC,useSyncExternalStore:aI,useId:aJ,unstable_isNewReconciler:!1};function a6(e,t){try{var n="",r=t;do n+=function(e){switch(e.tag){case 5:return z(e.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return Z(e.type,!1);case 11:return Z(e.type.render,!1);case 1:return Z(e.type,!0);default:return""}}(r),r=r.return;while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,digest:null}}function a7(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function a8(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var oe="function"==typeof WeakMap?WeakMap:Map;function ot(e,t,n){(n=iB(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){sc||(sc=!0,sd=r),a8(e,t)},n}function on(e,t,n){(n=iB(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){a8(e,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){a8(e,t),"function"!=typeof r&&(null===sp?sp=new Set([this]):sp.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}function or(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new oe;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=sY.bind(null,e,t,n),t.then(e,e))}function oi(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function oa(e,t,n,r,i){return 0==(1&e.mode)?e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=iB(-1,1)).tag=2,iG(n,t,1))),n.lanes|=1):(e.flags|=65536,e.lanes=i),e}var oo=x.ReactCurrentOwner,os=!1;function ol(e,t,n,r){t.child=null===e?i9(t,null,n,r):i3(t,e.child,n,r)}function ou(e,t,n,r,i){n=n.render;var a=t.ref;return(iP(t,i),r=aS(e,t,n,r,a,i),n=aE(),null===e||os)?(id&&n&&is(t),t.flags|=1,ol(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,oC(e,t,i))}function oc(e,t,n,r,i){if(null===e){var a=n.type;return"function"!=typeof a||sX(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=sJ(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,od(e,t,a,r,i))}if(a=e.child,0==(e.lanes&i)){var o=a.memoizedProps;if((n=null!==(n=n.compare)?n:nM)(o,r)&&e.ref===t.ref)return oC(e,t,i)}return t.flags|=1,(e=s$(a,r)).ref=t.ref,e.return=t,t.child=e}function od(e,t,n,r,i){if(null!==e){var a=e.memoizedProps;if(nM(a,r)&&e.ref===t.ref)if(os=!1,t.pendingProps=r=a,0==(e.lanes&i))return t.lanes=e.lanes,oC(e,t,i);else 0!=(131072&e.flags)&&(os=!0)}return oh(e,t,n,r,i)}function op(e,t,n){var r=t.pendingProps,i=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},rG(o8,o7),o7|=n;else{if(0==(0x40000000&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=0x40000000,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,rG(o8,o7),o7|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,rG(o8,o7),o7|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,rG(o8,o7),o7|=r;return ol(e,t,i,n),t.child}function of(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function oh(e,t,n,r,i){var a=rK(n)?rZ:rz.current;return(a=rH(t,a),iP(t,i),n=aS(e,t,n,r,a,i),r=aE(),null===e||os)?(id&&r&&is(t),t.flags|=1,ol(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,oC(e,t,i))}function om(e,t,n,r,i){if(rK(n)){var a=!0;rq(t)}else a=!1;if(iP(t,i),null===t.stateNode)ow(e,t),iJ(t,n,r),iQ(t,n,r,i),r=!0;else if(null===e){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,u=n.contextType;u="object"==typeof u&&null!==u?iN(u):rH(t,u=rK(n)?rZ:rz.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof o.getSnapshotBeforeUpdate;d||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==r||l!==u)&&iq(t,o,r,u),iF=!1;var p=t.memoizedState;o.state=p,iW(t,r,o,i),l=t.memoizedState,s!==r||p!==l||rW.current||iF?("function"==typeof c&&(iK(t,n,c,r),l=t.memoizedState),(s=iF||i$(t,n,s,r,p,l,u))?(d||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=s):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,iV(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:iA(t.type,s),o.props=u,d=t.pendingProps,p=o.context,l="object"==typeof(l=n.contextType)&&null!==l?iN(l):rH(t,l=rK(n)?rZ:rz.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==d||p!==l)&&iq(t,o,r,l),iF=!1,p=t.memoizedState,o.state=p,iW(t,r,o,i);var h=t.memoizedState;s!==d||p!==h||rW.current||iF?("function"==typeof f&&(iK(t,n,f,r),h=t.memoizedState),(u=iF||i$(t,n,u,r,p,h,l)||!1)?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,h,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),o.props=r,o.state=h,o.context=l,r=u):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return og(e,t,n,r,a,i)}function og(e,t,n,r,i,a){of(e,t);var o=0!=(128&t.flags);if(!r&&!o)return i&&rQ(t,n,!1),oC(e,t,a);r=t.stateNode,oo.current=t;var s=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=i3(t,e.child,null,a),t.child=i3(t,null,s,a)):ol(e,t,s,a),t.memoizedState=r.state,i&&rQ(t,n,!0),t.child}function oy(e){var t=e.stateNode;t.pendingContext?r$(e,t.pendingContext,t.pendingContext!==t.context):t.context&&r$(e,t.context,!1),at(e,t.containerInfo)}function ov(e,t,n,r,i){return iS(),iE(i),t.flags|=256,ol(e,t,n,r),t.child}var ob={dehydrated:null,treeContext:null,retryLane:0};function o_(e){return{baseLanes:e,cachePool:null,transitions:null}}function oS(e,t,n){var r,i=t.pendingProps,a=aa.current,o=!1,s=0!=(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(o=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(a|=1),rG(aa,1&a),null===e)return(iy(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=0x40000000,null):(s=i.children,e=i.fallback,o?(i=t.mode,o=t.child,s={mode:"hidden",children:s},0==(1&i)&&null!==o?(o.childLanes=0,o.pendingProps=s):o=sQ(s,i,0,null),e=sq(e,i,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=o_(n),t.memoizedState=ob,e):oE(t,s));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated)){var l=e,u=t,c=s,p=i,f=r,h=a,m=n;if(c)return 256&u.flags?(u.flags&=-257,ok(l,u,m,p=a7(Error(d(422))))):null!==u.memoizedState?(u.child=l.child,u.flags|=128,null):(h=p.fallback,f=u.mode,p=sQ({mode:"visible",children:p.children},f,0,null),h=sq(h,f,m,null),h.flags|=2,p.return=u,h.return=u,p.sibling=h,u.child=p,0!=(1&u.mode)&&i3(u,l.child,null,m),u.child.memoizedState=o_(m),u.memoizedState=ob,h);if(0==(1&u.mode))return ok(l,u,m,null);if("$!"===f.data){if(p=f.nextSibling&&f.nextSibling.dataset)var g=p.dgst;return p=g,ok(l,u,m,p=a7(h=Error(d(419)),p,void 0))}if(g=0!=(m&l.childLanes),os||g){if(null!==(p=o9)){switch(m&-m){case 4:f=2;break;case 16:f=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:case 0x4000000:f=32;break;case 0x20000000:f=0x10000000;break;default:f=0}0!==(f=0!=(f&(p.suspendedLanes|m))?0:f)&&f!==h.retryLane&&(h.retryLane=f,iD(l,f),sE(p,l,f,-1))}return sj(),ok(l,u,m,p=a7(Error(d(421))))}return"$?"===f.data?(u.flags|=128,u.child=l.child,u=sW.bind(null,l),f._reactRetry=u,null):(l=h.treeContext,ic=rT(f.nextSibling),iu=u,id=!0,ip=null,null!==l&&(r8[ie++]=ir,r8[ie++]=ii,r8[ie++]=it,ir=l.id,ii=l.overflow,it=u),u=oE(u,p.children),u.flags|=4096,u)}if(o){o=i.fallback,s=t.mode,r=(a=e.child).sibling;var y={mode:"hidden",children:i.children};return 0==(1&s)&&t.child!==a?((i=t.child).childLanes=0,i.pendingProps=y,t.deletions=null):(i=s$(a,y)).subtreeFlags=0xe00000&a.subtreeFlags,null!==r?o=s$(r,o):(o=sq(o,s,n,null),o.flags|=2),o.return=t,i.return=t,i.sibling=o,t.child=i,i=o,o=t.child,s=null===(s=e.child.memoizedState)?o_(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=ob,i}return e=(o=e.child).sibling,i=s$(o,{mode:"visible",children:i.children}),0==(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function oE(e,t){return(t=sQ({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function ok(e,t,n,r){return null!==r&&iE(r),i3(t,e.child,null,n),e=oE(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function oA(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),iR(e.return,t,n)}function oT(e,t,n,r,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function ox(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(ol(e,t,r.children,n),0!=(2&(r=aa.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&oA(e,n,t);else if(19===e.tag)oA(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(rG(aa,r),0==(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(i=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===ao(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),oT(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ao(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}oT(t,!0,n,null,a);break;case"together":oT(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ow(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function oC(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),sn|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(d(153));if(null!==t.child){for(n=s$(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=s$(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function oI(e,t){if(!id)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function oO(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=0xe00000&i.subtreeFlags,r|=0xe00000&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}i=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},a=function(){},o=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,ae(i6.current);var a,o=null;switch(n){case"input":i=q(e,i),r=q(e,r),o=[];break;case"select":i=Y({},i,{value:void 0}),r=Y({},r,{value:void 0}),o=[];break;case"textarea":i=eo(e,i),r=eo(e,r),o=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=rm)}for(u in e_(n,r),n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if("style"===u){var s=i[u];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(f.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];if(s=null!=i?i[u]:void 0,r.hasOwnProperty(u)&&l!==s&&(null!=l||null!=s))if("style"===u)if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(o||(o=[]),o.push(u,n)),n=l;else"dangerouslySetInnerHTML"===u?(l=l?l.__html:void 0,s=s?s.__html:void 0,null!=l&&s!==l&&(o=o||[]).push(u,l)):"children"===u?"string"!=typeof l&&"number"!=typeof l||(o=o||[]).push(u,""+l):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(f.hasOwnProperty(u)?(null!=l&&"onScroll"===u&&rt("scroll",e),o||s===l||(o=[])):(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},s=function(e,t,n,r){n!==r&&(t.flags|=4)};var oR=!1,oP=!1,oN="function"==typeof WeakSet?WeakSet:Set,oL=null;function oj(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){sG(e,t,n)}else n.current=null}function oM(e,t,n){try{n()}catch(n){sG(e,t,n)}}var oD=!1;function oF(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,void 0!==a&&oM(t,n,a)}i=i.next}while(i!==r)}}function oU(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function oV(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function oB(e){return 5===e.tag||3===e.tag||4===e.tag}function oG(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||oB(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}var oY=null,oz=!1;function oW(e,t,n){for(n=n.child;null!==n;)oZ(e,t,n),n=n.sibling}function oZ(e,t,n){if(e4&&"function"==typeof e4.onCommitFiberUnmount)try{e4.onCommitFiberUnmount(e9,n)}catch(e){}switch(n.tag){case 5:oP||oj(n,t);case 6:var r=oY,i=oz;oY=null,oW(e,t,n),oY=r,oz=i,null!==oY&&(oz?(e=oY,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):oY.removeChild(n.stateNode));break;case 18:null!==oY&&(oz?(e=oY,n=n.stateNode,8===e.nodeType?rA(e.parentNode,n):1===e.nodeType&&rA(e,n),tP(e)):rA(oY,n.stateNode));break;case 4:r=oY,i=oz,oY=n.stateNode.containerInfo,oz=!0,oW(e,t,n),oY=r,oz=i;break;case 0:case 11:case 14:case 15:if(!oP&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,void 0!==o&&(0!=(2&a)?oM(n,t,o):0!=(4&a)&&oM(n,t,o)),i=i.next}while(i!==r)}oW(e,t,n);break;case 1:if(!oP&&(oj(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){sG(n,t,e)}oW(e,t,n);break;case 21:default:oW(e,t,n);break;case 22:1&n.mode?(oP=(r=oP)||null!==n.memoizedState,oW(e,t,n),oP=r):oW(e,t,n)}}function oH(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new oN),t.forEach(function(t){var r=sZ.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function oK(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var a=t,o=a;e:for(;null!==o;){switch(o.tag){case 5:oY=o.stateNode,oz=!1;break e;case 3:case 4:oY=o.stateNode.containerInfo,oz=!0;break e}o=o.return}if(null===oY)throw Error(d(160));oZ(e,a,i),oY=null,oz=!1;var s=i.alternate;null!==s&&(s.return=null),i.return=null}catch(e){sG(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)oX(t,e),t=t.sibling}function oX(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(oK(t,e),o$(e),4&r){try{oF(3,e,e.return),oU(3,e)}catch(t){sG(e,e.return,t)}try{oF(5,e,e.return)}catch(t){sG(e,e.return,t)}}break;case 1:oK(t,e),o$(e),512&r&&null!==n&&oj(n,n.return);break;case 5:if(oK(t,e),o$(e),512&r&&null!==n&&oj(n,n.return),32&e.flags){var i=e.stateNode;try{eh(i,"")}catch(t){sG(e,e.return,t)}}if(4&r&&null!=(i=e.stateNode)){var a=e.memoizedProps,o=null!==n?n.memoizedProps:a,s=e.type,l=e.updateQueue;if(e.updateQueue=null,null!==l)try{"input"===s&&"radio"===a.type&&null!=a.name&&ee(i,a),eS(s,o);var u=eS(s,a);for(o=0;o<l.length;o+=2){var c=l[o],p=l[o+1];"style"===c?ev(i,p):"dangerouslySetInnerHTML"===c?ef(i,p):"children"===c?eh(i,p):T(i,c,p,u)}switch(s){case"input":et(i,a);break;case"textarea":el(i,a);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ea(i,!!a.multiple,h,!1):!!a.multiple!==f&&(null!=a.defaultValue?ea(i,!!a.multiple,a.defaultValue,!0):ea(i,!!a.multiple,a.multiple?[]:"",!1))}i[rI]=a}catch(t){sG(e,e.return,t)}}break;case 6:if(oK(t,e),o$(e),4&r){if(null===e.stateNode)throw Error(d(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(t){sG(e,e.return,t)}}break;case 3:if(oK(t,e),o$(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{tP(t.containerInfo)}catch(t){sG(e,e.return,t)}break;case 4:default:oK(t,e),o$(e);break;case 13:oK(t,e),o$(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,a&&(null===i.alternate||null===i.alternate.memoizedState)&&(ss=eq())),4&r&&oH(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(oP=(u=oP)||c,oK(t,e),oP=u):oK(t,e),o$(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!c&&0!=(1&e.mode))for(oL=e,c=e.child;null!==c;){for(p=oL=c;null!==oL;){switch(h=(f=oL).child,f.tag){case 0:case 11:case 14:case 15:oF(4,f,f.return);break;case 1:oj(f,f.return);var m=f.stateNode;if("function"==typeof m.componentWillUnmount){r=f,n=f.return;try{m.props=(t=r).memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){sG(r,n,e)}}break;case 5:oj(f,f.return);break;case 22:if(null!==f.memoizedState){oq(p);continue}}null!==h?(h.return=f,oL=h):oq(p)}c=c.sibling}e:for(c=null,p=e;;){if(5===p.tag){if(null===c){c=p;try{i=p.stateNode,u?(a=i.style,"function"==typeof a.setProperty?a.setProperty("display","none","important"):a.display="none"):(s=p.stateNode,o=null!=(l=p.memoizedProps.style)&&l.hasOwnProperty("display")?l.display:null,s.style.display=ey("display",o))}catch(t){sG(e,e.return,t)}}}else if(6===p.tag){if(null===c)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(t){sG(e,e.return,t)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;c===p&&(c=null),p=p.return}c===p&&(c=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:oK(t,e),o$(e),4&r&&oH(e);case 21:}}function o$(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(oB(n)){var r=n;break e}n=n.return}throw Error(d(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(eh(i,""),r.flags&=-33);var a=oG(e);!function e(t,n,r){var i=t.tag;if(5===i||6===i)t=t.stateNode,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,a,i);break;case 3:case 4:var o=r.stateNode.containerInfo,s=oG(e);!function e(t,n,r){var i=t.tag;if(5===i||6===i)t=t.stateNode,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=rm));else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,s,o);break;default:throw Error(d(161))}}catch(t){sG(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function oJ(e){for(;null!==oL;){var t=oL;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:oP||oU(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!oP)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:iA(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&iZ(t,a,r);break;case 3:var o=t.updateQueue;if(null!==o){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}iZ(t,o,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var c=u.memoizedState;if(null!==c){var p=c.dehydrated;null!==p&&tP(p)}}}break;default:throw Error(d(163))}oP||512&t.flags&&oV(t)}catch(e){sG(t,t.return,e)}}if(t===e){oL=null;break}if(null!==(n=t.sibling)){n.return=t.return,oL=n;break}oL=t.return}}function oq(e){for(;null!==oL;){var t=oL;if(t===e){oL=null;break}var n=t.sibling;if(null!==n){n.return=t.return,oL=n;break}oL=t.return}}function oQ(e){for(;null!==oL;){var t=oL;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{oU(4,t)}catch(e){sG(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){sG(t,i,e)}}var a=t.return;try{oV(t)}catch(e){sG(t,a,e)}break;case 5:var o=t.return;try{oV(t)}catch(e){sG(t,o,e)}}}catch(e){sG(t,t.return,e)}if(t===e){oL=null;break}var s=t.sibling;if(null!==s){s.return=t.return,oL=s;break}oL=t.return}}var o0=Math.ceil,o1=x.ReactCurrentDispatcher,o2=x.ReactCurrentOwner,o5=x.ReactCurrentBatchConfig,o3=0,o9=null,o4=null,o6=0,o7=0,o8=rV(0),se=0,st=null,sn=0,sr=0,si=0,sa=null,so=null,ss=0,sl=1/0,su=null,sc=!1,sd=null,sp=null,sf=!1,sh=null,sm=0,sg=0,sy=null,sv=-1,sb=0;function s_(){return 0!=(6&o3)?eq():-1!==sv?sv:sv=eq()}function sS(e){return 0==(1&e.mode)?1:0!=(2&o3)&&0!==o6?o6&-o6:null!==ik.transition?(0===sb&&(sb=ta()),sb):0!==(e=tu)?e:e=void 0===(e=window.event)?16:tV(e.type)}function sE(e,t,n,r){if(50<sg)throw sg=0,sy=null,Error(d(185));ts(e,n,r),(0==(2&o3)||e!==o9)&&(e===o9&&(0==(2&o3)&&(sr|=n),4===se&&sw(e,o6)),sk(e,r),1===n&&0===o3&&0==(1&t.mode)&&(sl=eq()+500,r1&&r3()))}function sk(e,t){var n,r=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-e6(a),s=1<<o,l=i[o];-1===l?(0==(s&n)||0!=(s&r))&&(i[o]=function(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}(e,t);var i=tr(e,e===o9?o6:0);if(0===i)null!==r&&eX(r),e.callbackNode=null,e.callbackPriority=0;else if(t=i&-i,e.callbackPriority!==t){if(null!=r&&eX(r),1===t)0===e.tag?(n=sC.bind(null,e),r1=!0,r5(n)):r5(sC.bind(null,e)),rE(function(){0==(6&o3)&&r3()}),r=null;else{switch(tc(i)){case 1:r=e0;break;case 4:r=e1;break;case 16:default:r=e2;break;case 0x20000000:r=e3}r=eK(r,sA.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function sA(e,t){if(sv=-1,sb=0,0!=(6&o3))throw Error(d(327));var n=e.callbackNode;if(sV()&&e.callbackNode!==n)return null;var r=tr(e,e===o9?o6:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=sM(e,r);else{t=r;var i=o3;o3|=2;var a=sL();for((o9!==e||o6!==t)&&(su=null,sl=eq()+500,sP(e,t));;)try{for(;null!==o4&&!e$();)sD(o4);break}catch(t){sN(e,t)}iI(),o1.current=a,o3=i,null!==o4?t=0:(o9=null,o6=0,t=se)}if(0!==t){if(2===t&&0!==(i=ti(e))&&(r=i,t=sT(e,i)),1===t)throw n=st,sP(e,0),sw(e,r),sk(e,eq()),n;if(6===t)sw(e,r);else{if(i=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!nj(a(),i))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=sM(e,r))&&0!==(a=ti(e))&&(r=a,t=sT(e,a)),1===t))throw n=st,sP(e,0),sw(e,r),sk(e,eq()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(d(345));case 2:case 5:sU(e,so,su);break;case 3:if(sw(e,r),(0x7c00000&r)===r&&10<(t=ss+500-eq())){if(0!==tr(e,0))break;if(((i=e.suspendedLanes)&r)!==r){s_(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=rb(sU.bind(null,e,so,su),t);break}sU(e,so,su);break;case 4:if(sw(e,r),(4194240&r)===r)break;for(i=-1,t=e.eventTimes;0<r;){var o=31-e6(r);a=1<<o,(o=t[o])>i&&(i=o),r&=~a}if(r=i,10<(r=(120>(r=eq()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*o0(r/1960))-r)){e.timeoutHandle=rb(sU.bind(null,e,so,su),r);break}sU(e,so,su);break;default:throw Error(d(329))}}}return sk(e,eq()),e.callbackNode===n?sA.bind(null,e):null}function sT(e,t){var n=sa;return e.current.memoizedState.isDehydrated&&(sP(e,t).flags|=256),2!==(e=sM(e,t))&&(t=so,so=n,null!==t&&sx(t)),e}function sx(e){null===so?so=e:so.push.apply(so,e)}function sw(e,t){for(t&=~si,t&=~sr,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-e6(t),r=1<<n;e[n]=-1,t&=~r}}function sC(e){if(0!=(6&o3))throw Error(d(327));sV();var t=tr(e,0);if(0==(1&t))return sk(e,eq()),null;var n=sM(e,t);if(0!==e.tag&&2===n){var r=ti(e);0!==r&&(t=r,n=sT(e,r))}if(1===n)throw n=st,sP(e,0),sw(e,t),sk(e,eq()),n;if(6===n)throw Error(d(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,sU(e,so,su),sk(e,eq()),null}function sI(e,t){var n=o3;o3|=1;try{return e(t)}finally{0===(o3=n)&&(sl=eq()+500,r1&&r3())}}function sO(e){null!==sh&&0===sh.tag&&0==(6&o3)&&sV();var t=o3;o3|=1;var n=o5.transition,r=tu;try{if(o5.transition=null,tu=1,e)return e()}finally{tu=r,o5.transition=n,0==(6&(o3=t))&&r3()}}function sR(){o7=o8.current,rB(o8)}function sP(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,r_(n)),null!==o4)for(n=o4.return;null!==n;){var r=n;switch(il(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&rX();break;case 3:an(),rB(rW),rB(rz),al();break;case 5:ai(r);break;case 4:an();break;case 13:case 19:rB(aa);break;case 10:iO(r.type._context);break;case 22:case 23:sR()}n=n.return}if(o9=e,o4=e=s$(e.current,null),o6=o7=t,se=0,st=null,si=sr=sn=0,so=sa=null,null!==iL){for(t=0;t<iL.length;t++)if(null!==(r=(n=iL[t]).interleaved)){n.interleaved=null;var i=r.next,a=n.pending;if(null!==a){var o=a.next;a.next=i,r.next=o}n.pending=r}iL=null}return e}function sN(e,t){for(;;){var n=o4;try{if(iI(),au.current=a5,am){for(var r=ap.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}am=!1}if(ad=0,ah=af=ap=null,ag=!1,ay=0,o2.current=null,null===n||null===n.return){se=1,st=t,o4=null;break}e:{var a=e,o=n.return,s=n,l=t;if(t=o6,s.flags|=32768,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l,c=s,p=c.tag;if(0==(1&c.mode)&&(0===p||11===p||15===p)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=oi(o);if(null!==h){h.flags&=-257,oa(h,o,s,a,t),1&h.mode&&or(a,u,t),t=h,l=u;var m=t.updateQueue;if(null===m){var g=new Set;g.add(l),t.updateQueue=g}else m.add(l);break e}if(0==(1&t)){or(a,u,t),sj();break e}l=Error(d(426))}else if(id&&1&s.mode){var y=oi(o);if(null!==y){0==(65536&y.flags)&&(y.flags|=256),oa(y,o,s,a,t),iE(a6(l,s));break e}}a=l=a6(l,s),4!==se&&(se=2),null===sa?sa=[a]:sa.push(a),a=o;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var v=ot(a,l,t);iz(a,v);break e;case 1:s=l;var b=a.type,_=a.stateNode;if(0==(128&a.flags)&&("function"==typeof b.getDerivedStateFromError||null!==_&&"function"==typeof _.componentDidCatch&&(null===sp||!sp.has(_)))){a.flags|=65536,t&=-t,a.lanes|=t;var S=on(a,s,t);iz(a,S);break e}}a=a.return}while(null!==a)}sF(n)}catch(e){t=e,o4===n&&null!==n&&(o4=n=n.return);continue}break}}function sL(){var e=o1.current;return o1.current=a5,null===e?a5:e}function sj(){(0===se||3===se||2===se)&&(se=4),null===o9||0==(0xfffffff&sn)&&0==(0xfffffff&sr)||sw(o9,o6)}function sM(e,t){var n=o3;o3|=2;var r=sL();for((o9!==e||o6!==t)&&(su=null,sP(e,t));;)try{for(;null!==o4;)sD(o4);break}catch(t){sN(e,t)}if(iI(),o3=n,o1.current=r,null!==o4)throw Error(d(261));return o9=null,o6=0,se}function sD(e){var t=l(e.alternate,e,o7);e.memoizedProps=e.pendingProps,null===t?sF(e):o4=t,o2.current=null}function sF(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=function(e,t,n){var r=t.pendingProps;switch(il(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return oO(t),null;case 1:case 17:return rK(t.type)&&rX(),oO(t),null;case 3:return r=t.stateNode,an(),rB(rW),rB(rz),al(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===e||null===e.child)&&(ib(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ip&&(sx(ip),ip=null))),a(e,t),oO(t),null;case 5:ai(t);var l=ae(i8.current);if(n=t.type,null!==e&&null!=t.stateNode)o(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(d(166));return oO(t),null}if(e=ae(i6.current),ib(t)){r=t.stateNode,n=t.type;var u=t.memoizedProps;switch(r[rC]=t,r[rI]=u,e=0!=(1&t.mode),n){case"dialog":rt("cancel",r),rt("close",r);break;case"iframe":case"object":case"embed":rt("load",r);break;case"video":case"audio":for(l=0;l<n6.length;l++)rt(n6[l],r);break;case"source":rt("error",r);break;case"img":case"image":case"link":rt("error",r),rt("load",r);break;case"details":rt("toggle",r);break;case"input":Q(r,u),rt("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!u.multiple},rt("invalid",r);break;case"textarea":es(r,u),rt("invalid",r)}for(var c in e_(n,u),l=null,u)if(u.hasOwnProperty(c)){var p=u[c];"children"===c?"string"==typeof p?r.textContent!==p&&(!0!==u.suppressHydrationWarning&&rh(r.textContent,p,e),l=["children",p]):"number"==typeof p&&r.textContent!==""+p&&(!0!==u.suppressHydrationWarning&&rh(r.textContent,p,e),l=["children",""+p]):f.hasOwnProperty(c)&&null!=p&&"onScroll"===c&&rt("scroll",r)}switch(n){case"input":X(r),en(r,u,!0);break;case"textarea":X(r),eu(r);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(r.onclick=rm)}r=l,t.updateQueue=r,null!==r&&(t.flags|=4)}else{c=9===l.nodeType?l:l.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ec(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[rC]=t,e[rI]=r,i(e,t,!1,!1),t.stateNode=e;e:{switch(c=eS(n,r),n){case"dialog":rt("cancel",e),rt("close",e),l=r;break;case"iframe":case"object":case"embed":rt("load",e),l=r;break;case"video":case"audio":for(l=0;l<n6.length;l++)rt(n6[l],e);l=r;break;case"source":rt("error",e),l=r;break;case"img":case"image":case"link":rt("error",e),rt("load",e),l=r;break;case"details":rt("toggle",e),l=r;break;case"input":Q(e,r),l=q(e,r),rt("invalid",e);break;case"option":default:l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=Y({},r,{value:void 0}),rt("invalid",e);break;case"textarea":es(e,r),l=eo(e,r),rt("invalid",e)}for(u in e_(n,l),p=l)if(p.hasOwnProperty(u)){var h=p[u];"style"===u?ev(e,h):"dangerouslySetInnerHTML"===u?null!=(h=h?h.__html:void 0)&&ef(e,h):"children"===u?"string"==typeof h?("textarea"!==n||""!==h)&&eh(e,h):"number"==typeof h&&eh(e,""+h):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(f.hasOwnProperty(u)?null!=h&&"onScroll"===u&&rt("scroll",e):null!=h&&T(e,u,h,c))}switch(n){case"input":X(e),en(e,r,!1);break;case"textarea":X(e),eu(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(u=r.value)?ea(e,!!r.multiple,u,!1):null!=r.defaultValue&&ea(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof l.onClick&&(e.onclick=rm)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return oO(t),null;case 6:if(e&&null!=t.stateNode)s(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(d(166));if(n=ae(i8.current),ae(i6.current),ib(t)){if(r=t.stateNode,n=t.memoizedProps,r[rC]=t,(u=r.nodeValue!==n)&&null!==(e=iu))switch(e.tag){case 3:rh(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&rh(r.nodeValue,n,0!=(1&e.mode))}u&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[rC]=t,t.stateNode=r}return oO(t),null;case 13:if(rB(aa),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(id&&null!==ic&&0!=(1&t.mode)&&0==(128&t.flags))i_(),iS(),t.flags|=98560,u=!1;else if(u=ib(t),null!==r&&null!==r.dehydrated){if(null===e){if(!u)throw Error(d(318));if(!(u=null!==(u=t.memoizedState)?u.dehydrated:null))throw Error(d(317));u[rC]=t}else iS(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;oO(t),u=!1}else null!==ip&&(sx(ip),ip=null),u=!0;if(!u)return 65536&t.flags?t:null}if(0!=(128&t.flags))return t.lanes=n,t;return(r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&aa.current)?0===se&&(se=3):sj())),null!==t.updateQueue&&(t.flags|=4),oO(t),null;case 4:return an(),a(e,t),null===e&&ri(t.stateNode.containerInfo),oO(t),null;case 10:return iO(t.type._context),oO(t),null;case 19:if(rB(aa),null===(u=t.memoizedState))return oO(t),null;if(r=0!=(128&t.flags),null===(c=u.rendering))if(r)oI(u,!1);else{if(0!==se||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(c=ao(e))){for(t.flags|=128,oI(u,!1),null!==(r=c.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)u=n,e=r,u.flags&=0xe00002,null===(c=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=c.childLanes,u.lanes=c.lanes,u.child=c.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=c.memoizedProps,u.memoizedState=c.memoizedState,u.updateQueue=c.updateQueue,u.type=c.type,e=c.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return rG(aa,1&aa.current|2),t.child}e=e.sibling}null!==u.tail&&eq()>sl&&(t.flags|=128,r=!0,oI(u,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ao(c))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),oI(u,!0),null===u.tail&&"hidden"===u.tailMode&&!c.alternate&&!id)return oO(t),null}else 2*eq()-u.renderingStartTime>sl&&0x40000000!==n&&(t.flags|=128,r=!0,oI(u,!1),t.lanes=4194304);u.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=u.last)?n.sibling=c:t.child=c,u.last=c)}if(null!==u.tail)return t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=eq(),t.sibling=null,n=aa.current,rG(aa,r?1&n|2:1&n),t;return oO(t),null;case 22:case 23:return sR(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(0x40000000&o7)&&(oO(t),6&t.subtreeFlags&&(t.flags|=8192)):oO(t),null;case 24:case 25:return null}throw Error(d(156,t.tag))}(n,t,o7))){o4=n;return}}else{if(null!==(n=function(e,t){switch(il(t),t.tag){case 1:return rK(t.type)&&rX(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return an(),rB(rW),rB(rz),al(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ai(t),null;case 13:if(rB(aa),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(d(340));iS()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return rB(aa),null;case 4:return an(),null;case 10:return iO(t.type._context),null;case 22:case 23:return sR(),null;default:return null}}(n,t))){n.flags&=32767,o4=n;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{se=6,o4=null;return}}if(null!==(t=t.sibling)){o4=t;return}o4=t=e}while(null!==t);0===se&&(se=5)}function sU(e,t,n){var r=tu,i=o5.transition;try{o5.transition=null,tu=1,function(e,t,n,r){do sV();while(null!==sh);if(0!=(6&o3))throw Error(d(327));n=e.finishedWork;var i=e.finishedLanes;if(null!==n){if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(d(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes,o=e,s=a,l=o.pendingLanes&~s;o.pendingLanes=s,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=s,o.mutableReadLanes&=s,o.entangledLanes&=s,s=o.entanglements;var u=o.eventTimes;for(o=o.expirationTimes;0<l;){var c=31-e6(l),p=1<<c;s[c]=0,u[c]=-1,o[c]=-1,l&=~p}if(e===o9&&(o4=o9=null,o6=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||sf||(sf=!0,function(e,t){eK(e,t)}(e2,function(){return sV(),null})),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=o5.transition,o5.transition=null;var f,h,m,g=tu;tu=1;var y=o3;o3|=4,o2.current=null,function(e,t){if(rg=tL,nV(e=nU())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i,a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(e){n=null;break e}var s=0,l=-1,u=-1,c=0,p=0,f=e,h=null;t:for(;;){for(;f!==n||0!==a&&3!==f.nodeType||(l=s+a),f!==o||0!==r&&3!==f.nodeType||(u=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(i=f.firstChild);)h=f,f=i;for(;;){if(f===e)break t;if(h===n&&++c===a&&(l=s),h===o&&++p===r&&(u=s),null!==(i=f.nextSibling))break;h=(f=h).parentNode}f=i}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ry={focusedElem:e,selectionRange:n},tL=!1,oL=t;null!==oL;)if(e=(t=oL).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,oL=e;else for(;null!==oL;){t=oL;try{var m=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,y=m.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:iA(t.type,g),y);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var _=t.stateNode.containerInfo;1===_.nodeType?_.textContent="":9===_.nodeType&&_.documentElement&&_.removeChild(_.documentElement);break;default:throw Error(d(163))}}catch(e){sG(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,oL=e;break}oL=t.return}m=oD,oD=!1}(e,n),oX(n,e),function(e){var t=nU(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&function e(t,n){return!!t&&!!n&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(n.ownerDocument.documentElement,n)){if(null!==r&&nV(n)){if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=void 0===r.end?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=nF(n,a);var o=nF(n,r);i&&o&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}(ry),tL=!!rg,ry=rg=null,e.current=n,f=n,h=e,m=i,oL=f,function e(t,n,r){for(var i=0!=(1&t.mode);null!==oL;){var a=oL,o=a.child;if(22===a.tag&&i){var s=null!==a.memoizedState||oR;if(!s){var l=a.alternate,u=null!==l&&null!==l.memoizedState||oP;l=oR;var c=oP;if(oR=s,(oP=u)&&!c)for(oL=a;null!==oL;)u=(s=oL).child,22===s.tag&&null!==s.memoizedState?oQ(a):null!==u?(u.return=s,oL=u):oQ(a);for(;null!==o;)oL=o,e(o,n,r),o=o.sibling;oL=a,oR=l,oP=c}oJ(t,n,r)}else 0!=(8772&a.subtreeFlags)&&null!==o?(o.return=a,oL=o):oJ(t,n,r)}}(f,h,m),eJ(),o3=y,tu=g,o5.transition=a}else e.current=n;sf&&(sf=!1,sh=e,sm=i),0===(a=e.pendingLanes)&&(sp=null);var v=n.stateNode;if(e4&&"function"==typeof e4.onCommitFiberRoot)try{e4.onCommitFiberRoot(e9,v,void 0,128==(128&v.current.flags))}catch(e){}if(sk(e,eq()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((i=t[n]).value,{componentStack:i.stack,digest:i.digest});if(sc)throw sc=!1,e=sd,sd=null,e;0!=(1&sm)&&0!==e.tag&&sV(),0!=(1&(a=e.pendingLanes))?e===sy?sg++:(sg=0,sy=e):sg=0,r3()}}(e,t,n,r)}finally{o5.transition=i,tu=r}return null}function sV(){if(null!==sh){var e=tc(sm),t=o5.transition,n=tu;try{if(o5.transition=null,tu=16>e?16:e,null===sh)var r=!1;else{if(e=sh,sh=null,sm=0,0!=(6&o3))throw Error(d(331));var i=o3;for(o3|=4,oL=e.current;null!==oL;){var a=oL,o=a.child;if(0!=(16&oL.flags)){var s=a.deletions;if(null!==s){for(var l=0;l<s.length;l++){var u=s[l];for(oL=u;null!==oL;){var c=oL;switch(c.tag){case 0:case 11:case 15:oF(8,c,a)}var p=c.child;if(null!==p)p.return=c,oL=p;else for(;null!==oL;){var f=(c=oL).sibling,h=c.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&(delete n[rC],delete n[rI],delete n[rR],delete n[rP],delete n[rN]),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(c),c===u){oL=null;break}if(null!==f){f.return=h,oL=f;break}oL=h}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var y=g.sibling;g.sibling=null,g=y}while(null!==g)}}oL=a}}if(0!=(2064&a.subtreeFlags)&&null!==o)o.return=a,oL=o;else for(;null!==oL;){if(a=oL,0!=(2048&a.flags))switch(a.tag){case 0:case 11:case 15:oF(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,oL=v;break}oL=a.return}}var b=e.current;for(oL=b;null!==oL;){var _=(o=oL).child;if(0!=(2064&o.subtreeFlags)&&null!==_)_.return=o,oL=_;else for(o=b;null!==oL;){if(s=oL,0!=(2048&s.flags))try{switch(s.tag){case 0:case 11:case 15:oU(9,s)}}catch(e){sG(s,s.return,e)}if(s===o){oL=null;break}var S=s.sibling;if(null!==S){S.return=s.return,oL=S;break}oL=s.return}}if(o3=i,r3(),e4&&"function"==typeof e4.onPostCommitFiberRoot)try{e4.onPostCommitFiberRoot(e9,e)}catch(e){}r=!0}return r}finally{tu=n,o5.transition=t}}return!1}function sB(e,t,n){t=ot(e,t=a6(n,t),1),e=iG(e,t,1),t=s_(),null!==e&&(ts(e,1,t),sk(e,t))}function sG(e,t,n){if(3===e.tag)sB(e,e,n);else for(;null!==t;){if(3===t.tag){sB(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===sp||!sp.has(r))){e=on(t,e=a6(n,e),1),t=iG(t,e,1),e=s_(),null!==t&&(ts(t,1,e),sk(t,e));break}}t=t.return}}function sY(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=s_(),e.pingedLanes|=e.suspendedLanes&n,o9===e&&(o6&n)===n&&(4===se||3===se&&(0x7c00000&o6)===o6&&500>eq()-ss?sP(e,0):si|=n),sk(e,t)}function sz(e,t){0===t&&(0==(1&e.mode)?t=1:(t=tt,0==(0x7c00000&(tt<<=1))&&(tt=4194304)));var n=s_();null!==(e=iD(e,t))&&(ts(e,t,n),sk(e,n))}function sW(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),sz(e,n)}function sZ(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(d(314))}null!==r&&r.delete(t),sz(e,n)}function sH(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function sK(e,t,n,r){return new sH(e,t,n,r)}function sX(e){return!(!(e=e.prototype)||!e.isReactComponent)}function s$(e,t){var n=e.alternate;return null===n?((n=sK(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=0xe00000&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function sJ(e,t,n,r,i,a){var o=2;if(r=e,"function"==typeof e)sX(e)&&(o=1);else if("string"==typeof e)o=5;else e:switch(e){case I:return sq(n.children,i,a,t);case O:o=8,i|=8;break;case R:return(e=sK(12,n,t,2|i)).elementType=R,e.lanes=a,e;case j:return(e=sK(13,n,t,i)).elementType=j,e.lanes=a,e;case M:return(e=sK(19,n,t,i)).elementType=M,e.lanes=a,e;case U:return sQ(n,i,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case P:o=10;break e;case N:o=9;break e;case L:o=11;break e;case D:o=14;break e;case F:o=16,r=null;break e}throw Error(d(130,null==e?e:typeof e,""))}return(t=sK(o,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function sq(e,t,n,r){return(e=sK(7,e,r,t)).lanes=n,e}function sQ(e,t,n,r){return(e=sK(22,e,r,t)).elementType=U,e.lanes=n,e.stateNode={isHidden:!1},e}function s0(e,t,n){return(e=sK(6,e,null,t)).lanes=n,e}function s1(e,t,n){return(t=sK(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function s2(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=to(0),this.expirationTimes=to(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=to(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function s5(e,t,n,r,i,a,o,s,l){return e=new s2(e,t,n,s,l),1===t?(t=1,!0===a&&(t|=8)):t=0,a=sK(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},iU(a),e}function s3(e){if(!e)return rY;e=e._reactInternals;e:{if(ez(e)!==e||1!==e.tag)throw Error(d(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(rK(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(d(171))}if(1===e.tag){var n=e.type;if(rK(n))return rJ(e,n,t)}return t}function s9(e,t,n,r,i,a,o,s,l){return(e=s5(n,r,!0,e,i,a,o,s,l)).context=s3(null),n=e.current,(a=iB(r=s_(),i=sS(n))).callback=null!=t?t:null,iG(n,a,i),e.current.lanes=i,ts(e,i,r),sk(e,r),e}function s4(e,t,n,r){var i=t.current,a=s_(),o=sS(i);return n=s3(n),null===t.context?t.context=n:t.pendingContext=n,(t=iB(a,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=iG(i,t,o))&&(sE(e,i,o,a),iY(e,i,o)),o}function s6(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function s7(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function s8(e,t){s7(e,t),(e=e.alternate)&&s7(e,t)}l=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||rW.current)os=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return os=!1,function(e,t,n){switch(t.tag){case 3:oy(t),iS();break;case 5:ar(t);break;case 1:rK(t.type)&&rq(t);break;case 4:at(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;rG(iT,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState)){if(null!==r.dehydrated)return rG(aa,1&aa.current),t.flags|=128,null;if(0!=(n&t.child.childLanes))return oS(e,t,n);return rG(aa,1&aa.current),null!==(e=oC(e,t,n))?e.sibling:null}rG(aa,1&aa.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return ox(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),rG(aa,aa.current),!r)return null;break;case 22:case 23:return t.lanes=0,op(e,t,n)}return oC(e,t,n)}(e,t,n);os=0!=(131072&e.flags)}else os=!1,id&&0!=(1048576&t.flags)&&io(t,r7,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ow(e,t),e=t.pendingProps;var i=rH(t,rz.current);iP(t,n),i=aS(null,t,r,e,i,n);var a=aE();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,rK(r)?(a=!0,rq(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,iU(t),i.updater=iX,t.stateNode=i,i._reactInternals=t,iQ(t,r,e,n),t=og(null,t,r,!0,a,n)):(t.tag=0,id&&a&&is(t),ol(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ow(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return+!!sX(e);if(null!=e){if((e=e.$$typeof)===L)return 11;if(e===D)return 14}return 2}(r),e=iA(r,e),i){case 0:t=oh(null,t,r,e,n);break e;case 1:t=om(null,t,r,e,n);break e;case 11:t=ou(null,t,r,e,n);break e;case 14:t=oc(null,t,r,iA(r.type,e),n);break e}throw Error(d(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:iA(r,i),oh(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:iA(r,i),om(e,t,r,i,n);case 3:e:{if(oy(t),null===e)throw Error(d(387));r=t.pendingProps,i=(a=t.memoizedState).element,iV(e,t),iW(t,r,null,n);var o=t.memoizedState;if(r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){i=a6(Error(d(423)),t),t=ov(e,t,r,n,i);break e}else if(r!==i){i=a6(Error(d(424)),t),t=ov(e,t,r,n,i);break e}else for(ic=rT(t.stateNode.containerInfo.firstChild),iu=t,id=!0,ip=null,n=i9(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling;else{if(iS(),r===i){t=oC(e,t,n);break e}ol(e,t,r,n)}t=t.child}return t;case 5:return ar(t),null===e&&iy(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,o=i.children,rv(r,i)?o=null:null!==a&&rv(r,a)&&(t.flags|=32),of(e,t),ol(e,t,o,n),t.child;case 6:return null===e&&iy(t),null;case 13:return oS(e,t,n);case 4:return at(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=i3(t,null,r,n):ol(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:iA(r,i),ou(e,t,r,i,n);case 7:return ol(e,t,t.pendingProps,n),t.child;case 8:case 12:return ol(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value,rG(iT,r._currentValue),r._currentValue=o,null!==a)if(nj(a.value,o)){if(a.children===i.children&&!rW.current){t=oC(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){o=a.child;for(var l=s.firstContext;null!==l;){if(l.context===r){if(1===a.tag){(l=iB(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var c=(u=u.shared).pending;null===c?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),iR(a.return,n,t),s.lanes|=n;break}l=l.next}}else if(10===a.tag)o=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(o=a.return))throw Error(d(341));o.lanes|=n,null!==(s=o.alternate)&&(s.lanes|=n),iR(o,n,t),o=a.sibling}else o=a.child;if(null!==o)o.return=a;else for(o=a;null!==o;){if(o===t){o=null;break}if(null!==(a=o.sibling)){a.return=o.return,o=a;break}o=o.return}a=o}ol(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,iP(t,n),r=r(i=iN(i)),t.flags|=1,ol(e,t,r,n),t.child;case 14:return i=iA(r=t.type,t.pendingProps),i=iA(r.type,i),oc(e,t,r,i,n);case 15:return od(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:iA(r,i),ow(e,t),t.tag=1,rK(r)?(e=!0,rq(t)):e=!1,iP(t,n),iJ(t,r,i),iQ(t,r,i,n),og(null,t,r,!0,e,n);case 19:return ox(e,t,n);case 22:return op(e,t,n)}throw Error(d(156,t.tag))};var le="function"==typeof reportError?reportError:function(e){console.error(e)};function lt(e){this._internalRoot=e}function ln(e){this._internalRoot=e}function lr(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function li(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function la(){}function lo(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if("function"==typeof i){var s=i;i=function(){var e=s6(o);s.call(e)}}s4(t,o,e,i)}else o=function(e,t,n,r,i){if(i){if("function"==typeof r){var a=r;r=function(){var e=s6(o);a.call(e)}}var o=s9(t,r,e,0,null,!1,!1,"",la);return e._reactRootContainer=o,e[rO]=o.current,ri(8===e.nodeType?e.parentNode:e),sO(),o}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof r){var s=r;r=function(){var e=s6(l);s.call(e)}}var l=s5(e,0,!1,null,null,!1,!1,"",la);return e._reactRootContainer=l,e[rO]=l.current,ri(8===e.nodeType?e.parentNode:e),sO(function(){s4(t,l,n,r)}),l}(n,t,e,i,r);return s6(o)}ln.prototype.render=lt.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(d(409));s4(e,t,null,null)},ln.prototype.unmount=lt.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;sO(function(){s4(null,e,null,null)}),t[rO]=null}},ln.prototype.unstable_scheduleHydration=function(e){if(e){var t=th();e={blockedOn:null,target:e,priority:t};for(var n=0;n<tk.length&&0!==t&&t<tk[n].priority;n++);tk.splice(n,0,e),0===n&&tw(e)}},td=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=tn(t.pendingLanes);0!==n&&(tl(t,1|n),sk(t,eq()),0==(6&o3)&&(sl=eq()+500,r3()))}break;case 13:sO(function(){var t=iD(e,1);null!==t&&sE(t,e,1,s_())}),s8(e,1)}},tp=function(e){if(13===e.tag){var t=iD(e,0x8000000);null!==t&&sE(t,e,0x8000000,s_()),s8(e,0x8000000)}},tf=function(e){if(13===e.tag){var t=sS(e),n=iD(e,t);null!==n&&sE(n,e,t,s_()),s8(e,t)}},th=function(){return tu},tm=function(e,t){var n=tu;try{return tu=e,t()}finally{tu=n}},eA=function(e,t,n){switch(t){case"input":if(et(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=rD(r);if(!i)throw Error(d(90));$(r),et(r,i)}}}break;case"textarea":el(e,n);break;case"select":null!=(t=n.value)&&ea(e,!!n.multiple,t,!1)}},eO=sI,eR=sO;var ls={findFiberByHostInstance:rL,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ll={bundleType:ls.bundleType,version:ls.version,rendererPackageName:ls.rendererPackageName,rendererConfig:ls.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=eH(e))?null:e.stateNode},findFiberByHostInstance:ls.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var lu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lu.isDisabled&&lu.supportsFiber)try{e9=lu.inject(ll),e4=lu}catch(e){}}
668t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={usingClientEntryPoint:!1,Events:[rj,rM,rD,eC,eI,sI]},t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!lr(t))throw Error(d(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:C,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!lr(e))throw Error(d(299));var n=!1,r="",i=le;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=s5(e,1,!1,null,null,n,!1,r,i),e[rO]=t.current,ri(8===e.nodeType?e.parentNode:e),new lt(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(d(188));throw Error(d(268,e=Object.keys(e).join(",")))}return null===(e=eH(t))?null:e.stateNode},t.flushSync=function(e){return sO(e)},t.hydrate=function(e,t,n){if(!li(t))throw Error(d(200));return lo(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!lr(e))throw Error(d(405));var r=null!=n&&n.hydratedSources||null,i=!1,a="",o=le;if(null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(o=n.onRecoverableError)),t=s9(t,null,e,1,null!=n?n:null,i,!1,a,o),e[rO]=t.current,ri(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new ln(t)},t.render=function(e,t,n){if(!li(t))throw Error(d(200));return lo(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!li(e))throw Error(d(40));return!!e._reactRootContainer&&(sO(function(){lo(null,null,e,!1,function(){e._reactRootContainer=null,e[rO]=null})}),!0)},t.unstable_batchedUpdates=sI,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!li(n))throw Error(d(200));if(null==e||void 0===e._reactInternals)throw Error(d(38));return lo(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},57920:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InformationIcon=void 0;let r=n(80263);t.InformationIcon=()=>(0,r.jsx)("svg",Object.assign({width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.00002 16.0716C12.9055 16.0716 16.0714 12.9059 16.0714 9.00014C16.0714 5.09538 12.905 1.92871 9.00002 1.92871C5.09508 1.92871 1.92859 5.09538 1.92859 9.00014C1.92859 12.9059 5.09457 16.0716 9.00002 16.0716ZM9.00002 14.893C5.74545 14.893 3.10716 12.255 3.10716 9.00014C3.10716 5.74628 5.746 3.10728 9.00002 3.10728C12.254 3.10728 14.8929 5.74628 14.8929 9.00014C14.8929 12.255 12.2546 14.893 9.00002 14.893ZM8.41073 6.15039C8.41073 5.69308 8.66547 5.46443 9.17496 5.46443C9.68445 5.46443 9.93919 5.69308 9.93919 6.15039C9.93919 6.3683 9.87551 6.53788 9.74813 6.65911C9.62076 6.78034 9.42971 6.84096 9.17496 6.84096C8.66547 6.84096 8.41073 6.61077 8.41073 6.15039ZM8.47058 12.6279H9.87474V7.48089H8.47058V12.6279Z",fill:"white"})}))},58177:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElectronicProgramGuideOverlay=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(19577)),s=n(53239),l=n(66976),u=n(37514),c=n(45711),d=n(52627),p=n(97403),f=n(30836),h=n(53176),m=n(16402),g=n(2910),y=a.default.aside({background:"rgba(0, 0, 0, 0.8)",height:"100%",left:0,position:"absolute",right:0,width:"100%",zIndex:u.modalLayer}),v=a.default.header({height:"102px",justifyContent:"space-between",padding:"30px 20px 0 20px",position:"relative"}),b=a.default.h2(e=>({fontFamily:e.theme.fontFamilyBold,fontSize:"28px",left:"20px",lineHeight:1,margin:0,position:"absolute",top:"30px"})),_=(0,a.default)(p.IconButton)({position:"absolute",right:"25px",top:"35px"}),S=(0,a.default)(c.FormattedDateTime)({bottom:"23px",position:"absolute",right:"20px"}),E=a.default.div({maxHeight:"calc(100% - 182px)",overflowY:"auto"}),k=(0,s.memo)(function(e){let{livePlaylistItems:t,mustShowElectronicProgramGuide:n,playlistChildIndex:r,playlistIndex:a,skipToPlaylistIndex:l,skipToPlaylistPointer:u,hideElectronicProgramGuide:c,startOfCurrentHourTimestamp:p,startOfCurrentMinuteTimestamp:k,epgFavouritesPlaylist:A}=e,T=(0,s.useRef)(null),x=n&&o.default.number(a);if((0,s.useEffect)(()=>{null!==T.current&&T.current.scrollIntoView({block:"center"})},[x]),!x)return null;function w(e){l(e),c()}function C(e){u(e),c()}return(0,i.jsxs)(y,{children:[(0,i.jsxs)(v,{children:[(0,i.jsx)(b,{children:"Programm"}),(0,i.jsx)(m.LiveChannelGroupFilterSelector,{}),(0,i.jsx)(_,{icon:d.CloseIcon,iconSize:"18px","aria-label":"Schlie\xdfen",onClick:c}),(0,i.jsx)(S,{value:k})]}),(0,i.jsx)(g.Timeline,{dayLabel:"Heute",timestampOfStartingHour:p}),(0,i.jsxs)(E,{children:[(0,i.jsx)(h.ElectronicProgramGuideFavorites,{selectedChannelItemRef:T,switchChannel:w,switchChannelEntry:C,livePlaylistItems:A,playlistIndex:a,playlistChildIndex:r}),(0,i.jsx)(f.ChannelList,{selectedChannelItemRef:T,switchChannel:w,switchChannelEntry:C,channels:t,selectedPlaylistIndex:a,selectedPlaylistChildIndex:r})]})]})});t.ElectronicProgramGuideOverlay=({epgFavorite:e})=>{let{actions:t,state:n}=(0,s.useContext)(l.PlayerContext),{startOfCurrentMinuteTimestamp:r,startOfCurrentHourTimestamp:a,mustShowElectronicProgramGuide:o,mustShowLiveChannelGroupFilter:u,playlist:c,playlistChildIndex:d,playlistIndex:p,livePlaylistItemsNonEpg:f,epgFavouritesPlaylist:h}=n;return(0,i.jsx)(k,{ElectronicProgramGuideFavorite:e,startOfCurrentMinuteTimestamp:r,startOfCurrentHourTimestamp:a,mustShowElectronicProgramGuide:o,mustShowLiveChannelGroupFilter:u,livePlaylistItems:f,playlistChildIndex:d,playlistIndex:p,playlist:c,epgFavouritesPlaylist:h,skipToPlaylistIndex:t.skipToPlaylistIndex,skipToPlaylistPointer:t.skipToPlaylistPointer,hideElectronicProgramGuide:t.hideElectronicProgramGuide,showLiveChannelGroupFilter:t.showLiveChannelGroupFilter,hideLiveChannelGroupFilter:t.hideLiveChannelGroupFilter})}}
668,58302:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatFullTitle=t.isContentResourceWithParentTitle=t.isContentResourceWithTitle=void 0;let r=n(70015).__importDefault(n(19577)),i=n(75609);function a(e){return r.default.string(e.title)}t.isContentResourceWithTitle=a,t.isContentResourceWithParentTitle=function(e){return r.default.nonEmptyString(e.parentTitle)},t.formatFullTitle=function(e){return a(e)?e.title:(0,i.isCompilationContentResource)(e)?`${e.compilationTitle} - ${e.compilationItemTitle}`:(0,i.isSeriesContentResource)(e)?`${e.seriesTitle} - ${e.episodeTitle}`:`${e.sportsCompetitionTitle} - ${e.sportsMatchTitle}`}},58384:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNonLinearAds=void 0;let r=n(15541),i=n(57620);t.createNonLinearAds=function(){return{nonlinear:[{adparameters:r.convertToEmptyString,alttext:r.convertToEmptyString,creativeextensions:{creativeextension:[]},htmlresource:[],iframeresource:[],nonlinearclickthrough:r.convertToEmptyString,nonlinearclicktracking:[],staticresource:[]}],trackingevents:(0,i.createTrackingEvents)()}}},58406:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_DATA_SHA_256=t.SHA_256_HMAC_ALGO=t.SHA_256_HASH=void 0,t.SHA_256_HASH={name:"SHA-256"},t.SHA_256_HMAC_ALGO={name:"HMAC",hash:t.SHA_256_HASH},t.EMPTY_DATA_SHA_256=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85])},58498:(e,t,n)=>{e.exports=n(54906).extend({getCdnTraffic:function(){var e=null;if("undefined"!=typeof CdnBalancerStats&&CdnBalancerStats.cdn)e=CdnBalancerStats.cdn.totalDownloadedBytes;else if("undefined"!=typeof Streamroot)e=this._getStreamrootPeerObject("cdn",!1)||this._getStreamrootInstanceObject("cdnDownload");else if("undefined"!=typeof peer5&&peer5.getStats)e=peer5.getStats().totalHttpDownloaded;else if("undefined"!=typeof teltoo&&teltoo.getStats){var t=teltoo.getStats();e=t.totalReceivedBytes-t.p2pReceivedBytes}return e},getMultiCdnInfo:function(){var e=null;if("undefined"!=typeof CdnBalancerStats&&CdnBalancerStats.cdn&&CdnBalancerStats.cdn.cdns){var t=CdnBalancerStats.p2p;e={P2P:{downloaded_bytes:t.downloadedBytes,uploaded_bytes:t.uploadedBytes,downloaded_chunks:t.downloadedSegments,uploaded_chunks:t.uploadedSegments,errors:t.failedRequests?t.failedRequests.total:0,missed_downloaded_chunks:t.failedRequests?t.failedRequests.absent:0,timeout_errors:t.failedRequests?t.failedRequests.timeout:0,other_errors:t.failedRequests?t.failedRequests.error:0,late_uploaded_chunks:t.discardedUploadedSegments,late_uploaded_bytes:t.discardedUploadedBytes,late_downloaded_bytes:t.discardedDownloadedBytes,time:t.downloadMillis,active_peers:t.activePeers,peers:t.totalPeers}},CdnBalancerStats.cdn.cdns.forEach(function(t){e[t.name]={downloaded_bytes:t.bytes,downloaded_chunks:t.chunks,errors:t.failures,time:t.downloadMillis}})}return e},getSegmentDuration:function(){return"undefined"!=typeof CdnBalancerStats&&CdnBalancerStats.segmentDuration?CdnBalancerStats.segmentDuration:null},getBalancerResponseId:function(){return"undefined"!=typeof CdnBalancerStats&&CdnBalancerStats.cdn?CdnBalancerStats.cdn.responseUUID:null},getP2PTraffic:function(){var e=null;return"undefined"!=typeof CdnBalancerStats&&CdnBalancerStats.p2p?e=CdnBalancerStats.p2p.downloadedBytes:"undefined"!=typeof Streamroot?e=this._getStreamrootPeerObject("p2p",!0)||this._getStreamrootInstanceObject("dnaDownload"):"undefined"!=typeof peer5&&peer5.getStats?e=peer5.getStats().totalP2PDownloaded:"undefined"!=typeof teltoo&&teltoo.getStats&&(e=teltoo.getStats().p2pReceivedBytes),e},getUploadTraffic:function(){var e=null;return"undefined"!=typeof CdnBalancerStats&&CdnBalancerStats.p2p?e=CdnBalancerStats.p2p.uploadedBytes:"undefined"!=typeof Streamroot?e=this._getStreamrootPeerObject("upload",!0)||this._getStreamrootInstanceObject("dnaUpload"):"undefined"!=typeof peer5&&peer5.getStats&&(e=peer5.getStats().totalP2PUploaded),e},getIsP2PEnabled:function(){var e=!1;if("undefined"!=typeof CdnBalancerStats&&CdnBalancerStats.p2p)e=CdnBalancerStats.p2p.downloadEnabled;else if("undefined"!=typeof Streamroot)if(Streamroot.p2pAvailable&&Streamroot.peerAgents)for(var t in Streamroot.peerAgents)e=e||Streamroot.peerAgents[t].isP2PEnabled;
668else Streamroot.instances&&Streamroot.instances.forEach(function(t){e=e||t.dnaDownloadEnabled||t.dnaUploadEnabled});else"undefined"!=typeof peer5&&peer5.isEnabled?e=peer5.isEnabled():"undefined"!=typeof teltoo&&(e=!0);return e},_getStreamrootPeerObject:function(e,t){var n=null;if(Streamroot.p2pAvailable&&Streamroot.peerAgents)for(var r in Streamroot.peerAgents){var i=Streamroot.peerAgents[r];i.stats&&(!t||i.isP2PEnabled)&&(n+=i.stats[e])}return n},_getStreamrootInstanceObject:function(e){var t=null;return Streamroot.instances&&Streamroot.instances.forEach(function(n){n.stats&&n.stats.currentContent&&(t+=n.stats.currentContent[e])}),t}})},59012:e=>{"use strict";let t=(e,...t)=>new Promise(n=>{n(e(...t))});e.exports=t,e.exports.default=t},59067:(e,t,n)=>{var r=n(60161),i=n(31335),a=n(5669);e.exports={getHost:function(){var e=this.options.host;return this.viewTransform&&this.viewTransform.response&&this.viewTransform.response.host&&(e=this.viewTransform.response.host),r.addProtocol(r.stripProtocol(e),this.options["app.https"])},getUserType:function(){return this.options["user.type"]},isParseManifest:function(){return this.options["parse.manifest"]},isParseCdnNode:function(){return this.options["parse.cdnNode"]},isCdnSwitch:function(){return this.options["parse.cdnSwitchHeader"]},getParseCdnNodeList:function(){return this.options["parse.cdnNode.list"]},getParseCdnNodeNameHeader:function(){return this.options["parse.cdnNameHeader"]},getParseNodeHeader:function(){return this.options["parse.cdnNodeHeader"]},getObfuscateIp:function(){return this.options["user.obfuscateIp"]},getPrivacyProtocol:function(){var e=this.options["user.privacyProtocol"];return"string"==typeof e&&(e=e.toLowerCase()),"optin"===e||"optout"===e?e:null},getCustomDimensions:function(){var e=this.options["content.customDimensions"];return"object"==typeof e?e:null},getExtraparam1:function(){return this.options["content.customDimension.1"]},getExtraparam2:function(){return this.options["content.customDimension.2"]},getExtraparam3:function(){return this.options["content.customDimension.3"]},getExtraparam4:function(){return this.options["content.customDimension.4"]},getExtraparam5:function(){return this.options["content.customDimension.5"]},getExtraparam6:function(){return this.options["content.customDimension.6"]},getExtraparam7:function(){return this.options["content.customDimension.7"]},getExtraparam8:function(){return this.options["content.customDimension.8"]},getExtraparam9:function(){return this.options["content.customDimension.9"]},getExtraparam10:function(){return this.options["content.customDimension.10"]},getExtraparam11:function(){return this.options["content.customDimension.11"]},getExtraparam12:function(){return this.options["content.customDimension.12"]},getExtraparam13:function(){return this.options["content.customDimension.13"]},getExtraparam14:function(){return this.options["content.customDimension.14"]},getExtraparam15:function(){return this.options["content.customDimension.15"]},getExtraparam16:function(){return this.options["content.customDimension.16"]},getExtraparam17:function(){return this.options["content.customDimension.17"]},getExtraparam18:function(){return this.options["content.customDimension.18"]},getExtraparam19:function(){return this.options["content.customDimension.19"]},getExtraparam20:function(){return this.options["content.customDimension.20"]},getAdExtraparam1:function(){return this.options["ad.customDimension.1"]},getAdExtraparam2:function(){return this.options["ad.customDimension.2"]},getAdExtraparam3:function(){return this.options["ad.customDimension.3"]},getAdExtraparam4:function(){return this.options["ad.customDimension.4"]},getAdExtraparam5:function(){return this.options["ad.customDimension.5"]},getAdExtraparam6:function(){return this.options["ad.customDimension.6"]},getAdExtraparam7:function(){return this.options["ad.customDimension.7"]},getAdExtraparam8:function(){return this.options["ad.customDimension.8"]},getAdExtraparam9:function(){return this.options["ad.customDimension.9"]},getAdExtraparam10:function(){return this.options["ad.customDimension.10"]},getPluginInfo:function(){return{lib:i,adapter:this.getAdapterVersion(),adAdapter:this.getAdAdapterVersion()}},getIp:function(){return this.options["network.ip"]},getIsp:function(){return this.options["network.isp"]},getConnectionType:function(){return this.options["network.connectionType"]},getDeviceInfo:function(){var e={};return this.getDeviceCode()&&(e.deviceCode=this.getDeviceCode()),this.getModel()&&(e.model=this.getModel()),this.getBrand()&&(e.brand=this.getBrand()),this.getDeviceType()&&(e.deviceType=this.getDeviceType()),this.getDeviceName()&&(e.deviceName=this.getDeviceName()),this.getOsName()&&(e.osName=this.getOsName()),this.getOsVersion()&&(e.osVersion=this.getOsVersion()),this.getBrowserName()&&(e.browserName=this.getBrowserName()),this.getBrowserVersion()&&(e.browserVersion=this.getBrowserVersion()),this.getBrowserType()&&(e.browserType=this.getBrowserType()),this.getBrowserEngine()&&(e.browserEngine=this.getBrowserEngine()),e!=={}?e:null},getEDID:function(){var e=this.options["device.EDID"];return e?e.toString():null},getDeviceCode:function(){return this.options["device.code"]},getModel:function(){return this.options["device.model"]},getBrand:function(){return this.options["device.brand"]},getDeviceType:function(){return this.options["device.type"]},getDeviceName:function(){return this.options["device.name"]},getOsName:function(){return this.options["device.osName"]},getOsVersion:function(){return this.options["device.osVersion"]},getBrowserName:function(){return this.options["device.browserName"]},getBrowserVersion:function(){return this.options["device.browserVersion"]},getBrowserType:function(){return this.options["device.browserType"]},getBrowserEngine:function(){return this.options["device.browserEngine"]},getAccountCode:function(){return this.options.accountCode},getUsername:function(){return this.options["user.name"]},getAnonymousUser:function(){return this.options["user.anonymousId"]},getEmail:function(){return this.options["user.email"]},getProfileId:function(){return this.options["user.profileId"]},getReferer:function(){var e=this.options.referer||"";return!e&&"undefined"!=typeof window&&window.location&&(e=window.location.href),e},getReferral:function(){var e=this.options.referral||"";return e||"undefined"==typeof document||(e=document.referrer),e},getLanguage:function(){var e=null;return"undefined"!=typeof navigator&&(e=navigator.language),e},getScreenResolution:function(){var e=null;try{if(window&&window.screen){var t=window.devicePixelRatio||1;e=window.screen.width*t+"x"+window.screen.height*t}}catch(e){}return e},getNodeHost:function(){return this.options["content.cdnNode"]||this.resourceTransform.getNodeHost()},getNodeType:function(){return this.options["content.cdnType"]||this.resourceTransform.getNodeType()},getNodeTypeString:function(){return this.resourceTransform.getNodeTypeString()},getRequestNumber:function(){return Math.random()},getOfflineView:function(){var e=null;return this.offlineStorage&&(e=this.offlineStorage.getView()),e},getDeviceUUID:function(){var e=null;return this.options["device.isAnonymous"]||(e=this.options["device.id"]||this.uuidGenerator.getKey()),e},getAppName:function(){return this.options["app.name"]},getAppReleaseVersion:function(){return this.options["app.releaseVersion"]},getIsBlocked:function(){return this.options["ad.blockerDetected"]},isMethodPostEnabled:function(){return this.options.method&&this.options.method.toLowerCase()===a.POST},getPlayheadMonitorEnabled:function(){return this.options["playhead.monitor"]},getReadyStateMonitorEnabled:function(){return this.options["readyState.monitor"]}}},59089:e=>{e.exports={cdnName:"NOSOTT",parsers:[{element:"host",headerName:"X-NOS-Server",regex:/(.+)/},{element:"type",headerName:"X-Cache",regex:/(.*)/}],parseType:function(e){switch(e){case"Hit":return 1;case"Miss":return 2;default:return 0}}}},59700:(e,t,n)=>{"use strict";
668Object.defineProperty(t,"__esModule",{value:!0}),t.isTimeoutError=t.mapUnknownResponseErrorToHttpError=t.HttpFailureResponseError=void 0;let r=n(70015),i=r.__importDefault(n(60654)),a=n(29391),o=n(73326);class s extends a.HttpFailedRequestError{constructor(e){super(`Failed to fetch ${e.requestUri}, status code ${e.response.status}`,e),this.responseBody=e.responseBody}}t.HttpFailureResponseError=s,t.mapUnknownResponseErrorToHttpError=function(e,t,n,l){return r.__awaiter(this,void 0,void 0,function*(){if(e instanceof a.HttpError)return e;if(e instanceof i.default.HTTPError){let r=yield(0,o.extractResponseBody)(e.response,t,n,l);return new s({originalError:e,requestMethod:n,requestOptions:l,requestUri:t,response:e.response,responseBody:r})}let r=e instanceof Error?` (${e.message})`:"";return new a.HttpError(`Failed to fetch ${t}${r}`,{originalError:e,requestMethod:n,requestOptions:l,requestUri:t})})},t.isTimeoutError=e=>e instanceof a.HttpError&&e.originalError instanceof i.default.TimeoutError},59975:(e,t,n)=>{var r=n(16421),i=n(54906).extend({constructor:function(e,t,n,a){"function"!=typeof n&&(r.warn("Fire Adapter Event unset"),n=null),"function"!=typeof a&&(r.warn("Plugin Options Handler unset"),a=null),("number"!=typeof e||e<1||e>9)&&(e=9),"number"!=typeof t&&(t=3e4),this._fireAdapterEvent=n,this._pluginOptionsHandler=a,this._dimension="content.customDimension."+e,this._timerId=null,this._timerInterval=t,this._started=!1,this._storeState(i.States.PASSIVE)},dispose:function(){this._timerStop(),this._started=!1},setActive:function(e){var t=i.States.ACTIVE;this._state!==t&&(this._fireEvent(t,e),this._storeState(t)),this._timerStart()},_fireEvent:function(e,t){var n;if(r.notice("User changing from state "+this._state+" to "+e),n={newState:e,triggerEvent:t,stateFromTo:this._state+" to "+e},this._fireAdapterEvent)switch(e){case i.States.ACTIVE:this._fireAdapterEvent("Content Playback State Switch to Active",n);break;case i.States.PASSIVE:this._fireAdapterEvent("Content Playback State Switch to Passive",n)}else r.warn("Cannot fire user state event since handler is unavailable")},_storeState:function(e){var t;this._state=e,(t={})[this._dimension]=this._state,this._pluginOptionsHandler?this._pluginOptionsHandler(t):r.warn("Cannot store user state since handler is unavailable")},_timerStart:function(){var e=i.States.PASSIVE;this._timerStop(),this._timerId=setTimeout((function(){this._fireEvent(e,"timer"),this._storeState(e)}).bind(this),this._timerInterval)},_timerStop:function(){this._timerId&&(clearTimeout(this._timerId),this._timerId=null)}},{States:{ACTIVE:"active",PASSIVE:"passive"}});e.exports=i},60024:e=>{e.exports=function(){}},60097:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(e,t,r,a,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new i(r,a||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,a=r.length,o=Array(a);i<a;i++)o[i]=r[i].fn;return o},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,i,a,o){var s=n?n+e:e;if(!this._events[s])return!1;var l,u,c=this._events[s],d=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),d){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,r),!0;case 4:return c.fn.call(c.context,t,r,i),!0;case 5:return c.fn.call(c.context,t,r,i,a),!0;case 6:return c.fn.call(c.context,t,r,i,a,o),!0}for(u=1,l=Array(d-1);u<d;u++)l[u-1]=arguments[u];c.fn.apply(c.context,l)}else{var p,f=c.length;for(u=0;
668u<f;u++)switch(c[u].once&&this.removeListener(e,c[u].fn,void 0,!0),d){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,t);break;case 3:c[u].fn.call(c[u].context,t,r);break;case 4:c[u].fn.call(c[u].context,t,r,i);break;default:if(!l)for(p=1,l=Array(d-1);p<d;p++)l[p-1]=arguments[p];c[u].fn.apply(c[u].context,l)}}return!0},s.prototype.on=function(e,t,n){return a(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return a(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,i){var a=n?n+e:e;if(!this._events[a])return this;if(!t)return o(this,a),this;var s=this._events[a];if(s.fn)s.fn!==t||i&&!s.once||r&&s.context!==r||o(this,a);else{for(var l=0,u=[],c=s.length;l<c;l++)(s[l].fn!==t||i&&!s[l].once||r&&s[l].context!==r)&&u.push(s[l]);u.length?this._events[a]=1===u.length?u[0]:u:o(this,a)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&o(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s},60161:(e,t,n)=>{var r=n(16421);e.exports={stripProtocol:function(e){var t=e;try{t=e.replace(/^(.*?:\/\/|\/\/)/i,"")}catch(e){r.warn(e)}return t},addProtocol:function(e,t){var n="http://localhost/";try{n="http://"+e,t||"undefined"!=typeof window&&0===window.location.protocol.indexOf("https")?n="https://"+e:"undefined"!=typeof window&&0===window.location.protocol.indexOf("http")&&(n="//"+e)}catch(e){r.warn(e)}return n},parseNumber:function(e,t){return!isNaN(e)&&e>=0&&e!==1/0&&e!==-1/0&&null!=e?e:t},logAllEvents:function(e,t,n){try{if(r.logLevel<=r.Level.DEBUG){n=n||function(e){r.debug("Event: "+e.type)};var i=["canplay","buffering","waiting","ended","play","playing","pause","resume","error","abort","seek","seeking","seeked","stalled","dispose","loadeddata","loadstart"];t&&(null===t[0]?(t.shift(),i=t):i=i.concat(t));for(var a=0;a<i.length;a++)"function"==typeof e?e.call(window,i[a],n):e.on?e.on(i[a],n):e.addEventListener&&e.addEventListener(i[a],n)}}catch(e){r.error(e)}},buildRenditionString:function(e,t,n){1==arguments.length&&(n=e,e=null,t=null);var r=null;return e&&t&&(r=e+"x"+t),"number"==typeof n&&!isNaN(n)&&n>=1&&(r?r+="@":r="",n<1e3?r+=Math.round(n)+"bps":n<1e6?r+=(n=Math.round(n/1e3))+"Kbps":r+=(n=Math.round(n/1e4)/100)+"Mbps"),r},buildErrorParams:function(e,t,n,r){var i={};return"object"==typeof e&&null!==e?i=e:(i.errorCode=e||"FAILURE",i.msg=t||i.errorCode,i.errorMetadata=n,i.errorLevel=r),i},calculateAdViewability:function(e,t){var n=!0;if("undefined"!=typeof window&&e&&"function"==typeof e.getBoundingClientRect){var r=e.getBoundingClientRect();if(r.top>=window.innerHeight||r.bottom<=0||r.right<=0||r.left>=window.innerWidth)n=!1;else{var i=Math.trunc(r.height*r.width),a=r.top>0?r.top:0,o=r.bottom>window.innerHeight?window.innerHeight:r.bottom,s=r.left>0?r.left:0;n=((r.right>window.innerWidth?window.innerWidth:r.right)-s)*(o-a)*100>i*(t||50)}}return n},getMetricsFrom:function(e,t){var n=e||t;for(var r in n)if("object"!=typeof n[r]||!n[r].value){var i={};i.value=n[r],n[r]=i}return n},assign:n(86829),isArray:n(97961)}},60623:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderLegalMarkings=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(19577)),o=n(53239),s=n(47561),l=n(68553),u=n(29721),c=n(69236),d=n(57847);t.renderLegalMarkings=function(e){if(e.mustShowAgeRating&&a.default.number(e.ageRating)||e.mustShowAgeRatingDescriptor)return(0,i.jsx)(l.AgeRatingMarker,{ageRating:e.ageRating,ageRatingDescriptor:e.ageRatingDescriptor});let t=s.Maybe.of(e.brandLogo);return e.mustShowBrandLogo&&e.mustShowProductPlacement?(0,i.jsxs)(o.Fragment,{children:[(0,i.jsx)(u.BrandLogoMarker,{isCornerBug:e.mustShowCornerBug,brandLogoUrl:t}),(0,i.jsx)(c.Divider,{}),(0,i.jsx)(d.ProductPlacementMarker,{})]}):e.mustShowBrandLogo&&!e.mustShowProductPlacement||e.mustShowCornerBug?(0,i.jsx)(u.BrandLogoMarker,{isCornerBug:e.mustShowCornerBug,brandLogoUrl:t}):!e.mustShowBrandLogo&&e.mustShowProductPlacement?(0,i.jsx)(d.ProductPlacementMarker,{}):null}}
668,60654:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});let r={},i=e=>"undefined"!=typeof self&&self&&e in self?self:"undefined"!=typeof window&&window&&e in window?window:void 0!==n.g&&n.g&&e in n.g?n.g:"undefined"!=typeof globalThis&&globalThis?globalThis:void 0;for(let e of["Headers","Request","Response","ReadableStream","fetch","AbortController","FormData"])Object.defineProperty(r,e,{get(){let t=i(e),n=t&&t[e];return"function"==typeof n?n.bind(t):n}});let a=e=>null!==e&&"object"==typeof e,o="function"==typeof r.AbortController,s="function"==typeof r.ReadableStream,l="function"==typeof r.FormData,u=(e,t)=>{let n=new r.Headers(e||{}),i=t instanceof r.Headers;for(let[e,a]of new r.Headers(t||{}))i&&"undefined"===a||void 0===a?n.delete(e):n.set(e,a);return n},c=(...e)=>{let t={},n={};for(let r of e){if(Array.isArray(r))Array.isArray(t)||(t=[]),t=[...t,...r];else if(a(r)){for(let[e,n]of Object.entries(r))a(n)&&e in t&&(n=c(t[e],n)),t={...t,[e]:n};a(r.headers)&&(n=u(n,r.headers))}t.headers=n}return t},d=["get","post","put","patch","head","delete"],p={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*"},f=[413,429,503],h=Symbol("stop");class m extends Error{constructor(e){super(e.statusText||String(0===e.status||e.status?e.status:"Unknown response error")),this.name="HTTPError",this.response=e}}class g extends Error{constructor(e){super("Request timed out"),this.name="TimeoutError",this.request=e}}let y=e=>new Promise(t=>setTimeout(t,e)),v={limit:2,methods:["get","put","head","delete","options","trace"],statusCodes:[408,413,429,500,502,503,504],afterStatusCodes:f};class b{constructor(e,t={}){if(this._retryCount=0,this._input=e,this._options={credentials:this._input.credentials||"same-origin",...t,headers:u(this._input.headers,t.headers),hooks:c({beforeRequest:[],beforeRetry:[],afterResponse:[]},t.hooks),method:(e=>d.includes(e)?e.toUpperCase():e)(t.method||this._input.method),prefixUrl:String(t.prefixUrl||""),retry:((e={})=>{if("number"==typeof e)return{...v,limit:e};if(e.methods&&!Array.isArray(e.methods))throw Error("retry.methods must be an array");if(e.statusCodes&&!Array.isArray(e.statusCodes))throw Error("retry.statusCodes must be an array");return{...v,...e,afterStatusCodes:f}})(t.retry),throwHttpErrors:!1!==t.throwHttpErrors,timeout:void 0===t.timeout?1e4:t.timeout,fetch:t.fetch||r.fetch},"string"!=typeof this._input&&!(this._input instanceof URL||this._input instanceof r.Request))throw TypeError("`input` must be a string, URL, or Request");if(this._options.prefixUrl&&"string"==typeof this._input){if(this._input.startsWith("/"))throw Error("`input` must not begin with a slash when using `prefixUrl`");this._options.prefixUrl.endsWith("/")||(this._options.prefixUrl+="/"),this._input=this._options.prefixUrl+this._input}if(o&&(this.abortController=new r.AbortController,this._options.signal&&this._options.signal.addEventListener("abort",()=>{this.abortController.abort()}),this._options.signal=this.abortController.signal),this.request=new r.Request(this._input,this._options),this._options.searchParams){let e="?"+new URLSearchParams(this._options.searchParams).toString(),t=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,e);(l&&this._options.body instanceof r.FormData||this._options.body instanceof URLSearchParams)&&!(this._options.headers&&this._options.headers["content-type"])&&this.request.headers.delete("content-type"),this.request=new r.Request(new r.Request(t,this.request),this._options)}void 0!==this._options.json&&(this._options.body=JSON.stringify(this._options.json),this.request.headers.set("content-type","application/json"),this.request=new r.Request(this.request,{body:this._options.body}));let n=async()=>{if(this._options.timeout>0x7fffffff)throw RangeError("The `timeout` option cannot be greater than 2147483647");await y(1);let e=await this._fetch();for(let t of this._options.hooks.afterResponse){let n=await t(this.request,this._options,this._decorateResponse(e.clone()));n instanceof r.Response&&(e=n)}if(this._decorateResponse(e),!e.ok&&this._options.throwHttpErrors)throw new m
668(e);if(this._options.onDownloadProgress){if("function"!=typeof this._options.onDownloadProgress)throw TypeError("The `onDownloadProgress` option must be a function");if(!s)throw Error("Streams are not supported in your environment. `ReadableStream` is missing.");return this._stream(e.clone(),this._options.onDownloadProgress)}return e},i=this._options.retry.methods.includes(this.request.method.toLowerCase())?this._retry(n):n();for(let[e,n]of Object.entries(p))i[e]=async()=>{this.request.headers.set("accept",this.request.headers.get("accept")||n);let r=(await i).clone();if("json"===e){if(204===r.status)return"";if(t.parseJson)return t.parseJson(await r.text())}return r[e]()};return i}_calculateRetryDelay(e){if(this._retryCount++,this._retryCount<this._options.retry.limit&&!(e instanceof g)){if(e instanceof m){if(!this._options.retry.statusCodes.includes(e.response.status))return 0;let t=e.response.headers.get("Retry-After");if(t&&this._options.retry.afterStatusCodes.includes(e.response.status)){let e=Number(t);return(Number.isNaN(e)?e=Date.parse(t)-Date.now():e*=1e3,void 0!==this._options.retry.maxRetryAfter&&e>this._options.retry.maxRetryAfter)?0:e}if(413===e.response.status)return 0}return .3*2**(this._retryCount-1)*1e3}return 0}_decorateResponse(e){return this._options.parseJson&&(e.json=async()=>this._options.parseJson(await e.text())),e}async _retry(e){try{return await e()}catch(n){let t=Math.min(this._calculateRetryDelay(n),0x7fffffff);if(0!==t&&this._retryCount>0){for(let e of(await y(t),this._options.hooks.beforeRetry))if(await e({request:this.request,options:this._options,error:n,retryCount:this._retryCount})===h)return;return this._retry(e)}if(this._options.throwHttpErrors)throw n}}async _fetch(){let e,t,n;for(let e of this._options.hooks.beforeRequest){let t=await e(this.request,this._options);if(t instanceof Request){this.request=t;break}if(t instanceof Response)return t}return!1===this._options.timeout?this._options.fetch(this.request.clone()):(e=this.request.clone(),t=this.abortController,n=this._options,new Promise((r,i)=>{let a=setTimeout(()=>{t&&t.abort(),i(new g(e))},n.timeout);n.fetch(e).then(r).catch(i).then(()=>{clearTimeout(a)})}))}_stream(e,t){let n=Number(e.headers.get("content-length"))||0,i=0;return new r.Response(new r.ReadableStream({start(r){let a=e.body.getReader();async function o(){let{done:e,value:s}=await a.read();if(e)return void r.close();t&&(i+=s.byteLength,t({percent:0===n?0:i/n,transferredBytes:i,totalBytes:n},s)),r.enqueue(s),o()}t&&t({percent:0,transferredBytes:0,totalBytes:n},new Uint8Array),o()}}))}}let _=(...e)=>{for(let t of e)if((!a(t)||Array.isArray(t))&&void 0!==t)throw TypeError("The `options` argument must be an object");return c({},...e)},S=e=>{let t=(t,n)=>new b(t,_(e,n));for(let n of d)t[n]=(t,r)=>new b(t,_(e,r,{method:n}));return t.HTTPError=m,t.TimeoutError=g,t.create=e=>S(_(e)),t.extend=t=>S(_(e,t)),t.stop=h,t},E=S()},60785:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateBuildEnvironment=void 0;let r=n(92712),i=r.z.object({PACKAGE_DATE:r.z.string().default(new Date().toISOString()),PACKAGE_NAME:r.z.string().min(1)}).and(r.z.union([r.z.object({PACKAGE_BUNDLE_HASH:r.z.string().min(1),PACKAGE_VERSION:r.z.string().min(1).optional()}),r.z.object({PACKAGE_BUNDLE_HASH:r.z.string().min(1).optional(),PACKAGE_VERSION:r.z.string().min(1)})]));i.and(r.z.object({PACKAGE_ID:r.z.string()})),t.validateBuildEnvironment=function(e){var t;let n=i.parse(e),r=n.PACKAGE_DATE.replace(/\D/g,"").slice(0,-5),a=null!=(t=n.PACKAGE_VERSION)?t:n.PACKAGE_BUNDLE_HASH;return Object.assign(Object.assign({},n),{PACKAGE_ID:`${n.PACKAGE_NAME}:${a}+${r}`})}},61036:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGraphQlHeaders=void 0;let r=n(70015).__importDefault(n(19577));t.createGraphQlHeaders=function(e,t,n){let i={"Joyn-Platform":"web","x-api-key":e};return r.default.undefined(t)||(i=Object.assign({"joyn-user-state":t},i)),r.default.undefined(n)||(i=Object.assign({authorization:`Bearer ${n}`},i)),i}},61232:(e,t,n)=>{"use strict";function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function i(){return"npm"}n.d(t,{Z:()=>r,e:()=>i})}
668,61283:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commonRequiredOptionSchema=void 0;let r=n(92712),i=n(14744);t.commonRequiredOptionSchema=r.z.object({joynDistributionTenant:i.joynDistributionTenantSchema})},61311:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.liveChannelsQuerySchema=t.livestreamGroupsSchema=void 0;let r=n(92712),i=n(39909),a=n(5123),o=n(2807),s=n(80428),l=n(26324),u=r.z.number().nonnegative(),c=r.z.object({url:r.z.string().url()}).strict(),d=r.z.object({darkVibrantColor:r.z.string().min(1),vibrantColor:r.z.string().min(1)}).strict();r.z.object({endDate:u,image:c.nullable(),startDate:u,title:r.z.string().optional()}).strict();let p=r.z.object({livestream:r.z.object({logo:d}).strict()}).strict(),f=r.z.object({__typename:r.z.literal("EpgEntry"),id:r.z.string(),image:c.nullable(),title:r.z.string()}).strict(),h=r.z.union([r.z.literal("LINEAR"),r.z.literal("EVENT"),r.z.literal("ON_DEMAND")]),m=r.z.discriminatedUnion("__typename",[a.movieWithTitleOnlySchema,s.seriesEpisodeWithTitleOnlySchema,i.compilationItemWithTitleOnlySchema,o.sportsMatchWithTitleOnlySchema,l.extraWithTitleOnlySchema,f]).nullable(),g=r.z.object({endDate:u,program:m,startDate:u}).strict();r.z.object({endDate:u,program:f,startDate:u}).strict(),t.livestreamGroupsSchema=r.z.enum(["DEFAULT","SPORTS","PUBLIC_VALUE"]);let y=r.z.object({brand:p,epgEvents:r.z.array(g),eventStream:r.z.boolean().nullable(),id:r.z.string(),liveStreamGroups:r.z.array(t.livestreamGroupsSchema).nullable(),type:h}).strict();t.liveChannelsQuerySchema=r.z.object({liveStreams:r.z.array(y)}).strict()},61429:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRating16=void 0;let r=n(80263),i=n(52087);t.AgeRating16=()=>(0,r.jsxs)(i.AgeRatingIcon,Object.assign({width:22,height:20},{children:[(0,r.jsx)("path",{d:"M20 0c1.105 0 2 .895 2 2v16c0 1.105-.895 2-2 2H2c-1.105 0-2-.895-2-2V2C0 .895.895 0 2 0h18zm0 1H2c-.513 0-.936.386-.993.883L1 2v16c0 .513.386.936.883.993L2 19h18c.513 0 .936-.386.993-.883L21 18V2c0-.513-.386-.936-.883-.993L20 1z",transform:"translate(-80 -333) translate(80 333)"}),(0,r.jsx)("path",{d:"M10.44 13.827V12.25H8.69V6H7.57l-2.46.886v1.68l1.774-.517v4.201H5v1.577h5.44zm3.513.173c.45 0 .862-.075 1.235-.224.373-.15.695-.355.964-.616.27-.261.479-.568.626-.921.148-.353.222-.733.222-1.14 0-.376-.068-.727-.205-1.053-.137-.326-.327-.612-.57-.858-.244-.245-.538-.443-.882-.592-.343-.15-.725-.236-1.146-.26L15.637 6h-2.116L11.56 9.235c-.193.33-.348.648-.466.955-.118.307-.177.622-.177.944 0 .391.072.761.216 1.11.144.35.349.655.615.916.266.26.585.466.958.616.373.15.789.224 1.247.224zm0-1.554c-.192 0-.368-.036-.526-.11-.16-.072-.296-.166-.41-.281-.115-.115-.204-.25-.266-.403-.063-.154-.094-.311-.094-.472 0-.146.027-.288.083-.426.055-.138.15-.307.282-.507l.044-.08c.119-.085.253-.15.405-.196.151-.046.312-.069.482-.069.192 0 .367.035.526.104.159.069.294.163.405.282.11.119.197.255.26.408.063.154.094.311.094.472 0 .161-.031.319-.094.472-.063.154-.15.29-.26.409-.111.119-.246.215-.405.288-.159.073-.334.109-.526.109z",transform:"translate(-80 -333) translate(80 333)"})]}))},61583:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateWrapper=void 0;let r=n(47561),i=n(31777),a=n(42164);t.validateWrapper=function(e,t,n){let o=`${e}.wrapper`,s=i.vastWrapperSchema.safeParse(n);return s.success?r.Result.ok(t):(0,a.handleZodError)({adSource:t,baseErrorPath:o,error:s.error})}},61610:(e,t,n)=>{"use strict";n.d(t,{CS:()=>a,OC:()=>i,yo:()=>o});var r=n(70459);function i(e){var t,n;let i=Number.MAX_SAFE_INTEGER,a=null,o=-1;for(let t=0;t<e.length;++t){let s=e[t],l=function(e){let t=0;for(;t<e.length&&(0,r.i0)(e.charCodeAt(t));)++t;return t}(s);l!==s.length&&(a=null!=(n=a)?n:t,o=t,0!==t&&l<i&&(i=l))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!=(t=a)?t:0,o+1)}function a(e){if(""===e)return!0;let t=!0,n=!1,r=!0,i=!1;for(let a=0;a<e.length;++a)switch(e.codePointAt(a)){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 11:case 12:case 14:case 15:case 13:return!1;case 10:if(t&&!i)return!1;i=!0,t=!0,n=!1;break;case 9:case 32:n||(n=t);break;default:r&&(r=n),t=!1}return!t&&(!r||!i)}function o(e,t){let n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),a=1===i.length,o=i.length>1&&i.slice(1).every(e=>0===e.length||(0,r.i0)(e.charCodeAt(0))),s=n.endsWith('\\"""'),l=e.endsWith('"')&&!s,u=e.endsWith("\\"),c=l||u,d=!(null!=t&&t.minimize)&&(!a||e.length>70||c||o||s),p="",f=a&&(0,r.i0)(e.charCodeAt(0));return(d&&!f||o)&&(p+="\n"),p+=n,(d||c)&&(p+="\n"),'"""'+p+'"""'}},61616:(e,t,n)=>{"use strict";
668Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(63923)),i=a(n(28749));function a(e){return e&&e.__esModule?e:{default:e}}t.default=(0,r.default)("v3",48,i.default)},61823:e=>{"use strict";e.exports={version:"6.8.59"}},62209:(e,t,n)=>{"use strict";n.d(t,{C:()=>m,E:()=>x,T:()=>v,_:()=>g,a:()=>S,b:()=>E,c:()=>A,h:()=>f,i:()=>p,u:()=>b,w:()=>y});var r=n(53239),i=n(51364),a=n(91899),o=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},s=n(78910),l=n.n(s),u=n(42487),c=n(41540),d=n(55855),p=!0,f={}.hasOwnProperty,h=r.createContext("undefined"!=typeof HTMLElement?(0,i.A)({key:"css"}):null),m=h.Provider,g=function(){return(0,r.useContext)(h)},y=function(e){return(0,r.forwardRef)(function(t,n){return e(t,(0,r.useContext)(h),n)})};p||(y=function(e){return function(t){var n=(0,r.useContext)(h);return null===n?(n=(0,i.A)({key:"css"}),r.createElement(h.Provider,{value:n},e(t,n))):e(t,n)}});var v=r.createContext({}),b=function(){return r.useContext(v)},_=o(function(e){return o(function(t){var n,r;return n=e,"function"==typeof(r=t)?r(n):(0,a.A)({},n,r)})}),S=function(e){var t=r.useContext(v);return e.theme!==t&&(t=_(t)(e.theme)),r.createElement(v.Provider,{value:t},e.children)};function E(e){var t=e.displayName||e.name||"Component",n=r.forwardRef(function(t,n){var i=r.useContext(v);return r.createElement(e,(0,a.A)({theme:i,ref:n},t))});return n.displayName="WithTheme("+t+")",l()(n,e)}var k="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",A=function(e,t){var n={};for(var r in t)f.call(t,r)&&(n[r]=t[r]);return n[k]=e,n},T=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,u.SF)(t,n,r),(0,d.s)(function(){return(0,u.sk)(t,n,r)}),null},x=y(function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var a=e[k],o=[i],s="";"string"==typeof e.className?s=(0,u.Rk)(t.registered,o,e.className):null!=e.className&&(s=e.className+" ");var l=(0,c.J)(o,void 0,r.useContext(v));s+=t.key+"-"+l.name;var d={};for(var p in e)f.call(e,p)&&"css"!==p&&p!==k&&(d[p]=e[p]);return d.ref=n,d.className=s,r.createElement(r.Fragment,null,r.createElement(T,{cache:t,serialized:l,isStringTag:"string"==typeof a}),r.createElement(a,d))})},62257:(e,t,n)=>{var r=n(54906),i=n(16421),a=n(23307),o=n(35121);e.exports=r.extend({constructor:function(e){this.transforms=[],this.pluginRef=e,this._requests=[]},sendRequest:function(e,t,n){e&&("function"==typeof t&&e.on(a.Event.SUCCESS,t,n),this._registerRequest(e))},buildRequest:function(e,t,n,r){var i=new a(e,t,n=n||{});"function"==typeof r&&i.on(a.Event.SUCCESS,r),this._registerRequest(i)},addTransform:function(e){e.parse&&e.isBlocking?(this.transforms.push(e),e.on(o.Event.DONE,this._processRequests.bind(this))):i.warn(e+" is not a valid RequestTransform.")},removeTransform:function(e){var t=this.transforms.indexOf(e);-1!==t?this.transforms.splice(t,1):i.warn("Trying to remove unexisting Transform '"+e+"'.")},_registerRequest:function(e){if(this.pluginRef){var t=this.pluginRef.options;t.authToken&&(e.options.requestHeaders.Authorization=t.authType+" "+t.authToken)}this._requests.push(e),this._processRequests()},_processRequests:function(){var e=this._requests;this._requests=[];for(var t=[];e.length;){var n=e.shift(),r=this._transform(n);r===o.STATE_NO_BLOCKED?(this.pluginRef&&(n.host=this.pluginRef.getHost()),n.send()):r===o.STATE_BLOCKED&&t.push(n)}for(;t.length;)this._requests.push(t.shift())},_transform:function(e){var t=o.STATE_NO_BLOCKED;
668return this.transforms.forEach(function(n){if(n.isBlocking(e)){t=o.STATE_BLOCKED;return}n.parse(e),n.getState()===o.STATE_OFFLINE&&(t=o.STATE_OFFLINE)}),t}})},62282:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createStore=t.createInitialState=t.createStateForContent=t.createStateForAdRoll=t.createStateForCurrentAd=t.createStateForFetching=t.DEFAULT_PREFETCH_TIME=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47561),a=n(56320);t.DEFAULT_PREFETCH_TIME=2;let o=[{calculatePosition:()=>0,match:e=>"start"===e,type:"s"},{calculatePosition:e=>Number.parseFloat(e),match:function(e){return/^\d+(?:\.\d+)?s$/.test(e)},type:"s"},{calculatePosition:e=>Number.parseInt(e,10),match:function(e){return/^\d+(?:\.\d+)?uts$/.test(e)},type:"uts"},{calculatePosition:(e,t)=>r.default.number(t)?t:0,match:function(e,t){return r.default.number(t)&&t>0&&"end"===e},type:"s"},{calculatePosition:(e,t)=>{let n=Number.parseFloat(e);return r.default.number(t)?t/100*n:0},match:function(e,t){return r.default.number(t)&&t>0&&/^\d+(?:\.\d+)?%$/.test(e)},type:"%"}],s=(e,t)=>e.position-t.position;t.createStateForFetching=()=>({fetchingAd:null,fetchingAdCursor:null,fetchingTimestamp:null}),t.createStateForCurrentAd=()=>({adSessionId:null,adSessionProxied:!1,currentAd:null,currentAdIsPaused:!1,currentInitializedAd:null,currentInitializedNonLinearAd:null,currentNonLinearAd:null,handlingAdError:!1,hasRetriedCurrentAd:!1,usedAdSource:null}),t.createStateForAdRoll=()=>({adIndex:null,adPodLength:null,adScheduleTimeOffset:null,adScheduleTimeOffsetIndex:null,canPlayAdsForContentSessionId:null,contentPositionInSeconds:null,rollIndex:null,rollName:null,timeOffset:null}),t.createStateForContent=()=>Object.assign(Object.assign(Object.assign(Object.assign({adRollPositionWithinContent:i.Maybe.nothing(),audioTrackLanguage:null,contentDuration:null,contentPosition:null,contentPositionAsUts:null,contentSessionId:null,contentType:i.Maybe.nothing(),finishedAdCursor:[],firstLivestreamPosition:null,initialPlayHandled:!1,isLivestream:!1,startedAdCursor:[],videoQuality:null},{adRollBeforeStartPromise:null,adRollBeforeStartTimeOffset:null,adRollBeforeStartTimestamp:null,adSchedule:null}),(0,t.createStateForAdRoll)()),(0,t.createStateForCurrentAd)()),(0,t.createStateForFetching)()),t.createInitialState=()=>Object.assign({adBlockPreventionEnabled:!1,adBlockPreventionIsActive:!1,adMode:i.Maybe.nothing(),adPositionWithinRoll:i.Maybe.nothing(),adScheduler:null,appRuntimeEnvironment:null,hasEmittedStalling:!1,ignoreVideoSourceEvents:!1,isDestroyed:!1,isInAirplayMode:!1,isInPictureInPictureMode:!1,operatingSystem:null,playbackIsStalling:!1,prefetchTime:i.Maybe.nothing(),skipRemainingPods:!1,viewabilityProviders:[]},(0,t.createStateForContent)()),t.createStore=function(){let e=(0,t.createInitialState)(),n={createAdCursor:(e={})=>{var t,n,r,i,o;
668return{adIndex:null!=(t=e.adIndex)?t:null,adScheduleTimeOffset:null!=(n=e.adScheduleTimeOffset)?n:null,adScheduleTimeOffsetIndex:null!=(r=e.adScheduleTimeOffsetIndex)?r:null,rollName:null!=(i=e.rollName)?i:(0,a.getRollNameByOffset)(null!=(o=e.adScheduleTimeOffset)?o:null)}},createAdCursorForFirstAd:e=>{let t=n.createAdCursor(Object.assign(Object.assign({},e),{adIndex:0,adScheduleTimeOffsetIndex:0}));if(r.default.nullOrUndefined(t.adScheduleTimeOffset))throw Error("Can not create ad cursor to first ad without schedule time offset");return t},getAdCursor:()=>{let{adIndex:t,adScheduleTimeOffsetIndex:n,adScheduleTimeOffset:o,rollName:s}=e;return r.default.nullOrUndefined(o)?i.Maybe.nothing():i.Maybe.just({adIndex:t,adScheduleTimeOffset:o,adScheduleTimeOffsetIndex:n,rollName:null!=s?s:(0,a.getRollNameByOffset)(o)})},getAdRollMarkers:()=>n.getAdScheduleAdRollStates().map(e=>({finished:e.finished,position:e.position,started:e.started,type:e.type})).reduce((e,t)=>{let{type:n,position:r,started:i,finished:a}=t;return e.some(e=>n===e.type&&r===e.position&&i===e.started&&a===e.finished)?e:[...e,t]},[]),getAdSchedule:()=>i.Maybe.of(e.adSchedule),getAdScheduleAdRollStates:()=>{let{adSchedule:t}=e;return t?((e,t)=>{let n,l=(n=-1,e=>{let{timeOffset:t}=e,r="nonlinear"===e.type?"overlay":(0,a.getRollNameByOffset)(t),i=0;return"midroll"===r&&(n+=1,i=n),Object.assign(Object.assign({},e),{rollIndex:i,rollName:r})});return e.getTimeOffsets().reduce((n,a)=>{let{type:s,timeOffset:l}=a,{contentDuration:u,finishedAdCursor:c,startedAdCursor:d}=t,p=((e,t)=>{if(r.default.number(e))return i.Maybe.just({position:e,type:"s"});for(let n of o){let{match:a,calculatePosition:o,type:s}=n;if(a(e,t)){let[n]=e.split(s);if(r.default.string(n))return i.Maybe.just({position:o(n,t),type:s})}}return i.Maybe.nothing()})(l,u),f=e.getTimeOffsetLength(l);if(p.isJust()){let{position:e,type:t}=p.value;
668n.push({finished:c.some(({adScheduleTimeOffset:e})=>e===l),position:e,positionType:t,started:d.some(({adScheduleTimeOffset:e})=>e===l),timeOffset:l,timeOffsetLength:f,type:s})}return n},[]).sort(s).map(l).filter(({type:e})=>"linear"===e||"nonlinear"===e)})(t,e).map(e=>Object.assign(Object.assign({},e),{adScheduleTimeOffset:e.timeOffset,adScheduleTimeOffsetIndex:null,rollName:e.rollName})):[]},getCurrentAdPositionWithinAdRoll:()=>{let{adIndex:t,adScheduleTimeOffsetIndex:n}=e,r=null!=t?t:0,i=null!=n?n:0;return r>i?r+1:i+1},getCurrentAdRollLength:()=>{var t,n;let{adPodLength:i}=e;return!r.default.nullOrUndefined(i)&&i>1?i:null!=(n=null==(t=e.adSchedule)?void 0:t.getTimeOffsetLength(e.adScheduleTimeOffset))?n:null},getNextAdCursorWithinRoll(){var t,i;let o=n.getState(),s=o.adScheduleTimeOffset;if(r.default.nullOrUndefined(s)||!s||!o.adSchedule||o.skipRemainingPods)return null;let l={adIndex:o.adIndex,adScheduleTimeOffset:o.adScheduleTimeOffset,adScheduleTimeOffsetIndex:o.adScheduleTimeOffsetIndex,rollName:null!=(t=o.rollName)?t:(0,a.getRollNameByOffset)(o.adScheduleTimeOffset)},u=null==(i=e.adSchedule)?void 0:i.getTimeOffsetLength(e.adScheduleTimeOffset),c=n.getNextAdScheduleTimeOffsetIndex()>=u,d=!r.default.nullOrUndefined(e.adIndex),p=!r.default.nullOrUndefined(e.adPodLength)&&n.getNextAdIndex()<e.adPodLength;return d&&p?(l.adIndex=n.getNextAdIndex(),l):(d||(l.adIndex=n.getNextAdIndex()),c)?null:(l.adScheduleTimeOffsetIndex=n.getNextAdScheduleTimeOffsetIndex(),l)},getNextAdIndex:()=>null===e.adIndex?0:e.adIndex+1,getNextAdScheduleTimeOffsetIndex:()=>null===e.adScheduleTimeOffsetIndex?0:e.adScheduleTimeOffsetIndex+1,getPrefetchTime:()=>e.prefetchTime.unwrapOr(t.DEFAULT_PREFETCH_TIME),getState:()=>e,handleAdPrefetchIssues:()=>{let{appRuntimeEnvironment:t,isInAirplayMode:r,isInPictureInPictureMode:i,operatingSystem:a}=e;("ios"===a||"ipados"===a||"tvos"===a)&&"native"===t&&(r||i)&&n.setState({skipRemainingPods:!0})},hasRecentAdRollBeforeStart:t=>!!t&&!!e.adRollBeforeStartPromise&&!r.default.nullOrUndefined(e.adRollBeforeStartTimestamp)&&e.adRollBeforeStartTimeOffset===t&&Date.now()-e.adRollBeforeStartTimestamp<4e3,isFetchingForAdCursor:e=>n.isFetchingForAdScheduleAdCursor(e),isFetchingForAdScheduleAdCursor:t=>!r.default.nullOrUndefined(t.adScheduleTimeOffset)&&!r.default.nullOrUndefined(t.adScheduleTimeOffsetIndex)&&!r.default.nullOrUndefined(t.adIndex)&&!r.default.nullOrUndefined(e.fetchingAdCursor)&&!r.default.nullOrUndefined(e.fetchingTimestamp)&&!!e.fetchingAd&&!!e.fetchingAdCursor&&e.fetchingAdCursor.adScheduleTimeOffset===t.adScheduleTimeOffset&&e.fetchingAdCursor.adScheduleTimeOffsetIndex===t.adScheduleTimeOffsetIndex&&e.fetchingAdCursor.adIndex===t.adIndex&&Date.now()-e.fetchingTimestamp<=4e3,isInAdMode:()=>e.adMode.isJust(),isInContentMode:()=>"linear"!==e.adMode.unwrapOr(""),isInLinearAdMode:()=>"linear"===e.adMode.unwrapOr(""),isInNonLinearAdMode:()=>"nonlinear"===e.adMode.unwrapOr(""),isInteractiveContent:()=>e.contentType.mapOr(!1,e=>"interactive"===e),isStalling:()=>"linear"!==e.adMode.unwrapOr("")&&e.playbackIsStalling||"linear"===e.adMode.unwrapOr("")&&(e.playbackIsStalling||!e.currentInitializedAd),isWithinAdRoll:()=>e.adMode.isJust()&&!!e.adScheduleTimeOffset,resetAdRollState:()=>{n.setState(Object.assign(Object.assign({},(0,t.createStateForAdRoll)()),(0,t.createStateForCurrentAd)()))},resetContentState:()=>n.setState((0,t.createStateForContent)()),resetCurrentAdState:()=>n.setState((0,t.createStateForCurrentAd)()),resetFetchingState:()=>n.setState((0,t.createStateForFetching)()),setState(t){let n=Object.keys(t),r=Object.assign({},t);return e=Object.assign({},e),n.forEach(n=>{if(!Object.prototype.hasOwnProperty.call(e,n))throw Error(`Can not set unknown store key "${n}"`);let i=t[n];Array.isArray(i)&&(r=Object.assign(Object.assign({},r),{[n]:i.flat()}))}),Object.assign(e,r)}};return n}},62300:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasExactlyThreeElements=t.isNonEmptyArray=void 0,t.isNonEmptyArray=function(e){return e.length>0},t.hasExactlyThreeElements=function(e){return 3===e.length}},62313:(e,t,n)=>{"use strict";
668Object.defineProperty(t,"__esModule",{value:!0}),t.SubtitleAndAudioTracksMenu=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(10118),s=a.default.aside({bottom:"28px",display:"flex",paddingBottom:"10px",position:"absolute",right:"40px"});function l(e,t,n,r){return e.hasEntries?(0,i.jsx)(o.TracksSelector,{title:t,selectorName:n,selectionEntries:e.entries,selectedEntryId:e.selectedTrackId,onChange:r}):null}t.SubtitleAndAudioTracksMenu=e=>{let{tracksSelection:t,onSubtitleChange:n,onAudioTrackChange:r}=e;return(0,i.jsxs)(s,{children:[l(t.audioTracks,"Audio","audio-selection",r),l(t.subtitles,"Untertitel","subtitle-selection",n)]})}},62367:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createWebStorageAdapter=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47561);function a(e){return r.default.undefined(e)?i.Result.err("could not access local storage"):i.Result.ok(e)}function o(e,t,...n){try{return i.Result.ok(i.Maybe.of(e[t](...n)))}catch(e){if(e instanceof Error)return i.Result.err(`failed to run "${t}" with key "${n[0]}", error "${e.message}"`);return i.Result.err(`failed to run "${t}" with key "${n[0]}" because of unknown error`)}}t.createWebStorageAdapter=function(e){let{localStorage:t}=e;return{getItem:e=>a(t).andThen(t=>o(t,"getItem",e)).andThen(t=>{if(t.isJust()){var n=t.value;try{let t=JSON.parse(n);if(r.default.plainObject(t))return i.Result.ok(t);return i.Result.err(`item with key "${e}" is not an object`)}catch(t){return i.Result.err(`failed to parse item with key "${e}" as json`)}}return i.Result.err(`no item with key "${e}" stored`)}),setItem:(e,n)=>a(t).andThen(t=>o(t,"setItem",e,JSON.stringify(n)))}}},62581:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractSupportedDrmTypes=t.extractSupportedMimeTypes=void 0;let r=n(39153),i=n(89800),a=n(90463);function o(e){let[,t]=e;return t}function s(e){let[t]=e;return t}function l(e){return Object.entries(e).filter(o).map(s)}function u(e){return i.videoMimetypesSchema.safeParse(e).success}let c=["application/dash+xml","application/x-mpegURL","video/mp4","video/webm"];function d(e){let t=c.find(t=>t.toLowerCase()===e.toLowerCase());return void 0!==t?t:e}function p(e){let[,t]=e;return null!==t}t.extractSupportedMimeTypes=function(e){let t=l(e.manifest),n=l(e.media);return(0,r.extractUniqueValues)([...t,...n]).map(d).filter(u)},t.extractSupportedDrmTypes=function(e){let t=Object.entries(e.drm).filter(p).map(s).filter(a.isValidDrmNamespace).map(a.drmNamespaceToDrmType);return(0,r.extractUniqueValues)(t)}},62618:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createToggleRouter=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(25078),o=n(72678),s=n(94807),l=n(66779),u=n(1463);t.createToggleRouter=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){let n=(0,o.createLogger)(["player","toggle-router"]);if(t.localOnlyFeatureToggles){n.log("Creating in-memory toggle router");let t=(0,u.featuresFromUrl)(e.location);return(0,s.createInMemoryToggleRouter)(t)}n.log("Creating LaunchDarkly toggle router");let{appRuntimeEnvironment:r,isUserLoggedIn:c,userId:d,playerPackageName:p,joynCountry:f,launchDarklyUserKey:h}=t,m=i.default.nullOrUndefined(f)?"DE":f,g=c?yield(0,l.createLoggedInUser)(t.userEmail,t.playerPackageName,m,h):(0,l.createAnonymousUser)(d,p,m,h),y=(0,a.initialize)("603385c7f80b900aeb27680b",g,{allAttributesPrivate:!0,sendEventsOnlyForVariation:!0}),v={clock:e.clock,fireAndForgetInvoker:e.fireAndForgetInvoker,launchDarklyClient:y,logger:n};return(0,l.createLaunchDarklyToggleRouter)(v,{appRuntimeEnvironment:r,user:g})})}},62701:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PauseIcon=void 0;let r=n(80263),i=n(83947);t.PauseIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M17 6.143v15.715C17 23.588 18.35 25 20 25s3-1.412 3-3.142V6.143C23 4.413 21.65 3 20 3s-3 1.414-3 3.143M8 25c1.65 0 3-1.412 3-3.142V6.143C11 4.413 9.65 3 8 3S5 4.414 5 6.143v15.715C5 23.588 6.35 25 8 25"})}))},62716:(e,t,n)=>{"use strict";
668Object.defineProperty(t,"__esModule",{value:!0}),t.FullscreenExitIcon=void 0;let r=n(80263),i=n(83947);t.FullscreenExitIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M20.285 24.41v-4.125h4.125a.59.59 0 0 0 .59-.588v-1.965a.592.592 0 0 0-.59-.588h-6.09c-.651 0-1.177.525-1.177 1.178v6.088c0 .325.265.59.59.59h1.963c.324 0 .59-.265.59-.59m-9.429 0v-6.088c0-.653-.525-1.178-1.179-1.178h-6.09a.59.59 0 0 0-.588.588v1.965a.59.59 0 0 0 .588.588h4.125v4.125c0 .325.266.59.59.59h1.965c.323 0 .59-.265.59-.59m0-14.732V3.59a.592.592 0 0 0-.59-.59H8.303a.591.591 0 0 0-.59.59v4.125H3.588A.59.59 0 0 0 3 8.303v1.966c0 .322.265.588.588.588h6.09c.653 0 1.18-.525 1.18-1.179m13.552 1.18h-6.09a1.176 1.176 0 0 1-1.177-1.18V3.59c0-.325.265-.59.59-.59h1.963c.324 0 .59.265.59.59v4.125h4.124a.59.59 0 0 1 .59.588v1.966a.592.592 0 0 1-.59.588"})}))},62805:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidRetrieveAdSourcesResponse=t.validateRetrieveAdSourcesResponse=void 0;let r=n(92712),i=r.z.string().min(1),a=r.z.number().min(0),o=r.z.string(),s=r.z.object({hash:i,status:r.z.literal("MISSING")}),l=r.z.object({durationInSeconds:a,hash:i,status:r.z.literal("READY")}),u=r.z.union([l,s]),c=r.z.object({ads:r.z.array(u),stitchedM3u8Url:o,stitchedMpdUrl:o,totalDurationInSeconds:a});function d(e){return c.safeParse(e)}t.validateRetrieveAdSourcesResponse=d,t.isValidRetrieveAdSourcesResponse=function(e){return d(e).success}},62854:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.productPlacementSchema=void 0;let r=n(47561);t.productPlacementSchema=n(92712).z.boolean().nullable().transform(r.Maybe.of)},62868:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.preserveMediaCapabilities=void 0,t.preserveMediaCapabilities=function(){"undefined"!=typeof window&&"navigator"in window&&"mediaCapabilities"in window.navigator&&(globalThis.preservedMediaCapabilities=navigator.mediaCapabilities)}},62917:e=>{var t={"":1,lr:1,rl:1},n={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function r(e){return"string"==typeof e&&!!n[e.toLowerCase()]&&e.toLowerCase()}function i(e,n,i){this.hasBeenReset=!1;var a="",o=!1,s=e,l=n,u=i,c=null,d="",p=!0,f="auto",h="start",m="auto",g="auto",y=100,v="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return a}
668,set:function(e){a=""+e}},pauseOnExit:{enumerable:!0,get:function(){return o},set:function(e){o=!!e}},startTime:{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e)throw TypeError("Start time must be set to a number.");s=e,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e)throw TypeError("End time must be set to a number.");l=e,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return u},set:function(e){u=""+e,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return c},set:function(e){c=e,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return d},set:function(e){var n="string"==typeof e&&!!t[e.toLowerCase()]&&e.toLowerCase();if(!1===n)throw SyntaxError("Vertical: an invalid or illegal direction string was specified.");d=n,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return p},set:function(e){p=!!e,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return f},set:function(e){if("number"!=typeof e&&"auto"!==e)throw SyntaxError("Line: an invalid number or illegal string was specified.");f=e,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return h},set:function(e){var t=r(e);t?(h=t,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return m},set:function(e){if(e<0||e>100)throw Error("Position must be between 0 and 100.");m=e,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return g},set:function(e){var t=r(e);t?(g=t,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return y},set:function(e){if(e<0||e>100)throw Error("Size must be between 0 and 100.");y=e,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return v},set:function(e){var t=r(e);if(!t)throw SyntaxError("align: an invalid or illegal alignment string was specified.");v=t,this.hasBeenReset=!0}}}),this.displayState=void 0}i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.exports=i},62981:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.isAsync=t.isValid=t.isDirty=t.isAborted=t.OK=t.DIRTY=t.INVALID=t.ParseStatus=t.addIssueToContext=t.EMPTY_PATH=t.makeIssue=void 0;let i=n(45303),a=r(n(36375));t.makeIssue=e=>{let{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],o={...i,path:a},s="";for(let e of r.filter(e=>!!e).slice().reverse())s=e(o,{data:t,defaultError:s}).message;return{...i,path:a,message:i.message||s}},t.EMPTY_PATH=[],t.addIssueToContext=function(e,n){let r=(0,t.makeIssue)({issueData:n,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,(0,i.getErrorMap)(),a.default].filter(e=>!!e)});e.common.issues.push(r)};class o{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,n){let r=[];for(let i of n){if("aborted"===i.status)return t.INVALID;"dirty"===i.status&&e.dirty(),r.push(i.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){let n=[];for(let e of t)n.push({key:await e.key,value:await e.value});return o.mergeObjectSync(e,n)}static mergeObjectSync(e,n){let r={};for(let i of n){let{key:n,value:a}=i;if("aborted"===n.status||"aborted"===a.status)return t.INVALID;"dirty"===n.status&&e.dirty(),"dirty"===a.status&&e.dirty(),(void 0!==a.value||i.alwaysSet)&&(r[n.value]=a.value)}return{status:e.value,value:r}}}t.ParseStatus=o,t.INVALID=Object.freeze({status:"aborted"}),t.DIRTY=e=>({status:"dirty",value:e}),t.OK=e=>({status:"valid",value:e}),t.isAborted=e=>"aborted"===e.status,t.isDirty=e=>"dirty"===e.status,t.isValid=e=>"valid"===e.status,t.isAsync=e=>"undefined"!=typeof Promise&&e instanceof Promise},63195:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__assign:()=>a,__asyncDelegator:()=>_,__asyncGenerator:()=>b,__asyncValues:()=>S,__await:()=>v,__awaiter:()=>c,__classPrivateFieldGet:()=>T,__classPrivateFieldSet:()=>x,__createBinding:()=>p,__decorate:()=>s,__exportStar:()=>f,__extends:()=>i,__generator:()=>d,__importDefault:()=>A,__importStar:()=>
668k,__makeTemplateObject:()=>E,__metadata:()=>u,__param:()=>l,__read:()=>m,__rest:()=>o,__spread:()=>g,__spreadArrays:()=>y,__values:()=>h});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function s(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}function l(e,t){return function(n,r){t(n,r,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})}function d(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){var l=[a,s];if(n)throw TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&l[0]?r.return:l[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,l[1])).done)return i;switch(r=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){o.label=l[1];break}if(6===l[0]&&o.label<i[1]){o.label=i[1],i=l;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(l);break}i[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],r=0}finally{n=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}function p(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}function f(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function h(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}function y(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)r[i]=a[o];return r}function v(e){return this instanceof v?(this.v=e,this):new v(e)}function b(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),a=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(e){i[e]&&(r[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||s(e,t)})})}function s(e,t){try{var n;(n=i[e](t)).value instanceof v?Promise.resolve(n.value.v).then(l,u):c(a[0][2],n)}catch(e){c(a[0][3],e)}}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function _(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:v(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function S(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=h(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){var a,o,s;a=r,o=i,s=(t=e[n](t)).done,Promise.resolve(t.value).then(function(e){a({value:e,done:s})},o)})}}}function E(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}
668function k(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function A(e){return e&&e.__esModule?e:{default:e}}function T(e,t){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return t.get(e)}function x(e,t,n){if(!t.has(e))throw TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},63536:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.somqueryAdRollPlacementKeysSchema=t.somqueryAdPodRollPlacementKeysSchema=t.siteSchema=void 0;let r=n(92712);t.siteSchema=r.z.enum(["joyn","joyn-oebb"]),t.somqueryAdPodRollPlacementKeysSchema=r.z.union([r.z.literal("midcontent"),r.z.literal("postcontent"),r.z.literal("precontent")]),t.somqueryAdRollPlacementKeysSchema=t.somqueryAdPodRollPlacementKeysSchema.or(r.z.literal("overlay"))},63547:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createKeyBindings=void 0;let r=n(70015).__importDefault(n(48670)),i=n(21328);t.createKeyBindings=function(e,t){let n,a=(0,r.default)(t.window,(0,i.createKeyBindingsMap)({keyHandler:()=>null==n?void 0:n()},e));return{onKeyHandled:e=>{n=e},unsubscribe:()=>{a()}}}},63658:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createContentService=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47561),o=n(41701),s=n(75609),l=n(44539),u=n(30936),c=n(5211),d={disableNoAdNoContent:a.Maybe.nothing(),entitlementTokenPayload:a.Maybe.nothing(),lastKnownPosition:a.Maybe.nothing()};t.createContentService=function(e){let{dispatch:t,fetchContentResources:n,fetchContentSource:p,isDestroyed:f}=e,h=new Map,m=new Map;function g(e){let t=m.get(e);if(i.default.undefined(t))throw new u.PlayerError("content",`Canât find a contentResource for internal id "${e}"`);return t}function y(e){let{legacyContentResource:t}=g(e);return Object.assign({},t)}function v(e,t){c.logger.log("updateRuntimeAttributes",e,t);let n=g(e);m.set(e,{legacyContentResource:n.legacyContentResource,runtimeAttributes:Object.assign(Object.assign({},n.runtimeAttributes),t)})}function b(e){let t=`${(0,o.v4)()}`;return e(t),t}return{addContentResource:(e,t)=>(c.logger.log("addContentResource",{contentResource:t,legacyContentResource:e}),b(n=>{m.set(n,{legacyContentResource:e,runtimeAttributes:d}),h.set(n,{contentResource:t,runtimeAttributes:d})})),addLegacyContentResource:e=>b(t=>{m.set(t,{legacyContentResource:e,runtimeAttributes:d})}),fetchContentResources:n,findContentIdByAssetId(e){let t=Array.from(m.entries());return a.Maybe.find(([,t])=>t.legacyContentResource.id===e)(t).map(([e])=>e)},getContentResource:function(e){return a.Maybe.of(h.get(e)).map(e=>Object.assign({},e.contentResource)).toOkOrErr(new u.PlayerError("content",`Canât find a contentResource for internal id "${e}"`))},getEntitlementTokenPayload(e){let{runtimeAttributes:t}=g(e);return t.entitlementTokenPayload},getLegacyContentResource:y,getPlaybackStartPosition(e){let{runtimeAttributes:t,legacyContentResource:n}=g(e);if((0,s.isLiveContentResource)(n)||(0,s.isInteractiveContentResource)(n))return a.Maybe.nothing();let{lastKnownPosition:r}=t,i=(0,l.isContentResourceWithPlaybackStartPosition)(n)?n.playbackStartPosition:0;return c.logger.log("playback initial start position",{initialStartPosition:i,internalId:e,lastKnownPosition:r,runtimeAttributes:t}),a.Maybe.just(r.unwrapOr(i))},isNoAdNoContentDisabled:e=>g(e).runtimeAttributes.disableNoAdNoContent.unwrapOr(!1),reset(){h=new Map,m=new Map},resolve({childPlaylistIndex:e,playlistItemId:n,personalIdentificationNumber:i,userToken:o}){return r.__awaiter(this,void 0,void 0,function*(){let{legacyContentResource:r}=g(n);try{if(f())return;let s=((e,t)=>{if((0,l.isLegacyLivestreamOnDemandChannelContentResource)(e)){let n=(0,l.getItemFromLivestreamOnDemandChannelContentResource)(e,t);if(n.isErr())throw n.error;return n.value}return e})(r,e),u=yield p({contentResource:s,personalIdentificationNumber:i,userToken:o});if(f())return;if(u.error||v(n,{disableNoAdNoContent:a.Maybe.of(u.disableNoAdNoContent),entitlementTokenPayload:a.Maybe.of(u.entitlementTokenPayload)}),u.action)return void t("content:actionRequired",u.action);if(u.error)throw u.error;t("content:resolved",{contentResource:y(n),encodedEntitlementJsonWebToken:u.encodedEntitlementJsonWebToken,entitlementTokenPayload:u.entitlementTokenPayload,playlistItemId:n,sources:u.sources})}catch(e){if(f())return;t("content:resolveFailed",{error:u.PlayerError.fromUnknown(e,"content")})}})},updatePosition(e,t){let n=g(e);(0,s.isLiveContentResource)(n.legacyContentResource)||(0,s.isInteractiveContentResource)(n.legacyContentResource)||v(e,{lastKnownPosition:a.Maybe.just(t)})}}}},63676:(e,t,n)=>{"use strict";
668Object.defineProperty(t,"__esModule",{value:!0}),t.ControlBar=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(53239),s=n(66976),l=n(70473),u=n(22154),c=n(5661),d=n(64014),p=n(30967),f=n(10751),h=n(71824),m=n(80596),g=a.default.div({display:"flex"}),y=(0,a.default)(p.FadeTransition)(({isVisible:e})=>({display:"inline-flex",margin:(0,l.shortCircuit)(!e,0)})),v=a.default.div({alignItems:"center",display:"flex",flex:1}),b=a.default.div({alignItems:"center",display:"flex",flex:1,justifyContent:"flex-end"});t.ControlBar=()=>{let{state:e}=(0,o.useContext)(s.PlayerContext),{isAd:t}=e;return(0,i.jsxs)(g,Object.assign({role:"toolbar"},{children:[(0,i.jsxs)(v,{children:[e.mustShowNextPlaylistItemButton?(0,i.jsx)(y,Object.assign({isVisible:!t},{children:(0,i.jsx)(h.NextPlaylistItemLogic,{})})):null,(0,i.jsx)(f.FooterAdLabels,{isVisible:t}),t?(0,i.jsx)(u.AdClickThroughButton,{}):null]}),(0,i.jsx)(d.VideoControls,{}),(0,i.jsxs)(b,{children:[(0,i.jsx)(m.SkipAdButton,{}),(0,i.jsx)(c.PlayerSettings,{})]})]}))}},63741:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAdSourceClient=void 0;let r=n(70015),i=n(47561),a=n(59700),o=n(62805);function s(e){return["hash",e]}t.createAdSourceClient=function(e,t){let{logger:n,httpClient:l}=e,{adMediaSourceApiBaseUrl:u,timeout:c=3e3}=t;function d({reason:e,additionalLogData:t}){return n.warn(e,t),{reason:e}}return{fetchAdSources(e){return r.__awaiter(this,void 0,void 0,function*(){let t,r=e.map(s);n.log("Fetching ad media files with",{searchParams:r});try{t=yield l.get({options:{searchParams:r,timeout:c},uri:u})}catch(t){let e=(0,a.isTimeoutError)(t)?"Timeout fetching from ad-source-api":"Failed to fetch from ad-source-api";return i.Result.err(d({additionalLogData:{error:t},reason:e}))}return(n.log("Fetched ad media files",{response:t}),(0,o.isValidRetrieveAdSourcesResponse)(t))?i.Result.ok(t):i.Result.err(d({additionalLogData:{response:t},reason:"Validation of ad-source-api response failed"}))})},ingestAdSources(e){return r.__awaiter(this,void 0,void 0,function*(){let t={jobs:e};n.log("Sending ingest request for ads",{payload:t});try{return yield l.postJson({options:{ignoreResponse:!0},payload:t,uri:u}),i.Result.ok()}catch(e){return i.Result.err(d({additionalLogData:{error:e},reason:"Failed to send ads ingest request to ad-source-api"}))}})}}}},63851:(e,t,n)=>{"use strict";function r(e,t){if(!e)throw Error(t)}n.d(t,{U:()=>r})},63923:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0,t.default=function(e,t,n){function s(e,a,o,s){var l;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));let t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof a&&(a=(0,i.default)(a)),(null==(l=a)?void 0:l.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let u=new Uint8Array(16+e.length);if(u.set(a),u.set(e,a.length),(u=n(u))[6]=15&u[6]|t,u[8]=63&u[8]|128,o){s=s||0;for(let e=0;e<16;++e)o[s+e]=u[e];return o}return(0,r.unsafeStringify)(u)}try{s.name=e}catch(e){}return s.DNS=a,s.URL=o,s};var r=n(31527),i=function(e){return e&&e.__esModule?e:{default:e}}(n(45566));let a="6ba7b810-9dad-11d1-80b4-00c04fd430c8";t.DNS=a;let o="6ba7b811-9dad-11d1-80b4-00c04fd430c8";t.URL=o},64014:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VideoControls=void 0;let r=n(80263),i=n(53239),a=n(66976),o=n(30967),s=n(31096),l=n(87699),u=n(9781);t.VideoControls=()=>{let{state:e,actions:t}=(0,i.useContext)(a.PlayerContext),{isLiveOnDemandChannel:n,isLivestream:c,isPaused:d,isPausingSupported:p,isPlaying:f,isReadyForPlayback:h,isSeekBackwardJumpPossible:m,isSeekForwardJumpPossible:g,isSeekToStartEnabled:y,isStalling:v,mustShowControls:b,mustShowPauseButton:_,mustShowSeekBackwardButton:S,mustShowSeekForwardButton:E,mustShowStartFromBeginningButton:k,playlistEnded:A,requiredAction:T}=e,x=(0,i.useCallback)(()=>{t.seekTo({position:0})},[t]);return!c||n||d?(0,r.jsx)(o.FadeTransition,Object.assign({isVisible:b},{children:(0,r.jsxs)(s.ButtonGroup,Object.assign({alignContent:"center",dense:!0,centerOdd:!0},{children:[k?(0,r.jsx)(u.SeekButton,{direction:"beginning",enabled:y,onSeek:x}):null,S?(0,r.jsx)(u.SeekButton,{direction:"backward",enabled:m,onSeek:t.seekBackwardJump}):null,(0,r.jsx)(l.PlayPauseButton,{isLoading:(v||!h)&&null===T,isPaused:d,isPausingSupported:p,isPlaying:f,mustShowPauseButton:_,pause:t.pause,play:t.play,playlistEnded:A,replay:t.replay}),E?(0,r.jsx)(u.SeekButton,{direction:"forward",enabled:g,onSeek:t.seekForwardJump}):null]}))})):null}},64060:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
668ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},64267:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNielsenApi=void 0;let r=n(70015),i=n(30474);t.createNielsenApi=e=>{let t=!1,n=0;return(a,o,s)=>r.__awaiter(void 0,void 0,void 0,function*(){let{ggPM:r}=s,{runtime:{position:l,mediaType:u,isLivestream:c}}=o,d=c&&"content"===u?Math.round((null!=l?l:0)/1e3):Math.round(null!=l?l:0);switch(a){case"lifecycle-start":{let n=yield(0,i.getContentPayload)(Object.assign(Object.assign({},o),{utmParametersApi:e.utmParametersApi,windowLocation:e.windowLocation}));t=!0,r("loadMetadata",n);break}case"ad-begin":r("loadMetadata",(0,i.getAdPayload)(o));break;case"ad-error":case"ad-complete":r("stop",d);break;case"position-change":Number(Math.abs(n-d).toFixed(3))>=1&&(n=d,r("setPlayheadPosition",d));break;case"pause":case"stall-started":t&&r("stop",d);break;case"resume":case"stall-ended":t&&"content"===u&&r("loadMetadata",(yield(0,i.getContentPayload)(Object.assign(Object.assign({},o),{utmParametersApi:e.utmParametersApi,windowLocation:e.windowLocation}))));break;case"lifecycle-abort":case"content-complete":t=!1,r("end",d)}})}},64274:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUiStateServiceErrorContext=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47561),a=n(97250),o="Kannst du andere Videos auch nicht mehr anschauen? Keine Panik, der Kundenservice hilft dir weiter.",s="Hoppla! Da ist etwas schief gelaufen.",l={ad_blocked:{error:i.Maybe.just({message:"Wer mag schon Werbung? Leider ist sie trotzdem n\xf6tig, damit wir dir Joyn kostenlos anbieten k\xf6nnen. Du musst deinen Adblocker nicht deaktivieren. F\xfcge joyn.de doch einfach als Ausnahme hinzu.",title:"Bitte schalte deinen Adblocker auf Joyn aus",type:"ad_blocked"}),mustShowErrorFrequentlyAskedQuestionsButton:!0},content_concurrent_stream_limit_reached:{error:i.Maybe.just({message:"Du streamst Joyn auf zu vielen Ger\xe4ten gleichzeitig. Beende einfach den Stream auf einem anderen Ger\xe4t und schon kannst du hier weiterschauen.",title:s,type:"content_concurrent_stream_limit_reached"}),mustShowErrorBackButton:!0,mustShowErrorRetryButton:!1},content_drm_no_key_system_supported:{error:i.Maybe.just({message:o,title:"\xdcberpr\xfcfe deine Konfiguration",type:"content_drm_no_key_system_supported"}),mustShowErrorFrequentlyAskedQuestionsButton:!0,mustShowErrorRetryButton:!1},playback_drm_license_request_failed:{error:i.Maybe.just({message:"Bitte stelle sicher, dass du die neueste Version deines Webbrowsers sowie ein kompatibles Ger\xe4t benutzt.",title:"\xdcberpr\xfcfe deine Konfiguration",type:"playback_drm_license_request_failed"}),mustShowErrorFrequentlyAskedQuestionsButton:!0,mustShowErrorRetryButton:!0},playback_drm_no_key_system_supported:{error:i.Maybe.just({message:o,title:"\xdcberpr\xfcfe deine Konfiguration",type:"playback_drm_no_key_system_supported"}),mustShowErrorFrequentlyAskedQuestionsButton:!0,mustShowErrorRetryButton:!1}};t.createUiStateServiceErrorContext=e=>{let t=l[e.type],n=e instanceof a.EntitlementError&&e.shouldErrorMessageBeReportedToUser(),u=r.default.nonEmptyString(e.message)&&n?e.message:o;return Object.assign({error:i.Maybe.just({message:u,title:s,type:e.type}),mustShowErrorBackButton:!1,mustShowErrorFrequentlyAskedQuestionsButton:!1,mustShowErrorRetryButton:!0},t)}},64376:(e,t,n)=>{"use strict";
668Object.defineProperty(t,"__esModule",{value:!0}),t.HIGHLIGHT_GRAPHQL_QUERY_DOCUMENT=void 0;let r=n(42049);t.HIGHLIGHT_GRAPHQL_QUERY_DOCUMENT=(0,r.gql)` 669 query Highlight($id: ID!) { 670 extra(id: $id) { 671 __typename 672 ageRating { 673 descriptorsText 674 minAge 675 } 676 artLogoImage: image(type: ART_LOGO) { 677 url(profile: "nextgen-web-artlogo-183x75") 678 } 679 brands { 680 logo { 681 url(profile: "nextgen-web-artlogo-183x75") 682 } 683 title 684 } 685 id 686 parent { 687 ... on Compilation { 688 __typename 689 id 690 } 691 ... on Episode { 692 __typename 693 id 694 series { 695 __typename 696 genres { 697 __typename 698 name 699 } 700 id 701 title 702 } 703 } 704 ... on Movie { 705 __typename 706 genres { 707 __typename 708 name 709 } 710 id 711 title 712 } 713 ... on Season { 714 __typename 715 series { 716 __typename 717 genres { 718 __typename 719 name 720 } 721 id 722 title 723 } 724 } 725 ... on Series { 726 __typename 727 genres { 728 __typename 729 name 730 } 731 id 732 title 733 } 734 ... on SportsCompetition { 735 __typename 736 id 737 } 738 ... on SportsStage { 739 __typename 740 } 741 ... on SportsMatch { 742 __typename 743 } 744 } 745 path 746 posterImage: image(type: PRIMARY) { 747 url(profile: "nextgen-web-primarycut-1920x1080") 748 } 749 title 750 tracking { 751 agofCode 752 externalAssetId 753 genres 754 } 755 vibrantColorImage: image(type: PRIMARY) { 756 vibrantColor: accentColor(type: DARK_VIBRANT) 757 } 758 video { 759 id 760 } 761 } 762 } 763`},64409:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBufferedTimeRanges=void 0,t.getBufferedTimeRanges=function(e){let{buffered:t}=e;return Array.from({length:t.length},(e,n)=>[t.start(n),t.end(n)])}},64507:(e,t,n)=>{var r=n(23307),i=n(33707),a=n(16421),o=n(87671);e.exports=i.extend({parse:function(e,t){if(t)this.parseLocation(t,e);else{var n=new r(e,null,null,{cache:!0,requestHeaders:this._headers});n.on(r.Event.SUCCESS,(function(t){this.parseLocation(t,e)}).bind(this)),n.on(r.Event.ERROR,(function(e){this.done()}).bind(this)),n.send()}},parseLocation:function(e,t){this.iterations--;var n=new RegExp(/<Location>([\s\S]+)<\/Location>/);try{this._lastManifest=e;var r=e.getResponseText(),i=n.exec(r);if(i&&i[1])var o=this._htmlDecode(i[1].replace("\n",""));o&&o!==t&&this.iterations>0?this.parse(o):this.parseFinalResource(r,t)}catch(e){a.warn("Dash parse failed"),this.done()}},_htmlDecode:function(e){if("undefined"!=typeof document&&"function"==typeof document.createElement){var t=document.createElement("textarea");return t.innerHTML=e,t.childNodes&&t.childNodes.length?t.childNodes[0].nodeValue:e}return e},parseFinalResource:function(e,t){var n=new RegExp(/<BaseURL>[\r\n]*(.*?)[\r\n]*<\/BaseURL>/),r=new RegExp(/<SegmentURL[\s\S]*media="([^"]+)/),i=new RegExp(/<SegmentTemplate[\s\S]*media="([^"]+)/),o=null;try{o=n.exec(e)||i.exec(e)||r.exec(e),this._getManifestMetadata(e),o&&o[1]&&this._isFullUrl(o[1])?o[1].indexOf('"')>0?this._realResource=o[1].substr(0,o[1].indexOf('"')).replace("\n",""):this._realResource=o[1].replace("\n",""):this._realResource=t}catch(e){a.warn("Dash manifest parse failed")}this.done()},_getManifestMetadata:function(e){try{var t=new RegExp(/<AdaptationSet[\s\S]*mimeType="video\/([^"]+)/).exec(e),n=null;switch(t[1]){case"mp4":case"m4s":n=o.MP4;break;case"mp2t":n=o.MPEG2;break;case"cmfv":n=o.CMF}this._transportFormat=n}catch(e){a.warn("Couldnt find the transport format")}},_isFullUrl:function(e){return -1!==e.indexOf("http")},shouldExecute:function(e){var t=!0;return e&&(t=-1!==e.getResponseText().indexOf("<MPD")),t}})}
763,64793:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTerminationServiceResponse=void 0;let r=n(92712),i=n(47725),a=r.z.object({terminated:r.z.literal(!0),termination_reason:r.z.string()}),o=r.z.object({terminated:r.z.literal(!1)}),s=r.z.discriminatedUnion("terminated",[a,o]);t.validateTerminationServiceResponse=function(e){return(0,i.validateAgainstSchema)(s,e)}},64799:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timerApi=void 0;let r=n(47561);t.timerApi=({durationInMilliseconds:e,callback:t,clock:n})=>{let i=r.Maybe.nothing(),a=r.Maybe.nothing(),o=r.Maybe.of(e),s=()=>{a=r.Maybe.of(n.getCurrentTimestamp()),i=o.map(e=>n.setTimeout(t,e))};return{pause:()=>{o=i.mapOr(r.Maybe.nothing(),e=>a.mapOr(r.Maybe.nothing(),t=>o.map(r=>(n.clearTimeout(e),r-(n.getCurrentTimestamp()-t)))))},resume:()=>{i.map(e=>(n.clearTimeout(e),s(),e))},start:s}}},64902:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportsZeroByteGCM=t.supportsSubtleCrypto=t.supportsSecureRandom=t.supportsWebCrypto=void 0;var r=n(63195),i=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function a(e){return"object"==typeof e&&"object"==typeof e.crypto&&"function"==typeof e.crypto.getRandomValues}function o(e){return e&&i.every(function(t){return"function"==typeof e[t]})}t.supportsWebCrypto=function(e){return!!a(e)&&"object"==typeof e.crypto.subtle&&o(e.crypto.subtle)},t.supportsSecureRandom=a,t.supportsSubtleCrypto=o,t.supportsZeroByteGCM=function(e){return r.__awaiter(this,void 0,void 0,function(){var t;return r.__generator(this,function(n){switch(n.label){case 0:if(!o(e))return[2,!1];n.label=1;case 1:return n.trys.push([1,4,,5]),[4,e.generateKey({name:"AES-GCM",length:128},!1,["encrypt"])];case 2:return t=n.sent(),[4,e.encrypt({name:"AES-GCM",iv:new Uint8Array(Array(12)),additionalData:new Uint8Array(Array(16)),tagLength:128},t,new Uint8Array(0))];case 3:return[2,16===n.sent().byteLength];case 4:return n.sent(),[2,!1];case 5:return[2]}})})}},65228:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAdScheduler=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=r.__importDefault(n(30029)),o=n(47561),s=n(96545),l=n(79269),u=n(27504),c=n(47286),d=n(50454),p=n(84823),f=n(30843),h=n(10109),m=n(53128),g=n(33309),y=n(53335),v=n(56859),b=n(2961),_=n(14555),S=n(85237),E=e=>{let{adSchedule:t,timeOffset:n}=e;return o.Maybe.of(n).chain(e=>o.Maybe.of(t[e]))},k=(e,t)=>{let{adScheduleTimeOffset:n,adScheduleTimeOffsetIndex:r}=t;return o.Maybe.of(n).chain(e=>o.Maybe.of(r).map(t=>({timeOffset:e,timeOffsetIndex:t}))).chain(({timeOffset:t,timeOffsetIndex:n})=>E({adSchedule:e,timeOffset:t}).get("sources").chain(e=>o.Maybe.of(e[n])))},A=(e,t)=>{let{width:n,height:r}=e.getBoundingClientRect(),{contentDuration:i,contentPosition:a,isLivestream:o,adBlockPreventionIsActive:s,videoQuality:l,audioTrackLanguage:u}=t;return{audioTrackLanguage:u,contentDuration:i,contentPosition:a,height:r,isAdBlock:s,isInFullscreen:e.isFullscreen(),isLivestream:o,videoQuality:l,width:n}},T=e=>{let{adScheduleTimeOffset:t,adScheduleTimeOffsetIndex:n}=e;return new f.AdError("ad schedule position not defined","ad_schedule_position_empty","ad_scheduler_error",`ad schedule offset: '${t}', position index '${n}`)},x=e=>(0,p.adSourceHasResourceWithVast)(e)?o.Result.ok(e):o.Result.err(new h.AdSchedulerError("Ad source resource undefined"));t.createAdScheduler=e=>{let{brokenVastReporter:t,vendorAdScheduler:n,childPlaylistIndex:w,contentResource:C,entitlementTokenPayload:I,encodedEntitlementJsonWebToken:O,fetcher:R,playbackCore:P,createTrackVastEvent:N,createAdFromAdSource:L,createNonLinearAdFromSource:j,emitInternal:M,store:D,validateVastJson:F,adScheduleCallTimeout:U=1e4}=e,V={},B=Promise.resolve(),G={},Y=Error(`call took longer than ${U}ms`),z=e=>r.__awaiter(void 0,void 0,void 0,function*(){return yield B,k(V,e)}),W=(e,...t)=>r.__awaiter(void 0,void 0,void 0,function*(){let r;try{b.logger.log(`calling adScheduler.${e} with`,t);let i=(0,n[e])(...t);r=(0,s.isPromiseLikeValue)(i)?yield(0,a.default)(i,U,Y):i}catch(t){return b.logger.error(`adScheduler.${e} failed with`,t),t===Y&&M("adSchedulerCallTimedOut"),"get"===e&&M("adSchedulerCallErrorOnGet"),V}if(i.default.nullOrUndefined(r))return b.logger.error(`adScheduler.${e}
763 returned invalid ad schedule`,r),V;b.logger.log("setting ad schedule",r),V=JSON.parse(JSON.stringify(r)),M("adScheduleUpdated",{adSchedule:G})});B=W("get",{childPlaylistIndex:w,contentResource:C,encodedEntitlementJsonWebToken:O,entitlementTokenPayload:I,playerState:A(P,D.getState())});let Z=e=>r.__awaiter(void 0,void 0,void 0,function*(){let t=B;return B=r.__awaiter(void 0,void 0,void 0,function*(){yield t,yield W("update",V,e,A(P,D.getState()))})}),H=(e,t,n=!1)=>F({adIndex:t,adSource:e,isWithinWrapper:n}).andThen(e=>{var r;let{resource:i={}}=e,{vast:{ad:a=[]}={}}=i,s=a[n?0:t];return(null==s?void 0:s.wrapper)?H({rawVast:e.rawVast,resource:s.wrapper,url:null==(r=s.wrapper.vastadtaguri)?void 0:r.value},t,!0):o.Result.ok(e)});return G={getAd:e=>r.__awaiter(void 0,void 0,void 0,function*(){if(!(0,l.isAdCursorWithIndex)(e))return o.Result.err(TypeError("Can not get ad without adIndex or adScheduleTimeOffsetIndex"));let{adIndex:n,adScheduleTimeOffset:a,adScheduleTimeOffsetIndex:s}=e,b=yield z({adScheduleTimeOffset:a,adScheduleTimeOffsetIndex:s}),k=E({adSchedule:V,timeOffset:a}),A=k.mapOr(0,({sources:e})=>e.length),w=k.mapOr("linear",({type:e})=>e);if(!i.default.number(s)||s>=A)return o.Result.err(new f.AdError("ad schedule offset out of bounds","rollposition_out_of_bounds","ad_scheduler_error",`offset: '${a}', bounds: ${s} of ${A}`));let C=b.toOkOrErr(T({adScheduleTimeOffset:a,adScheduleTimeOffsetIndex:s})).chain(e=>{let{url:n}=e;if(i.default.emptyString(n)&&!(0,p.adSourceHasResourceWithVast)(e))return o.Result.err(T({adScheduleTimeOffset:a,adScheduleTimeOffsetIndex:s}));if((0,p.adSourceHasResourceWithVast)(e)&&(0,u.hasInvalidationReason)(e.resource,0,"transcoding-error")){let n=`ad schedule position '${a}' has source with transcoding error`;return t.sendData({errorMessage:n,vastString:e.rawVast}),o.Result.err(new f.AdError(n,d.iabVastErrorCode.VAST_UNSUPPORTED_MEDIAFILE_ERROR.toString()))}return o.Result.ok(e)}),I=yield(0,S.resultAsyncChain)(C,t=>r.__awaiter(void 0,void 0,void 0,function*(){let{contentPositionInSeconds:a}=D.getState(),{url:s}=t,l=x(t);if(i.default.nullOrUndefined(s)||i.default.emptyString(s))return l;let u=(0,_.populateMacroValues)({contentPositionInSeconds:a},{getCurrentDate:()=>new Date,getDate:e=>new Date(e),random:Math.random}),d=0===n?yield R.fetchVast(s,u):l,p=(0,S.resultAsyncChain)(d,e=>r.__awaiter(void 0,void 0,void 0,function*(){return R.resolveVastJson(e,n,u)}));return(0,S.resultAsyncChain)(p,t=>r.__awaiter(void 0,void 0,void 0,function*(){return V=(0,c.replaceAdSource)(V,e,t),yield Z({adCursor:e,type:"adresourceresolved"}),o.Result.of(t)}))}));return(yield(0,S.resultAsyncChain)(I,()=>r.__awaiter(void 0,void 0,void 0,function*(){return(yield z({adScheduleTimeOffset:a,adScheduleTimeOffsetIndex:s})).toOkOrErr(T({adScheduleTimeOffset:a,adScheduleTimeOffsetIndex:s}))}),function(n){return r.__awaiter(this,void 0,void 0,function*(){let{adBlockPreventionEnabled:r,adBlockPreventionIsActive:l}=D.getState();(n instanceof g.InvalidVastError||n instanceof v.VastError)&&n.code!==d.iabVastErrorCode.VAST_RESPONSE_ERROR&&t.sendData({errorMessage:n.message,url:n.url,vastString:n.vastString}),n instanceof y.XmlParsingError&&t.sendData({errorMessage:n.message,url:n.url,vastString:n.xmlString});let u=(e=>{let{adCursor:t,error:n,retryWithAdBlockPrevention:r}=e,{message:a}=n;if((0,v.isVastError)(n)){let{corruptVast:e,code:o}=n;if(i.default.object(e))return(0,g.isInvalidVastNetworkError)(n)&&r?n:(V=(0,c.replaceAdSource)(V,t,{resource:e}),{corruptVast:e,errorCode:o,errorMessage:a})}return{errorMessage:a}})({adCursor:e,error:n,retryWithAdBlockPrevention:r&&!l});if(u instanceof Error)return o.Result.err(u);let{corruptVast:f,errorCode:h,errorMessage:m}=u;yield Z({adCursor:e,corruptVast:f,errorCode:h,errorMessage:m,type:"adresourceresolvefailed"});let b=yield z({adScheduleTimeOffset:a,adScheduleTimeOffsetIndex:s});return b.mapOr(!1,e=>!(0,p.adSourceHasResourceWithVast)(e))||h===d.iabVastErrorCode.VAST_RESPONSE_SHIMMED?o.Result.err(n):b.toOkOrErr(T({adScheduleTimeOffset:a,adScheduleTimeOffsetIndex:s}))})})).chain(x).chain(t=>
763H(t,n).mapErr(e=>{let{message:r}=e,a=(0,v.isVastError)(e)&&i.default.object(e.corruptVast),o=new h.AdSchedulerError(r,(0,v.isVastError)(e)?e.code:void 0,{adSource:t});if(a){var s;let{resource:e}=t;N({error:(0,m.getErrorCollectionFromVast)(e,n)})("error",{ERRORCODE:null!=(s=o.code)?s:d.iabVastErrorCode.VAST_UNDEFINED_ERROR})}return o}).chain(()=>"nonlinear"===w?j({adCursor:e,adSource:t}):L({adCursor:e,adSource:t})))}),getAdPodLength:e=>k(V,e).chain(e=>{var t;return o.Maybe.of(null==(t=e.resource.vast)?void 0:t.ad)}).mapOr(0,e=>e.length),getTimeOffsetLength:e=>E({adSchedule:V,timeOffset:e}).get("sources").mapOr(0,e=>e.length),getTimeOffsets:()=>Object.entries(V).map(([e,t])=>({timeOffset:e,type:t.type})),update(e){return r.__awaiter(this,void 0,void 0,function*(){let{type:t=""}=e,n=["adblockerstatechanged","adcomplete","adimpression","adresourceresolved","adresourceresolvefailed","adrollbeforestart","adrollend","fullscreenchanged","pause","seekTo"].includes(t);return yield n?Z(e):B,V})},whenUpdated(){return r.__awaiter(this,void 0,void 0,function*(){return B})}}}},65317:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ageRatingSchema=void 0;let r=n(47561),i=n(92712),a=i.z.union([i.z.literal(0),i.z.literal(6),i.z.literal(8),i.z.literal(10),i.z.literal(12),i.z.literal(14),i.z.literal(16),i.z.literal(18)]);t.ageRatingSchema=i.z.object({descriptorsText:i.z.array(i.z.string()).nullable().transform(r.Maybe.of),minAge:a.nullable().transform(r.Maybe.of)}).strict().nullable().transform(r.Maybe.of)},65527:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vastStaticResourceSchema=void 0;let r=n(92712),i=n(23751);t.vastStaticResourceSchema=r.z.object({$creativetype:(0,i.zodIabStringSchema)(i.AdErrorMessage.ERROR_TYPE_MISSING),value:(0,i.zodIabStringSchema)(i.AdErrorMessage.ERROR_TYPE_MISSING)}).passthrough()},65661:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildContentResourceForClip=void 0;let r=n(47561),i=n(29241);t.buildContentResourceForClip=function(e){var t,n,a,o,s;let{clip:l}=e;if(null==l)throw Error("Clip not found");if(!l.video)throw Error("Clip has no video");let u=r.Maybe.of(l.brands).andThen(e=>r.Maybe.fromNullable(e[0]));return{ageRating:r.Maybe.of(l.ageRating).map(e=>e.minAge),ageRatingDescriptors:(0,i.extractAgeRatingDescriptors)(l.ageRating),brandName:u.map(e=>e.title),contentType:"short-form",externalTrackingId:r.Maybe.of(null==(t=l.tracking)?void 0:t.externalAssetId),genres:r.Maybe.of(null==(a=null==(n=l.tracking)?void 0:n.genres)?void 0:a.filter(e=>e)),id:l.video.id,infOnlineCode:r.Maybe.of(null==(o=l.tracking)?void 0:o.agofCode),parentTitle:r.Maybe.nothing(),path:r.Maybe.of(l.path),poster:r.Maybe.nothing(),primaryColor:r.Maybe.nothing(),title:l.title,titleImage:r.Maybe.of(null==(s=l.image)?void 0:s.url).andThen(e=>r.Maybe.of(new URL(e))),tvShowId:r.Maybe.of(l.id)}}},66023:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stampError=void 0;class n extends Error{constructor(e,t){super(e),this.originalError=t}}t.stampError=function(e,t){return new n(e,t)}},66054:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.imageUrlSchema=void 0;let r=n(47561),i=n(92712);t.imageUrlSchema=i.z.object({url:i.z.string().url().transform(e=>new URL(e))}).strict().nullable().transform(r.Maybe.of)},66075:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MoodSelector=void 0;let r=n(80263),i=n(83947);t.MoodSelector=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{defaultViewBox:"-3 -3 26 26"},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.903 17.8146L13.0484 21.336L10.2412 17.9527H5.29705C2.3759 17.9527 0 15.5772 0 12.6557V5.29705C0 2.37559 2.3759 0 5.29705 0H14.702C17.6237 0 19.999 2.37533 19.999 5.29705V12.6557C19.999 15.1232 18.2732 17.2614 15.903 17.8146ZM11.5 13.5C11.5 14.3284 10.8284 15 10 15C9.17157 15 8.5 14.3284 8.5 13.5C8.5 12.6716 9.17157 12 10 12C10.8284 12 11.5 12.6716 11.5 13.5ZM10 3C9.17157 3 8.5 3.67157 8.5 4.5V9.5C8.5 10.3284 9.17157 11 10 11C10.8284 11 11.5 10.3284 11.5 9.5V4.5C11.5 3.67157 10.8284 3 10 3Z",fill:"white"})}))}
763,66083:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.meAnonymousQuerySchema=t.meQuerySchema=void 0;let r=n(92712),i=r.z.object({bookmarkedBrandIds:r.z.array(r.z.string()).nullable(),state:r.z.string()}).strict(),a=r.z.object({state:r.z.string()}).strict();t.meQuerySchema=r.z.object({me:i}).strict(),t.meAnonymousQuerySchema=r.z.object({me:a}).strict()},66159:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAd=t.createExtension=void 0;let r=n(15541),i=n(40087);function a(){return{iconclickfallbackimages:(0,i.createIconClickFallbackImages)()}}t.createExtension=a,t.createAd=function(){return{adsystem:r.convertToEmptyString,category:[],creatives:{},error:[],extensions:{extension:[a()]},impression:[],viewableimpression:{notviewable:[],viewable:[],viewundetermined:[]}}}},66243:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPlaybackAdapter=void 0,t.createPlaybackAdapter=function(e,t){return{getBitrate:()=>t.getStateProperty("bitrate"),getDuration:()=>t.getStateProperty("duration"),getPlayerName:()=>e.playerName,getPlayerVersion:()=>e.playerVersion,getPlayhead:()=>t.getStateProperty("playhead"),getResource:()=>t.getStateProperty("resourceUrl")}}},66569:(e,t,n)=>{var r,i=void 0!==n.g?n.g:"undefined"!=typeof window?window:{},a=n(51618);"undefined"!=typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=a),e.exports=r},66596:(e,t,n)=>{"use strict";n.d(t,{BF:()=>f,EU:()=>d,Me:()=>h,YZ:()=>c,gM:()=>p});var r=n(82777),i=n(19612),a=n(98653),o=n(33184),s=n(52817),l=n(11291),u=n(16471);class c{constructor(e,t=new l.H,n=4){this._version=n,this._stack=[{scope:t}],e&&this.bindClient(e)}isOlderThan(e){return this._version<e}bindClient(e){this.getStackTop().client=e,e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){let e=l.H.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(e){let t=this.pushScope();try{e(t)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){let n=this._lastEventId=t&&t.event_id?t.event_id:(0,r.eJ)(),i=Error("Sentry syntheticException");return this._withClient((r,a)=>{r.captureException(e,{originalException:e,syntheticException:i,...t,event_id:n},a)}),n}captureMessage(e,t,n){let i=this._lastEventId=n&&n.event_id?n.event_id:(0,r.eJ)(),a=Error(e);return this._withClient((r,o)=>{r.captureMessage(e,t,{originalException:e,syntheticException:a,...n,event_id:i},o)}),i}captureEvent(e,t){let n=t&&t.event_id?t.event_id:(0,r.eJ)();return e.type||(this._lastEventId=n),this._withClient((r,i)=>{r.captureEvent(e,{...t,event_id:n},i)}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){let{scope:n,client:r}=this.getStackTop();if(!r)return;let{beforeBreadcrumb:o=null,maxBreadcrumbs:s=100}=r.getOptions&&r.getOptions()||{};if(s<=0)return;let l={timestamp:(0,i.lu)(),...e},u=o?(0,a.pq)(()=>o(l,t)):l;null!==u&&(r.emit&&r.emit("beforeAddBreadcrumb",u,t),n.addBreadcrumb(u,s))}setUser(e){this.getScope().setUser(e)}setTags(e){this.getScope().setTags(e)}setExtras(e){this.getScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t)}configureScope(e){let{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){let t=p(this);try{e(this)}finally{p(t)}}getIntegration(e){let t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.vF.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){let n=this._callExtensionMethod("startTransaction",e,t);return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&!n&&console.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': 764Sentry.addTracingExtensions(); 765Sentry.init({...}); 766`),n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){let e=this.getStackTop().scope,t=e.getSession();t&&(0,u.Vu)(t),this._sendSessionUpdate(),e.setSession()}startSession(e){let{scope:t,client:n}=this.getStackTop(),{release:r,environment:i=s.U}=n&&n.getOptions()||{},{userAgent:a}=o.OW.navigator||{},l=(0,u.fj)({release:r,environment:i,user:t.getUser(),...a&&{userAgent:a},...e}),c=t.getSession&&t.getSession();return c&&"ok"===c.status&&(0,u.qO)(c,{status:"exited"}),this.endSession(),t.setSession(l),l}shouldSendDefaultPii(){let e=this.getClient(),t=e&&e.getOptions();return!!(t&&t.sendDefaultPii)}_sendSessionUpdate(){let{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_withClient(e){let{scope:t,client:n}=this.getStackTop();n&&e(n,t)}_callExtensionMethod(e,...t){let n=d().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[e])return n.extensions[e].apply(this,t);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.vF.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function d(){return o.OW.__SENTRY__=o.OW.__SENTRY__||{extensions:{},hub:void 0},o.OW}function p(e){let t=d(),n=h(t);return m(t,e),n}function f(){let e=d();if(e.__SENTRY__&&e.__SENTRY__.acs){let t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return function(e=d()){var t;return(!((t=e)&&t.__SENTRY__&&t.__SENTRY__.hub)||h(e).isOlderThan(4))&&m(e,new c),h(e)}(e)}function h(e){return(0,o.BY)("hub",()=>new c,e)}function m(e,t){return!!e&&((e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0)}},66779:(e,t,n)=>{"use strict";
766Object.defineProperty(t,"__esModule",{value:!0}),t.createLaunchDarklyToggleRouter=t.createLoggedInUser=t.createAnonymousUser=void 0;let r=n(70015),i=n(48232),a=r.__importDefault(n(19577)),o=n(17485),s=n(47561),l=n(92712),u=n(90236),c=(0,o.chainFrom)(Object.entries(u.featureConfig)).filter(([,e])=>e instanceof l.ZodBoolean).map(([e])=>e).toSet();function d(e){let[t]=e;return c.has(t)}function p(e){let[t,n]=e;if(!a.default.boolean(n))throw TypeError(`Unexpected value received from launch-darkly for feature flag "${t}"`)}function f(e){let[,t]=e;return t}function h(e){let[t]=e;return t}t.createAnonymousUser=function(e,t,n,r){return{anonymous:!0,country:n,key:a.default.nullOrUndefined(r)||a.default.emptyStringOrWhitespace(r)?e:r,kind:"user",packageName:t}},t.createLoggedInUser=function(e,t,n,o){return r.__awaiter(this,void 0,void 0,function*(){let s=yield function(e){return r.__awaiter(this,void 0,void 0,function*(){let t=new i.Sha256;return t.update(e),Array.from(new Uint8Array((yield t.digest())),e=>e.toString(16).padStart(2,"0")).join("")})}(e);return{anonymous:!1,country:n,email:e,key:a.default.nullOrUndefined(o)||a.default.emptyStringOrWhitespace(o)?s:o,kind:"user",packageName:t}})},t.createLaunchDarklyToggleRouter=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){let n,{launchDarklyClient:r,logger:i,clock:a}=e,{appRuntimeEnvironment:l}=t,c=!1;return"native"===l?(r.setStreaming(!1),!function r(){if(!c){let{fireAndForgetInvoker:i,launchDarklyClient:o,onChangeCallback:s}=Object.assign(Object.assign({},e),{onChangeCallback:n}),{user:l}=t;i.fireAndForget(o.identify,[l]),null==s||s(),a.setTimeout(r,18e4)}}()):r.setStreaming(!0),yield r.waitUntilReady(),{destroy(){c=!0,r.close().catch(e=>{i.warn("Error while closing LaunchDarkly client",e)})},getAllFeatures(){let e=r.allFlags(),t=u.featureSetSchema.partial().safeParse(e);if(!t.success){let e=t.error.issues.flatMap(e=>e.path);throw TypeError(`Unexpected value received from launch-darkly for feature flags "${e}"`)}return t.data},getEnabledFeatures(){let e=Object.entries(r.allFlags()).filter(d);return e.forEach(p),(0,o.chainFrom)(e).filter(f).map(h).toArray()},getFeatureValue(e,t){let n=r.variation(e,t),i=u.featureConfig[e].safeParse(n);return i.success?s.Maybe.of(i.data):s.Maybe.nothing()},setFeatureValue(){}}})}},66970:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(82486),i=n(76737),a=function(e){return"atomic"===e.type||"final"===e.type};function o(e){return Object.keys(e.states).map(function(t){return e.states[t]})}function s(e){return o(e).filter(function(e){return"history"!==e.type})}function l(e,t){var n,i,a,o,l,c,d,p,f=u(new Set(e)),h=new Set(t);try{for(var m=r.__values(h),g=m.next();!g.done;g=m.next())for(var y=g.value,v=y.parent;v&&!h.has(v);)h.add(v),v=v.parent}catch(e){n={error:e}}finally{try{g&&!g.done&&(i=m.return)&&i.call(m)}finally{if(n)throw n.error}}var b=u(h);try{for(var _=r.__values(h),S=_.next();!S.done;S=_.next()){var y=S.value;if("compound"!==y.type||b.get(y)&&b.get(y).length){if("parallel"===y.type)try{for(var E=(l=void 0,r.__values(s(y))),k=E.next();!k.done;k=E.next()){var A=k.value;h.has(A)||(h.add(A),f.get(A)?f.get(A).forEach(function(e){return h.add(e)}):A.initialStateNodes.forEach(function(e){return h.add(e)}))}}catch(e){l={error:e}}finally{try{k&&!k.done&&(c=E.return)&&c.call(E)}finally{if(l)throw l.error}}}else f.get(y)?f.get(y).forEach(function(e){return h.add(e)}):y.initialStateNodes.forEach(function(e){return h.add(e)})}}catch(e){a={error:e}}finally{try{S&&!S.done&&(o=_.return)&&o.call(_)}finally{if(a)throw a.error}}try{for(var T=r.__values(h),x=T.next();!x.done;x=T.next())for(var y=x.value,v=y.parent;v&&!h.has(v);)h.add(v),v=v.parent}catch(e){d={error:e}}finally{try{x&&!x.done&&(p=T.return)&&p.call(T)}finally{if(d)throw d.error}}return h}function u(e){var t,n,i=new Map;try{for(var a=r.__values(e),o=a.next();!o.done;o=a.next()){var s=o.value;i.has(s)||i.set(s,[]),s.parent&&(i.has(s.parent)||i.set(s.parent,[]),i.get(s.parent).push(s))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return i}function c(e,t){return Array.isArray(e)?e.some(function(e){return e===t}):e instanceof Set&&e.has(t)}t.getAdjList=u,t.getAllChildren=o,t.getAllStateNodes=function e(t){var n=[t];
766return a(t)?n:n.concat(i.flatten(s(t).map(e)))},t.getChildren=s,t.getConfiguration=l,t.getMeta=function(e){return void 0===e&&(e=[]),e.reduce(function(e,t){return void 0!==t.meta&&(e[t.id]=t.meta),e},{})},t.getTagsFromConfiguration=function(e){return new Set(i.flatten(e.map(function(e){return e.tags})))},t.getValue=function(e,t){var n=l([e],t);return function e(t,n){var r=n.get(t);if(!r)return{};if("compound"===t.type){var i=r[0];if(!i)return{};if(a(i))return i.key}var o={};return r.forEach(function(t){o[t.key]=e(t,n)}),o}(e,u(n))},t.has=c,t.isInFinalState=function e(t,n){return"compound"===n.type?s(n).some(function(e){return"final"===e.type&&c(t,e)}):"parallel"===n.type&&s(n).every(function(n){return e(t,n)})},t.isLeafNode=a,t.nextEvents=function(e){return r.__spreadArray([],r.__read(new Set(i.flatten(r.__spreadArray([],r.__read(e.map(function(e){return e.ownEvents})),!1)))),!1)}},66975:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createConcurrentStreamingServiceClient=void 0;let r=n(70015),i=n(64793);t.createConcurrentStreamingServiceClient=function(e,t){let{httpClient:n,errorReporter:a}=e,{concurrentStreamingServiceBaseUrl:o}=t,s=`${o}/is_terminated`;return{checkStreamStatus(e){return r.__awaiter(this,void 0,void 0,function*(){let t={searchParams:{entitlement_id:e.entitlementId,user_id:e.userId},timeout:7500};try{let e=yield n.get({options:t,uri:s}),r=(0,i.validateTerminationServiceResponse)(e);if(r.isOk()){if(r.value.terminated)return{reason:r.value.termination_reason,status:"terminated"}}else a.sendNonUserImpactingError(r.error)}catch(e){a.sendNonUserImpactingError(e)}return{status:"not-terminated"}})}}}},66976:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlayerContext=void 0,t.PlayerContext=(0,n(53239).createContext)({})},66983:(e,t,n)=>{"use strict";n.d(t,{S8:()=>o,cd:()=>function e(t,n=3,r=102400){let i=o(t,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?e(t,n-1,r):i}});var r=n(48641),i=n(78066),a=n(3040);function o(e,t=100,s=Infinity){try{return function e(t,o,s=Infinity,l=Infinity,u=function(){let e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){let[c,d]=u;if(null==o||["number","boolean","string"].includes(typeof o)&&!(0,r.yr)(o))return o;let p=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(void 0!==n.g&&t===n.g)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if((0,r.mE)(t))return"[SyntheticEvent]";if("number"==typeof t&&t!=t)return"[NaN]";if("function"==typeof t)return`[Function: ${(0,a.qQ)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let i=function(e){let t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);if(/^HTML(\w*)Element$/.test(i))return`[HTMLElement: ${i}]`;return`[object ${i}]`}catch(e){return`**non-serializable** (${e})`}}(t,o);if(!p.startsWith("[object "))return p;if(o.__sentry_skip_normalization__)return o;let f="number"==typeof o.__sentry_override_normalization_depth__?o.__sentry_override_normalization_depth__:s;if(0===f)return p.replace("object ","");if(c(o))return"[Circular ~]";
766if(o&&"function"==typeof o.toJSON)try{let t=o.toJSON();return e("",t,f-1,l,u)}catch(e){}let h=Array.isArray(o)?[]:{},m=0,g=(0,i.W4)(o);for(let t in g){if(!Object.prototype.hasOwnProperty.call(g,t))continue;if(m>=l){h[t]="[MaxProperties ~]";break}let n=g[t];h[t]=e(t,n,f-1,l,u),m++}return d(o),h}("",e,t,s)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}},67109:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BREAK:()=>N,BreakingChangeType:()=>o,DEFAULT_DEPRECATION_REASON:()=>ts,DangerousChangeType:()=>s,DirectiveLocation:()=>e1.H,ExecutableDefinitionsRule:()=>t0,FieldsOnCorrectTypeRule:()=>t1,FragmentsOnCompositeTypesRule:()=>t2,GRAPHQL_MAX_INT:()=>e2,GRAPHQL_MIN_INT:()=>e5,GraphQLBoolean:()=>e6,GraphQLDeprecatedDirective:()=>tl,GraphQLDirective:()=>ti,GraphQLEnumType:()=>eH,GraphQLError:()=>p.eO,GraphQLFloat:()=>e9,GraphQLID:()=>e7,GraphQLIncludeDirective:()=>ta,GraphQLInputObjectType:()=>eX,GraphQLInt:()=>e3,GraphQLInterfaceType:()=>ez,GraphQLList:()=>ek,GraphQLNonNull:()=>eA,GraphQLObjectType:()=>eM,GraphQLScalarType:()=>ej,GraphQLSchema:()=>tR,GraphQLSkipDirective:()=>to,GraphQLSpecifiedByDirective:()=>tu,GraphQLString:()=>e4,GraphQLUnionType:()=>eW,Kind:()=>C.b,KnownArgumentNamesRule:()=>t5,KnownDirectivesRule:()=>t9,KnownFragmentNamesRule:()=>t4,KnownTypeNamesRule:()=>t6,Lexer:()=>rk.J,Location:()=>f.aZ,LoneAnonymousOperationRule:()=>t8,LoneSchemaDefinitionRule:()=>ne,NoDeprecatedCustomRule:()=>rI,NoFragmentCyclesRule:()=>nt,NoSchemaIntrospectionCustomRule:()=>rO,NoUndefinedVariablesRule:()=>nn,NoUnusedFragmentsRule:()=>nr,NoUnusedVariablesRule:()=>ni,OperationTypeNode:()=>f.cE,OverlappingFieldsCanBeMergedRule:()=>no,PossibleFragmentSpreadsRule:()=>nh,PossibleTypeExtensionsRule:()=>nm,ProvidedRequiredArgumentsRule:()=>ny,ScalarLeafsRule:()=>n_,SchemaMetaFieldDef:()=>tA,SingleFieldSubscriptionsRule:()=>nM,Source:()=>r_.k,Token:()=>f.ou,TokenKind:()=>rA.Y,TypeInfo:()=>tG,TypeKind:()=>a,TypeMetaFieldDef:()=>tT,TypeNameMetaFieldDef:()=>tx,UniqueArgumentDefinitionNamesRule:()=>nF,UniqueArgumentNamesRule:()=>nU,UniqueDirectiveNamesRule:()=>nV,UniqueDirectivesPerLocationRule:()=>nB,UniqueEnumValueNamesRule:()=>nG,UniqueFieldDefinitionNamesRule:()=>nY,UniqueFragmentNamesRule:()=>nz,UniqueInputFieldNamesRule:()=>nW,UniqueOperationNamesRule:()=>nZ,UniqueOperationTypesRule:()=>nH,UniqueTypeNamesRule:()=>nK,UniqueVariableNamesRule:()=>nX,ValidationContext:()=>n3,ValuesOfCorrectTypeRule:()=>n$,VariablesAreInputTypesRule:()=>nq,VariablesInAllowedPositionRule:()=>nQ,__Directive:()=>ty,__DirectiveLocation:()=>tv,__EnumValue:()=>tE,__Field:()=>t_,__InputValue:()=>tS,__Schema:()=>tg,__Type:()=>tb,__TypeKind:()=>tk,assertAbstractType:()=>eE,assertCompositeType:()=>e_,assertDirective:()=>tr,assertEnumType:()=>eo,assertEnumValueName:()=>K,assertInputObjectType:()=>el,assertInputType:()=>eh,assertInterfaceType:()=>en,assertLeafType:()=>ev,assertListType:()=>ec,assertName:()=>H,assertNamedType:()=>eR,assertNonNullType:()=>ep,assertNullableType:()=>eC,assertObjectType:()=>ee,assertOutputType:()=>eg,assertScalarType:()=>q,assertSchema:()=>tO,assertType:()=>$,assertUnionType:()=>ei,assertValidName:()=>ie,assertValidSchema:()=>tL,assertWrappingType:()=>ex,astFromValue:()=>th,buildASTSchema:()=>rG,buildClientSchema:()=>rM,buildSchema:()=>rY,coerceInputValue:()=>nA,concatAST:()=>r4,createSourceEventStream:()=>rw,defaultFieldResolver:()=>rm,defaultTypeResolver:()=>rh,doTypesOverlap:()=>e0,execute:()=>rt,executeSync:()=>rn,extendSchema:()=>rD,findBreakingChanges:()=>ir,findDangerousChanges:()=>ii,formatError:()=>p.Wk,getArgumentValues:()=>nI,getDirectiveValues:()=>nO,getEnterLeaveForKind:()=>M,getIntrospectionQuery:()=>rP,getLocation:()=>rS.g,getNamedType:()=>eP,getNullableType:()=>eI,getOperationAST:()=>rN,getOperationRootType:()=>rL,getVariableValues:()=>nC,getVisitFn:()=>D,graphql:()=>ry,graphqlSync:()=>rv,introspectionFromSchema:()=>rj,introspectionTypes:()=>tw,isAbstractType:()=>eS,isCompositeType:()=>eb,isConstValueNode:()=>function e(t){return tK(t)&&(t.kind===C.b.LIST?t.values.some(e):t.kind===C.b.OBJECT?t.fields.some(t=>e(t.value)):t.kind!==C.b.VARIABLE)},isDefinitionNode:()=>tW,isDirective:()=>tn,isEnumType:()=>ea,isEqualType:()=>eq,isExecutableDefinitionNode:()=>tZ,isInputObjectType:()=>es,isInputType:()=>ef,isInterfaceType:()=>et,isIntrospectionType:()=>tC,isLeafType:()=>ey,isListType:()=>eu,isNamedType:()=>eO,isNonNullType:()=>ed,isNullableType:()=>ew,isObjectType:()=>Q,isOutputType:()=>em,isRequiredArgument:()=>eY,isRequiredInputField:()=>eJ,isScalarType:()=>J,isSchema:()=>tI,isSelectionNode:()=>tH,isSpecifiedDirective:()=>td,isSpecifiedScalarType:()=>te,isType:()=>X,isTypeDefinitionNode:()=>tJ,isTypeExtensionNode:()=>tQ,isTypeNode:()=>tX,isTypeSubTypeOf:()=>eQ,isTypeSystemDefinitionNode:()=>t$,isTypeSystemExtensionNode:()=>tq,isUnionType:()=>er,isValidNameError:()=>it,isValueNode:()=>tK,isWrappingType:()=>eT,lexicographicSortSchema:()=>rz,locatedError:()=>n8,parse:()=>c.qg,parseConstValue:()=>c.u8,parseType:()=>c.Mb,parseValue:()=>c.$x,print:()=>F,printError:()=>p.yJ,printIntrospectionSchema:()=>rX,printLocation:()=>rE.V,printSchema:()=>rK,printSourceLocation:()=>rE.C,printType:()=>rq,resolveObjMapThunk:()=>eL,resolveReadonlyArrayThunk:()=>eN,responsePathAsArray:()=>nk,separateOperations:()=>r6,specifiedDirectives:()=>tc,specifiedRules:()=>n0,specifiedScalarTypes:()=>e8,stripIgnoredCharacters:()=>r8,subscribe:()=>rx,syntaxError:()=>rR.I,typeFromAST:()=>tB,validate:()=>n9,validateSchema:()=>tN,valueFromAST:()=>nx,valueFromASTUntyped:()=>
766W,version:()=>r,versionInfo:()=>i,visit:()=>L,visitInParallel:()=>j,visitWithTypeInfo:()=>tz});let r="16.8.1",i=Object.freeze({major:16,minor:8,patch:1,preReleaseTag:null});var a,o,s,l=n(63851);function u(e){return"function"==typeof(null==e?void 0:e.then)}var c=n(23957),d=n(95543),p=n(39599),f=n(35178);function h(e,t){let[n,r]=t?[e,t]:[void 0,e],i=" Did you mean ";n&&(i+=n+" ");let a=r.map(e=>`"${e}"`);switch(a.length){case 0:return"";case 1:return i+a[0]+"?";case 2:return i+a[0]+" or "+a[1]+"?"}let o=a.slice(0,5),s=o.pop();return i+o.join(", ")+", or "+s+"?"}function m(e){return e}var g=n(77064),y=n(12242);function v(e,t){let n=Object.create(null);for(let r of e)n[t(r)]=r;return n}function b(e,t,n){let r=Object.create(null);for(let i of e)r[t(i)]=n(i);return r}function _(e,t){let n=Object.create(null);for(let r of Object.keys(e))n[r]=t(e[r],r);return n}function S(e,t){let n=0,r=0;for(;n<e.length&&r<t.length;){let i=e.charCodeAt(n),a=t.charCodeAt(r);if(k(i)&&k(a)){let o=0;do++n,o=10*o+i-E,i=e.charCodeAt(n);while(k(i)&&o>0);let s=0;do++r,s=10*s+a-E,a=t.charCodeAt(r);while(k(a)&&s>0);if(o<s)return -1;if(o>s)return 1}else{if(i<a)return -1;if(i>a)return 1;++n,++r}}return e.length-t.length}let E=48;function k(e){return!isNaN(e)&&E<=e&&e<=57}function A(e,t){let n=Object.create(null),r=new T(e),i=Math.floor(.4*e.length)+1;for(let e of t){let t=r.measure(e,i);void 0!==t&&(n[e]=t)}return Object.keys(n).sort((e,t)=>{let r=n[e]-n[t];return 0!==r?r:S(e,t)})}class T{constructor(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=x(this._inputLowerCase),this._rows=[Array(e.length+1).fill(0),Array(e.length+1).fill(0),Array(e.length+1).fill(0)]}measure(e,t){if(this._input===e)return 0;let n=e.toLowerCase();if(this._inputLowerCase===n)return 1;let r=x(n),i=this._inputArray;if(r.length<i.length){let e=r;r=i,i=e}let a=r.length,o=i.length;if(a-o>t)return;let s=this._rows;for(let e=0;e<=o;e++)s[0][e]=e;for(let e=1;e<=a;e++){let n=s[(e-1)%3],a=s[e%3],l=a[0]=e;for(let t=1;t<=o;t++){let o=+(r[e-1]!==i[t-1]),u=Math.min(n[t]+1,a[t-1]+1,n[t-1]+o);e>1&&t>1&&r[e-1]===i[t-2]&&r[e-2]===i[t-1]&&(u=Math.min(u,s[(e-2)%3][t-2]+1)),u<l&&(l=u),a[t]=u}if(l>t)return}let l=s[a%3][o];return l<=t?l:void 0}}function x(e){let t=e.length,n=Array(t);for(let r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}function w(e){if(null==e)return Object.create(null);if(null===Object.getPrototypeOf(e))return e;let t=Object.create(null);for(let[n,r]of Object.entries(e))t[n]=r;return t}var C=n(26447),I=n(61610);let O=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function R(e){return P[e.charCodeAt(0)]}let P=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],N=Object.freeze({});function L(e,t,n=f.aD){let r,i,a,o=new Map;for(let e of Object.values(C.b))o.set(e,M(t,e));let s=Array.isArray(e),u=[e],c=-1,p=[],h=e,m=[],g=[];do{var y,v,b;let e,_=++c===u.length,S=_&&0!==p.length;if(_){if(i=0===g.length?void 0:m[m.length-1],h=a,a=g.pop(),S)if(s){h=h.slice();let e=0;for(let[t,n]of p){let r=t-e;null===n?(h.splice(r,1),e++):h[r]=n}}else for(let[e,t]of(h=Object.defineProperties({},Object.getOwnPropertyDescriptors(h)),p))h[e]=t;c=r.index,u=r.keys,p=r.edits,s=r.inArray,r=r.prev}else if(a){if(null==(h=a[i=s?c:u[c]]))continue;m.push(i)}if(!Array.isArray(h)){(0,f.Ll)(h)||(0,l.U)(!1,`Invalid AST Node: ${(0,d.N)(h)}.`);let n=_?null==(y=o.get(h.kind))?void 0:y.leave:null==(v=o.get(h.kind))?void 0:v.enter;if((e=null==n?void 0:n.call(t,h,i,a,m,g))===N)break;if(!1===e){if(!_){m.pop();continue}}else if(void 0!==e&&(p.push([i,e]),!_))if((0,f.Ll)(e))h=e;else{m.pop();continue}}void 0===e&&S&&p.push([i,h]),_?m.pop():(r={inArray:s,index:c,keys:u,edits:p,prev:r},u=(s=Array.isArray(h))?h:null!=(b=n[h.kind])?b:[],c=-1,p=[],a&&g.push(a),a=h)}while(void 0!==r);return 0!==p.length?p[p.length-1][1]:e}function j(e){let t=Array(e.length).fill(null),n=Object.create(null);for(let r of Object.values(C.b)){let i=!1,a=Array(e.length).fill(void 0),o=Array(e.length).fill(void 0);for(let t=0;t<e.length;++t){let{enter:n,leave:s}=M(e[t],r);i||(i=null!=n||null!=s),a[t]=n,o[t]=s}if(!i)continue;let s={enter(...n){let r=n[0];for(let o=0;o<e.length;o++)if(null===t[o]){var i;let s=null==(i=a[o])?void 0:i.apply(e[o],n);if(!1===s)t[o]=r;else if(s===N)t[o]=N;else if(void 0!==s)return s}},leave(...n){let r=n[0];for(let a=0;a<e.length;a++)if(null===t[a]){var i;let r=null==(i=o[a])?void 0:i.apply(e[a],n);if(r===N)t[a]=N;else if(void 0!==r&&!1!==r)return r}else t[a]===r&&(t[a]=null)}};n[r]=s}return n}function M(e,t){let n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function D(e,t,n){let{enter:r,leave:i}=M(e,t);return n?i:r}function F(e){return L(e,U)}let U={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>V(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=G("(",V(e.variableDefinitions,", "),")"),n=V([e.o
766peration,V([e.name,t]),V(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+G(" = ",n)+G(" ",V(r," "))},SelectionSet:{leave:({selections:e})=>B(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){let a=G("",e,": ")+t,o=a+G("(",V(n,", "),")");return o.length>80&&(o=a+G("(\n",Y(V(n,"\n")),"\n)")),V([o,V(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+G(" ",V(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>V(["...",G("on ",e),V(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${G("(",V(n,", "),")")} on ${t} ${G("",V(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,I.yo)(e):`"${e.replace(O,R)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+V(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+V(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+G("(",V(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>G("",e,"\n")+V(["schema",V(t," "),B(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>G("",e,"\n")+V(["scalar",t,V(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>G("",e,"\n")+V(["type",t,G("implements ",V(n," & ")),V(r," "),B(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>G("",e,"\n")+t+(z(n)?G("(\n",Y(V(n,"\n")),"\n)"):G("(",V(n,", "),")"))+": "+r+G(" ",V(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>G("",e,"\n")+V([t+": "+n,G("= ",r),V(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>G("",e,"\n")+V(["interface",t,G("implements ",V(n," & ")),V(r," "),B(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>G("",e,"\n")+V(["union",t,V(n," "),G("= ",V(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>G("",e,"\n")+V(["enum",t,V(n," "),B(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>G("",e,"\n")+V([t,V(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>G("",e,"\n")+V(["input",t,V(n," "),B(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>G("",e,"\n")+"directive @"+t+(z(n)?G("(\n",Y(V(n,"\n")),"\n)"):G("(",V(n,", "),")"))+(r?" repeatable":"")+" on "+V(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>V(["extend schema",V(e," "),B(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>V(["extend scalar",e,V(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>V(["extend type",e,G("implements ",V(t," & ")),V(n," "),B(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>V(["extend interface",e,G("implements ",V(t," & ")),V(n," "),B(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>V(["extend union",e,V(t," "),G("= ",V(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>V(["extend enum",e,V(t," "),B(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>V(["extend input",e,V(t," "),B(n)]," ")}};function V(e,t=""){var n;return null!=(n=null==e?void 0:e.filter(e=>e).join(t))?n:""}function B(e){return G("{\n",Y(V(e,"\n")),"\n}")}function G(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function Y(e){return G(" ",e.replace(/\n/g,"\n "))}function z(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}function W(e,t){switch(e.kind){case C.b.NULL:return null;case C.b.INT:return parseInt(e.value,10);case C.b.FLOAT:return parseFloat(e.value);case C.b.STRING:case C.b.ENUM:case C.b.BOOLEAN:return e.value;case C.b.LIST:return e.values.map(e=>W(e,t));case C.b.OBJECT:return b(e.fields,e=>e.name.value,e=>W(e.value,t));case C.b.VARIABLE:return null==t?void 0:t[e.name.value]}}var Z=n(70459);function H(e){if(null!=e||(0,l.U)(!1,"Must provide name."),"string"==typeof e||(0,l.U)(!1,"Expected name to be a string."),0===e.length)throw new p.eO("Expected name to be a non-empty string.");for(let t=1;t<e.length;++t)if(!(0,Z.xr)(e.charCodeAt(t)))throw new p.eO(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!(0,Z.un)(e.charCodeAt(0)))throw new p.eO(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}function K(e){if("true"===e||"false"===e||"null"===e)throw new p.eO(`Enum values cannot be named: ${e}`);return H(e)}function X(e){return J(e)||Q(e)||et(e)||er(e)||ea(e)||es(e)||eu(e)||ed(e)}function $(e){if(!X(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL type.`);return e}function J(e){return(0,g.h)(e,ej)}function q(e){if(!J(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL Scalar type.`);return e}function Q(e){return(0,g.h)(e,eM)}function ee(e){if(!Q(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL Object type.`);return e}function et(e){return(0,g.h)(e,ez)}function en(e){if(!et(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL Interface type.`);return e}function er(e){return(0,g.h)(e,eW)}function ei(e){if(!er(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL Union type.`);return e}function ea(e){return(0,g.h)(e,eH)}function eo(e){if(!ea(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL Enum type.`);return e}function es(e){return(0,g.h)(e,eX)}function el(e){if(!es(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL Input Object type.`);return e}function eu(e){return(0,g.h)(e,ek)}function ec(e){if(!eu(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL List type.`);return e}function ed(e){return(0,g.h)(e,eA)}function ep(e){if(!ed(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL Non-Null type.`);return e}function ef(e){return J(e)||ea(e)||es(e)||eT(e)&&ef(e.ofType)}function eh(e){if(!ef(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL input type.`);return e}function em(e){return J(e)||Q(e)||et(e)||er(e)||ea(e)||eT(e)&&em(e.ofType)}function eg(e){if(!em(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL output type.`);return e}function ey(e){return J(e)||ea(e)}function ev(e){if(!ey(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL leaf type.`);return e}function eb(e){return Q(e)||et(e)||er(e)}function e_(e){if(!eb(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL composite type.`);return e}function eS(e){return et(e)||er(e)}function eE(e){if(!eS(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL abstract type.`);return e}class ek{constructor(e){X(e)||(0,l.U)(!1,`Expected ${(0,d.N)(e)} to be a GraphQL type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}class eA{constructor(e){ew(e)||(0,l.U)(!1,`Expected ${(0,d.N)(e)} to be a GraphQL nullable type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}}function eT(e){return eu(e)||ed(e)}function ex(e){if(!eT(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL wrapping type.`);return e}function ew(e){return X(e)&&!ed(e)}function eC(e){if(!ew(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL nullable type.`);return e}function eI(e){if(e)return ed(e)?e.ofType:e}function eO(e){return J(e)||Q(e)||et(e)||er(e)||ea(e)||es(e)}function eR(e){if(!eO(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL named type.`);return e}function eP(e){if(e){let t=e;for(;eT(t);)t=t.ofType;return t}}function eN(e){return"function"==typeof e?e():e}function eL(e){return"function"==typeof e?e():e}class ej{constructor(e){var t,n,r,i;let a=null!=(t=e.parseValue)?t:m;this.name=H(e.name),this.description=e.description,this.specifiedByURL=e.specifiedByURL,this.serialize=null!=(n=e.serialize)?n:m,this.parseValue=a,this.parseLiteral=null!=(r=e.parseLiteral)?r:(e,t)=>a(W(e,t)),this.extensions=w(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(i=e.extensionASTNodes)?i:[],null==e.specifiedByURL||"string"==typeof e.specifiedByURL||(0,l.U)(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${(0,d.N)(e.specifiedByURL)}.`),null==e.serialize||"function"==typeof e.serialize||(0,l.U)(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),e.parseLiteral&&("function"==typeof e.parseValue&&"function"==typeof e.parseLiteral||(0,l.U)(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class eM{constructor(e){var t;this.name=H(e.name),this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=w(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(t=e.extensionASTNodes)?t:[],this._fields=()=>eF(e),this._interfaces=()=>eD(e),null==e.isTypeOf||"function"==typeof e.isTypeOf||(0,l.U)(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${(0,d.N)(e.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}
766getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:eB(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function eD(e){var t;let n=eN(null!=(t=e.interfaces)?t:[]);return Array.isArray(n)||(0,l.U)(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}function eF(e){let t=eL(e.fields);return eV(t)||(0,l.U)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),_(t,(t,n)=>{var r;eV(t)||(0,l.U)(!1,`${e.name}.${n} field config must be an object.`),null==t.resolve||"function"==typeof t.resolve||(0,l.U)(!1,`${e.name}.${n} field resolver must be a function if provided, but got: ${(0,d.N)(t.resolve)}.`);let i=null!=(r=t.args)?r:{};return eV(i)||(0,l.U)(!1,`${e.name}.${n} args must be an object with argument names as keys.`),{name:H(n),description:t.description,type:t.type,args:eU(i),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:w(t.extensions),astNode:t.astNode}})}function eU(e){return Object.entries(e).map(([e,t])=>({name:H(e),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:w(t.extensions),astNode:t.astNode}))}function eV(e){return(0,y.Z)(e)&&!Array.isArray(e)}function eB(e){return _(e,e=>({description:e.description,type:e.type,args:eG(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function eG(e){return b(e,e=>e.name,e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function eY(e){return ed(e.type)&&void 0===e.defaultValue}class ez{constructor(e){var t;this.name=H(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=w(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(t=e.extensionASTNodes)?t:[],this._fields=eF.bind(void 0,e),this._interfaces=eD.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,l.U)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,d.N)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:eB(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class eW{constructor(e){var t;this.name=H(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=w(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(t=e.extensionASTNodes)?t:[],this._types=eZ.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,l.U)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,d.N)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return"function"==typeof this._types&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function eZ(e){let t=eN(e.types);return Array.isArray(t)||(0,l.U)(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}class eH{constructor(e){var t;this.name=H(e.name),this.description=e.description,this.extensions=w(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(t=e.extensionASTNodes)?t:[],this._values=function(e,t){return eV(t)||(0,l.U)(!1,`${e} values must be an object with value names as keys.`),Object.entries(t).map(([t,n])=>(eV(n)||(0,l.U)(!1,`${e}.${t} must refer to an object with a "value" key representing an internal value but got: ${(0,d.N)(n)}.`),{name:K(t),description:n.description,value:void 0!==n.value?n.value:t,deprecationReason:n.deprecationReason,extensions:w(n.extensions),astNode:n.astNode}))}(this.name,e.values),this._valueLookup=new Map(this._values.map(e=>[e.value,e])),this._nameLookup=v(this._values,e=>e.name)}
766get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return this._values}getValue(e){return this._nameLookup[e]}serialize(e){let t=this._valueLookup.get(e);if(void 0===t)throw new p.eO(`Enum "${this.name}" cannot represent value: ${(0,d.N)(e)}`);return t.name}parseValue(e){if("string"!=typeof e){let t=(0,d.N)(e);throw new p.eO(`Enum "${this.name}" cannot represent non-string value: ${t}.`+eK(this,t))}let t=this.getValue(e);if(null==t)throw new p.eO(`Value "${e}" does not exist in "${this.name}" enum.`+eK(this,e));return t.value}parseLiteral(e,t){if(e.kind!==C.b.ENUM){let t=F(e);throw new p.eO(`Enum "${this.name}" cannot represent non-enum value: ${t}.`+eK(this,t),{nodes:e})}let n=this.getValue(e.value);if(null==n){let t=F(e);throw new p.eO(`Value "${t}" does not exist in "${this.name}" enum.`+eK(this,t),{nodes:e})}return n.value}toConfig(){let e=b(this.getValues(),e=>e.name,e=>({description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}));return{name:this.name,description:this.description,values:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function eK(e,t){return h("the enum value",A(t,e.getValues().map(e=>e.name)))}class eX{constructor(e){var t;this.name=H(e.name),this.description=e.description,this.extensions=w(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(t=e.extensionASTNodes)?t:[],this._fields=e$.bind(void 0,e)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}toConfig(){let e=_(this.getFields(),e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}));return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function e$(e){let t=eL(e.fields);return eV(t)||(0,l.U)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),_(t,(t,n)=>("resolve"in t&&(0,l.U)(!1,`${e.name}.${n} field has a resolve property, but Input Types cannot define resolvers.`),{name:H(n),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:w(t.extensions),astNode:t.astNode}))}function eJ(e){return ed(e.type)&&void 0===e.defaultValue}function eq(e,t){return e===t||!!(ed(e)&&ed(t)||eu(e)&&eu(t))&&eq(e.ofType,t.ofType)}function eQ(e,t,n){return t===n||(ed(n)?!!ed(t)&&eQ(e,t.ofType,n.ofType):ed(t)?eQ(e,t.ofType,n):eu(n)?!!eu(t)&&eQ(e,t.ofType,n.ofType):!eu(t)&&eS(n)&&(et(t)||Q(t))&&e.isSubType(n,t))}function e0(e,t,n){return t===n||(eS(t)?eS(n)?e.getPossibleTypes(t).some(t=>e.isSubType(n,t)):e.isSubType(t,n):!!eS(n)&&e.isSubType(n,t))}var e1=n(95340);let e2=0x7fffffff,e5=-0x80000000,e3=new ej({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){let t=tt(e);if("boolean"==typeof t)return+!!t;let n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isInteger(n))throw new p.eO(`Int cannot represent non-integer value: ${(0,d.N)(t)}`);if(n>e2||n<e5)throw new p.eO("Int cannot represent non 32-bit signed integer value: "+(0,d.N)(t));return n},parseValue(e){if("number"!=typeof e||!Number.isInteger(e))throw new p.eO(`Int cannot represent non-integer value: ${(0,d.N)(e)}`);if(e>e2||e<e5)throw new p.eO(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==C.b.INT)throw new p.eO(`Int cannot represent non-integer value: ${F(e)}`,{nodes:e});let t=parseInt(e.value,10);if(t>e2||t<e5)throw new p.eO(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return t}}),e9=new ej({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize(e){let t=tt(e);if("boolean"==typeof t)return+!!t;let n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isFinite(n))throw new p.eO(`Float cannot represent non numeric value: ${(0,d.N)(t)}`);return n},parseValue(e){if("number"!=typeof e||!Number.isFinite(e))throw new p.eO(`Float cannot represent non numeric value: ${(0,d.N)(e)}`);return e},parseLiteral(e){if(e.kind!==C.b.FLOAT&&e.kind!==C.b.INT)throw new p.eO(`Float cannot represent non numeric value: ${F(e)}`,e);return parseFloat(e.value)}}),e4=new ej({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize(e){let t=tt(e);if("string"==typeof t)return t;if("boolean"==typeof t)return t?"true":"false";if("number"==typeof t&&Number.isFinite(t))return t.toString();throw new p.eO(`String cannot represent value: ${(0,d.N)(e)}`)},parseValue(e){if("string"!=typeof e)throw new p.eO(`String cannot represent a non string value: ${(0,d.N)(e)}`);return e},parseLiteral(e){if(e.kind!==C.b.STRING)throw new p.eO(`String cannot represent a non string value: ${F(e)}`,{nodes:e});return e.value}}),e6=new ej({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){let t=tt(e);if("boolean"==typeof t)return t;if(Number.isFinite(t))return 0!==t;throw new p.eO(`Boolean cannot represent a non boolean value: ${(0,d.N)(t)}`)},parseValue(e){if("boolean"!=typeof e)throw new p.eO(`Boolean cannot represent a non boolean value: ${(0,d.N)(e)}`);return e},parseLiteral(e){if(e.kind!==C.b.BOOLEAN)throw new p.eO(`Boolean cannot represent a non boolean value: ${F(e)}`,{nodes:e});return e.value}}),e7=new ej({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize(e){let t=tt(e);if("string"==typeof t)return t;if(Number.isInteger(t))return String(t);throw new p.eO(`ID cannot represent value: ${(0,d.N)(e)}`)},parseValue(e){if("string"==typeof e)return e;if("number"==typeof e&&Number.isInteger(e))return e.toString();throw new p.eO(`ID cannot represent value: ${(0,d.N)(e)}`)},parseLiteral(e){if(e.kind!==C.b.STRING&&e.kind!==C.b.INT)throw new p.eO("ID cannot represent a non-string and non-integer value: "+F(e),{nodes:e});return e.value}}),e8=Object.freeze([e4,e3,e9,e6,e7]);function te(e){return e8.some(({name:t})=>e.name===t)}function tt(e){if((0,y.Z)(e)){if("function"==typeof e.valueOf){let t=e.valueOf();if(!(0,y.Z)(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}function tn(e){return(0,g.h)(e,ti)}function tr(e){if(!tn(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL directive.`);return e}class ti{constructor(e){var t,n;this.name=H(e.name),this.description=e.description,this.locations=e.locations,this.isRepeatable=null!=(t=e.isRepeatable)&&t,this.extensions=w(e.extensions),this.astNode=e.astNode,Array.isArray(e.locations)||(0,l.U)(!1,`@${e.name} locations must be an Array.`);let r=null!=(n=e.args)?n:{};(0,y.Z)(r)&&!Array.isArray(r)||(0,l.U)(!1,`@${e.name} args must be an object with argument names as keys.`),this.args=eU(r)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:eG(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}let ta=new ti({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[e1.H.FIELD,e1.H.FRAGMENT_SPREAD,e1.H.INLINE_FRAGMENT],args:{if:{type:new eA(e6),description:"Included when true."}}}),to=new ti({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[e1.H.FIELD,e1.H.FRAGMENT_SPREAD,e1.H.INLINE_FRAGMENT],args:{if:{type:new eA(e6),description:"Skipped when true."}}}
766),ts="No longer supported",tl=new ti({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[e1.H.FIELD_DEFINITION,e1.H.ARGUMENT_DEFINITION,e1.H.INPUT_FIELD_DEFINITION,e1.H.ENUM_VALUE],args:{reason:{type:e4,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:ts}}}),tu=new ti({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[e1.H.SCALAR],args:{url:{type:new eA(e4),description:"The URL that specifies the behavior of this scalar."}}}),tc=Object.freeze([ta,to,tl,tu]);function td(e){return tc.some(({name:t})=>t===e.name)}var tp=n(45088);function tf(e){return"object"==typeof e&&"function"==typeof(null==e?void 0:e[Symbol.iterator])}function th(e,t){if(ed(t)){let n=th(e,t.ofType);return(null==n?void 0:n.kind)===C.b.NULL?null:n}if(null===e)return{kind:C.b.NULL};if(void 0===e)return null;if(eu(t)){let n=t.ofType;if(tf(e)){let t=[];for(let r of e){let e=th(r,n);null!=e&&t.push(e)}return{kind:C.b.LIST,values:t}}return th(e,n)}if(es(t)){if(!(0,y.Z)(e))return null;let n=[];for(let r of Object.values(t.getFields())){let t=th(e[r.name],r.type);t&&n.push({kind:C.b.OBJECT_FIELD,name:{kind:C.b.NAME,value:r.name},value:t})}return{kind:C.b.OBJECT,fields:n}}if(ey(t)){let n=t.serialize(e);if(null==n)return null;if("boolean"==typeof n)return{kind:C.b.BOOLEAN,value:n};if("number"==typeof n&&Number.isFinite(n)){let e=String(n);return tm.test(e)?{kind:C.b.INT,value:e}:{kind:C.b.FLOAT,value:e}}if("string"==typeof n)return ea(t)?{kind:C.b.ENUM,value:n}:t===e7&&tm.test(n)?{kind:C.b.INT,value:n}:{kind:C.b.STRING,value:n};throw TypeError(`Cannot convert value to AST: ${(0,d.N)(n)}.`)}(0,tp.V)(!1,"Unexpected input type: "+(0,d.N)(t))}let tm=/^-?(?:0|[1-9][0-9]*)$/,tg=new eM({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:e4,resolve:e=>e.description},types:{description:"A list of all types supported by this server.",type:new eA(new ek(new eA(tb))),resolve:e=>Object.values(e.getTypeMap())},queryType:{description:"The type that query operations will be rooted at.",type:new eA(tb),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:tb,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:tb,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new eA(new ek(new eA(ty))),resolve:e=>e.getDirectives()}})}),ty=new eM({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:()=>({name:{type:new eA(e4),resolve:e=>e.name},description:{type:e4,resolve:e=>e.description},isRepeatable:{type:new eA(e6),resolve:e=>e.isRepeatable},locations:{type:new eA(new ek(new eA(tv))),resolve:e=>e.locations},args:{type:new eA(new ek(new eA(tS))),args:{includeDeprecated:{type:e6,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)}})}),tv=new eH({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:e1.H.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:e1.H.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:e1.H.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:e1.H.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:e1.H.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:e1.H.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:e1.H.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:e1.H.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:e1.H.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:e1.H.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:e1.H.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:e1.H.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:e1.H.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:e1.H.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:e1.H.UNION,description:"Location adjacent to a union definition."},ENUM:{value:e1.H.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:e1.H.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:e1.H.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:e1.H.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),tb=new eM({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new eA(tk),resolve:e=>J(e)?a.SCALAR:Q(e)?a.OBJECT:et(e)?a.INTERFACE:er(e)?a.UNION:ea(e)?a.ENUM:es(e)?a.INPUT_OBJECT:eu(e)?a.LIST:ed(e)?a.NON_NULL:void(0,tp.V)(!1,`Unexpected type: "${(0,d.N)(e)}".`)},name:{type:e4,resolve:e=>"name"in e?e.name:void 0},description:{type:e4,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:e4,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new ek(new eA(t_)),args:{includeDeprecated:{type:e6,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(Q(e)||et(e)){let n=Object.values(e.getFields());return t?n:n.filter(e=>null==e.deprecationReason)}}},interfaces:{type:new ek(new eA(tb)),resolve(e){if(Q(e)||et(e))return e.getInterfaces()}},possibleTypes:{type:new ek(new eA(tb)),resolve(e,t,n,{schema:r}){if(eS(e))return r.getPossibleTypes(e)}},enumValues:{type:new ek(new eA(tE)),args:{includeDeprecated:{type:e6,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(ea(e)){let n=e.getValues();return t?n:n.filter(e=>null==e.deprecationReason)}}},inputFields:{type:new ek(new eA(tS)),args:{includeDeprecated:{type:e6,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(es(e)){let n=Object.values(e.getFields());return t?n:n.filter(e=>null==e.deprecationReason)}}},ofType:{type:tb,resolve:e=>
766"ofType"in e?e.ofType:void 0}})}),t_=new eM({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:()=>({name:{type:new eA(e4),resolve:e=>e.name},description:{type:e4,resolve:e=>e.description},args:{type:new eA(new ek(new eA(tS))),args:{includeDeprecated:{type:e6,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)},type:{type:new eA(tb),resolve:e=>e.type},isDeprecated:{type:new eA(e6),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:e4,resolve:e=>e.deprecationReason}})}),tS=new eM({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:()=>({name:{type:new eA(e4),resolve:e=>e.name},description:{type:e4,resolve:e=>e.description},type:{type:new eA(tb),resolve:e=>e.type},defaultValue:{type:e4,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){let{type:t,defaultValue:n}=e,r=th(n,t);return r?F(r):null}},isDeprecated:{type:new eA(e6),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:e4,resolve:e=>e.deprecationReason}})}),tE=new eM({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:()=>({name:{type:new eA(e4),resolve:e=>e.name},description:{type:e4,resolve:e=>e.description},isDeprecated:{type:new eA(e6),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:e4,resolve:e=>e.deprecationReason}})});!function(e){e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.INPUT_OBJECT="INPUT_OBJECT",e.LIST="LIST",e.NON_NULL="NON_NULL"}(a||(a={}));let tk=new eH({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:a.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:a.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:a.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:a.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:a.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:a.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:a.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:a.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),tA={name:"__schema",type:new eA(tg),description:"Access the current type schema of this server.",args:[],resolve:(e,t,n,{schema:r})=>r,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},tT={name:"__type",type:tb,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new eA(e4),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(e,{name:t},n,{schema:r})=>r.getType(t),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},tx={name:"__typename",type:new eA(e4),description:"The name of the current Object type at runtime.",args:[],resolve:(e,t,n,{parentType:r})=>r.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},tw=Object.freeze([tg,ty,tv,tb,t_,tS,tE,tk]);function tC(e){return tw.some(({name:t})=>e.name===t)}function tI(e){return(0,g.h)(e,tR)}function tO(e){if(!tI(e))throw Error(`Expected ${(0,d.N)(e)} to be a GraphQL schema.`);return e}class tR{constructor(e){var t,n;this.__validationErrors=!0===e.assumeValid?[]:void 0,(0,y.Z)(e)||(0,l.U)(!1,"Must provide configuration object."),!e.types||Array.isArray(e.types)||(0,l.U)(!1,`"types" must be Array if provided but got: ${(0,d.N)(e.types)}
766.`),!e.directives||Array.isArray(e.directives)||(0,l.U)(!1,`"directives" must be Array if provided but got: ${(0,d.N)(e.directives)}.`),this.description=e.description,this.extensions=w(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!=(t=e.extensionASTNodes)?t:[],this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!=(n=e.directives)?n:tc;let r=new Set(e.types);if(null!=e.types)for(let t of e.types)r.delete(t),tP(t,r);for(let e of(null!=this._queryType&&tP(this._queryType,r),null!=this._mutationType&&tP(this._mutationType,r),null!=this._subscriptionType&&tP(this._subscriptionType,r),this._directives))if(tn(e))for(let t of e.args)tP(t.type,r);for(let e of(tP(tg,r),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null),r)){if(null==e)continue;let t=e.name;if(t||(0,l.U)(!1,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[t])throw Error(`Schema must contain uniquely named types but contains multiple types named "${t}".`);if(this._typeMap[t]=e,et(e)){for(let t of e.getInterfaces())if(et(t)){let n=this._implementationsMap[t.name];void 0===n&&(n=this._implementationsMap[t.name]={objects:[],interfaces:[]}),n.interfaces.push(e)}}else if(Q(e)){for(let t of e.getInterfaces())if(et(t)){let n=this._implementationsMap[t.name];void 0===n&&(n=this._implementationsMap[t.name]={objects:[],interfaces:[]}),n.objects.push(e)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(e){switch(e){case f.cE.QUERY:return this.getQueryType();case f.cE.MUTATION:return this.getMutationType();case f.cE.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(e){return this.getTypeMap()[e]}getPossibleTypes(e){return er(e)?e.getTypes():this.getImplementations(e).objects}getImplementations(e){let t=this._implementationsMap[e.name];return null!=t?t:{objects:[],interfaces:[]}}isSubType(e,t){let n=this._subTypeMap[e.name];if(void 0===n){if(n=Object.create(null),er(e))for(let t of e.getTypes())n[t.name]=!0;else{let t=this.getImplementations(e);for(let e of t.objects)n[e.name]=!0;for(let e of t.interfaces)n[e.name]=!0}this._subTypeMap[e.name]=n}return void 0!==n[t.name]}getDirectives(){return this._directives}getDirective(e){return this.getDirectives().find(t=>t.name===e)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:void 0!==this.__validationErrors}}}function tP(e,t){let n=eP(e);if(!t.has(n)){if(t.add(n),er(n))for(let e of n.getTypes())tP(e,t);else if(Q(n)||et(n)){for(let e of n.getInterfaces())tP(e,t);for(let e of Object.values(n.getFields()))for(let n of(tP(e.type,t),e.args))tP(n.type,t)}else if(es(n))for(let e of Object.values(n.getFields()))tP(e.type,t)}return t}function tN(e){if(tO(e),e.__validationErrors)return e.__validationErrors;let t=new tj(e);(function(e){var t,n,r;let i=e.schema,a=i.getQueryType();a?Q(a)||e.reportError(`Query root type must be Object type, it cannot be ${(0,d.N)(a)}.`,null!=(t=tM(i,f.cE.QUERY))?t:a.astNode):e.reportError("Query root type must be provided.",i.astNode);let o=i.getMutationType();o&&!Q(o)&&e.reportError(`Mutation root type must be Object type if provided, it cannot be ${(0,d.N)(o)}.`,null!=(n=tM(i,f.cE.MUTATION))?n:o.astNode);let s=i.getSubscriptionType();s&&!Q(s)&&e.reportError(`Subscription root type must be Object type if provided, it cannot be ${(0,d.N)(s)}.`,null!=(r=tM(i,f.cE.SUBSCRIPTION))?r:s.astNode)})(t),function(e){for(let n of e.schema.getDirectives()){if(!tn(n)){e.reportError(`Expected directive but got: ${(0,d.N)(n)}.`,null==n?void 0:n.astNode);continue}for(let r of(tD(e,n),n.args))if(tD(e,r),ef(r.type)||e.reportError(`The type of @${n.name}(${r.name}:) must be Input Type but got: ${(0,d.N)(r.type)}.`,r.astNode),eY(r)&&null!=r.deprecationReason){var t;e.reportError(`Required argument @${n.name}(${r.name}:) cannot be deprecated.`,[tV(r.astNode),null==(t=r.astNode)?void 0:t.type])}}}(t),function(e){let t=function(e){let t=Object.create(null),n=[],r=Object.create(null);return function i(a){if(!t[a.name]){for(let o of(t[a.name]=!0,r[a.name]=n.length,Object.values(a.getFields())))if(ed(o.type)&&es(o.type.ofType)){let t=
766o.type.ofType,a=r[t.name];if(n.push(o),void 0===a)i(t);else{let r=n.slice(a),i=r.map(e=>e.name).join(".");e.reportError(`Cannot reference Input Object "${t.name}" within itself through a series of non-null fields: "${i}".`,r.map(e=>e.astNode))}n.pop()}r[a.name]=void 0}}}(e);for(let n of Object.values(e.schema.getTypeMap())){if(!eO(n)){e.reportError(`Expected GraphQL named type but got: ${(0,d.N)(n)}.`,n.astNode);continue}tC(n)||tD(e,n),Q(n)||et(n)?(function(e,t){let n=Object.values(t.getFields());for(let o of(0===n.length&&e.reportError(`Type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]),n)){var r,i,a;for(let n of(tD(e,o),em(o.type)||e.reportError(`The type of ${t.name}.${o.name} must be Output Type but got: ${(0,d.N)(o.type)}.`,null==(r=o.astNode)?void 0:r.type),o.args)){let r=n.name;tD(e,n),ef(n.type)||e.reportError(`The type of ${t.name}.${o.name}(${r}:) must be Input Type but got: ${(0,d.N)(n.type)}.`,null==(i=n.astNode)?void 0:i.type),eY(n)&&null!=n.deprecationReason&&e.reportError(`Required argument ${t.name}.${o.name}(${r}:) cannot be deprecated.`,[tV(n.astNode),null==(a=n.astNode)?void 0:a.type])}}}(e,n),function(e,t){let n=Object.create(null);for(let r of t.getInterfaces()){if(!et(r)){e.reportError(`Type ${(0,d.N)(t)} must only implement Interface types, it cannot implement ${(0,d.N)(r)}.`,tF(t,r));continue}if(t===r){e.reportError(`Type ${t.name} cannot implement itself because it would create a circular reference.`,tF(t,r));continue}if(n[r.name]){e.reportError(`Type ${t.name} can only implement ${r.name} once.`,tF(t,r));continue}n[r.name]=!0,function(e,t,n){let r=t.getInterfaces();for(let i of n.getInterfaces())r.includes(i)||e.reportError(i===t?`Type ${t.name} cannot implement ${n.name} because it would create a circular reference.`:`Type ${t.name} must implement ${i.name} because it is implemented by ${n.name}.`,[...tF(n,i),...tF(t,n)])}(e,t,r),function(e,t,n){let r=t.getFields();for(let l of Object.values(n.getFields())){var i,a,o,s;let u=l.name,c=r[u];if(!c){e.reportError(`Interface field ${n.name}.${u} expected but ${t.name} does not provide it.`,[l.astNode,t.astNode,...t.extensionASTNodes]);continue}for(let r of(eQ(e.schema,c.type,l.type)||e.reportError(`Interface field ${n.name}.${u} expects type ${(0,d.N)(l.type)} but ${t.name}.${u} is type ${(0,d.N)(c.type)}.`,[null==(i=l.astNode)?void 0:i.type,null==(a=c.astNode)?void 0:a.type]),l.args)){let i=r.name,a=c.args.find(e=>e.name===i);if(!a){e.reportError(`Interface field argument ${n.name}.${u}(${i}:) expected but ${t.name}.${u} does not provide it.`,[r.astNode,c.astNode]);continue}eq(r.type,a.type)||e.reportError(`Interface field argument ${n.name}.${u}(${i}:) expects type ${(0,d.N)(r.type)} but ${t.name}.${u}(${i}:) is type ${(0,d.N)(a.type)}.`,[null==(o=r.astNode)?void 0:o.type,null==(s=a.astNode)?void 0:s.type])}for(let r of c.args){let i=r.name;!l.args.find(e=>e.name===i)&&eY(r)&&e.reportError(`Object field ${t.name}.${u} includes required argument ${i} that is missing from the Interface field ${n.name}.${u}.`,[r.astNode,l.astNode])}}}(e,t,r)}}(e,n)):er(n)?function(e,t){let n=t.getTypes();0===n.length&&e.reportError(`Union type ${t.name} must define one or more member types.`,[t.astNode,...t.extensionASTNodes]);let r=Object.create(null);for(let i of n){if(r[i.name]){e.reportError(`Union type ${t.name} can only include type ${i.name} once.`,tU(t,i.name));continue}r[i.name]=!0,Q(i)||e.reportError(`Union type ${t.name} can only include Object types, it cannot include ${(0,d.N)(i)}.`,tU(t,String(i)))}}(e,n):ea(n)?function(e,t){let n=t.getValues();for(let r of(0===n.length&&e.reportError(`Enum type ${t.name} must define one or more values.`,[t.astNode,...t.extensionASTNodes]),n))tD(e,r)}(e,n):es(n)&&(function(e,t){let n=Object.values(t.getFields());for(let a of(0===n.length&&e.reportError(`Input Object type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]),n)){var r,i;tD(e,a),ef(a.type)||e.reportError(`The type of ${t.name}.${a.name} must be Input Type but got: ${(0,d.N)(a.type)}.`,null==(r=a.astNode)?void 0:r.type),eJ(a)&&null!=a.deprecationReason&&e.reportError(`Required input field ${t.name}.${a.name} cannot be deprecated.`,[tV(a.astNode),null==(i=a.astNode)?void 0:i.type])}}(e,n),t(n))}}(t);let n=t.getErrors();return e.__validationErrors=n,n}function tL(e){let t=tN(e);if(0!==t.length)throw Error(t.map(e=>e.message).join("\n\n"))}class tj{constructor(e){this._errors=[],this.schema=e}reportError(e,t){let n=Array.isArray(t)?t.filter(Boolean):t;this._errors.push(new p.eO(e,{nodes:n}))}getErrors(){return this._errors}}function tM(e,t){var n;return null==(n=[e.astNode,...e.extensionASTNodes].flatMap(e=>{var t;return null!=(t=null==e?void 0:e.operationTypes)?t:[]}).find(e=>e.operation===t))?void 0:n.type}function tD(e,t){t.name.startsWith("__")&&e.reportError(`Name "${t.name}" must not begin with "__", which is reserved by GraphQL introspection.`,t.astNode)}function tF(e,t){let{astNode:n,extensionASTNodes:r}=e;return(null!=n?[n,...r]:r).flatMap(e=>{var t;return null!=(t=e.interfaces)?t:[]}).filter(e=>e.name.value===t.name)}function tU(e,t){let{astNode:n,extensionASTNodes:r}=e;return(null!=n?[n,...r]:r).flatMap(e=>{var t;return null!=(t=e.types)?t:[]}).filter(e=>e.name.value===t)}function tV(e){var t;return null==e||null==(t=e.directives)?void 0:t.find(e=>e.name.value===tl.name)}function tB(e,t){switch(t.kind){case C.b.LIST_TYPE:{let n=tB(e,t.type);return n&&new ek(n)}case C.b.NON_NULL_TYPE:{let n=tB(e,t.type);return n&&new eA(n)}case C.b.NAMED_TYPE:return e.getType(t.name.value)}}class tG{constructor(e,t,n){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=null!=n?n:tY,t&&(ef(t)&&this._inputTypeStack.push(t),eb(t)&&this._parentTypeStack.push(t),em(t)&&this._typeStack.push(t))}get[Symbol.toStringTag](){return"TypeInfo"}
766getType(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]}getParentType(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]}getInputType(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]}getParentInputType(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]}getFieldDef(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]}getDefaultValue(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]}getDirective(){return this._directive}getArgument(){return this._argument}getEnumValue(){return this._enumValue}enter(e){let t=this._schema;switch(e.kind){case C.b.SELECTION_SET:{let e=eP(this.getType());this._parentTypeStack.push(eb(e)?e:void 0);break}case C.b.FIELD:{let n,r,i=this.getParentType();i&&(n=this._getFieldDef(t,i,e))&&(r=n.type),this._fieldDefStack.push(n),this._typeStack.push(em(r)?r:void 0);break}case C.b.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case C.b.OPERATION_DEFINITION:{let n=t.getRootType(e.operation);this._typeStack.push(Q(n)?n:void 0);break}case C.b.INLINE_FRAGMENT:case C.b.FRAGMENT_DEFINITION:{let n=e.typeCondition,r=n?tB(t,n):eP(this.getType());this._typeStack.push(em(r)?r:void 0);break}case C.b.VARIABLE_DEFINITION:{let n=tB(t,e.type);this._inputTypeStack.push(ef(n)?n:void 0);break}case C.b.ARGUMENT:{var n;let t,r,i=null!=(n=this.getDirective())?n:this.getFieldDef();i&&(t=i.args.find(t=>t.name===e.name.value))&&(r=t.type),this._argument=t,this._defaultValueStack.push(t?t.defaultValue:void 0),this._inputTypeStack.push(ef(r)?r:void 0);break}case C.b.LIST:{let e=eI(this.getInputType()),t=eu(e)?e.ofType:e;this._defaultValueStack.push(void 0),this._inputTypeStack.push(ef(t)?t:void 0);break}case C.b.OBJECT_FIELD:{let t,n,r=eP(this.getInputType());es(r)&&(n=r.getFields()[e.name.value])&&(t=n.type),this._defaultValueStack.push(n?n.defaultValue:void 0),this._inputTypeStack.push(ef(t)?t:void 0);break}case C.b.ENUM:{let t,n=eP(this.getInputType());ea(n)&&(t=n.getValue(e.value)),this._enumValue=t}}}leave(e){switch(e.kind){case C.b.SELECTION_SET:this._parentTypeStack.pop();break;case C.b.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case C.b.DIRECTIVE:this._directive=null;break;case C.b.OPERATION_DEFINITION:case C.b.INLINE_FRAGMENT:case C.b.FRAGMENT_DEFINITION:this._typeStack.pop();break;case C.b.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case C.b.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case C.b.LIST:case C.b.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case C.b.ENUM:this._enumValue=null}}}function tY(e,t,n){let r=n.name.value;return r===tA.name&&e.getQueryType()===t?tA:r===tT.name&&e.getQueryType()===t?tT:r===tx.name&&eb(t)?tx:Q(t)||et(t)?t.getFields()[r]:void 0}function tz(e,t){return{enter(...n){let r=n[0];e.enter(r);let i=M(t,r.kind).enter;if(i){let a=i.apply(t,n);return void 0!==a&&(e.leave(r),(0,f.Ll)(a)&&e.enter(a)),a}},leave(...n){let r,i=n[0],a=M(t,i.kind).leave;return a&&(r=a.apply(t,n)),e.leave(i),r}}}function tW(e){return tZ(e)||t$(e)||tq(e)}function tZ(e){return e.kind===C.b.OPERATION_DEFINITION||e.kind===C.b.FRAGMENT_DEFINITION}function tH(e){return e.kind===C.b.FIELD||e.kind===C.b.FRAGMENT_SPREAD||e.kind===C.b.INLINE_FRAGMENT}function tK(e){return e.kind===C.b.VARIABLE||e.kind===C.b.INT||e.kind===C.b.FLOAT||e.kind===C.b.STRING||e.kind===C.b.BOOLEAN||e.kind===C.b.NULL||e.kind===C.b.ENUM||e.kind===C.b.LIST||e.kind===C.b.OBJECT}function tX(e){return e.kind===C.b.NAMED_TYPE||e.kind===C.b.LIST_TYPE||e.kind===C.b.NON_NULL_TYPE}function t$(e){return e.kind===C.b.SCHEMA_DEFINITION||tJ(e)||e.kind===C.b.DIRECTIVE_DEFINITION}function tJ(e){return e.kind===C.b.SCALAR_TYPE_DEFINITION||e.kind===C.b.OBJECT_TYPE_DEFINITION||e.kind===C.b.INTERFACE_TYPE_DEFINITION||e.kind===C.b.UNION_TYPE_DEFINITION||e.kind===C.b.ENUM_TYPE_DEFINITION||e.kind===C.b.INPUT_OBJECT_TYPE_DEFINITION}function tq(e){return e.kind===C.b.SCHEMA_EXTENSION||tQ(e)}function tQ(e){return e.kind===C.b.SCALAR_TYPE_EXTENSION||e.kind===C.b.OBJECT_TYPE_EXTENSION||e.kind===C.b.INTERFACE_TYPE_EXTENSION||e.kind===C.b.UNION_TYPE_EXTENSION||e.kind===C.b.ENUM_TYPE_EXTENSION||e.kind===C.b.INPUT_OBJECT_TYPE_EXTENSION}function t0(e){return{Document(t){for(let n of t.definitions)if(!tZ(n)){let t=n.kind===C.b.SCHEMA_DEFINITION||n.kind===C.b.SCHEMA_EXTENSION?"schema":'"'+n.name.value+'"';e.reportError(new p.eO(`The ${t} definition is not executable.`,{nodes:n}))}return!1}}}function t1(e){return{Field(t){let n=e.getParentType();if(n&&!e.getFieldDef()){var r,i;let a=e.getSchema(),o=t.name.value,s=h("to use an inline fragment on",function(e,t,n){if(!eS(t))return[];let r=new Set,i=Object.create(null);for(let o of e.getPossibleTypes(t))if(o.getFields()[n])for(let e of(r.add(o),i[o.name]=1,o.getInterfaces())){var a;e.getFields()[n]&&(r.add(e),i[e.name]=(null!=(a=i[e.name])?a:0)+1)}return[...r].sort((t,n)=>{let r=i[n.name]-i[t.name];return 0!==r?r:et(t)&&e.isSubType(t,n)?-1:et(n)&&e.isSubType(n,t)?1:S(t.name,n.name)}).map(e=>e.name)}
766(a,n,o));""===s&&(s=h((r=n,i=o,Q(r)||et(r)?A(i,Object.keys(r.getFields())):[]))),e.reportError(new p.eO(`Cannot query field "${o}" on type "${n.name}".`+s,{nodes:t}))}}}}function t2(e){return{InlineFragment(t){let n=t.typeCondition;if(n){let t=tB(e.getSchema(),n);if(t&&!eb(t)){let t=F(n);e.reportError(new p.eO(`Fragment cannot condition on non composite type "${t}".`,{nodes:n}))}}},FragmentDefinition(t){let n=tB(e.getSchema(),t.typeCondition);if(n&&!eb(n)){let n=F(t.typeCondition);e.reportError(new p.eO(`Fragment "${t.name.value}" cannot condition on non composite type "${n}".`,{nodes:t.typeCondition}))}}}}function t5(e){return{...t3(e),Argument(t){let n=e.getArgument(),r=e.getFieldDef(),i=e.getParentType();if(!n&&r&&i){let n=t.name.value,a=A(n,r.args.map(e=>e.name));e.reportError(new p.eO(`Unknown argument "${n}" on field "${i.name}.${r.name}".`+h(a),{nodes:t}))}}}}function t3(e){let t=Object.create(null),n=e.getSchema();for(let e of n?n.getDirectives():tc)t[e.name]=e.args.map(e=>e.name);for(let n of e.getDocument().definitions)if(n.kind===C.b.DIRECTIVE_DEFINITION){var r;let e=null!=(r=n.arguments)?r:[];t[n.name.value]=e.map(e=>e.name.value)}return{Directive(n){let r=n.name.value,i=t[r];if(n.arguments&&i)for(let t of n.arguments){let n=t.name.value;if(!i.includes(n)){let a=A(n,i);e.reportError(new p.eO(`Unknown argument "${n}" on directive "@${r}".`+h(a),{nodes:t}))}}return!1}}}function t9(e){let t=Object.create(null),n=e.getSchema();for(let e of n?n.getDirectives():tc)t[e.name]=e.locations;for(let n of e.getDocument().definitions)n.kind===C.b.DIRECTIVE_DEFINITION&&(t[n.name.value]=n.locations.map(e=>e.value));return{Directive(n,r,i,a,o){let s=n.name.value,l=t[s];if(!l)return void e.reportError(new p.eO(`Unknown directive "@${s}".`,{nodes:n}));let u=function(e){let t=e[e.length-1];switch("kind"in t||(0,tp.V)(!1),t.kind){case C.b.OPERATION_DEFINITION:var n=t.operation;switch(n){case f.cE.QUERY:return e1.H.QUERY;case f.cE.MUTATION:return e1.H.MUTATION;case f.cE.SUBSCRIPTION:return e1.H.SUBSCRIPTION}return;case C.b.FIELD:return e1.H.FIELD;case C.b.FRAGMENT_SPREAD:return e1.H.FRAGMENT_SPREAD;case C.b.INLINE_FRAGMENT:return e1.H.INLINE_FRAGMENT;case C.b.FRAGMENT_DEFINITION:return e1.H.FRAGMENT_DEFINITION;case C.b.VARIABLE_DEFINITION:return e1.H.VARIABLE_DEFINITION;case C.b.SCHEMA_DEFINITION:case C.b.SCHEMA_EXTENSION:return e1.H.SCHEMA;case C.b.SCALAR_TYPE_DEFINITION:case C.b.SCALAR_TYPE_EXTENSION:return e1.H.SCALAR;case C.b.OBJECT_TYPE_DEFINITION:case C.b.OBJECT_TYPE_EXTENSION:return e1.H.OBJECT;case C.b.FIELD_DEFINITION:return e1.H.FIELD_DEFINITION;case C.b.INTERFACE_TYPE_DEFINITION:case C.b.INTERFACE_TYPE_EXTENSION:return e1.H.INTERFACE;case C.b.UNION_TYPE_DEFINITION:case C.b.UNION_TYPE_EXTENSION:return e1.H.UNION;case C.b.ENUM_TYPE_DEFINITION:case C.b.ENUM_TYPE_EXTENSION:return e1.H.ENUM;case C.b.ENUM_VALUE_DEFINITION:return e1.H.ENUM_VALUE;case C.b.INPUT_OBJECT_TYPE_DEFINITION:case C.b.INPUT_OBJECT_TYPE_EXTENSION:return e1.H.INPUT_OBJECT;case C.b.INPUT_VALUE_DEFINITION:{let t=e[e.length-3];return"kind"in t||(0,tp.V)(!1),t.kind===C.b.INPUT_OBJECT_TYPE_DEFINITION?e1.H.INPUT_FIELD_DEFINITION:e1.H.ARGUMENT_DEFINITION}default:(0,tp.V)(!1,"Unexpected kind: "+(0,d.N)(t.kind))}}(o);u&&!l.includes(u)&&e.reportError(new p.eO(`Directive "@${s}" may not be used on ${u}.`,{nodes:n}))}}}function t4(e){return{FragmentSpread(t){let n=t.name.value;e.getFragment(n)||e.reportError(new p.eO(`Unknown fragment "${n}".`,{nodes:t.name}))}}}function t6(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);for(let t of e.getDocument().definitions)tJ(t)&&(r[t.name.value]=!0);let i=[...Object.keys(n),...Object.keys(r)];return{NamedType(t,a,o,s,l){let u=t.name.value;if(!n[u]&&!r[u]){var c,d;let n=null!=(c=l[2])?c:o,r=null!=n&&"kind"in(d=n)&&(t$(d)||tq(d));if(r&&t7.includes(u))return;let a=A(u,r?t7.concat(i):i);e.reportError(new p.eO(`Unknown type "${u}".`+h(a),{nodes:t}))}}}}let t7=[...e8,...tw].map(e=>e.name);function t8(e){let t=0;return{Document(e){t=e.definitions.filter(e=>e.kind===C.b.OPERATION_DEFINITION).length},OperationDefinition(n){!n.name&&t>1&&e.reportError(new p.eO("This anonymous operation must be the only defined operation.",{nodes:n}))}}}function ne(e){var t,n,r;let i=e.getSchema(),a=null!=(t=null!=(n=null!=(r=null==i?void 0:i.astNode)?r:null==i?void 0:i.getQueryType())?n:null==i?void 0:i.getMutationType())?t:null==i?void 0:i.getSubscriptionType(),o=0;return{SchemaDefinition(t){if(a)return void e.reportError(new p.eO("Cannot define a new schema within a schema extension.",{nodes:t}));o>0&&e.reportError(new p.eO("Must provide only one schema definition.",{nodes:t})),++o}}}function nt(e){let t=Object.create(null),n=[],r=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition:i=>((function i(a){if(t[a.name.value])return;let o=a.name.value;t[o]=!0;let s=e.getFragmentSpreads(a.selectionSet);if(0!==s.length){for(let t of(r[o]=n.length,s)){let a=t.name.value,o=r[a];if(n.push(t),void 0===o){let t=e.getFragment(a);t&&i(t)}else{let t=n.slice(o),r=t.slice(0,-1).map(e=>'"'+e.name.value+'"').join(", ");e.reportError(new p.eO(`Cannot spread fragment "${a}" within itself`+(""!==r?` via ${r}.`:"."),{nodes:t}))}n.pop()}r[o]=void 0}})(i),!1)}}function nn(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){for(let{node:r}of e.getRecursiveVariableUsages(n)){let i=r.name.value;!0!==t[i]&&e.reportError(new p.eO(n.name?`Variable "$${i}" is not defined by operation "${n.name.value}".`:`Variable "$${i}" is not defined.`,{nodes:[r,n]}))}}},VariableDefinition(e){t[e.variable.name.value]=!0}}}function nr(e){let t=[],n=[];return{OperationDefinition:e=>(t.push(e),!1),FragmentDefinition:e=>(n.push(e),!1),Document:{leave(){let r=Object.create(null);for(let n of t)for(let t of e.getRecursivelyReferencedFragments(n))r[t.name.value]=!0;for(let t of n){let n=t.name.value;!0!==r[n]&&e.reportError(new p.eO(`Fragment "${n}" is never used.`,{nodes:t}))}}}}}function ni(e){let t=[];return{OperationDefinition:{enter(){t=[]},leave(n){let r=Object.create(null);for(let{node:t}of e.getRecursiveVariableUsages(n))r[t.name.value]=!0;for(let i of t){let t=i.variable.name.value;!0!==r[t]&&e.reportError(new p.eO(n.name?`Variable "$${t}" is never used in operation "${n.name.value}".`:`Variable "$${t}" is never used.`,{nodes:i}))}}},VariableDefinition(e){t.push(e)}}}function na(e){switch(e.kind){case C.b.OBJECT:return{...e,fields:e.fields.map(e=>({...e,value:na(e.value)})).sort((e,t)=>
766S(e.name.value,t.name.value))};case C.b.LIST:return{...e,values:e.values.map(na)};case C.b.INT:case C.b.FLOAT:case C.b.STRING:case C.b.BOOLEAN:case C.b.NULL:case C.b.ENUM:case C.b.VARIABLE:return e}}function no(e){let t=new nf,n=new Map;return{SelectionSet(r){for(let[[i,a],o,s]of function(e,t,n,r,i){let a=[],[o,s]=nd(e,t,r,i);if(function(e,t,n,r,i){for(let[a,o]of Object.entries(i))if(o.length>1)for(let i=0;i<o.length;i++)for(let s=i+1;s<o.length;s++){let l=nc(e,n,r,!1,a,o[i],o[s]);l&&t.push(l)}}(e,a,t,n,o),0!==s.length)for(let r=0;r<s.length;r++){ns(e,a,t,n,!1,o,s[r]);for(let i=r+1;i<s.length;i++)nl(e,a,t,n,!1,s[r],s[i])}return a}(e,n,t,e.getParentType(),r)){let t=function e(t){return Array.isArray(t)?t.map(([t,n])=>`subfields "${t}" conflict because `+e(n)).join(" and "):t}(a);e.reportError(new p.eO(`Fields "${i}" conflict because ${t}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:o.concat(s)}))}}}}function ns(e,t,n,r,i,a,o){let s=e.getFragment(o);if(!s)return;let[l,u]=np(e,n,s);if(a!==l)for(let s of(nu(e,t,n,r,i,a,l),u))r.has(s,o,i)||(r.add(s,o,i),ns(e,t,n,r,i,a,s))}function nl(e,t,n,r,i,a,o){if(a===o||r.has(a,o,i))return;r.add(a,o,i);let s=e.getFragment(a),l=e.getFragment(o);if(!s||!l)return;let[u,c]=np(e,n,s),[d,p]=np(e,n,l);for(let o of(nu(e,t,n,r,i,u,d),p))nl(e,t,n,r,i,a,o);for(let a of c)nl(e,t,n,r,i,a,o)}function nu(e,t,n,r,i,a,o){for(let[s,l]of Object.entries(a)){let a=o[s];if(a)for(let o of l)for(let l of a){let a=nc(e,n,r,i,s,o,l);a&&t.push(a)}}}function nc(e,t,n,r,i,a,o){let[s,l,u]=a,[c,p,f]=o,h=r||s!==c&&Q(s)&&Q(c);if(!h){let e=l.name.value,t=p.name.value;if(e!==t)return[[i,`"${e}" and "${t}" are different fields`],[l],[p]];if(!function(e,t){let n=e.arguments,r=t.arguments;if(void 0===n||0===n.length)return void 0===r||0===r.length;if(void 0===r||0===r.length||n.length!==r.length)return!1;let i=new Map(r.map(({name:e,value:t})=>[e.value,t]));return n.every(e=>{let t=e.value,n=i.get(e.name.value);return void 0!==n&&function(e){return F(na(e))}(t)===function(e){return F(na(e))}(n)})}(l,p))return[[i,"they have differing arguments"],[l],[p]]}let m=null==u?void 0:u.type,g=null==f?void 0:f.type;if(m&&g&&function e(t,n){return eu(t)?!eu(n)||e(t.ofType,n.ofType):!!eu(n)||(ed(t)?!ed(n)||e(t.ofType,n.ofType):!!ed(n)||!!(ey(t)||ey(n))&&t!==n)}(m,g))return[[i,`they return conflicting types "${(0,d.N)(m)}" and "${(0,d.N)(g)}"`],[l],[p]];let y=l.selectionSet,v=p.selectionSet;if(y&&v){var b=function(e,t,n,r,i,a,o,s){let l=[],[u,c]=nd(e,t,i,a),[d,p]=nd(e,t,o,s);for(let i of(nu(e,l,t,n,r,u,d),p))ns(e,l,t,n,r,u,i);for(let i of c)ns(e,l,t,n,r,d,i);for(let i of c)for(let a of p)nl(e,l,t,n,r,i,a);return l}(e,t,n,h,eP(m),y,eP(g),v),_=i,S=l,E=p;return b.length>0?[[_,b.map(([e])=>e)],[S,...b.map(([,e])=>e).flat()],[E,...b.map(([,,e])=>e).flat()]]:void 0}}function nd(e,t,n,r){let i=t.get(r);if(i)return i;let a=Object.create(null),o=Object.create(null);!function e(t,n,r,i,a){for(let o of r.selections)switch(o.kind){case C.b.FIELD:{let e,t=o.name.value;(Q(n)||et(n))&&(e=n.getFields()[t]);let r=o.alias?o.alias.value:t;i[r]||(i[r]=[]),i[r].push([n,o,e]);break}case C.b.FRAGMENT_SPREAD:a[o.name.value]=!0;break;case C.b.INLINE_FRAGMENT:{let r=o.typeCondition,s=r?tB(t.getSchema(),r):n;e(t,s,o.selectionSet,i,a)}}}(e,n,r,a,o);let s=[a,Object.keys(o)];return t.set(r,s),s}
766function np(e,t,n){let r=t.get(n.selectionSet);if(r)return r;let i=tB(e.getSchema(),n.typeCondition);return nd(e,t,i,n.selectionSet)}class nf{constructor(){this._data=new Map}has(e,t,n){var r;let[i,a]=e<t?[e,t]:[t,e],o=null==(r=this._data.get(i))?void 0:r.get(a);return void 0!==o&&(!!n||n===o)}add(e,t,n){let[r,i]=e<t?[e,t]:[t,e],a=this._data.get(r);void 0===a?this._data.set(r,new Map([[i,n]])):a.set(i,n)}}function nh(e){return{InlineFragment(t){let n=e.getType(),r=e.getParentType();if(eb(n)&&eb(r)&&!e0(e.getSchema(),n,r)){let i=(0,d.N)(r),a=(0,d.N)(n);e.reportError(new p.eO(`Fragment cannot be spread here as objects of type "${i}" can never be of type "${a}".`,{nodes:t}))}},FragmentSpread(t){let n=t.name.value,r=function(e,t){let n=e.getFragment(t);if(n){let t=tB(e.getSchema(),n.typeCondition);if(eb(t))return t}}(e,n),i=e.getParentType();if(r&&i&&!e0(e.getSchema(),r,i)){let a=(0,d.N)(i),o=(0,d.N)(r);e.reportError(new p.eO(`Fragment "${n}" cannot be spread here as objects of type "${a}" can never be of type "${o}".`,{nodes:t}))}}}}function nm(e){let t=e.getSchema(),n=Object.create(null);for(let t of e.getDocument().definitions)tJ(t)&&(n[t.name.value]=t);return{ScalarTypeExtension:r,ObjectTypeExtension:r,InterfaceTypeExtension:r,UnionTypeExtension:r,EnumTypeExtension:r,InputObjectTypeExtension:r};function r(r){var i;let a,o=r.name.value,s=n[o],l=null==t?void 0:t.getType(o);if(s?a=ng[s.kind]:l&&(a=J(i=l)?C.b.SCALAR_TYPE_EXTENSION:Q(i)?C.b.OBJECT_TYPE_EXTENSION:et(i)?C.b.INTERFACE_TYPE_EXTENSION:er(i)?C.b.UNION_TYPE_EXTENSION:ea(i)?C.b.ENUM_TYPE_EXTENSION:es(i)?C.b.INPUT_OBJECT_TYPE_EXTENSION:void(0,tp.V)(!1,"Unexpected type: "+(0,d.N)(i))),a){if(a!==r.kind){let t=function(e){switch(e){case C.b.SCALAR_TYPE_EXTENSION:return"scalar";case C.b.OBJECT_TYPE_EXTENSION:return"object";case C.b.INTERFACE_TYPE_EXTENSION:return"interface";case C.b.UNION_TYPE_EXTENSION:return"union";case C.b.ENUM_TYPE_EXTENSION:return"enum";case C.b.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:(0,tp.V)(!1,"Unexpected kind: "+(0,d.N)(e))}}(r.kind);e.reportError(new p.eO(`Cannot extend non-${t} type "${o}".`,{nodes:s?[s,r]:r}))}}else{let i=A(o,Object.keys({...n,...null==t?void 0:t.getTypeMap()}));e.reportError(new p.eO(`Cannot extend type "${o}" because it is not defined.`+h(i),{nodes:r.name}))}}}let ng={[C.b.SCALAR_TYPE_DEFINITION]:C.b.SCALAR_TYPE_EXTENSION,[C.b.OBJECT_TYPE_DEFINITION]:C.b.OBJECT_TYPE_EXTENSION,[C.b.INTERFACE_TYPE_DEFINITION]:C.b.INTERFACE_TYPE_EXTENSION,[C.b.UNION_TYPE_DEFINITION]:C.b.UNION_TYPE_EXTENSION,[C.b.ENUM_TYPE_DEFINITION]:C.b.ENUM_TYPE_EXTENSION,[C.b.INPUT_OBJECT_TYPE_DEFINITION]:C.b.INPUT_OBJECT_TYPE_EXTENSION};function ny(e){return{...nv(e),Field:{leave(t){var n;let r=e.getFieldDef();if(!r)return!1;let i=new Set(null==(n=t.arguments)?void 0:n.map(e=>e.name.value));for(let n of r.args)if(!i.has(n.name)&&eY(n)){let i=(0,d.N)(n.type);e.reportError(new p.eO(`Field "${r.name}" argument "${n.name}" of type "${i}" is required, but it was not provided.`,{nodes:t}))}}}}}function nv(e){var t,n;let r=Object.create(null),i=e.getSchema();for(let e of null!=(t=null==i?void 0:i.getDirectives())?t:tc)r[e.name]=v(e.args.filter(eY),e=>e.name);for(let t of e.getDocument().definitions)if(t.kind===C.b.DIRECTIVE_DEFINITION){let e=null!=(n=t.arguments)?n:[];r[t.name.value]=v(e.filter(nb),e=>e.name.value)}return{Directive:{leave(t){let n=t.name.value,i=r[n];if(i){var a;let r=new Set((null!=(a=t.arguments)?a:[]).map(e=>e.name.value));for(let[a,o]of Object.entries(i))if(!r.has(a)){let r=X(o.type)?(0,d.N)(o.type):F(o.type);e.reportError(new p.eO(`Directive "@${n}" argument "${a}" of type "${r}" is required, but it was not provided.`,{nodes:t}))}}}}}}function nb(e){return e.type.kind===C.b.NON_NULL_TYPE&&null==e.defaultValue}function n_(e){return{Field(t){let n=e.getType(),r=t.selectionSet;if(n){if(ey(eP(n))){if(r){let i=t.name.value,a=(0,d.N)(n);e.reportError(new p.eO(`Field "${i}" must not have a selection since type "${a}" has no subfields.`,{nodes:r}))}}else if(!r){let r=t.name.value,i=(0,d.N)(n);e.reportError(new p.eO(`Field "${r}" of type "${i}" must have a selection of subfields. Did you mean "${r} { ... }"?`,{nodes:t}))}}}}}function nS(e){return e.map(e=>"number"==typeof e?"["+e.toString()+"]":"."+e).join("")}function nE(e,t,n){return{prev:e,key:t,typename:n}}function nk(e){let t=[],n=e;for(;n;)t.push(n.key),n=n.prev;return t.reverse()}function nA(e,t,n=nT){return function e(t,n,r,i){if(ed(n))return null!=t?e(t,n.ofType,r,i):void r(nk(i),t,new p.eO(`Expected non-nullable type "${(0,d.N)(n)}" not to be null.`));if(null==t)return null;if(eu(n)){let a=n.ofType;return tf(t)?Array.from(t,(t,n)=>e(t,a,r,nE(i,n,void 0))):[e(t,a,r,i)]}if(es(n)){if(!(0,y.Z)(t))return void r(nk(i),t,new p.eO(`Expected type "${n.name}" to be an object.`));let a={},o=n.getFields();for(let s of Object.values(o)){let o=t[s.name];if(void 0===o){if(void 0!==s.defaultValue)a[s.name]=s.defaultValue;else if(ed(s.type)){let e=(0,d.N)(s.type);r(nk(i),t,new p.eO(`Field "${s.name}" of required type "${e}" was not provided.`))}continue}a[s.name]=e(o,s.type,r,nE(i,s.name,n.name))}for(let e of Object.keys(t))if(!o[e]){let a=A(e,Object.keys(n.getFields()));r(nk(i),t,new p.eO(`Field "${e}" is not defined by type "${n.name}".`+h(a)))}return a}if(ey(n)){let e;try{e=n.parseValue(t)}catch(e){e instanceof p.eO?r(nk(i),t,e):r(nk(i),t,new p.eO(`Expected type "${n.name}". `+e.message,{originalError:e}));return}return void 0===e&&r(nk(i),t,new p.eO(`Expected type "${n.name}".`)),e}(0,tp.V)(!1,"Unexpected input type: "+(0,d.N)(n))}(e,t,n,void 0)}function nT(e,t,n){let r="Invalid value "+(0,d.N)(t);throw e.length>0&&(r+=` at "value${nS(e)}"`),n.message=r+": "+n.message,n}function nx(e,t,n){if(e){if(e.kind===C.b.VARIABLE){let r=e.name.value;if(null==n||void 0===n[r])return;let i=n[r];if(null===i&&ed(t))return;return i}if(ed(t)){if(e.kind===C.b.NULL)return;return nx(e,t.ofType,n)}if(e.kind===C.b.NULL)return null;if(eu(t)){let r=t.ofType;if(e.kind===C.b.LIST){let t=[];for(let i of e.values)if(nw(i,n)){if(ed(r))return;t.push(null)}else{let e=nx(i,r,n);if(void 0===e)return;t.push(e)}return t}let i=nx(e,r,n);if(void 0===i)return;return[i]}if(es(t)){if(e.kind!==C.b.OBJECT)return;let r=Object.create(null),i=v(e.fields,e=>e.name.value);for(let e of Object.values(t.getFields())){let t=i[e.name];if(!t||nw(t.value,n)){if(void 0!==e.defaultValue)r[e.name]=e.defaultValue;else if(ed(e.type))return;continue}let a=nx(t.value,e.type,n);if(void 0===a)return;r[e.name]=a}return r}if(ey(t)){let r;try{r=t.parseLiteral(e,n)}catch(e){return}if(void 0===r)return;return r}(0,tp.V)(!1,"Unexpected input type: "+(0,d.N)(t))}}function nw(e,t){return e.kind===C.b.VARIABLE&&(null==t||void 0===t[e.name.value])}function nC(e,t,n,r){let i=[],a=null==r?void 0:r.maxErrors;try{let r=function(e,t,n,r){let i={};for(let a of t){let t=a.variable.name.value,o=tB(e,a.type);if(!ef(o)){let e=F(a.type);r(new p.eO(`Variable "$${t}" expected value of type "${e}" which cannot be used as an input type.`,{nodes:a.type}));continue}if(!nR(n,t)){if(a.defaultValue)i[t]=nx(a.defaultValue,o);else if(ed(o)){let e=(0,d.N)(o);r(new p.eO(`Variable "$${t}" of required type "${e}" was not provided.`,{nodes:a}))}continue}let s=n[t];if(null===s&&ed(o)){let e=(0,d.N)(o);r(new p.eO(`Variable "$${t}" of non-null type "${e}" must not be null.`,{nodes:a}));continue}i[t]=nA(s,o,(e,n,i)=>{let o=`Variable "$${t}" got invalid value `+(0,d.N)(n);e.length>0&&(o+=` at "${t}${nS(e)}"`),r(new p.eO(o+"; "+i.message,{nodes:a,originalError:i}))})}return i}(e,t,n,e=>{if(null!=a&&i.length>=a)throw new p.eO("Too many errors processing variables, error limit reached. Execution aborted.");i.push(e)});if(0===i.length)return{coerced:r}}catch(e){i.push(e)}return{errors:i}}function nI(e,t,n){var r;let i={},a=v(null!=(r=t.arguments)?r:[],e=>e.name.value);for(let r of e.args){let e=r.name,o=r.type,s=a[e];if(!s){if(void 0!==r.defaultValue)i[e]=r.defaultValue;else if(ed(o))throw new p.eO(`Argument "${e}" of required type "${(0,d.N)(o)}" was not provided.`,{nodes:t});continue}let l=s.value,u=l.kind===C.b.NULL;if(l.kind===C.b.VARIABLE){let t=l.name.value;if(null==n||!nR(n,t)){if(void 0!==r.defaultValue)i[e]=r.defaultValue;else if(ed(o))throw new p.eO(`Argument "${e}" of required type "${(0,d.N)(o)}" was provided the variable "$${t}" which was not provided a runtime value.`,{nodes:l});continue}u=null==n[t]}if(u&&ed(o))throw new p.eO(`Argument "${e}" of non-null type "${(0,d.N)(o)}" must not be null.`,{nodes:l});let c=nx(l,o,n);if(void 0===c)throw new p.eO(`Argument "${e}
766" has invalid value ${F(l)}.`,{nodes:l});i[e]=c}return i}function nO(e,t,n){var r;let i=null==(r=t.directives)?void 0:r.find(t=>t.name.value===e.name);if(i)return nI(e,i,n)}function nR(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function nP(e,t,n,r,i){let a=new Map;return nN(e,t,n,r,i,a,new Set),a}function nN(e,t,n,r,i,a,o){for(let l of i.selections)switch(l.kind){case C.b.FIELD:{var s;if(!nL(n,l))continue;let e=(s=l).alias?s.alias.value:s.name.value,t=a.get(e);void 0!==t?t.push(l):a.set(e,[l]);break}case C.b.INLINE_FRAGMENT:if(!nL(n,l)||!nj(e,l,r))continue;nN(e,t,n,r,l.selectionSet,a,o);break;case C.b.FRAGMENT_SPREAD:{let i=l.name.value;if(o.has(i)||!nL(n,l))continue;o.add(i);let s=t[i];if(!s||!nj(e,s,r))continue;nN(e,t,n,r,s.selectionSet,a,o)}}}function nL(e,t){let n=nO(to,t,e);if((null==n?void 0:n.if)===!0)return!1;let r=nO(ta,t,e);return(null==r?void 0:r.if)!==!1}function nj(e,t,n){let r=t.typeCondition;if(!r)return!0;let i=tB(e,r);return i===n||!!eS(i)&&e.isSubType(i,n)}function nM(e){return{OperationDefinition(t){if("subscription"===t.operation){let n=e.getSchema(),r=n.getSubscriptionType();if(r){let i=t.name?t.name.value:null,a=Object.create(null),o=e.getDocument(),s=Object.create(null);for(let e of o.definitions)e.kind===C.b.FRAGMENT_DEFINITION&&(s[e.name.value]=e);let l=nP(n,s,a,r,t.selectionSet);if(l.size>1){let t=[...l.values()].slice(1).flat();e.reportError(new p.eO(null!=i?`Subscription "${i}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:t}))}for(let t of l.values())t[0].name.value.startsWith("__")&&e.reportError(new p.eO(null!=i?`Subscription "${i}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:t}))}}}}}function nD(e,t){let n=new Map;for(let r of e){let e=t(r),i=n.get(e);void 0===i?n.set(e,[r]):i.push(r)}return n}function nF(e){return{DirectiveDefinition(e){var t;let r=null!=(t=e.arguments)?t:[];return n(`@${e.name.value}`,r)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(e){var t,r;let i=e.name.value;for(let a of null!=(t=e.fields)?t:[]){let e=a.name.value;n(`${i}.${e}`,null!=(r=a.arguments)?r:[])}return!1}function n(t,n){for(let[r,i]of nD(n,e=>e.name.value))i.length>1&&e.reportError(new p.eO(`Argument "${t}(${r}:)" can only be defined once.`,{nodes:i.map(e=>e.name)}));return!1}}function nU(e){return{Field:t,Directive:t};function t(t){var n;for(let[r,i]of nD(null!=(n=t.arguments)?n:[],e=>e.name.value))i.length>1&&e.reportError(new p.eO(`There can be only one argument named "${r}".`,{nodes:i.map(e=>e.name)}))}}function nV(e){let t=Object.create(null),n=e.getSchema();return{DirectiveDefinition(r){let i=r.name.value;return null!=n&&n.getDirective(i)?void e.reportError(new p.eO(`Directive "@${i}" already exists in the schema. It cannot be redefined.`,{nodes:r.name})):(t[i]?e.reportError(new p.eO(`There can be only one directive named "@${i}".`,{nodes:[t[i],r.name]})):t[i]=r.name,!1)}}}function nB(e){let t=Object.create(null),n=e.getSchema();for(let e of n?n.getDirectives():tc)t[e.name]=!e.isRepeatable;for(let n of e.getDocument().definitions)n.kind===C.b.DIRECTIVE_DEFINITION&&(t[n.name.value]=!n.repeatable);let r=Object.create(null),i=Object.create(null);return{enter(n){let a;if("directives"in n&&n.directives){if(n.kind===C.b.SCHEMA_DEFINITION||n.kind===C.b.SCHEMA_EXTENSION)a=r;else if(tJ(n)||tQ(n)){let e=n.name.value;void 0===(a=i[e])&&(i[e]=a=Object.create(null))}else a=Object.create(null);for(let r of n.directives){let n=r.name.value;t[n]&&(a[n]?e.reportError(new p.eO(`The directive "@${n}" can only be used once at this location.`,{nodes:[a[n],r]})):a[n]=r)}}}}}function nG(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(t){var i;let a=t.name.value;r[a]||(r[a]=Object.create(null));let o=null!=(i=t.values)?i:[],s=r[a];for(let t of o){let r=t.name.value,i=n[a];ea(i)&&i.getValue(r)?e.reportError(new p.eO(`Enum value "${a}.${r}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):s[r]?e.reportError(new p.eO(`Enum value "${a}.${r}" can only be defined once.`,{nodes:[s[r],t.name]})):s[r]=t.name}return!1}}function nY(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(t){var i,a,o;let s=t.name.value;r[s]||(r[s]=Object.create(null));let l=null!=(i=t.fields)?i:[],u=r[s];for(let t of l){let r=t.name.value;
766(a=n[s],o=r,(Q(a)||et(a)||es(a))&&null!=a.getFields()[o])?e.reportError(new p.eO(`Field "${s}.${r}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):u[r]?e.reportError(new p.eO(`Field "${s}.${r}" can only be defined once.`,{nodes:[u[r],t.name]})):u[r]=t.name}return!1}}function nz(e){let t=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(n){let r=n.name.value;return t[r]?e.reportError(new p.eO(`There can be only one fragment named "${r}".`,{nodes:[t[r],n.name]})):t[r]=n.name,!1}}}function nW(e){let t=[],n=Object.create(null);return{ObjectValue:{enter(){t.push(n),n=Object.create(null)},leave(){let e=t.pop();e||(0,tp.V)(!1),n=e}},ObjectField(t){let r=t.name.value;n[r]?e.reportError(new p.eO(`There can be only one input field named "${r}".`,{nodes:[n[r],t.name]})):n[r]=t.name}}}function nZ(e){let t=Object.create(null);return{OperationDefinition(n){let r=n.name;return r&&(t[r.value]?e.reportError(new p.eO(`There can be only one operation named "${r.value}".`,{nodes:[t[r.value],r]})):t[r.value]=r),!1},FragmentDefinition:()=>!1}}function nH(e){let t=e.getSchema(),n=Object.create(null),r=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(t){var i;for(let a of null!=(i=t.operationTypes)?i:[]){let t=a.operation,i=n[t];r[t]?e.reportError(new p.eO(`Type for ${t} already defined in the schema. It cannot be redefined.`,{nodes:a})):i?e.reportError(new p.eO(`There can be only one ${t} type in schema.`,{nodes:[i,a]})):n[t]=a}return!1}}function nK(e){let t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:r,ObjectTypeDefinition:r,InterfaceTypeDefinition:r,UnionTypeDefinition:r,EnumTypeDefinition:r,InputObjectTypeDefinition:r};function r(r){let i=r.name.value;return null!=n&&n.getType(i)?void e.reportError(new p.eO(`Type "${i}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:r.name})):(t[i]?e.reportError(new p.eO(`There can be only one type named "${i}".`,{nodes:[t[i],r.name]})):t[i]=r.name,!1)}}function nX(e){return{OperationDefinition(t){var n;for(let[r,i]of nD(null!=(n=t.variableDefinitions)?n:[],e=>e.variable.name.value))i.length>1&&e.reportError(new p.eO(`There can be only one variable named "$${r}".`,{nodes:i.map(e=>e.variable.name)}))}}}function n$(e){return{ListValue(t){if(!eu(eI(e.getParentInputType())))return nJ(e,t),!1},ObjectValue(t){let n=eP(e.getInputType());if(!es(n))return nJ(e,t),!1;let r=v(t.fields,e=>e.name.value);for(let i of Object.values(n.getFields()))if(!r[i.name]&&eJ(i)){let r=(0,d.N)(i.type);e.reportError(new p.eO(`Field "${n.name}.${i.name}" of required type "${r}" was not provided.`,{nodes:t}))}},ObjectField(t){let n=eP(e.getParentInputType());if(!e.getInputType()&&es(n)){let r=A(t.name.value,Object.keys(n.getFields()));e.reportError(new p.eO(`Field "${t.name.value}" is not defined by type "${n.name}".`+h(r),{nodes:t}))}},NullValue(t){let n=e.getInputType();ed(n)&&e.reportError(new p.eO(`Expected value of type "${(0,d.N)(n)}", found ${F(t)}.`,{nodes:t}))},EnumValue:t=>nJ(e,t),IntValue:t=>nJ(e,t),FloatValue:t=>nJ(e,t),StringValue:t=>nJ(e,t),BooleanValue:t=>nJ(e,t)}}function nJ(e,t){let n=e.getInputType();if(!n)return;let r=eP(n);if(!ey(r)){let r=(0,d.N)(n);e.reportError(new p.eO(`Expected value of type "${r}", found ${F(t)}.`,{nodes:t}));return}try{let i=r.parseLiteral(t,void 0);if(void 0===i){let r=(0,d.N)(n);e.reportError(new p.eO(`Expected value of type "${r}", found ${F(t)}.`,{nodes:t}))}}catch(i){let r=(0,d.N)(n);i instanceof p.eO?e.reportError(i):e.reportError(new p.eO(`Expected value of type "${r}", found ${F(t)}; `+i.message,{nodes:t,originalError:i}))}}function nq(e){return{VariableDefinition(t){let n=tB(e.getSchema(),t.type);if(void 0!==n&&!ef(n)){let n=t.variable.name.value,r=F(t.type);e.reportError(new p.eO(`Variable "$${n}" cannot be non-input type "${r}".`,{nodes:t.type}))}}}}function nQ(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){for(let{node:l,type:u,defaultValue:c}of e.getRecursiveVariableUsages(n)){let n=l.name.value,f=t[n];if(f&&u){var r,i,a,o,s;let t=e.getSchema(),h=tB(t,f.type);if(h&&(r=t,i=h,a=f.defaultValue,o=u,s=c,ed(o)&&!ed(i)?!((null!=a&&a.kind!==C.b.NULL||void 0!==s)&&eQ(r,i,o.ofType)):!eQ(r,i,o))){let t=(0,d.N)(h),r=(0,d.N)(u);e.reportError(new p.eO(`Variable "$${n}" of type "${t}" used in position expecting type "${r}".`,{nodes:[f,l]}))}}}}},VariableDefinition(e){t[e.variable.name.value]=e}}}let n0=Object.freeze([t0,nZ,t8,nM,t6,t2,nq,n_,t1,nz,t4,nr,nh,nt,nX,nn,ni,t9,nB,t5,nU,n$,ny,nQ,no,nW]),n1=Object.freeze([ne,nH,nK,nG,nY,nF,nV,t6,t9,nB,nm,t3,nU,nW,nv]);
766class n2{constructor(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(e){this._onError(e)}getDocument(){return this._ast}getFragment(e){let t;if(this._fragments)t=this._fragments;else{for(let e of(t=Object.create(null),this.getDocument().definitions))e.kind===C.b.FRAGMENT_DEFINITION&&(t[e.name.value]=e);this._fragments=t}return t[e]}getFragmentSpreads(e){let t=this._fragmentSpreads.get(e);if(!t){let n;t=[];let r=[e];for(;n=r.pop();)for(let e of n.selections)e.kind===C.b.FRAGMENT_SPREAD?t.push(e):e.selectionSet&&r.push(e.selectionSet);this._fragmentSpreads.set(e,t)}return t}getRecursivelyReferencedFragments(e){let t=this._recursivelyReferencedFragments.get(e);if(!t){let n;t=[];let r=Object.create(null),i=[e.selectionSet];for(;n=i.pop();)for(let e of this.getFragmentSpreads(n)){let n=e.name.value;if(!0!==r[n]){r[n]=!0;let e=this.getFragment(n);e&&(t.push(e),i.push(e.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t}}class n5 extends n2{constructor(e,t,n){super(e,n),this._schema=t}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}class n3 extends n2{constructor(e,t,n,r){super(t,r),this._schema=e,this._typeInfo=n,this._variableUsages=new Map,this._recursiveVariableUsages=new Map}get[Symbol.toStringTag](){return"ValidationContext"}getSchema(){return this._schema}getVariableUsages(e){let t=this._variableUsages.get(e);if(!t){let n=[],r=new tG(this._schema);L(e,tz(r,{VariableDefinition:()=>!1,Variable(e){n.push({node:e,type:r.getInputType(),defaultValue:r.getDefaultValue()})}})),t=n,this._variableUsages.set(e,t)}return t}getRecursiveVariableUsages(e){let t=this._recursiveVariableUsages.get(e);if(!t){for(let n of(t=this.getVariableUsages(e),this.getRecursivelyReferencedFragments(e)))t=t.concat(this.getVariableUsages(n));this._recursiveVariableUsages.set(e,t)}return t}getType(){return this._typeInfo.getType()}getParentType(){return this._typeInfo.getParentType()}getInputType(){return this._typeInfo.getInputType()}getParentInputType(){return this._typeInfo.getParentInputType()}getFieldDef(){return this._typeInfo.getFieldDef()}getDirective(){return this._typeInfo.getDirective()}getArgument(){return this._typeInfo.getArgument()}getEnumValue(){return this._typeInfo.getEnumValue()}}function n9(e,t,n=n0,r,i=new tG(e)){var a;let o=null!=(a=null==r?void 0:r.maxErrors)?a:100;t||(0,l.U)(!1,"Must provide document."),tL(e);let s=Object.freeze({}),u=[],c=new n3(e,t,i,e=>{if(u.length>=o)throw u.push(new p.eO("Too many validation errors, error limit reached. Validation aborted.")),s;u.push(e)}),d=j(n.map(e=>e(c)));try{L(t,tz(i,d))}catch(e){if(e!==s)throw e}return u}function n4(e,t,n=n1){let r=[],i=new n5(e,t,e=>{r.push(e)});return L(e,j(n.map(e=>e(i)))),r}function n6(e){return Promise.all(Object.values(e)).then(t=>{let n=Object.create(null);for(let[r,i]of Object.keys(e).entries())n[i]=t[r];return n})}class n7 extends Error{constructor(e){super("Unexpected error value: "+(0,d.N)(e)),this.name="NonErrorThrown",this.thrownValue=e}}function n8(e,t,n){var r;let i=e instanceof Error?e:new n7(e);return Array.isArray(i.path)?i:new p.eO(i.message,{nodes:null!=(r=i.nodes)?r:t,source:i.source,positions:i.positions,path:n,originalError:i})}let re=function(e){let t;return function(n,r,i){void 0===t&&(t=new WeakMap);let a=t.get(n);void 0===a&&(a=new WeakMap,t.set(n,a));let o=a.get(r);void 0===o&&(o=new WeakMap,a.set(r,o));let s=o.get(i);return void 0===s&&(s=e(n,r,i),o.set(i,s)),s}}((e,t,n)=>(function(e,t,n,r,i){let a=new Map,o=new Set;for(let s of i)s.selectionSet&&nN(e,t,n,r,s.selectionSet,a,o);return a})(e.schema,e.fragments,e.variableValues,t,n));function rt(e){arguments.length<2||(0,l.U)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let{schema:t,document:n,variableValues:r,rootValue:i}=e;ri(t,n,r);let a=ra(e);if(!("schema"in a))return{errors:a};try{let{operation:e}=a,t=function(e,t,n){let r=e.schema.getRootType(t.operation);if(null==r)throw new p.eO(`Schema is not configured to execute ${t.operation} operation.`,{nodes:t});let i=nP(e.schema,e.fragments,e.variableValues,r,t.selectionSet),a=void 0;switch(t.operation){case f.cE.QUERY:return ro(e,r,n,a,i);case f.cE.MUTATION:var o,s,l,c,d;return o=e,s=r,l=n,c=a,d=i,function(e,t,n){let r=n;for(let n of e)r=u(r)?r.then(e=>t(e,n)):t(r,n);return r}(d.entries(),(e,[t,n])=>{let r=nE(c,t,s.name),i=rs(o,s,l,n,r);return void 0===i?e:u(i)?i.then(n=>(e[t]=n,e)):(e[t]=i,e)},Object.create(null));case f.cE.SUBSCRIPTION:return ro(e,r,n,a,i)}}(a,e,i);if(u(t))return t.then(e=>rr(e,a.errors),e=>(a.errors.push(e),rr(null,a.errors)));return rr(t,a.errors)}catch(e){return a.errors.push(e),rr(null,a.errors)}}function rn(e){let t=rt(e);if(u(t))throw Error("GraphQL execution failed to complete synchronously.");return t}function rr(e,t){return 0===t.length?{data:e}:{errors:t,data:e}}function ri(e,t,n){t||(0,l.U)(!1,"Must provide document."),tL(e),null==n||(0,y.Z)(n)||(0,l.U)(!1,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function ra(e){var t,n;let r,{schema:i,document:a,rootValue:o,contextValue:s,variableValues:l,operationName:u,fieldResolver:c,typeResolver:d,subscribeFieldResolver:f}=e,h=Object.create(null);for(let e of a.definitions)switch(e.kind){case C.b.OPERATION_DEFINITION:if(null==u){if(void 0!==r)return[new p.eO("Must provide operation name if query contains multiple operations.")];r=e}else(null==(t=e.name)?void 0:t.value)===u&&(r=e);break;case C.b.FRAGMENT_DEFINITION:h[e.name.value]=e}if(!r)return null!=u?[new p.eO(`Unknown operation named "${u}".`)]:[new p.eO("Must provide an operation.")];let m=nC(i,null!=(n=r.variableDefinitions)?n:[],null!=l?l:{},{maxErrors:50});return m.errors?m.errors:{schema:i,fragments:h,rootValue:o,contextValue:s,operation:r,variableValues:m.coerced,fieldResolver:null!=c?c:rm,typeResolver:null!=d?d:rh,subscribeFieldResolver:null!=f?f:rm,errors:[]}}function ro(e,t,n,r,i){let a=Object.create(null),o=!1;try{for(let[s,l]of i.entries()){let i=nE(r,s,t.name),c=rs(e,t,n,l,i);void 0!==c&&(a[s]=c,u(c)&&(o=!0))}}catch(e){if(o)return n6(a).finally(()=>{throw e});throw e}return o?n6(a):a}function rs(e,t,n,r,i){var a;let o=rg(e.schema,t,r[0]);if(!o)return;let s=o.type,l=null!=(a=o.resolve)?a:e.fieldResolver,c=rl(e,o,r,t,i);try{let t,a=nI(o,r[0],e.variableValues),d=e.contextValue,p=l(n,a,d,c);if(t=u(p)?p.then(t=>rc(e,s,r,c,i,t)):rc(e,s,r,c,i,p),u(t))return t.then(void 0,t=>{let n=n8(t,r,nk(i));return ru(n,s,e)});return t}catch(t){return ru(n8(t,r,nk(i)),s,e)}}function rl(e,t,n,r,i){return{fieldName:t.name,fieldNodes:n,returnType:t.type,parentType:r,path:i,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function ru(e,t,n){if(ed(t))throw e;return n.errors.push(e),null}function rc(e,t,n,r,i,a){if(a instanceof Error)throw a;if(ed(t)){let o=rc(e,t.ofType,n,r,i,a);if(null===o)throw Error(`Cannot return null for non-nullable field ${r.parentType.name}.${r.fieldName}.`);return o}return null==a?null:eu(t)?function(e,t,n,r,i,a){if(!tf(a))throw new p.eO(`Expected Iterable, but did not find one for field "${r.parentType.name}.${r.fieldName}".`);let o=t.ofType,s=!1,l=Array.from(a,(t,a)=>{let l=nE(i,a,void 0);try{let i;if(i=u(t)?t.then(t=>rc(e,o,n,r,l,t)):rc(e,o,n,r,l,t),u(i))return s=!0,i.then(void 0,t=>{let r=n8(t,n,nk(l));return ru(r,o,e)});return i}catch(t){return ru(n8(t,n,nk(l)),o,e)}});return s?Promise.all(l):l}(e,t,n,r,i,a):ey(t)?function(e,t){let n=e.serialize(t);if(null==n)throw Error(`Expected \`${(0,d.N)(e)}.serialize(${(0,d.N)(t)})\` to return non-nullable value, returned: ${(0,d.N)(n)}`);return n}(t,a):eS(t)?function(e,t,n,r,i,a){var o;let s=(null!=(o=t.resolveType)?o:e.typeResolver)(a,e.contextValue,r,t);return u(s)?s.then(o=>rp(e,rd(o,e,t,n,r,a),n,r,i,a)):rp(e,rd(s,e,t,n,r,a),n,r,i,a)}(e,t,n,r,i,a):Q(t)?rp(e,t,n,r,i,a):void(0,tp.V)(!1,"Cannot complete value of unexpected output type: "+(0,d.N)(t))}function rd(e,t,n,r,i,a){if(null==e)throw new p.eO(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${i.parentType.name}.${i.fieldName}". Either the "${n.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`,r);if(Q(e))throw new p.eO("Support for returning GraphQLObjectType from resolveType was removed in [email protected] please return type name instead.");if("string"!=typeof e)throw new p.eO(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${i.parentType.name}.${i.fieldName}" with value ${(0,d.N)(a)}, received "${(0,d.N)(e)}".`);let o=t.schema.getType(e);if(null==o)throw new p.eO(`Abstract type "${n.name}" was resolved to a type "${e}" that does not exist inside the schema.`,{nodes:r});if(!Q(o))throw new p.eO(`Abstract type "${n.name}" was resolved to a non-object type "${e}".`,{nodes:r});if(!t.schema.isSubType(n,o))throw new p.eO(`Runtime Object type "${o.name}" is not a possible type for "${n.name}".`,{nodes:r});return o}function rp(e,t,n,r,i,a){let o=re(e,t,n);if(t.isTypeOf){let s=t.isTypeOf(a,e.contextValue,r);if(u(s))return s.then(r=>{if(!r)throw rf(t,a,n);return ro(e,t,a,i,o)});if(!s)throw rf(t,a,n)}return ro(e,t,a,i,o)}function rf(e,t,n){return new p.eO(`Expected value of type "${e.name}" but got: ${(0,d.N)(t)}.`,{nodes:n})}let rh=function(e,t,n,r){if((0,y.Z)(e)&&"string"==typeof e.__typename)return e.__typename;let i=n.schema.getPossibleTypes(r),a=[];for(let r=0;r<i.length;r++){let o=i[r];if(o.isTypeOf){let i=o.isTypeOf(e,t,n);if(u(i))a[r]=i;else if(i)return o.name}}if(a.length)return Promise.all(a).then(e=>{for(let t=0;t<e.length;t++)if(e[t])return i[t].name})},rm=function(e,t,n,r){if((0,y.Z)(e)||"function"==typeof e){let i=e[r.fieldName];return"function"==typeof i?e[r.fieldName](t,n,r):i}};function rg(e,t,n){let r=n.name.value;return r===tA.name&&e.getQueryType()===t?tA:r===tT.name&&e.getQueryType()===t?tT:r===tx.name?tx:t.getFields()[r]}function ry(e){return new Promise(t=>t(rb(e)))}function rv(e){let t=rb(e);if(u(t))throw Error("GraphQL execution failed to complete synchronously.");return t}function rb(e){let t;arguments.length<2||(0,l.U)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let{schema:n,source:r,rootValue:i,contextValue:a,variableValues:o,operationName:s,fieldResolver:u,typeResolver:d}=e,p=tN(n);if(p.length>0)return{errors:p};try{t=(0,c.qg)(r)}catch(e){return{errors:[e]}}let f=n9(n,t);return f.length>0?{errors:f}:rt({schema:n,document:t,rootValue:i,contextValue:a,variableValues:o,operationName:s,fieldResolver:u,typeResolver:d})}var r_=n(72391),rS=n(38817),rE=n(8142),rk=n(89556),rA=n(32355);function rT(e){return"function"==typeof(null==e?void 0:e[Symbol.asyncIterator])}async function rx(e){arguments.length<2||(0,l.U)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let t=await rw(e);if(!rT(t))return t;let n=t[Symbol.asyncIterator]();async function r(t){if(t.done)return t;try{let n;return{value:await (n=t.value,rt({...e,rootValue:n})),done:!1}}catch(e){if("function"==typeof n.return)try{await n.return()}catch(e){}throw e}}return{next:async()=>r(await n.next()),return:async()=>"function"==typeof n.return?r(await n.return()):{value:void 0,done:!0},async throw(e){if("function"==typeof n.throw)return r(await n.throw(e));throw e},[Symbol.asyncIterator](){return this}}}async function rw(...e){let t=function(e){let t=e[0];return t&&"document"in t?t:{schema:t,document:e[1],rootValue:e[2],contextValue:e[3],variableValues:e[4],operationName:e[5],subscribeFieldResolver:e[6]}}(e),{schema:n,document:r,variableValues:i}=t;ri(n,r,i);let a=ra(t);
766if(!("schema"in a))return{errors:a};try{let e=await rC(a);if(!rT(e))throw Error(`Subscription field must return Async Iterable. Received: ${(0,d.N)(e)}.`);return e}catch(e){if(e instanceof p.eO)return{errors:[e]};throw e}}async function rC(e){let{schema:t,fragments:n,operation:r,variableValues:i,rootValue:a}=e,o=t.getSubscriptionType();if(null==o)throw new p.eO("Schema is not configured to execute subscription operation.",{nodes:r});let[s,l]=[...nP(t,n,i,o,r.selectionSet).entries()][0],u=rg(t,o,l[0]);if(!u){let e=l[0].name.value;throw new p.eO(`The subscription field "${e}" is not defined.`,{nodes:l})}let c=nE(void 0,s,o.name),d=rl(e,u,l,o,c);try{var f;let t=nI(u,l[0],i),n=e.contextValue,r=null!=(f=u.subscribe)?f:e.subscribeFieldResolver,o=await r(a,t,n,d);if(o instanceof Error)throw o;return o}catch(e){throw n8(e,l,nk(c))}}function rI(e){return{Field(t){let n=e.getFieldDef(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){let i=e.getParentType();null!=i||(0,tp.V)(!1),e.reportError(new p.eO(`The field ${i.name}.${n.name} is deprecated. ${r}`,{nodes:t}))}},Argument(t){let n=e.getArgument(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){let i=e.getDirective();if(null!=i)e.reportError(new p.eO(`Directive "@${i.name}" argument "${n.name}" is deprecated. ${r}`,{nodes:t}));else{let i=e.getParentType(),a=e.getFieldDef();null!=i&&null!=a||(0,tp.V)(!1),e.reportError(new p.eO(`Field "${i.name}.${a.name}" argument "${n.name}" is deprecated. ${r}`,{nodes:t}))}}},ObjectField(t){let n=eP(e.getParentInputType());if(es(n)){let r=n.getFields()[t.name.value],i=null==r?void 0:r.deprecationReason;null!=i&&e.reportError(new p.eO(`The input field ${n.name}.${r.name} is deprecated. ${i}`,{nodes:t}))}},EnumValue(t){let n=e.getEnumValue(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){let i=eP(e.getInputType());null!=i||(0,tp.V)(!1),e.reportError(new p.eO(`The enum value "${i.name}.${n.name}" is deprecated. ${r}`,{nodes:t}))}}}}function rO(e){return{Field(t){let n=eP(e.getType());n&&tC(n)&&e.reportError(new p.eO(`GraphQL introspection has been disabled, but the requested query contained the field "${t.name.value}".`,{nodes:t}))}}}var rR=n(5311);function rP(e){let t={descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1,...e},n=t.descriptions?"description":"",r=t.specifiedByUrl?"specifiedByURL":"",i=t.directiveIsRepeatable?"isRepeatable":"",a=t.schemaDescription?n:"";function o(e){return t.inputValueDeprecation?e:""}return` 767 query IntrospectionQuery { 768 __schema { 769 ${a} 770 queryType { name } 771 mutationType { name } 772 subscriptionType { name } 773 types { 774 ...FullType 775 } 776 directives { 777 name 778 ${n} 779 ${i} 780 locations 781 args${o("(includeDeprecated: true)")} { 782 ...InputValue 783 } 784 } 785 } 786 } 787 788 fragment FullType on __Type { 789 kind 790 name 791 ${n} 792 ${r} 793 fields(includeDeprecated: true) { 794 name 795 ${n} 796 args${o("(includeDeprecated: true)")} { 797 ...InputValue 798 } 799 type { 800 ...TypeRef 801 } 802 isDeprecated 803 deprecationReason 804 } 805 inputFields${o("(includeDeprecated: true)")} { 806 ...InputValue 807 } 808 interfaces { 809 ...TypeRef 810 } 811 enumValues(includeDeprecated: true) { 812 name 813 ${n} 814 isDeprecated 815 deprecationReason 816 } 817 possibleTypes { 818 ...TypeRef 819 } 820 } 821 822 fragment InputValue on __InputValue { 823 name 824 ${n} 825 type { ...TypeRef } 826 defaultValue 827 ${o("isDeprecated")} 828 ${o("deprecationReason")} 829 } 830 831 fragment TypeRef on __Type { 832 kind 833 name 834 ofType { 835 kind 836 name 837 ofType { 838 kind 839 name 840 ofType { 841 kind 842 name 843 ofType { 844 kind 845 name 846 ofType { 847 kind 848 name 849 ofType { 850 kind 851 name 852 ofType { 853 kind 854 name 855 ofType { 856 kind 857 name 858 ofType { 859 kind 860 name 861 } 862 } 863 } 864 } 865 } 866 } 867 } 868 } 869 } 870 } 871 `}function rN(e,t){let n=null;for(let i of e.definitions)if(i.kind===C.b.OPERATION_DEFINITION){var r;if(null==t){if(n)return null;n=i}else if((null==(r=i.name)?void 0:r.value)===t)return i}return n}function rL(e,t){if("query"===t.operation){let n=e.getQueryType();if(!n)throw new p.eO("Schema does not define the required query root type.",{nodes:t});return n}if("mutation"===t.operation){let n=e.getMutationType();if(!n)throw new p.eO("Schema is not configured for mutations.",{nodes:t});return n}if("subscription"===t.operation){let n=e.getSubscriptionType();if(!n)throw new p.eO("Schema is not configured for subscriptions.",{nodes:t});return n}throw new p.eO("Can only have query, mutation and subscription operations.",{nodes:t})}function rj(e,t){let n={specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,...t},r=rn({schema:e,document:(0,c.qg)(rP(n))});return!r.errors&&r.data||(0,tp.V)(!1),r.data}function rM(e,t){(0,y.Z)(e)&&(0,y.Z)(e.__schema)||(0,l.U)(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${(0,d.N)(e)}.`);let n=e.__schema,r=b(n.types,e=>e.name,e=>(function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case a.SCALAR:return new ej({name:(t=e).name,description:t.description,specifiedByURL:t.specifiedByURL});case a.OBJECT:return new eM({name:(n=e).name,description:n.description,interfaces:()=>g(n),fields:()=>v(n)});
871case a.INTERFACE:return new ez({name:(r=e).name,description:r.description,interfaces:()=>g(r),fields:()=>v(r)});case a.UNION:var t,n,r,i=e;if(!i.possibleTypes){let e=(0,d.N)(i);throw Error(`Introspection result missing possibleTypes: ${e}.`)}return new eW({name:i.name,description:i.description,types:()=>i.possibleTypes.map(h)});case a.ENUM:var o=e;if(!o.enumValues){let e=(0,d.N)(o);throw Error(`Introspection result missing enumValues: ${e}.`)}return new eH({name:o.name,description:o.description,values:b(o.enumValues,e=>e.name,e=>({description:e.description,deprecationReason:e.deprecationReason}))});case a.INPUT_OBJECT:var s=e;if(!s.inputFields){let e=(0,d.N)(s);throw Error(`Introspection result missing inputFields: ${e}.`)}return new eX({name:s.name,description:s.description,fields:()=>S(s.inputFields)})}let l=(0,d.N)(e);throw Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${l}.`)})(e));for(let e of[...e8,...tw])r[e.name]&&(r[e.name]=e);let i=n.queryType?h(n.queryType):null,o=n.mutationType?h(n.mutationType):null,s=n.subscriptionType?h(n.subscriptionType):null,u=n.directives?n.directives.map(function(e){if(!e.args){let t=(0,d.N)(e);throw Error(`Introspection result missing directive args: ${t}.`)}if(!e.locations){let t=(0,d.N)(e);throw Error(`Introspection result missing directive locations: ${t}.`)}return new ti({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:S(e.args)})}):[];return new tR({description:n.description,query:i,mutation:o,subscription:s,types:Object.values(r),directives:u,assumeValid:null==t?void 0:t.assumeValid});function p(e){if(e.kind===a.LIST){let t=e.ofType;if(!t)throw Error("Decorated type deeper than introspection query.");return new ek(p(t))}if(e.kind===a.NON_NULL){let t=e.ofType;if(!t)throw Error("Decorated type deeper than introspection query.");return new eA(eC(p(t)))}return f(e)}function f(e){let t=e.name;if(!t)throw Error(`Unknown type reference: ${(0,d.N)(e)}.`);let n=r[t];if(!n)throw Error(`Invalid or incomplete schema, unknown type: ${t}. Ensure that a full introspection query is used in order to build a client schema.`);return n}function h(e){return ee(f(e))}function m(e){return en(f(e))}function g(e){if(null===e.interfaces&&e.kind===a.INTERFACE)return[];if(!e.interfaces){let t=(0,d.N)(e);throw Error(`Introspection result missing interfaces: ${t}.`)}return e.interfaces.map(m)}function v(e){if(!e.fields)throw Error(`Introspection result missing fields: ${(0,d.N)(e)}.`);return b(e.fields,e=>e.name,_)}function _(e){let t=p(e.type);if(!em(t)){let e=(0,d.N)(t);throw Error(`Introspection must provide output type for fields, but received: ${e}.`)}if(!e.args){let t=(0,d.N)(e);throw Error(`Introspection result missing field args: ${t}.`)}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:S(e.args)}}function S(e){return b(e,e=>e.name,E)}function E(e){let t=p(e.type);if(!ef(t)){let e=(0,d.N)(t);throw Error(`Introspection must provide input type for arguments, but received: ${e}.`)}let n=null!=e.defaultValue?nx((0,c.$x)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:n,deprecationReason:e.deprecationReason}}}function rD(e,t,n){tO(e),null!=t&&t.kind===C.b.DOCUMENT||(0,l.U)(!1,"Must provide valid Document AST."),(null==n?void 0:n.assumeValid)!==!0&&(null==n?void 0:n.assumeValidSDL)!==!0&&function(e,t){let n=n4(e,t);if(0!==n.length)throw Error(n.map(e=>e.message).join("\n\n"))}(t,e);let r=e.toConfig(),i=rF(r,t,n);return r===i?e:new tR(i)}function rF(e,t,n){var r,i,a,o,s,l;let u,c=[],p=Object.create(null),f=[],h=[];for(let e of t.definitions)if(e.kind===C.b.SCHEMA_DEFINITION)u=e;else if(e.kind===C.b.SCHEMA_EXTENSION)h.push(e);else if(tJ(e))c.push(e);else if(tQ(e)){let t=e.name.value,n=p[t];p[t]=n?n.concat([e]):[e]}else e.kind===C.b.DIRECTIVE_DEFINITION&&f.push(e);if(0===Object.keys(p).length&&0===c.length&&0===f.length&&0===h.length&&null==u)return e;let m=Object.create(null);for(let t of e.types){m[t.name]=tC(l=t)||te(l)?l:J(l)?function(e){var t,n;let r=e.toConfig(),i=null!=(t=p[r.name])?t:[],a=r.specifiedByURL;for(let e of i)a=null!=(n=rB(e))?n:a;return new ej({...r,specifiedByURL:a,extensionASTNodes:r.extensionASTNodes.concat(i)})}(l):Q(l)?function(e){var t;let n=e.toConfig(),r=null!=(t=p[n.name])?t:[];return new eM({...n,interfaces:()=>[...e.getInterfaces().map(v),...O(r)],fields:()=>({..._(n.fields,b),...T(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(l):et(l)?function(e){var t;let n=e.toConfig(),r=null!=(t=p[n.name])?t:[];return new ez({...n,interfaces:()=>[...e.getInterfaces().map(v),...O(r)],fields:()=>({..._(n.fields,b),...T(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(l):er(l)?function(e){var t;let n=e.toConfig(),r=null!=(t=p[n.name])?t:[];return new eW({...n,types:()=>[...e.getTypes().map(v),...R(r)],extensionASTNodes:n.extensionASTNodes.concat(r)})}(l):ea(l)?function(e){var t;let n=e.toConfig(),r=null!=(t=p[e.name])?t:[];return new eH({...n,values:{...n.values,...I(r)},extensionASTNodes:n.extensionASTNodes.concat(r)})}(l):es(l)?function(e){var t;let n=e.toConfig(),r=null!=(t=p[n.name])?t:[];return new eX({...n,fields:()=>({..._(n.fields,e=>({...e,type:y(e.type)})),...w(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(l):void(0,tp.V)(!1,"Unexpected type: "+(0,d.N)(l))}for(let e of c){let t=e.name.value;m[t]=null!=(s=rU[t])?s:function(e){var t,n,r,i,a,o,s;
871let l=e.name.value,u=null!=(t=p[l])?t:[];switch(e.kind){case C.b.OBJECT_TYPE_DEFINITION:{let t=[e,...u];return new eM({name:l,description:null==(n=e.description)?void 0:n.value,interfaces:()=>O(t),fields:()=>T(t),astNode:e,extensionASTNodes:u})}case C.b.INTERFACE_TYPE_DEFINITION:{let t=[e,...u];return new ez({name:l,description:null==(r=e.description)?void 0:r.value,interfaces:()=>O(t),fields:()=>T(t),astNode:e,extensionASTNodes:u})}case C.b.ENUM_TYPE_DEFINITION:{let t=[e,...u];return new eH({name:l,description:null==(i=e.description)?void 0:i.value,values:I(t),astNode:e,extensionASTNodes:u})}case C.b.UNION_TYPE_DEFINITION:{let t=[e,...u];return new eW({name:l,description:null==(a=e.description)?void 0:a.value,types:()=>R(t),astNode:e,extensionASTNodes:u})}case C.b.SCALAR_TYPE_DEFINITION:return new ej({name:l,description:null==(o=e.description)?void 0:o.value,specifiedByURL:rB(e),astNode:e,extensionASTNodes:u});case C.b.INPUT_OBJECT_TYPE_DEFINITION:{let t=[e,...u];return new eX({name:l,description:null==(s=e.description)?void 0:s.value,fields:()=>w(t),astNode:e,extensionASTNodes:u})}}}(e)}let g={query:e.query&&v(e.query),mutation:e.mutation&&v(e.mutation),subscription:e.subscription&&v(e.subscription),...u&&E([u]),...E(h)};return{description:null==(r=u)||null==(i=r.description)?void 0:i.value,...g,types:Object.values(m),directives:[...e.directives.map(function(e){let t=e.toConfig();return new ti({...t,args:_(t.args,S)})}),...f.map(function(e){var t;return new ti({name:e.name.value,description:null==(t=e.description)?void 0:t.value,locations:e.locations.map(({value:e})=>e),isRepeatable:e.repeatable,args:x(e.arguments),astNode:e})})],extensions:Object.create(null),astNode:null!=(a=u)?a:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(h),assumeValid:null!=(o=null==n?void 0:n.assumeValid)&&o};function y(e){return eu(e)?new ek(y(e.ofType)):ed(e)?new eA(y(e.ofType)):v(e)}function v(e){return m[e.name]}function b(e){return{...e,type:y(e.type),args:e.args&&_(e.args,S)}}function S(e){return{...e,type:y(e.type)}}function E(e){let t={};for(let r of e){var n;for(let e of null!=(n=r.operationTypes)?n:[])t[e.operation]=k(e.type)}return t}function k(e){var t;let n=e.name.value,r=null!=(t=rU[n])?t:m[n];if(void 0===r)throw Error(`Unknown type: "${n}".`);return r}function A(e){return e.kind===C.b.LIST_TYPE?new ek(A(e.type)):e.kind===C.b.NON_NULL_TYPE?new eA(A(e.type)):k(e)}function T(e){let t=Object.create(null);for(let i of e){var n,r;for(let e of null!=(n=i.fields)?n:[])t[e.name.value]={type:A(e.type),description:null==(r=e.description)?void 0:r.value,args:x(e.arguments),deprecationReason:rV(e),astNode:e}}return t}function x(e){let t=Object.create(null);for(let r of null!=e?e:[]){var n;let e=A(r.type);t[r.name.value]={type:e,description:null==(n=r.description)?void 0:n.value,defaultValue:nx(r.defaultValue,e),deprecationReason:rV(r),astNode:r}}return t}function w(e){let t=Object.create(null);for(let i of e){var n,r;for(let e of null!=(n=i.fields)?n:[]){let n=A(e.type);t[e.name.value]={type:n,description:null==(r=e.description)?void 0:r.value,defaultValue:nx(e.defaultValue,n),deprecationReason:rV(e),astNode:e}}}return t}function I(e){let t=Object.create(null);for(let i of e){var n,r;for(let e of null!=(n=i.values)?n:[])t[e.name.value]={description:null==(r=e.description)?void 0:r.value,deprecationReason:rV(e),astNode:e}}return t}function O(e){return e.flatMap(e=>{var t,n;return null!=(t=null==(n=e.interfaces)?void 0:n.map(k))?t:[]})}function R(e){return e.flatMap(e=>{var t,n;return null!=(t=null==(n=e.types)?void 0:n.map(k))?t:[]})}}let rU=v([...e8,...tw],e=>e.name);function rV(e){let t=nO(tl,e);return null==t?void 0:t.reason}function rB(e){let t=nO(tu,e);return null==t?void 0:t.url}function rG(e,t){null!=e&&e.kind===C.b.DOCUMENT||(0,l.U)(!1,"Must provide valid Document AST."),(null==t?void 0:t.assumeValid)!==!0&&(null==t?void 0:t.assumeValidSDL)!==!0&&function(e){let t=n4(e);if(0!==t.length)throw Error(t.map(e=>e.message).join("\n\n"))}(e);let n=rF({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},e,t);if(null==n.astNode)for(let e of n.types)switch(e.name){case"Query":n.query=e;break;case"Mutation":n.mutation=e;break;case"Subscription":n.subscription=e}let r=[...n.directives,...tc.filter(e=>n.directives.every(t=>t.name!==e.name))];return new tR({...n,directives:r})}function rY(e,t){return rG((0,c.qg)(e,{noLocation:null==t?void 0:t.noLocation,allowLegacyFragmentVariables:null==t?void 0:t.allowLegacyFragmentVariables}),{assumeValidSDL:null==t?void 0:t.assumeValidSDL,assumeValid:null==t?void 0:t.assumeValid})}function rz(e){var t,n,r;let i=e.toConfig(),a=b(rZ(i.types),e=>e.name,function(e){if(J(e)||tC(e))return e;if(Q(e)){let t=e.toConfig();return new eM({...t,interfaces:()=>c(t.interfaces),fields:()=>u(t.fields)})}if(et(e)){let t=e.toConfig();return new ez({...t,interfaces:()=>c(t.interfaces),fields:()=>u(t.fields)})}if(er(e)){let t=e.toConfig();return new eW({...t,types:()=>c(t.types)})}if(ea(e)){let t=e.toConfig();return new eH({...t,values:rW(t.values,e=>e)})}if(es(e)){let t=e.toConfig();return new eX({...t,fields:()=>rW(t.fields,e=>({...e,type:o(e.type)}))})}(0,tp.V)(!1,"Unexpected type: "+(0,d.N)(e))});return new tR({...i,types:Object.values(a),directives:rZ(i.directives).map(function(e){let t=e.toConfig();return new ti({...t,locations:rH(t.locations,e=>e),args:l(t.args)})}),query:(t=i.query)&&s(t),mutation:(n=i.mutation)&&s(n),subscription:(r=i.subscription)&&s(r)});function o(e){return eu(e)?new ek(o(e.ofType)):ed(e)?new eA(o(e.ofType)):s(e)}function s(e){return a[e.name]}function l(e){return rW(e,e=>({...e,type:o(e.type)}))}function u(e){return rW(e,e=>({...e,type:o(e.type),args:e.args&&l(e.args)}))}function c(e){return rZ(e).map(s)}}function rW(e,t){let n=Object.create(null);for(let r of Object.keys(e).sort(S))n[r]=t(e[r]);return n}function rZ(e){return rH(e,e=>e.name)}
871function rH(e,t){return e.slice().sort((e,n)=>S(t(e),t(n)))}function rK(e){return rJ(e,e=>!td(e),r$)}function rX(e){return rJ(e,td,tC)}function r$(e){return!te(e)&&!tC(e)}function rJ(e,t,n){let r=e.getDirectives().filter(t),i=Object.values(e.getTypeMap()).filter(n);return[function(e){if(null==e.description&&function(e){let t=e.getQueryType();if(t&&"Query"!==t.name)return!1;let n=e.getMutationType();if(n&&"Mutation"!==n.name)return!1;let r=e.getSubscriptionType();return!r||"Subscription"===r.name}(e))return;let t=[],n=e.getQueryType();n&&t.push(` query: ${n.name}`);let r=e.getMutationType();r&&t.push(` mutation: ${r.name}`);let i=e.getSubscriptionType();return i&&t.push(` subscription: ${i.name}`),r9(e)+`schema { 872${t.join("\n")} 873}`}(e),...r.map(e=>{var t;return r9(t=e)+"directive @"+t.name+r2(t.args)+(t.isRepeatable?" repeatable":"")+" on "+t.locations.join(" | ")}),...i.map(e=>rq(e))].filter(Boolean).join("\n\n")}function rq(e){var t,n,r;return J(e)?r9(t=e)+`scalar ${t.name}`+function(e){if(null==e.specifiedByURL)return"";let t=F({kind:C.b.STRING,value:e.specifiedByURL});return` @specifiedBy(url: ${t})`}(t):Q(e)?r9(n=e)+`type ${n.name}`+rQ(n)+r0(n):et(e)?r9(r=e)+`interface ${r.name}`+rQ(r)+r0(r):er(e)?function(e){let t=e.getTypes(),n=t.length?" = "+t.join(" | "):"";return r9(e)+"union "+e.name+n}(e):ea(e)?function(e){let t=e.getValues().map((e,t)=>r9(e," ",!t)+" "+e.name+r3(e.deprecationReason));return r9(e)+`enum ${e.name}`+r1(t)}(e):es(e)?function(e){let t=Object.values(e.getFields()).map((e,t)=>r9(e," ",!t)+" "+r5(e));return r9(e)+`input ${e.name}`+r1(t)}(e):void(0,tp.V)(!1,"Unexpected type: "+(0,d.N)(e))}function rQ(e){let t=e.getInterfaces();return t.length?" implements "+t.map(e=>e.name).join(" & "):""}function r0(e){return r1(Object.values(e.getFields()).map((e,t)=>r9(e," ",!t)+" "+e.name+r2(e.args," ")+": "+String(e.type)+r3(e.deprecationReason)))}function r1(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function r2(e,t=""){return 0===e.length?"":e.every(e=>!e.description)?"("+e.map(r5).join(", ")+")":"(\n"+e.map((e,n)=>r9(e," "+t,!n)+" "+t+r5(e)).join("\n")+"\n"+t+")"}function r5(e){let t=th(e.defaultValue,e.type),n=e.name+": "+String(e.type);return t&&(n+=` = ${F(t)}`),n+r3(e.deprecationReason)}function r3(e){if(null==e)return"";if(e!==ts){let t=F({kind:C.b.STRING,value:e});return` @deprecated(reason: ${t})`}return" @deprecated"}function r9(e,t="",n=!0){let{description:r}=e;return null==r?"":(t&&!n?"\n"+t:t)+F({kind:C.b.STRING,value:r,block:(0,I.CS)(r)}).replace(/\n/g,"\n"+t)+"\n"}function r4(e){let t=[];for(let n of e)t.push(...n.definitions);return{kind:C.b.DOCUMENT,definitions:t}}function r6(e){let t=[],n=Object.create(null);for(let r of e.definitions)switch(r.kind){case C.b.OPERATION_DEFINITION:t.push(r);break;case C.b.FRAGMENT_DEFINITION:n[r.name.value]=r7(r.selectionSet)}let r=Object.create(null);for(let i of t){let t=new Set;for(let e of r7(i.selectionSet))!function e(t,n,r){if(!t.has(r)){t.add(r);let i=n[r];if(void 0!==i)for(let r of i)e(t,n,r)}}(t,n,e);r[i.name?i.name.value:""]={kind:C.b.DOCUMENT,definitions:e.definitions.filter(e=>e===i||e.kind===C.b.FRAGMENT_DEFINITION&&t.has(e.name.value))}}return r}function r7(e){let t=[];return L(e,{FragmentSpread(e){t.push(e.name.value)}}),t}function r8(e){let t=(0,r_._)(e)?e:new r_.k(e),n=t.body,r=new rk.J(t),i="",a=!1;for(;r.advance().kind!==rA.Y.EOF;){let e=r.token,t=e.kind,o=!(0,rk.Z)(e.kind);a&&(o||e.kind===rA.Y.SPREAD)&&(i+=" ");let s=n.slice(e.start,e.end);t===rA.Y.BLOCK_STRING?i+=(0,I.yo)(e.value,{minimize:!0}):i+=s,a=o}return i}function ie(e){let t=it(e);if(t)throw t;return e}function it(e){if("string"==typeof e||(0,l.U)(!1,"Expected name to be a string."),e.startsWith("__"))return new p.eO(`Name "${e}" must not begin with "__", which is reserved by GraphQL introspection.`);try{H(e)}catch(e){return e}}function ir(e,t){return ia(e,t).filter(e=>e.type in o)}function ii(e,t){return ia(e,t).filter(e=>e.type in s)}function ia(e,t){return[...function(e,t){let n=[],r=iu(Object.values(e.getTypeMap()),Object.values(t.getTypeMap()));for(let e of r.removed)n.push({type:o.TYPE_REMOVED,description:te(e)?`Standard scalar ${e.name} was removed because it is not referenced anymore.`:`${e.name} was removed.`});for(let[e,t]of r.persisted)ea(e)&&ea(t)?n.push(...function(e,t){let n=[],r=iu(e.getValues(),t.getValues());for(let t of r.added)n.push({type:s.VALUE_ADDED_TO_ENUM,description:`${t.name} was added to enum type ${e.name}.`});for(let t of r.removed)n.push({type:o.VALUE_REMOVED_FROM_ENUM,description:`${t.name} was removed from enum type ${e.name}.`});return n}(e,t)):er(e)&&er(t)?n.push(...function(e,t){let n=[],r=iu(e.getTypes(),t.getTypes());for(let t of r.added)n.push({type:s.TYPE_ADDED_TO_UNION,description:`${t.name} was added to union type ${e.name}.`});for(let t of r.removed)n.push({type:o.TYPE_REMOVED_FROM_UNION,description:`${t.name} was removed from union type ${e.name}.`});return n}(e,t)):es(e)&&es(t)?n.push(...function(e,t){let n=[],r=iu(Object.values(e.getFields()),Object.values(t.getFields()));for(let t of r.added)eJ(t)?n.push({type:o.REQUIRED_INPUT_FIELD_ADDED,description:`A required field ${t.name} on input type ${e.name} was added.`}):n.push({type:s.OPTIONAL_INPUT_FIELD_ADDED,description:`An optional field ${t.name} on input type ${e.name} was added.`});for(let t of r.removed)n.push({type:o.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`});for(let[t,i]of r.persisted)io(t.type,i.type)||n.push({type:o.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from ${String(t.type)} to ${String(i.type)}.`});return n}(e,t)):Q(e)&&Q(t)||et(e)&&et(t)?n.push(...function(e,t){let n=[],r=iu(Object.values(e.getFields()),Object.values(t.getFields()));for(let t of r.removed)n.push({type:o.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`});for(let[t,i]of r.persisted)n.push(...function(e,t,n){let r=[],i=iu(t.args,n.args);for(let n of i.removed)r.push({type:o.ARG_REMOVED,description:`${e.name}.${t.name} arg ${n.name} was removed.`});for(let[n,a]of i.persisted)if(io(n.type,a.type)){if(void 0!==n.defaultValue)if(void 0===a.defaultValue)r.push({type:s.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${n.name} defaultValue was removed.`});else{let i=il(n.defaultValue,n.type),o=il(a.defaultValue,a.type);i!==o&&r.push({type:s.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${n.name} has changed defaultValue from ${i} to ${o}.`})}}else r.push({type:o.ARG_CHANGED_KIND,description:`${e.name}.${t.name} arg ${n.name} has changed type from ${String(n.type)} to ${String(a.type)}.`});
873for(let n of i.added)eY(n)?r.push({type:o.REQUIRED_ARG_ADDED,description:`A required arg ${n.name} on ${e.name}.${t.name} was added.`}):r.push({type:s.OPTIONAL_ARG_ADDED,description:`An optional arg ${n.name} on ${e.name}.${t.name} was added.`});return r}(e,t,i)),!function e(t,n){return eu(t)?eu(n)&&e(t.ofType,n.ofType)||ed(n)&&e(t,n.ofType):ed(t)?ed(n)&&e(t.ofType,n.ofType):eO(n)&&t.name===n.name||ed(n)&&e(t,n.ofType)}(t.type,i.type)&&n.push({type:o.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from ${String(t.type)} to ${String(i.type)}.`});return n}(e,t),...function(e,t){let n=[],r=iu(e.getInterfaces(),t.getInterfaces());for(let t of r.added)n.push({type:s.IMPLEMENTED_INTERFACE_ADDED,description:`${t.name} added to interfaces implemented by ${e.name}.`});for(let t of r.removed)n.push({type:o.IMPLEMENTED_INTERFACE_REMOVED,description:`${e.name} no longer implements interface ${t.name}.`});return n}(e,t)):e.constructor!==t.constructor&&n.push({type:o.TYPE_CHANGED_KIND,description:`${e.name} changed from ${is(e)} to ${is(t)}.`});return n}(e,t),...function(e,t){let n=[],r=iu(e.getDirectives(),t.getDirectives());for(let e of r.removed)n.push({type:o.DIRECTIVE_REMOVED,description:`${e.name} was removed.`});for(let[e,t]of r.persisted){let r=iu(e.args,t.args);for(let t of r.added)eY(t)&&n.push({type:o.REQUIRED_DIRECTIVE_ARG_ADDED,description:`A required arg ${t.name} on directive ${e.name} was added.`});for(let t of r.removed)n.push({type:o.DIRECTIVE_ARG_REMOVED,description:`${t.name} was removed from ${e.name}.`});for(let r of(e.isRepeatable&&!t.isRepeatable&&n.push({type:o.DIRECTIVE_REPEATABLE_REMOVED,description:`Repeatable flag was removed from ${e.name}.`}),e.locations))t.locations.includes(r)||n.push({type:o.DIRECTIVE_LOCATION_REMOVED,description:`${r} was removed from ${e.name}.`})}return n}(e,t)]}!function(e){e.TYPE_REMOVED="TYPE_REMOVED",e.TYPE_CHANGED_KIND="TYPE_CHANGED_KIND",e.TYPE_REMOVED_FROM_UNION="TYPE_REMOVED_FROM_UNION",e.VALUE_REMOVED_FROM_ENUM="VALUE_REMOVED_FROM_ENUM",e.REQUIRED_INPUT_FIELD_ADDED="REQUIRED_INPUT_FIELD_ADDED",e.IMPLEMENTED_INTERFACE_REMOVED="IMPLEMENTED_INTERFACE_REMOVED",e.FIELD_REMOVED="FIELD_REMOVED",e.FIELD_CHANGED_KIND="FIELD_CHANGED_KIND",e.REQUIRED_ARG_ADDED="REQUIRED_ARG_ADDED",e.ARG_REMOVED="ARG_REMOVED",e.ARG_CHANGED_KIND="ARG_CHANGED_KIND",e.DIRECTIVE_REMOVED="DIRECTIVE_REMOVED",e.DIRECTIVE_ARG_REMOVED="DIRECTIVE_ARG_REMOVED",e.REQUIRED_DIRECTIVE_ARG_ADDED="REQUIRED_DIRECTIVE_ARG_ADDED",e.DIRECTIVE_REPEATABLE_REMOVED="DIRECTIVE_REPEATABLE_REMOVED",e.DIRECTIVE_LOCATION_REMOVED="DIRECTIVE_LOCATION_REMOVED"}(o||(o={})),function(e){e.VALUE_ADDED_TO_ENUM="VALUE_ADDED_TO_ENUM",e.TYPE_ADDED_TO_UNION="TYPE_ADDED_TO_UNION",e.OPTIONAL_INPUT_FIELD_ADDED="OPTIONAL_INPUT_FIELD_ADDED",e.OPTIONAL_ARG_ADDED="OPTIONAL_ARG_ADDED",e.IMPLEMENTED_INTERFACE_ADDED="IMPLEMENTED_INTERFACE_ADDED",e.ARG_DEFAULT_VALUE_CHANGE="ARG_DEFAULT_VALUE_CHANGE"}(s||(s={}));function io(e,t){return eu(e)?eu(t)&&io(e.ofType,t.ofType):ed(e)?ed(t)&&io(e.ofType,t.ofType)||!ed(t)&&io(e.ofType,t):eO(t)&&e.name===t.name}function is(e){return J(e)?"a Scalar type":Q(e)?"an Object type":et(e)?"an Interface type":er(e)?"a Union type":ea(e)?"an Enum type":es(e)?"an Input type":void(0,tp.V)(!1,"Unexpected type: "+(0,d.N)(e))}function il(e,t){let n=th(e,t);return null!=n||(0,tp.V)(!1),F(na(n))}function iu(e,t){let n=[],r=[],i=[],a=v(e,({name:e})=>e),o=v(t,({name:e})=>e);for(let t of e){let e=o[t.name];void 0===e?r.push(t):i.push([t,e])}for(let e of t)void 0===a[e.name]&&n.push(e);return{added:n,persisted:i,removed:r}}},67127:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DraggableProgressBar=void 0;let r=n(70015),i=n(80263),a=n(30589),o=r.__importDefault(n(28909)),s=n(53239),l=n(66976),u=n(55936),c=n(30967),d=n(72039),p=o.default.div(({theme:e})=>({alignItems:"center",display:"flex",lineHeight:e.fontSize.normal})),f=o.default.span(({isVisible:e,theme:t})=>({fontSize:"13px",lineHeight:"20px",opacity:t.opacity.decent,visibility:e?"visible":"hidden"})),h=o.default.div({flex:"1",textAlign:"right"}),m=o.default.span(({theme:e})=>({fontSize:e.fontSize.small,fontWeight:e.fontWeight.bold,lineHeight:"18px",position:"absolute"})),g=o.default.div({position:"absolute",width:"100%"}),y=o.default.div({position:"relative"});t.DraggableProgressBar=()=>{var e,t;let n=(0,a.useTheme)(),{state:r,actions:o}=(0,s.useContext)(l.PlayerContext),{position:v,bufferedTimeRanges:b,seekableRange:_,isLivestream:S,isLiveOnDemandChannel:E}
873=r,k=null!=(e=r.duration)?e:0,[A,T]=(0,s.useState)(null),[x,w]=(0,s.useState)(null),[C,I]=(0,s.useState)(!1),[O,R]=(0,s.useState)({height:0,left:0,width:0}),P=(0,s.useRef)(null),N=(0,s.useRef)(null),L=(0,s.useRef)(null),j=(0,s.useRef)(null),M=(0,s.useRef)(null),{seekTo:D,seekStart:F,seekEnd:U}=o,[V,B]=_,G=null!=B?B:0,Y=S&&!E,z=null!=(t=null!=A?A:v)?t:0,W=Y?Math.floor((G-z)/1e3):G-z,Z=Math.max(...b.map(([,e])=>e));(0,s.useEffect)(()=>{let e=requestAnimationFrame(()=>{var e;let t=null!=(e=N.current)?e:P.current;if(t&&j.current&&L.current&&x){let e=j.current.getBoundingClientRect();R(function(e,t,n,r){return{height:t.height,left:Math.max(0,Math.min(e.width-t.width,n.left-e.left+r.x-t.width/2)),width:t.width}}(L.current.getBoundingClientRect(),t.getBoundingClientRect(),e,x))}});return()=>{cancelAnimationFrame(e)}},[x]);let H=(0,u.formatSeconds)(W,Y?0:k||0,!0);return(0,i.jsxs)(y,Object.assign({ref:L,"aria-label":"Fortschrittsanzeige"},{children:[(0,i.jsx)(g,{children:(0,i.jsx)(c.FadeTransition,Object.assign({isVisible:!!x},{children:x?(0,i.jsx)(m,Object.assign({ref:N,style:{fontSize:n.fontSize.big,left:`${O.left}px`}},{children:(0,u.formatSeconds)(x.videoPosition)})):null}))}),(0,i.jsx)(p,{children:(0,i.jsxs)(h,Object.assign({ref:j},{children:[(0,i.jsx)(f,Object.assign({isVisible:!C,"aria-label":"Verbleibende Zeit",ref:M},{children:H})),(0,i.jsx)(d.Slider,{min:null!=V?V:0,max:G||0,buffer:Z,value:z,onChange:T,onHover:e=>{if(w(e),M.current){let t=M.current.getBoundingClientRect();I(e.x+e.targetLeftOffset+t.width>=t.left)}},onMoveOut:()=>{I(!1),w(null)},onStart:F,onEnd:e=>{w(null),D({position:e}),T(null),U()},isPassive:Y,color:n.color.primary})]}))})]}))}},67533:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createShakaPlayerAdapter=void 0;let r=n(70015),i=r.__importDefault(n(89785)),a=r.__importDefault(n(54007)),o=n(36994),s=n(9620),l=n(22851),u=n(40077),c=n(50563),d=n(74717),p=n(94657),f=n(77194),h=n(78129),m=n(80353),g=n(7009),y=n(91920),v=n(12050),b=n(42975),_=n(38703),S=n(39856),E=n(21744);t.createShakaPlayerAdapter=function(e){return r.__awaiter(this,void 0,void 0,function*(){let{domNode:t,fullscreenService:n,httpClient:r,isUserActivated:k,logLevel:A,toggleRouter:T,videoElement:x}=e;A&&b.logger.setLevel(A);let w=i.default;T.getFeatureValue("use-shaka-latest").unwrapOr(!1)&&!(0,o.isSafari)()&&(b.logger.log("Using latest Shaka version"),w=a.default),(0,y.setupGlobalEnvironmentForShaka)({globalObject:globalThis,polyfill:w.polyfill});let C=(0,v.initializeShakaPlayer)({ShakaPlayerConstructor:w.Player,videoElement:x}),I=(0,m.createCapabilitiesResolver)({probeSupport:w.Player.probeSupport}),O=(0,s.createBrowserDetector)(window.navigator.userAgent),R=(0,_.createSourceDetector)({browserDetector:O,capabilitiesResolver:I}),P=(0,g.createCertificateFetcher)({httpClient:r}),N=(0,S.createStore)({isUserActivated:k}),L=(0,f.createActions)({ShakaErrorUtil:w.util.Error,browserDetector:O,capabilitiesResolver:I,certificateFetcher:P,createShakaSubtitles:E.createShakaSubtitles,createSubtitles:u.createSubtitles,domNode:t,eventEmitter:(0,l.createPlatformPlayerEventEmitter)(),fullscreenService:n,isVideoElementActivated:c.isVideoElementActivated,shakaPlayer:C,sourceDetector:R,store:N,styleVideoElement:d.styleVideoElement,supportsAutoplay:p.supportsAutoplay,toggleRouter:T,videoElement:x});return yield(0,h.createApi)({actions:L})})}},67608:(e,t)=>{"use strict";function n(e){return{is:t=>t.unit===e,isEqual:(e,t)=>e.value===t.value,isGreaterThan:(e,t)=>e.value>t.value,isLessThan:(e,t)=>e.value<t.value,isLessThanOrEqual:(e,t)=>e.value<=t.value,of:t=>({unit:e,value:t}),unbox:e=>e.value}}function r(e,n){return t.seconds.is(e)&&"milliseconds"===n?{unit:n,value:1e3*e.value}:t.milliseconds.is(e)&&"seconds"===n?{unit:n,value:e.value/1e3}:e}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateDuration=t.toDate=t.convert=t.milliseconds=t.seconds=void 0,t.seconds=n("seconds"),t.milliseconds=n("milliseconds"),t.convert=r,t.toDate=function(e){let n=r(e,"milliseconds");return new Date(t.milliseconds.unbox(n))},t.calculateDuration=function(e,t,n){let i=r(e,n),a=r(t,n);return{unit:n,value:a.value-i.value}}},67650:(e,t)=>{"use strict";
873Object.defineProperty(t,"__esModule",{value:!0}),t.findKey=void 0,t.findKey=function(e,t){for(let[n,r]of Object.entries(e))if(r===t)return n;return null}},67651:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProductPlacementIcon=void 0;let r=n(80263);t.ProductPlacementIcon=e=>(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 15",className:e.className,role:"figure"},{children:(0,r.jsx)("g",{children:(0,r.jsxs)("g",Object.assign({fill:"#fff"},{children:[(0,r.jsx)("path",{d:"M.62 0h13.76a.62.62 0 01.62.62v13.76a.62.62 0 01-.62.62H.62a.62.62 0 01-.62-.62V.62A.62.62 0 01.62 0z",fillOpacity:".2",fillRule:"evenodd"}),(0,r.jsx)("path",{d:"M6.2 11.88V9.39h1.49a4.52 4.52 0 001.46-.22 3.35 3.35 0 001.13-.63 2.79 2.79 0 00.73-1 3 3 0 00.25-1.26A2.92 2.92 0 0011 5.11a2.64 2.64 0 00-.68-.93 3.2 3.2 0 00-1.06-.59 4.25 4.25 0 00-1.36-.21H4.7v8.5zM7.85 8H6.2V4.76h1.65a2.1 2.1 0 011.39.43 1.35 1.35 0 01.53 1.12 1.54 1.54 0 01-.53 1.24A2 2 0 017.85 8z"})]}))})}))},67722:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormattedDuration=void 0;let r=n(80263);t.FormattedDuration=e=>{let{duration:t,className:n}=e;return(0,r.jsx)("span",Object.assign({className:n},{children:`${Math.max(1,Math.floor(t/60))} Min.`}))}},67933:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RestrictedContentOverlay=t.ContentGradient=t.RestrictedContentOverlayStyled=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(19577)),s=n(53239),l=n(75609),u=n(66976),c=n(37514),d=n(31511),p=n(36569),f=n(98263);t.RestrictedContentOverlayStyled=a.default.div(({backgroundImage:e})=>({alignItems:"flex-start",backgroundColor:"#000000",backgroundImage:o.default.string(e)?`url(${e}/profile:nextgen-web-herolandscape-1920x)`:"",backgroundPosition:"center center",backgroundRepeat:"no-repeat",backgroundSize:"cover",boxSizing:"border-box",display:"flex",flexDirection:"column",height:"100%",justifyContent:"center",left:0,padding:"0 40px",position:"absolute",top:0,width:"100%",zIndex:c.dialogLayer}));let h=a.default.h2(({theme:e})=>({fontFamily:e.fontFamilyBold,fontSize:"28px",lineHeight:"33px",margin:"0 0 50px"})),m=(0,a.default)(d.BrandLogo)({marginBottom:"20px"}),g=(0,a.default)(p.ProgramTitle)({marginBottom:"15px"}),y=a.default.div({backgroundImage:"linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%)",height:"100%",left:0,position:"absolute",top:0,width:"100%",zIndex:-1});t.ContentGradient=a.default.div(({gradientColor:e})=>({backgroundImage:`linear-gradient(180deg, transparent 50%, ${e})`,height:"100%",left:0,position:"absolute",top:0,width:"100%",zIndex:-2})),t.RestrictedContentOverlay=({buttonListEntries:e,headerText:n,shouldBeShownForLiveContentResource:r})=>{var a,c;let{state:d}=(0,s.useContext)(u.PlayerContext),{mustShowElectronicProgramGuideButton:p}=d,{contentResource:v,runningProgramEntry:b,vibrantColor:_}=(e=>{var t;let n=o.default.nullOrUndefined(e.playlistIndex)?void 0:e.playlist[e.playlistIndex],r=n?e.liveChannels.get(n.id):null;return{contentResource:n,runningProgramEntry:null==r?void 0:r.program.find(e=>e.isCurrentlyRunning),vibrantColor:null!=(t=null==r?void 0:r.vibrantColor)?t:"rgb(102, 102, 102)"}})(d);return o.default.object(v)&&(0,l.isLiveContentResource)(v)&&r(d)?(0,i.jsxs)(t.RestrictedContentOverlayStyled,Object.assign({backgroundImage:p?null==(a=null==b?void 0:b.image)?void 0:a.toString():null==(c=v.regWallImage)?void 0:c.toString()},{children:[(0,i.jsx)(y,{}),(0,i.jsx)(t.ContentGradient,{gradientColor:_}),(0,i.jsx)(m,{brandLogo:v.brandLogo,title:v.title}),p?(0,i.jsx)(g,{title:null==b?void 0:b.title}):(0,i.jsx)(g,{title:v.regWallTitle}),(0,i.jsx)(h,{children:n}),(0,i.jsx)(f.RestrictedContentButtonList,{listEntries:e,mainButtonHoverColor:_})]})):null}},68071:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="data:application/javascript;base64,OyhmdW5jdGlvbihvbWlkR2xvYmFsKSB7CiAgJ3VzZSBzdHJpY3QnO3ZhciBuO2Z1bmN0aW9uIGFhKGEpe3ZhciBiPTA7cmV0dXJuIGZ1bmN0aW9uKCl7cmV0dXJuIGI8YS5sZW5ndGg/e2RvbmU6ITEsdmFsdWU6YVtiKytdfTp7ZG9uZTo
873hMH19fWZ1bmN0aW9uIHAoYSl7dmFyIGI9J3VuZGVmaW5lZCchPXR5cGVvZiBTeW1ib2wmJlN5bWJvbC5pdGVyYXRvciYmYVtTeW1ib2wuaXRlcmF0b3JdO3JldHVybiBiP2IuY2FsbChhKTp7bmV4dDphYShhKX19ZnVuY3Rpb24gcShhKXtpZighKGEgaW5zdGFuY2VvZiBBcnJheSkpe2E9cChhKTtmb3IodmFyIGIsYz1bXTshKGI9YS5uZXh0KCkpLmRvbmU7KWMucHVzaChiLnZhbHVlKTthPWN9cmV0dXJuIGF9dmFyIGJhPSdmdW5jdGlvbic9PXR5cGVvZiBPYmplY3QuY3JlYXRlP09iamVjdC5jcmVhdGU6ZnVuY3Rpb24oYSl7ZnVuY3Rpb24gYigpe31iLnByb3RvdHlwZT1hO3JldHVybiBuZXcgYn0sY2E7CmlmKCdmdW5jdGlvbic9PXR5cGVvZiBPYmplY3Quc2V0UHJvdG90eXBlT2YpY2E9T2JqZWN0LnNldFByb3RvdHlwZU9mO2Vsc2V7dmFyIGRhO2E6e3ZhciBlYT17WDohMH0sZmE9e307dHJ5e2ZhLl9fcHJvdG9fXz1lYTtkYT1mYS5YO2JyZWFrIGF9Y2F0Y2goYSl7fWRhPSExfWNhPWRhP2Z1bmN0aW9uKGEsYil7YS5fX3Byb3RvX189YjtpZihhLl9fcHJvdG9fXyE9PWIpdGhyb3cgbmV3IFR5cGVFcnJvcihhKycgaXMgbm90IGV4dGVuc2libGUnKTtyZXR1cm4gYX06bnVsbH12YXIgaGE9Y2E7CmZ1bmN0aW9uIHIoYSxiKXthLnByb3RvdHlwZT1iYShiLnByb3RvdHlwZSk7YS5wcm90b3R5cGUuY29uc3RydWN0b3I9YTtpZihoYSloYShhLGIpO2Vsc2UgZm9yKHZhciBjIGluIGIpaWYoJ3Byb3RvdHlwZSchPWMpaWYoT2JqZWN0LmRlZmluZVByb3BlcnRpZXMpe3ZhciBkPU9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IoYixjKTtkJiZPYmplY3QuZGVmaW5lUHJvcGVydHkoYSxjLGQpfWVsc2UgYVtjXT1iW2NdfWZ1bmN0aW9uIGlhKGEpe2E9WydvYmplY3QnPT10eXBlb2Ygd2luZG93JiZ3aW5kb3csJ29iamVjdCc9PXR5cGVvZiBzZWxmJiZzZWxmLCdvYmplY3QnPT10eXBlb2YgZ2xvYmFsJiZnbG9iYWwsYV07Zm9yKHZhciBiPTA7YjxhLmxlbmd0aDsrK2Ipe3ZhciBjPWFbYl07aWYoYyYmYy5NYXRoPT1NYXRoKXJldHVybiBjfXJldHVybiBnbG9iYWxUaGlzfQp2YXIgdT1pYSh0aGlzKSx2PSdmdW5jdGlvbic9PXR5cGVvZiBPYmplY3QuZGVmaW5lUHJvcGVydGllcz9PYmplY3QuZGVmaW5lUHJvcGVydHk6ZnVuY3Rpb24oYSxiLGMpe2EhPUFycmF5LnByb3RvdHlwZSYmYSE9T2JqZWN0LnByb3RvdHlwZSYmKGFbYl09Yy52YWx1ZSl9O2Z1bmN0aW9uIHgoYSxiKXtpZihiKXt2YXIgYz11O2E9YS5zcGxpdCgnLicpO2Zvcih2YXIgZD0wO2Q8YS5sZW5ndGgtMTtkKyspe3ZhciBlPWFbZF07ZSBpbiBjfHwoY1tlXT17fSk7Yz1jW2VdfWE9YVthLmxlbmd0aC0xXTtkPWNbYV07Yj1iKGQpO2IhPWQmJm51bGwhPWImJnYoYyxhLHtjb25maWd1cmFibGU6ITAsd3JpdGFibGU6ITAsdmFsdWU6Yn0pfX14KCdnbG9iYWxUaGlzJyxmdW5jdGlvbihhKXtyZXR1cm4gYXx8dX0pO2Z1bmN0aW9uIHkoYSxiKXtyZXR1cm4gT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKGEsYil9CnZhciBqYT0nZnVuY3Rpb24nPT10eXBlb2YgT2JqZWN0LmFzc2lnbj9PYmplY3QuYXNzaWduOmZ1bmN0aW9uKGEsYil7Zm9yKHZhciBjPTE7Yzxhcmd1bWVudHMubGVuZ3RoO2MrKyl7dmFyIGQ9YXJndW1lbnRzW2NdO2lmKGQpZm9yKHZhciBlIGluIGQpeShkLGUpJiYoYVtlXT1kW2VdKX1yZXR1cm4gYX07eCgnT2JqZWN0LmFzc2lnbicsZnVuY3Rpb24oYSl7cmV0dXJuIGF8fGphfSk7ZnVuY3Rpb24ga2EoKXtrYT1mdW5jdGlvbigpe307dS5TeW1ib2x8fCh1LlN5bWJvbD1sYSl9ZnVuY3Rpb24gbmEoYSxiKXt0aGlzLmE9YTt2KHRoaXMsJ2Rlc2NyaXB0aW9uJyx7Y29uZmlndXJhYmxlOiEwLHdyaXRhYmxlOiEwLHZhbHVlOmJ9KX1uYS5wcm90b3R5cGUudG9TdHJpbmc9ZnVuY3Rpb24oKXtyZXR1cm4gdGhpcy5hfTsKdmFyIGxhPWZ1bmN0aW9uKCl7ZnVuY3Rpb24gYShjKXtpZih0aGlzIGluc3RhbmNlb2YgYSl0aHJvdyBuZXcgVHlwZUVycm9yKCdTeW1ib2wgaXMgbm90IGEgY29uc3RydWN0b3InKTtyZXR1cm4gbmV3IG5hKCdqc2NvbXBfc3ltYm9sXycrKGN8fCcnKSsnXycrYisrLGMpfXZhciBiPTA7cmV0dXJuIGF9KCk7ZnVuY3Rpb24geigpe2thKCk7dmFyIGE9dS5TeW1ib2wuaXRlcmF0b3I7YXx8KGE9dS5TeW1ib2wuaXRlcmF0b3I9dS5TeW1ib2woJ1N5bWJvbC5pdGVyYXRvcicpKTsnZnVuY3Rpb24nIT10eXBlb2YgQXJyYXkucHJvdG90eXBlW2FdJiZ2KEFycmF5LnByb3RvdHlwZSxhLHtjb25maWd1cmFibGU6ITAsd3JpdGFibGU6ITAsdmFsdWU6ZnVuY3Rpb24oKXtyZXR1cm4gb2EoYWEodGhpcykpfX0pO3o9ZnVuY3Rpb24oKXt9fWZ1bmN0aW9uIG9hKGEpe3ooKTthPXtuZXh0OmF9O2FbdS5TeW1ib2wuaXRlcmF0b3JdPWZ1bmN0aW9uKCl7cmV0dXJuIHRoaXN9O3JldHVybiBhfQp4KCdXZWFrTWFwJyxmdW5jdGlvbihhKXtmdW5jdGlvbiBiKGgpe3RoaXMuYT0oZys9TWF0aC5yYW5kb20oKSsxKS50b1N0cmluZygpO2lmKGgpe2g9cChoKTtmb3IodmFyIGs7IShrPWgubmV4dCgpKS5kb25lOylrPWsudmFsdWUsdGhpcy5zZXQoa1swXSxrWzFdKX19ZnVuY3Rpb24gYygpe31mdW5jdGlvbiBkKGgpe3ZhciBrPXR5cGVvZiBoO3JldHVybidvYmplY3QnPT09ayYmbnVsbCE9PWh8fCdmdW5jdGlvbic9PT1rfWZ1bmN0aW9uIGUoaCl7aWYoIXkoaCxsKSl7dmFyIGs9bmV3IGM7dihoLGwse3ZhbHVlOmt9KX19ZnVuY3Rpb24gZihoKXt2YXIgaz1PYmplY3RbaF07ayYmKE9iamVjdFtoXT1mdW5jdGlvbihtKXtpZihtIGluc3RhbmNlb2YgYylyZXR1cm4gbTtlKG0pO3JldHVybiBrKG0pfSl9aWYoZnVuY3Rpb24oKXtpZighYXx8IU9iamVjdC5zZWFsKXJldHVybiExO3RyeXt2YXIgaD1PYmplY3Quc2VhbCh7fSksaz1PYmplY3Quc2VhbCh7fSksbT1uZXcgYShbW2gsMl0sW2ssCjNdXSk7aWYoMiE9bS5nZXQoaCl8fDMhPW0uZ2V0KGspKXJldHVybiExO20uZGVsZXRlKGgpO20uc2V0KGssNCk7cmV0dXJuIW0uaGFzKGgpJiY0PT1tLmdldChrKX1jYXRjaCh0KXtyZXR1cm4hMX19KCkpcmV0dXJuIGE7dmFyIGw9JyRqc2NvbXBfaGlkZGVuXycrTWF0aC5yYW5kb20oKTtmKCdmcmVlemUnKTtmKCdwcmV2ZW50RXh0ZW5zaW9ucycpO2YoJ3NlYWwnKTt2YXIgZz0wO2IucHJvdG90eXBlLnNldD1mdW5jdGlvbihoLGspe2lmKCFkKGgpKXRocm93IEVycm9yKCdJbnZhbGlkIFdlYWtNYXAga2V5Jyk7ZShoKTtpZigheShoLGwpKXRocm93IEVycm9yKCdXZWFrTWFwIGtleSBmYWlsOiAnK2gpO2hbbF1bdGhpcy5hXT1rO3JldHVybiB0aGlzfTtiLnByb3RvdHlwZS5nZXQ9ZnVuY3Rpb24oaCl7cmV0dXJuIGQoaCkmJnkoaCxsKT9oW2xdW3RoaXMuYV06dm9pZCAwfTtiLnByb3RvdHlwZS5oYXM9ZnVuY3Rpb24oaCl7cmV0dXJuIGQoaCkmJnkoaCxsKSYmeShoW2xdLHRoaXMuYSl9OwpiLnByb3RvdHlwZS5kZWxldGU9ZnVuY3Rpb24oaCl7cmV0dXJuIGQoaCkmJnkoaCxsKSYmeShoW2xdLHRoaXMuYSk/ZGVsZXRlIGhbbF1bdGhpcy5hXTohMX07cmV0dXJuIGJ9KTsKeCgnTWFwJyxmdW5jdGlvbihhKXtmdW5jdGlvbiBiKCl7dmFyIGc9e307cmV0dXJuIGcuRD1nLm5leHQ9Zy5oZWFkPWd9ZnVuY3Rpb24gYyhnLGgpe3ZhciBrPWcuYTtyZXR1cm4gb2EoZnVuY3Rpb24oKXtpZihrKXtmb3IoO2suaGVhZCE9Zy5hOylrPWsuRDtmb3IoO2submV4dCE9ay5oZWFkOylyZXR1cm4gaz1rLm5leHQse2RvbmU6ITEsdmFsdWU6aChrKX07az1udWxsfXJldHVybntkb25lOiEwLHZhbHVlOnZvaWQgMH19KX1mdW5jdGlvbiBkKGcsaCl7dmFyIGs9aCYmdHlwZW9mIGg7J29iamVjdCc9PWt8fCdmdW5jdGlvbic9PWs/Zi5oYXMoaCk/az1mLmdldChoKTooaz0nJysgKytsLGYuc2V0KGgsaykpOms9J3BfJytoO3ZhciBtPWcuYltrXTtpZihtJiZ5KGcuYixrKSlmb3IoZz0wO2c8bS5sZW5ndGg7ZysrKXt2YXIgdD1tW2ddO2lmKGghPT1oJiZ0LmtleSE9PXQua2V5fHxoPT09dC5rZXkpcmV0dXJue2lkOmssbGlzdDptLGluZGV4Omcsbzp0fX1yZXR1cm57aWQ6ayxsaXN0Om0sCmluZGV4Oi0xLG86dm9pZCAwfX1mdW5jdGlvbiBlKGcpe3RoaXMuYj17fTt0aGlzLmE9YigpO3RoaXMuc2l6ZT0wO2lmKGcpe2c9cChnKTtmb3IodmFyIGg7IShoPWcubmV4dCgpKS5kb25lOyloPWgudmFsdWUsdGhpcy5zZXQoaFswXSxoWzFdKX19aWYoZnVuY3Rpb24oKXtpZighYXx8J2Z1bmN0aW9uJyE9dHlwZW9mIGF8fCFhLnByb3RvdHlwZS5lbnRyaWVzfHwnZnVuY3Rpb24nIT10eXBlb2YgT2JqZWN0LnNlYWwpcmV0dXJuITE7dHJ5e3ZhciBnPU9iamVjdC5zZWFsKHt4OjR9KSxoPW5ldyBhKHAoW1tnLCdzJ11dKSk7aWYoJ3MnIT1oLmdldChnKXx8MSE9aC5zaXplfHxoLmdldCh7eDo0fSl8fGguc2V0KHt4OjR9LCd0JykhPWh8fDIhPWguc2l6ZSlyZXR1cm4hMTt2YXIgaz1oLmVudHJpZXMoKSxtPWsubmV4dCgpO2lmKG0uZG9uZXx8bS52YWx1ZVswXSE9Z3x8J3MnIT1tLnZhbHVlWzFdKXJldHVybiExO209ay5uZXh0KCk7cmV0dXJuIG0uZG9uZXx8NCE9bS52YWx1ZVswXS54fHwKJ3QnIT1tLnZhbHVlWzFdfHwhay5uZXh0KCkuZG9uZT8hMTohMH1jYXRjaCh0KXtyZXR1cm4hMX19KCkpcmV0dXJuIGE7eigpO3ZhciBmPW5ldyBXZWFrTWFwO2UucHJvdG90eXBlLnNldD1mdW5jdGlvbihnLGgpe2c9MD09PWc/MDpnO3ZhciBrPWQodGhpcyxnKTtrLmxpc3R8fChrLmxpc3Q9dGhpcy5iW2suaWRdPVtdKTtrLm8/ay5vLnZhbHVlPWg6KGsubz17bmV4dDp0aGlzLmEsRDp0aGlzLmEuRCxoZWFkOnRoaXMuYSxrZXk6Zyx2YWx1ZTpofSxrLmxpc3QucHVzaChrLm8pLHRoaXMuYS5ELm5leHQ9ay5vLHRoaXMuYS5EPWsubyx0aGlzLnNpemUrKyk7cmV0dXJuIHRoaXN9O2UucHJvdG90eXBlLmRlbGV0ZT1mdW5jdGlvbihnKXtnPWQodGhpcyxnKTtyZXR1cm4gZy5vJiZnLmxpc3Q/KGcubGlzdC5zcGxpY2UoZy5pbmRleCwxKSxnLmxpc3QubGVuZ3RofHxkZWxldGUgdGhpcy5iW2cuaWRdLGcuby5ELm5leHQ9Zy5vLm5leHQsZy5vLm5leHQuRD1nLm8uRCxnLm8uaGVhZD1udWxsLAp0aGlzLnNpemUtLSwhMCk6ITF9O2UucHJvdG90eXBlLmNsZWFyPWZ1bmN0aW9uKCl7dGhpcy5iPXt9O3RoaXMuYT10aGlzLmEuRD1iKCk7dGhpcy5zaXplPTB9O2UucHJvdG90eXBlLmhhcz1mdW5jdGlvbihnKXtyZXR1cm4hIWQodGhpcyxnKS5vfTtlLnByb3RvdHlwZS5nZXQ9ZnVuY3Rpb24oZyl7cmV0dXJuKGc9ZCh0aGlzLGcpLm8pJiZnLnZhbHVlfTtlLnByb3RvdHlwZS5lbnRyaWVzPWZ1bmN0aW9uKCl7cmV0dXJuIGModGhpcyxmdW5jdGlvbihnKXtyZXR1cm5bZy5rZXksZy52YWx1ZV19KX07ZS5wcm90b3R5cGUua2V5cz1mdW5jdGlvbigpe3JldHVybiBjKHRoaXMsZnVuY3Rpb24oZyl7cmV0dXJuIGcua2V5fSl9O2UucHJvdG90eXBlLnZhbHVlcz1mdW5jdGlvbigpe3JldHVybiBjKHRoaXMsZnVuY3Rpb24oZyl7cmV0dXJuIGcudmFsdWV9KX07ZS5wcm90b3R5cGUuZm9yRWFjaD1mdW5jdGlvbihnLGgpe2Zvcih2YXIgaz10aGlzLmVudHJpZXMoKSxtOyEobT1rLm5leHQoKSkuZG9uZTspbT0KbS52YWx1ZSxnLmNhbGwoaCxtWzFdLG1bMF0sdGhpcyl9O2UucHJvdG90eXBlW1N5bWJvbC5pdGVyYXRvcl09ZS5wcm90b3R5cGUuZW50cmllczt2YXIgbD0wO3JldHVybiBlfSk7eCgnT2JqZWN0LnZhbHVlcycsZnVuY3Rpb24oYSl7cmV0dXJuIGE/YTpmdW5jdGlvbihiKXt2YXIgYz1bXSxkO2ZvcihkIGluIGIpeShiLGQpJiZjLnB1c2goYltkXSk7cmV0dXJuIGN9fSk7CngoJ1NldCcsZnVuY3Rpb24oYSl7ZnVuY3Rpb24gYihjKXt0aGlzLmE9bmV3IE1hcDtpZihjKXtjPXAoYyk7Zm9yKHZhciBkOyEoZD1jLm5leHQoKSkuZG9uZTspdGhpcy5hZGQoZC52YWx1ZSl9dGhpcy5zaXplPXRoaXMuYS5zaXplfWlmKGZ1bmN0aW9uKCl7aWYoIWF8fCdmdW5jdGlvbichPXR5cGVvZiBhfHwhYS5wcm90b3R5cGUuZW50cmllc3x8J2Z1bmN0aW9uJyE9dHlwZW9mIE9iamVjdC5zZWFsKXJldHVybiExO3RyeXt2YXIgYz1PYmplY3Quc2VhbCh7eDo0fSksZD1uZXcgYShwKFtjXSkpO2lmKCFkLmhhcyhjKXx8MSE9ZC5zaXplfHxkLmFkZChjKSE9ZHx8MSE9ZC5zaXplfHxkLmFkZCh7eDo0fSkhPWR8fDIhPWQuc2l6ZSlyZXR1cm4hMTt2YXIgZT1kLmVudHJpZXMoKSxmPWUubmV4dCgpO2lmKGYuZG9uZXx8Zi52YWx1ZVswXSE9Y3x8Zi52YWx1ZVsxXSE9YylyZXR1cm4hMTtmPWUubmV4dCgpO3JldHVybiBmLmRvbmV8fGYudmFsdWVbMF09PWN8fDQhPWYudmFsdWVbMF0ueHx8CmYudmFsdWVbMV0hPWYudmFsdWVbMF0/ITE6ZS5uZXh0KCkuZG9uZX1jYXRjaChsKXtyZXR1cm4hMX19KCkpcmV0dXJuIGE7eigpO2IucHJvdG90eXBlLmFkZD1mdW5jdGlvbihjKXtjPTA9PT1jPzA6Yzt0aGlzLmEuc2V0KGMsYyk7dGhpcy5zaXplPXRoaXMuYS5zaXplO3JldHVybiB0aGlzfTtiLnByb3RvdHlwZS5kZWxldGU9ZnVuY3Rpb24oYyl7Yz10aGlzLmEuZGVsZXRlKGMpO3RoaXMuc2l6ZT10aGlzLmEuc2l6ZTtyZXR1cm4gY307Yi5wcm90b3R5cGUuY2xlYXI9ZnVuY3Rpb24oKXt0aGlzLmEuY2xlYXIoKTt0aGlzLnN
873pemU9MH07Yi5wcm90b3R5cGUuaGFzPWZ1bmN0aW9uKGMpe3JldHVybiB0aGlzLmEuaGFzKGMpfTtiLnByb3RvdHlwZS5lbnRyaWVzPWZ1bmN0aW9uKCl7cmV0dXJuIHRoaXMuYS5lbnRyaWVzKCl9O2IucHJvdG90eXBlLnZhbHVlcz1mdW5jdGlvbigpe3JldHVybiB0aGlzLmEudmFsdWVzKCl9O2IucHJvdG90eXBlLmtleXM9Yi5wcm90b3R5cGUudmFsdWVzOwpiLnByb3RvdHlwZVtTeW1ib2wuaXRlcmF0b3JdPWIucHJvdG90eXBlLnZhbHVlcztiLnByb3RvdHlwZS5mb3JFYWNoPWZ1bmN0aW9uKGMsZCl7dmFyIGU9dGhpczt0aGlzLmEuZm9yRWFjaChmdW5jdGlvbihmKXtyZXR1cm4gYy5jYWxsKGQsZixmLGUpfSl9O3JldHVybiBifSk7eCgnT2JqZWN0LmlzJyxmdW5jdGlvbihhKXtyZXR1cm4gYT9hOmZ1bmN0aW9uKGIsYyl7cmV0dXJuIGI9PT1jPzAhPT1ifHwxL2I9PT0xL2M6YiE9PWImJmMhPT1jfX0pO3goJ0FycmF5LnByb3RvdHlwZS5pbmNsdWRlcycsZnVuY3Rpb24oYSl7cmV0dXJuIGE/YTpmdW5jdGlvbihiLGMpe3ZhciBkPXRoaXM7ZCBpbnN0YW5jZW9mIFN0cmluZyYmKGQ9U3RyaW5nKGQpKTt2YXIgZT1kLmxlbmd0aDtjPWN8fDA7Zm9yKDA+YyYmKGM9TWF0aC5tYXgoYytlLDApKTtjPGU7YysrKXt2YXIgZj1kW2NdO2lmKGY9PT1ifHxPYmplY3QuaXMoZixiKSlyZXR1cm4hMH1yZXR1cm4hMX19KTsKdmFyIEE9e2phOidsb2FkZWQnLHBhOidzdGFydCcsZWE6J2ZpcnN0UXVhcnRpbGUnLGthOidtaWRwb2ludCcscWE6J3RoaXJkUXVhcnRpbGUnLGNhOidjb21wbGV0ZScsbGE6J3BhdXNlJyxuYToncmVzdW1lJyxiYTonYnVmZmVyU3RhcnQnLGFhOididWZmZXJGaW5pc2gnLG9hOidza2lwcGVkJyxyYTondm9sdW1lQ2hhbmdlJyxtYToncGxheWVyU3RhdGVDaGFuZ2UnLCQ6J2FkVXNlckludGVyYWN0aW9uJ30scGE9e2ZhOidmdWxsJyxkYTonZG9tYWluJyxpYTonbGltaXRlZCd9O2Z1bmN0aW9uIEIoYSxiKXt0aGlzLng9bnVsbCE9YS54P2EueDphLmxlZnQ7dGhpcy55PW51bGwhPWEueT9hLnk6YS50b3A7dGhpcy53aWR0aD1hLndpZHRoO3RoaXMuaGVpZ2h0PWEuaGVpZ2h0O3RoaXMuQj10aGlzLngrdGhpcy53aWR0aDt0aGlzLkM9dGhpcy55K3RoaXMuaGVpZ2h0O3RoaXMudj1hLnZ8fHZvaWQgMDt0aGlzLlQ9YS5UfHxbXTt0aGlzLmI9YS5mcmllbmRseU9ic3RydWN0aW9uQ2xhc3N8fHZvaWQgMDt0aGlzLmM9YS5mcmllbmRseU9ic3RydWN0aW9uUHVycG9zZXx8dm9pZCAwO3RoaXMuZj1hLmZyaWVuZGx5T2JzdHJ1Y3Rpb25SZWFzb258fHZvaWQgMDt0aGlzLks9dm9pZCAwIT09YS5LPyEwPT09YS5LOiEwO3RoaXMuZz12b2lkIDAhPT1hLmhhc1dpbmRvd0ZvY3VzPyEwPT09YS5oYXNXaW5kb3dGb2N1czohMDt0aGlzLnc9YS53fHx2b2lkIDA7dGhpcy5WPWEuVnx8dm9pZCAwO3RoaXMuSj1hLkp8fFtdO3RoaXMuTD1hLkx8fCExO3RoaXMuYT1ifQpmdW5jdGlvbiBxYShhKXt2YXIgYj17fTtyZXR1cm4gYi53aWR0aD1hLndpZHRoLGIuaGVpZ2h0PWEuaGVpZ2h0LGJ9ZnVuY3Rpb24gQyhhKXt2YXIgYj17fTtyZXR1cm4gT2JqZWN0LmFzc2lnbih7fSxxYShhKSwoYi54PWEueCxiLnk9YS55LGIpKX1mdW5jdGlvbiBFKGEpe3ZhciBiPUMoYSksYz17fTtyZXR1cm4gT2JqZWN0LmFzc2lnbih7fSxiLChjLmVuZFg9YS5CLGMuZW5kWT1hLkMsYykpfUIucHJvdG90eXBlLlA9ZnVuY3Rpb24oYSl7aWYobnVsbD09YSlyZXR1cm4hMTthPUMoYSk7dmFyIGI9YS55LGM9YS53aWR0aCxkPWEuaGVpZ2h0O3JldHVybiB0aGlzLng9PT1hLngmJnRoaXMueT09PWImJnRoaXMud2lkdGg9PT1jJiZ0aGlzLmhlaWdodD09PWR9O2Z1bmN0aW9uIEYoYSl7cmV0dXJuIGEud2lkdGgqYS5oZWlnaHR9ZnVuY3Rpb24gSShhKXtyZXR1cm4gMD09PWEud2lkdGh8fDA9PT1hLmhlaWdodH07ZnVuY3Rpb24gcmEoYSxiKXt2YXIgYz0wO2lmKDA8Yi5sZW5ndGgpe3ZhciBkPXNhKGEsYik7YT1kLlk7ZD1kLlo7Zm9yKHZhciBlPTA7ZTxhLmxlbmd0aC0xO2UrKylmb3IodmFyIGY9KGFbZV0rKGFbZV0rMSkpLzIsbD1hW2UrMV0tYVtlXSxnPTA7ZzxkLmxlbmd0aC0xO2crKyl7Zm9yKHZhciBoPShkW2ddKyhkW2ddKzEpKS8yLGs9ZFtnKzFdLWRbZ10sbT0hMSx0PTA7dDxiLmxlbmd0aDt0Kyspe3ZhciB3PUMoYlt0XSk7aWYody54PGYmJncueCt3LndpZHRoPmYmJncueTxoJiZ3Lnkrdy5oZWlnaHQ+aCl7bT0hMDticmVha319bSYmKGMrPU1hdGgucm91bmQobCkqTWF0aC5yb3VuZChrKSl9fXJldHVybiBjfQpmdW5jdGlvbiBzYShhLGIpe2E9QyhhKTtmb3IodmFyIGM9W10sZD1bXSxlPTA7ZTxiLmxlbmd0aDtlKyspe3ZhciBmPUMoYltlXSk7Zj10YShhLGYpO3VhKGMsZi54KTt1YShjLGYuQik7dWEoZCxmLnkpO3VhKGQsZi5DKX1jPWMuc29ydChmdW5jdGlvbihsLGcpe3JldHVybiBsLWd9KTtkPWQuc29ydChmdW5jdGlvbihsLGcpe3JldHVybiBsLWd9KTtyZXR1cm57WTpjLFo6ZH19ZnVuY3Rpb24gdGEoYSxiKXtyZXR1cm57eDpNYXRoLm1heChhLngsYi54KSx5Ok1hdGgubWF4KGEueSxiLnkpLEI6TWF0aC5taW4oYS54K2Eud2lkdGgsYi54K2Iud2lkdGgpLEM6TWF0aC5taW4oYS55K2EuaGVpZ2h0LGIueStiLmhlaWdodCl9fWZ1bmN0aW9uIHVhKGEsYil7LTE9PT1hLmluZGV4T2YoYikmJmEucHVzaChiKX07ZnVuY3Rpb24gdmEoKXt0aGlzLmI9dGhpcy5hPXRoaXMuYz10aGlzLmk9dm9pZCAwO3RoaXMubD0wO3RoaXMuaD1bXTt0aGlzLnM9W107dGhpcy5tPTA7dGhpcy5qPVtdO3RoaXMuZj1bXTt0aGlzLmc9W119dmEucHJvdG90eXBlLlA9ZnVuY3Rpb24oYSl7cmV0dXJuIG51bGw9PWE/ITE6SlNPTi5zdHJpbmdpZnkod2EodGhpcykpPT09SlNPTi5zdHJpbmdpZnkod2EoYSkpfTsKZnVuY3Rpb24gd2EoYSl7dmFyIGI9W10sYz1bXSxkPXt2aWV3cG9ydDphLmksYWRWaWV3OntwZXJjZW50YWdlSW5WaWV3OmEubCxwaXhlbHNJblZpZXc6YS5tLHJlYXNvbnM6YS5nfSxkZWNsYXJlZEZyaWVuZGx5T2JzdHJ1Y3Rpb25zOmEuaC5sZW5ndGh9O2lmKHZvaWQgMCE9PWEuYSl7ZC5hZFZpZXcuZ2VvbWV0cnk9QyhhLmEpO2QuYWRWaWV3Lmdlb21ldHJ5LnBpeGVscz1GKGEuYSk7ZC5hZFZpZXcub25TY3JlZW5HZW9tZXRyeT1DKGEuYik7ZC5hZFZpZXcub25TY3JlZW5HZW9tZXRyeS5waXhlbHM9TWF0aC5tYXgoMCxGKGEuYiktcmEoYS5iLGEuZikpO2Zvcih2YXIgZT0wO2U8YS5mLmxlbmd0aDtlKyspYi5wdXNoKEMoYS5mW2VdKSk7Zm9yKGU9MDtlPGEucy5sZW5ndGg7ZSsrKXt2YXIgZj1hLnNbZV0sbD1mLGc9e307bC5iJiYoZy5vYnN0cnVjdGlvbkNsYXNzPWwuYik
8737bC5jJiYoZy5vYnN0cnVjdGlvblB1cnBvc2U9bC5jKTtsLmYmJihnLm9ic3RydWN0aW9uUmVhc29uPWwuZik7CmY9dGEoYS5hLGYpO2MucHVzaChPYmplY3QuYXNzaWduKHt9LHt4OmYueCx5OmYueSx3aWR0aDpmLkItZi54LGhlaWdodDpmLkMtZi55fSxnKSl9ZC5hZFZpZXcub25TY3JlZW5HZW9tZXRyeS5vYnN0cnVjdGlvbnM9YjtkLmFkVmlldy5vblNjcmVlbkdlb21ldHJ5LmZyaWVuZGx5T2JzdHJ1Y3Rpb25zPWN9cmV0dXJuIGR9ZnVuY3Rpb24geGEoYSxiKXtiPXFhKGIpO2EuaT17fTthLmkud2lkdGg9Yi53aWR0aDthLmkuaGVpZ2h0PWIuaGVpZ2h0O2EuYz17fTthLmMueD0wO2EuYy55PTA7YS5jLndpZHRoPWIud2lkdGg7YS5jLmhlaWdodD1iLmhlaWdodDthLmMuZW5kWD1iLndpZHRoO2EuYy5lbmRZPWIuaGVpZ2h0fWZ1bmN0aW9uIHlhKCl7cmV0dXJue3g6MCx5OjAsZW5kWDowLGVuZFk6MCx3aWR0aDowLGhlaWdodDowfX0KZnVuY3Rpb24gemEoYSxiKXt2YXIgYz17fTtjLng9TWF0aC5tYXgoYS54LGIueCk7Yy55PU1hdGgubWF4KGEueSxiLnkpO2MuZW5kWD1NYXRoLm1pbihhLmVuZFgsYi5lbmRYKTtjLmVuZFk9TWF0aC5taW4oYS5lbmRZLGIuZW5kWSk7Yy53aWR0aD1NYXRoLm1heCgwLGMuZW5kWC1jLngpO2MuaGVpZ2h0PU1hdGgubWF4KDAsYy5lbmRZLWMueSk7cmV0dXJuIGN9ZnVuY3Rpb24gQWEoYSxiKXtyZXR1cm4uMDE8Yi53aWR0aC1hLndpZHRofHwuMDE8Yi5oZWlnaHQtYS5oZWlnaHR9ZnVuY3Rpb24gQmEoYSl7aWYoLTEhPT1hLmcuaW5kZXhPZignYmFja2dyb3VuZGVkJykpYS5sPTAsYS5tPTA7ZWxzZXt2YXIgYj1GKGEuYSk7aWYoMCE9PWIpe3ZhciBjPU1hdGgubWF4KDAsRihhLmIpLXJhKGEuYixhLmYpKTthLmw9TWF0aC5yb3VuZChjL2IqMTAwKTthLm09Y319fQpmdW5jdGlvbiBDYShhLGIpe2lmKEkoYil8fCFhLmIpYj0hMTtlbHNle3ZhciBjPUUoYS5iKSxkPWMueSxlPWMuZW5kWDthPWMuZW5kWTt2YXIgZj1iLkI7Yz1jLng7KGY9ZjxjfHwuMDE+TWF0aC5hYnMoZi1jKSl8fChmPWIueCxmPWY+ZXx8LjAxPk1hdGguYWJzKGYtZSkpOyhlPWYpfHwoZT1iLkMsZT1lPGR8fC4wMT5NYXRoLmFicyhlLWQpKTsoZD1lKXx8KGI9Yi55LGQ9Yj5hfHwuMDE+TWF0aC5hYnMoYi1hKSk7Yj0hZH1yZXR1cm4gYn1mdW5jdGlvbiBKKGEsYil7Zm9yKHZhciBjPSExLGQ9MDtkPGEuZy5sZW5ndGg7ZCsrKWEuZ1tkXT09PWImJihjPSEwKTtjfHxhLmcucHVzaChiKX07ZnVuY3Rpb24gRGEoYSxiLGMsZCl7dmFyIGU9Yi5MPyEwOmIudj09PWQ7aWYoZSl7Yy5hPWI7dmFyIGY9RShjLmEpO2E9emEoYy5jLGYpO3ZhciBsPWMuYTsnbm90QXR0YWNoZWQnPT09bC53fHwnbm9XaW5kb3dGb2N1cyc9PT1sLnd8fCdub0FkVmlldyc9PT1sLnc/KEooYywnbm90Rm91bmQnKSxjLmI9bmV3IEIoeWEoKSwhMSkpOihsPWMuYSwndmlld0ludmlzaWJsZSc9PT1sLnd8fCd2aWV3R29uZSc9PT1sLnd8fCd2aWV3Tm90VmlzaWJsZSc9PT1sLnd8fCd2aWV3QWxwaGFaZXJvJz09PWwud3x8J3ZpZXdIaWRkZW4nPT09bC53fHx2b2lkIDAhPT1jLmEud3x8SShjLmEpPyhKKGMsJ2hpZGRlbicpLGMuYj1uZXcgQih5YSgpLCExKSk6KGMuYS5nfHwoSihjLCdiYWNrZ3JvdW5kZWQnKSxKKGMsJ25vV2luZG93Rm9jdXMnKSksQWEoYSxmKSYmSihjLCdjbGlwcGVkJyksYy5iPW5ldyBCKGEsITEpKSl9ZWxzZSBpZihmPSEwLGIuYSYmKGY9LTEhPT1iLlQuaW5kZXhPZihkKT8hMTohMT09PQpiLkspLGYpe2w9Yi5KO2Zvcih2YXIgZz0wO2c8bC5sZW5ndGg7ZysrKWY9dm9pZCAwIT09Yy5hLERhKGEsbmV3IEIobFtnXSxmKSxjLGQpfWV8fHZvaWQgMD09PWMuYXx8KGIuYT8tMSE9PWIuVC5pbmRleE9mKGQpP2MuaC5wdXNoKGIpOmMuai5wdXNoKGIpOihlPUUoYiksZD1FKGMuYiksQyhjLmIpLCFJKGMuYikmJmIuSyYmKGI9emEoZCxlKSxBYShiLGQpJiYoSihjLCdjbGlwcGVkJyksYy5iPW5ldyBCKGIsITEpKSkpKX07ZnVuY3Rpb24gRWEoYSxiKXt0aGlzLnk9dGhpcy54PTA7dGhpcy53aWR0aD1hO3RoaXMuaGVpZ2h0PWJ9O2Z1bmN0aW9uIEZhKCl7cmV0dXJue2FwaVZlcnNpb246JzEuMCcsYWNjZXNzTW9kZTonbGltaXRlZCcsZW52aXJvbm1lbnQ6J3dlYicsb21pZEpzSW5mbzp7b21pZEltcGxlbWVudGVyOidvbXNkaycsc2VydmljZVZlcnNpb246JzEuNC4yLWlhYjM3MDMnfSxhZFNlc3Npb25UeXBlOidodG1sJyxzdXBwb3J0czpbJ2NsaWQnLCd2bGlkJ119fWZ1bmN0aW9uIEdhKCl7dGhpcy52PW51bGw7dGhpcy5jPUZhKCk7dGhpcy5tPW51bGw7dGhpcy5sPSdmb3JlZ3JvdW5kZWQnO3RoaXMuaT10aGlzLmo9J25vbmUnO3RoaXMuaD10aGlzLmc9dGhpcy5mPXRoaXMucz10aGlzLmI9dGhpcy5hPXRoaXMuST10aGlzLk49bnVsbDt0aGlzLkc9ITA7dGhpcy51PW5ldyBNYXA7dGhpcy5PPSExO3RoaXMuSD1udWxsfXZhciBLO2Z1bmN0aW9uIEwoKXtLfHwoSz1uZXcgR2EpO3JldHVybiBLfQpmdW5jdGlvbiBIYSgpe0sudj1udWxsO0suYz1GYSgpO0subT1udWxsO0suZ2E9dm9pZCAwO0suaGE9dm9pZCAwO0suVT1udWxsO0suTT1udWxsO0suRj1udWxsO0subD0nZm9yZWdyb3VuZGVkJztLLmo9J25vbmUnO0suaT0nbm9uZSc7Sy5OPW51bGw7Sy5JPW51bGw7Sy5hPW51bGw7Sy5iPW51bGw7Sy5zPW51bGw7Sy5mPW51bGw7Sy5nPW51bGw7Sy5oPW51bGw7Sy5HPSEwO0sudT1uZXcgTWFwO0suTz0hMTtLLkg9bnVsbH07dmFyIE09ZnVuY3Rpb24oKXtpZigndW5kZWZpbmVkJyE9PXR5cGVvZiBvbWlkR2xvYmFsJiZvbWlkR2xvYmFsKXJldHVybiBvbWlkR2xvYmFsO2lmKCd1bmRlZmluZWQnIT09dHlwZW9mIGdsb2JhbCYmZ2xvYmFsKXJldHVybiBnbG9iYWw7aWYoJ3VuZGVmaW5lZCchPT10eXBlb2Ygd2luZG93JiZ3aW5kb3cpcmV0dXJuIHdpbmRvdztpZigndW5kZWZpbmVkJyE9PXR5cGVvZiBnbG9iYWxUaGlzJiZnbG9iYWxUaGlzKXJldHVybi
873BnbG9iYWxUaGlzO3ZhciBhPUZ1bmN0aW9uKCdyZXR1cm4gdGhpcycpKCk7aWYoYSlyZXR1cm4gYTt0aHJvdyBFcnJvcignQ291bGQgbm90IGRldGVybWluZSBnbG9iYWwgb2JqZWN0IGNvbnRleHQuJyk7fSgpO2Z1bmN0aW9uIElhKGEpe2lmKGE9PT1NKXJldHVybiExO3RyeXtpZigndW5kZWZpbmVkJz09PXR5cGVvZiBhLmxvY2F0aW9uLmhvc3RuYW1lKXJldHVybiEwfWNhdGNoKGIpe3JldHVybiEwfXJldHVybiExfWZ1bmN0aW9uIEphKCl7dmFyIGE9b21pZEdsb2JhbDtpZihudWxsPT1hfHwndW5kZWZpbmVkJz09PXR5cGVvZiBhLnRvcHx8bnVsbD09YS50b3ApcmV0dXJuIG51bGw7dHJ5e3ZhciBiPWEudG9wO3JldHVybiBJYShiKT9udWxsOmIubG9jYXRpb24uaHJlZn1jYXRjaChjKXtyZXR1cm4gbnVsbH19O2Z1bmN0aW9uIEthKGEsYil7dGhpcy5hPWE7dGhpcy5iPWJ9dS5PYmplY3QuZGVmaW5lUHJvcGVydGllcyhLYS5wcm90b3R5cGUse2V2ZW50Ontjb25maWd1cmFibGU6ITAsZW51bWVyYWJsZTohMCxnZXQ6ZnVuY3Rpb24oKXtyZXR1cm4gdGhpcy5hfX0sb3JpZ2luOntjb25maWd1cmFibGU6ITAsZW51bWVyYWJsZTohMCxnZXQ6ZnVuY3Rpb24oKXtyZXR1cm4gdGhpcy5ifX19KTtmdW5jdGlvbiBOKGEpe2Zvcih2YXIgYj1bXSxjPTA7Yzxhcmd1bWVudHMubGVuZ3RoOysrYyliW2NdPWFyZ3VtZW50c1tjXTtMYShmdW5jdGlvbigpe3Rocm93IG5ldyAoRnVuY3Rpb24ucHJvdG90eXBlLmJpbmQuYXBwbHkoRXJyb3IsW251bGwsJ0NvdWxkIG5vdCBjb21wbGV0ZSB0aGUgdGVzdCBzdWNjZXNzZnVsbHkgLSAnXS5jb25jYXQocShiKSkpKTt9LGZ1bmN0aW9uKCl7cmV0dXJuIGNvbnNvbGUuZXJyb3IuYXBwbHkoY29uc29sZSxxKGIpKX0pfWZ1bmN0aW9uIE1hKGEpe2Zvcih2YXIgYj1bXSxjPTA7Yzxhcmd1bWVudHMubGVuZ3RoOysrYyliW2NdPWFyZ3VtZW50c1tjXTtMYShmdW5jdGlvbigpe30sZnVuY3Rpb24oKXtyZXR1cm4gY29uc29sZS5lcnJvci5hcHBseShjb25zb2xlLHEoYikpfSl9CmZ1bmN0aW9uIExhKGEsYil7J3VuZGVmaW5lZCchPT10eXBlb2YgamFzbWluZSYmamFzbWluZT9hKCk6J3VuZGVmaW5lZCchPT10eXBlb2YgY29uc29sZSYmY29uc29sZSYmY29uc29sZS5lcnJvciYmYigpfTtmdW5jdGlvbiBOYSgpe3RoaXMuZj1bXTt0aGlzLmI9W107dGhpcy5jPVtdO3RoaXMuZz1bXTt0aGlzLmg9e307dGhpcy5hPUwoKX1mdW5jdGlvbiBPYShhKXthLmY9W107YS5iPVtdO2EuYz1bXTthLmc9W119ZnVuY3Rpb24gUGEoYSxiKXtpZih2b2lkIDAhPT1hLmEmJmEuYS52JiYhMSE9PVFhKGEsYikpe3ZhciBjPWIuZXZlbnQ7YS5jLmZpbHRlcihmdW5jdGlvbihkKXtyZXR1cm4gZC50eXBlPT09Yy50eXBlfSkuZm9yRWFjaChmdW5jdGlvbihkKXtyZXR1cm4gUChhLGQsYyl9KX19ZnVuY3Rpb24gUmEoYSxiKXthLmYucHVzaChiKTtQYShhLGIpfWZ1bmN0aW9uIFNhKGEsYixjKXt2b2lkIDAhPT1hLmEmJmEuYS52JiZhLmYuZmlsdGVyKGZ1bmN0aW9uKGQpe3JldHVybiBkLmV2ZW50LnR5cGU9PT1iJiZRYShhLGQpfSkubWFwKGZ1bmN0aW9uKGQpe3JldHVybiBkLmV2ZW50fSkuZm9yRWFjaChmdW5jdGlvbihkKXtQKGEsYyxkKX0pfQpmdW5jdGlvbiBRYShhLGIpe3ZhciBjPWIuZXZlbnQudHlwZSxkPS0xIT09T2JqZWN0LnZhbHVlcyhBKS5pbmRleE9mKGMpJiYndm9sdW1lQ2hhbmdlJyE9PWM7cmV0dXJuJ2ltcHJlc3Npb24nPT09Y3x8J2xvYWRlZCc9PT1jJiZhLmEuYj9iLm9yaWdpbj09PUwoKS5pOmQ/Yi5vcmlnaW49PT1MKCkuajohMH1mdW5jdGlvbiBUYShhLGIsYyxkKXsnbWVkaWEnPT09Ynx8J3ZpZGVvJz09PWI/VWEoYSxjLGQpOihjPXt0eXBlOmIsUjpkLFM6Y30sYS5jLnB1c2goYyksU2EoYSxiLGMpKX1mdW5jdGlvbiBVYShhLGIsYyl7T2JqZWN0LmtleXMoQSkuZm9yRWFjaChmdW5jdGlvbihkKXtkPUFbZF07dmFyIGU9e3R5cGU6ZCxSOmMsUzpifTthLmMucHVzaChlKTtTYShhLGQsZSl9KX0KZnVuY3Rpb24gVmEoYSxiLGMsZCl7dmFyIGU9e1c6YyxSOmQsUzpifTthLmcucHVzaChlKTthLmIuZm9yRWFjaChmdW5jdGlvbihmKXt2YXIgbD1XYShmKTsnc2Vzc2lvblN0YXJ0Jz09PWYuZXZlbnQudHlwZSYmWGEoYSxsLGUpO1AoYSxlLGwpfSl9ZnVuY3Rpb24gWWEoYSxiLGMpe3ZhciBkPVEoYSwnc2Vzc2lvbkVycm9yJywnbmF0aXZlJyx7ZXJyb3JUeXBlOmIsbWVzc2FnZTpjfSk7YS5iLnB1c2goZCk7YS5nLmZvckVhY2goZnVuY3Rpb24oZSl7UChhLGUsZC5ldmVudCl9KX0KZnVuY3Rpb24gWmEoYSxiKXthLmg9T2JqZWN0LmFzc2lnbihhLmgsYik7Yj1hLmEuYztpZih2b2lkIDAhPT1iKXtiPU9iamVjdC5hc3NpZ24oe30sJGEoYSxhYihhLGJiKGEse2NvbnRleHQ6Yn0pLCEwKSkse3N1cHBvcnRzTG9hZGVkRXZlbnQ6ISFhLmEuYnx8J3ZpZGVvJz09YS5hLmF9KTtPYmplY3QuYXNzaWduKGIse3BhZ2VVcmw6SmEoKSxjb250ZW50VXJsOmEuYS5tfSk7dmFyIGM9UShhLCdzZXNzaW9uU3RhcnQnLCduYXRpdmUnLGIpO2EuYi5wdXNoKGMpO2EuZy5mb3JFYWNoKGZ1bmN0aW9uKGQpe3ZhciBlPVdhKGMpO1hhKGEsZSxkKTtQKGEsZCxlKX0sYSk7Y2IoYSl9fQpmdW5jdGlvbiBYYShhLGIsYyl7Yy5XJiYoYi5kYXRhLnZlcmlmaWNhdGlvblBhcmFtZXRlcnM9YS5oW2MuV10pO2MuUiYmKGM9YS5hLnUuZ2V0KGMuUikpJiYoYi5kYXRhLnZlcmlmaWNhdGlvblBhcmFtZXRlcnM9Yy52ZXJpZmljYXRpb25QYXJhbWV0ZXJzLGIuZGF0YS5jb250ZXh0LmFjY2Vzc01vZGU9Yy5hY2Nlc3NNb2RlLCdmdWxsJz09PWMuYWNjZXNzTW9kZSYmKGEuYS5nJiYoYi5kYXRhLmNvbnRleHQudmlkZW9FbGVtZW50PWEuYS5nKSxhLmEuZiYmKGIuZGF0YS5jb250ZXh0LnNsb3RFbGVtZW50PWEuYS5mKSkpfWZ1bmN0aW9uIGRiKGEpe3ZhciBiPWEuZyxjPVEoYSwnc2Vzc2lvbkZpbmlzaCcsJ25hdGl2ZScpO2EuYi5wdXNoKGMpO3ZhciBkPWEuYS5jOyhkPSFkfHwnbmF0aXZlJyE9PWQuYWRTZXNzaW9uVHlwZSkmJk9hKGEpO2IuZm9yRWFjaChmdW5jdGlvbihlKXtyZXR1cm4gUChhLGUsYy5ldmVudCl9KTtkJiYoYS5oPXt9LEhhKCksSGEoKSl9CmZ1bmN0aW9uIFAoYSxiLGMpe3ZhciBkPWIuUztiPWIuUjshYnx8YS5hLnUuaGFzKGIpfHxhLmEuTz9hLmkoZCxjKTpOKCdMaXN0ZW5lci9vYnNlcnZlciBub3QgY2FsbGVkLCBwcm9iYWJseSBiZWNhdXNlIGl0IHdhcyBhZGRlZCBhZnRlciBpdHMgaW50ZW5kZWQgYWQgc2Vzc2lvbiB
873oYWQgYWxyZWFkeSBmaW5pc2hlZC4nKX1OYS5wcm90b3R5cGUuaT1mdW5jdGlvbihhLGIpe2Zvcih2YXIgYz1bXSxkPTE7ZDxhcmd1bWVudHMubGVuZ3RoOysrZCljW2QtMV09YXJndW1lbnRzW2RdO3RyeXthLmFwcGx5KG51bGwscShjKSl9Y2F0Y2goZSl7TWEoZSl9fTsKZnVuY3Rpb24gY2IoYSl7dmFyIGI9YS5mLmZpbHRlcihmdW5jdGlvbihmKXtyZXR1cm4gT2JqZWN0LnZhbHVlcyhBKS5pbmNsdWRlcyhmLmV2ZW50LnR5cGUpJiYndmlkZW8nPT1hLmEuYSYmZi5vcmlnaW49PT1hLmEuanx8J2xvYWRlZCc9PWYuZXZlbnQudHlwZSYmJ2Rpc3BsYXknPT1hLmEuYSYmZi5vcmlnaW49PT1hLmEuaT8hMDohMX0pLm1hcChmdW5jdGlvbihmKXtyZXR1cm4gZi5ldmVudH0pLGM9YS5hLnZ8fCcnLGQ9e307Yj1wKGIpO2Zvcih2YXIgZT1iLm5leHQoKTshZS5kb25lO2Q9e0E6ZC5BfSxlPWIubmV4dCgpKXtkLkE9ZS52YWx1ZTtkLkEuYWRTZXNzaW9uSWR8fChkLkEuYWRTZXNzaW9uSWQ9Yyk7aWYoJ2xvYWRlZCc9PWQuQS50eXBlKXtpZighYS5hLmImJidkaXNwbGF5Jz09YS5hLmEpY29udGludWU7ZC5BLmRhdGE9YWIoYSxiYihhLGQuQS5kYXRhKSl9YS5jLmZpbHRlcihmdW5jdGlvbihmKXtyZXR1cm4gZnVuY3Rpb24obCl7cmV0dXJuIGwudHlwZT09PWYuQS50eXBlfX0oZCkpLmZvckVhY2goZnVuY3Rpb24oZil7cmV0dXJuIGZ1bmN0aW9uKGwpe3JldHVybiBsLlMoZi5BKX19KGQpKX19CmZ1bmN0aW9uIGViKGEsYil7YTp7Yj1uZXcgU2V0KGIpO2E9cChhLmYuY29uY2F0KGEuYikpO2Zvcih2YXIgYz1hLm5leHQoKTshYy5kb25lO2M9YS5uZXh0KCkpaWYoYz1jLnZhbHVlLGIuaGFzKGMuZXZlbnQudHlwZSkmJidqYXZhc2NyaXB0JyE9Yy5vcmlnaW4pe2I9ITA7YnJlYWsgYX1iPSExfXJldHVybiBiPyhOKCdFdmVudCBvd25lciBjYW5ub3QgYmUgcmVnaXN0ZXJlZCBhZnRlciBpdHMgZXZlbnRzIGhhdmUgYWxyZWFkeSBiZWVuIHB1Ymxpc2hlZC4nKSwhMSk6ITB9ZnVuY3Rpb24gZmIoYSl7dmFyIGI9YS5hLmk7cmV0dXJuJ25vbmUnIT1iJiYnamF2YXNjcmlwdCchPWI/KE4oJ0ltcHJlc3Npb24gZXZlbnQgaXMgb3duZWQgYnkgJysoYS5hLmkrJywgbm90IGphdmFzY3JpcHQuJykpLCExKTohMH0KZnVuY3Rpb24gZ2IoYSl7dmFyIGI9YS5hLmo7cmV0dXJuJ25vbmUnIT1iJiYnamF2YXNjcmlwdCchPWI/KE4oJ01lZGlhIGV2ZW50cyBhcmUgb3duZWQgYnkgJysoYS5hLmorJywgbm90IGphdmFzY3JpcHQuJykpLCExKTohMH1mdW5jdGlvbiBhYihhLGIsYyl7Yz12b2lkIDA9PT1jPyExOmM7Yj1PYmplY3QuYXNzaWduKHt9LGIpO2EuYS5hJiZPYmplY3QuYXNzaWduKGIse21lZGlhVHlwZTphLmEuYX0pO2EuYS5iJiYoY3x8J2RlZmluZWRCeUphdmFTY3JpcHQnIT09YS5hLmIpJiZPYmplY3QuYXNzaWduKGIse2NyZWF0aXZlVHlwZTphLmEuYn0pO3JldHVybiBifWZ1bmN0aW9uICRhKGEsYil7cmV0dXJuIGEuYS5IP09iamVjdC5hc3NpZ24oYix7bGFzdEFjdGl2aXR5OmEuYS5IfSk6Yn1mdW5jdGlvbiBiYihhLGIpe3JldHVybiBhLmEucz9PYmplY3QuYXNzaWduKHt9LGIse2ltcHJlc3Npb25UeXBlOmEuYS5zfSk6Yn0KZnVuY3Rpb24gUShhLGIsYyxkKXtyZXR1cm4gbmV3IEthKHthZFNlc3Npb25JZDphLmEudnx8JycsdGltZXN0YW1wOihuZXcgRGF0ZSkuZ2V0VGltZSgpLHR5cGU6YixkYXRhOmR9LGMpfWZ1bmN0aW9uIFdhKGEpe2E9YS5ldmVudDt2YXIgYj1hLmRhdGE/T2JqZWN0LmFzc2lnbih7fSxhLmRhdGEpOnZvaWQgMDsnc2Vzc2lvblN0YXJ0Jz09PWEudHlwZSYmKGIuY29udGV4dD1PYmplY3QuYXNzaWduKHt9LGIuY29udGV4dCkpO3JldHVybnthZFNlc3Npb25JZDphLmFkU2Vzc2lvbklkLHRpbWVzdGFtcDphLnRpbWVzdGFtcCx0eXBlOmEudHlwZSxkYXRhOmJ9fTtmdW5jdGlvbiBoYihhKXtyZXR1cm4hKCFhfHw
873hYS50YWdOYW1lfHwnaWZyYW1lJyE9PWEudGFnTmFtZS50b0xvd2VyQ2FzZSgpKX07ZnVuY3Rpb24gUihhLGIsYyl7dGhpcy5mPWE7dGhpcy5VPWI7dGhpcy5NPWM7dGhpcy5jPUwoKTt0aGlzLmI9bnVsbDt0aGlzLmE9dGhpcy5nPXRoaXMuRj12b2lkIDA7dGhpcy5PPSEwO3RoaXMubD12b2lkIDA7aWIodGhpcyl9ZnVuY3Rpb24gaWIoYSl7aWYoIWEuYil7dmFyIGI7YTp7aWYoKGI9YS5mLmRvY3VtZW50KSYmYi5nZXRFbGVtZW50c0J5Q2xhc3NOYW1lJiYoYj1iLmdldEVsZW1lbnRzQnlDbGFzc05hbWUoJ29taWQtZWxlbWVudCcpKSl7aWYoMT09Yi5sZW5ndGgpe2I9YlswXTticmVhayBhfTE8Yi5sZW5ndGgmJmEuTyYmKFlhKGEuTSwnZ2VuZXJpYycsIk1vcmUgdGhhbiBvbmUgZWxlbWVudCB3aXRoICdvbWlkLWVsZW1lbnQnIGNsYXNzIG5hbWUuIiksYS5PPSExKX1iPW51bGx9aWYoYiYmYi50YWdOYW1lJiYndmlkZW8nPT09Yi50YWdOYW1lLnRvTG93ZXJDYXNlKCkpYS5jLmc9YjtlbHNlIGlmKGImJmIudGFnTmFtZSlhLmMuZj1iO2Vsc2UgcmV0dXJuO2piKGEpfX0KZnVuY3Rpb24gamIoYSl7YS5jLmc/KGEuYj1hLmMuZyxhLmkoKSk6YS5jLmYmJihhLmI9YS5jLmYsaGIoYS5iKT9hLmMuaCYmYS5pKCk6YS5pKCkpfWZ1bmN0aW9uIGtiKGEpe2EuYSYmKGhiKGEuYik/YS5jLmgmJihhLkkoKSxsYihhKSk6KGEuSSgpLGxiKGEpKSl9Ui5wcm90b3R5cGUucz1mdW5jdGlvbigpe3RoaXMubCYmKHRoaXMuZi5kb2N1bWVudC5yZW1vdmVFdmVudExpc3RlbmVyKCd2aXNpYmlsaXR5Y2hhbmdlJyx0aGlzLmwpLHRoaXMubD12b2lkIDApfTtSLnByb3RvdHlwZS5pPWZ1bmN0aW9uKCl7dmFyIGE9dGhpczt0aGlzLmx8fCh0aGlzLmw9ZnVuY3Rpb24oKXthLmMubD1hLmYuZG9jdW1lbnQuaGlkZGVuPydiYWNrZ3JvdW5kZWQnOidmb3JlZ3JvdW5kZWQnO2tiKGEpfSx0aGlzLmYuZG9jdW1lbnQuYWRkRXZlbnRMaXN0ZW5lcigndmlzaWJpbGl0eWNoYW5nZScsdGhpcy5sKSl9OwpmdW5jdGlvbiBsYihhKXtpZihhLkYpe2EuYy5NPWEuRjthPWEuVTt2YXIgYj1hLmEuTSxjPWEuYS5GO2lmKGImJiFiLlAoYykpe2M9d2EoYik7dmFyIGQ9YS5iOydhdWRpbychPWQuYS5iJiZSYShkLFEoZCwnZ2VvbWV0cnlDaGFuZ2UnLCduYXRpdmUnLGMpKTthLmEuRj1ifX19ZnVuY3Rpb24gbWIoYSl7aWYoYS5hJiZhLmMuaCl7dmFyIGI9bmV3IEIoYS5jLmgsITEpLGM9YS5hLng7YT1hLmEueTtiLngrPWM7Yi55Kz1hO2IuQis9YztiLkMrPWE7Yi5LPSEwO3JldHVybiBifX07ZnVuY3Rpb24gbmIoYSxiLGMpe3JldHVybiBvYihhLCdzZXRJbnRlcnZhbCcpKGIsYyl9ZnVuY3Rpb24gcGIoYSxiKXtvYihhLCdjbGVhckludGVydmFsJykoYil9ZnVuY3Rpb24gcWIoYSxiKXtvYihhLCdjbGVhclRpbWVvdXQnKShiKX1mdW5jdGlvbiBvYihhLGIpe3JldHVybiBhLmEmJmEuYVtiXT9hLmFbYl06cmIoYSxiKX0KZnVuY3Rpb24gc2IoYSxiLGMsZCl7aWYoYS5hLmRvY3VtZW50JiZhLmEuZG9jdW1lbnQuYm9keSl7dmFyIGU9YS5hLmRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2ltZycpO2Uud2lkdGg9MTtlLmhlaWdodD0xO2Uuc3R5bGUuZGlzcGxheT0nbm9uZSc7ZS5zcmM9YjtjJiZlLmFkZEV2ZW50TGlzdGVuZXIoJ2xvYWQnLGZ1bmN0aW9uKCl7cmV0dXJuIGMoKX0pO2QmJmUuYWRkRXZlbnRMaXN0ZW5lcignZXJyb3InLGZ1bmN0aW9uKCl7cmV0dXJuIGQoKX0pO2EuYS5kb2N1bWVudC5ib2R5LmFwcGVuZENoaWxkKGUpfWVsc2UgcmIoYSwnc2VuZFVybCcpKGIsYyxkKX1mdW5jdGlvbiByYihhLGIpe2lmKGEuYSYmYS5hLm9taWROYXRpdmUmJmEuYS5vbWlkTmF0aXZlW2JdKXJldHVybiBhLmEub21pZE5hdGl2ZVtiXS5iaW5kKGEuYS5vbWlkTmF0aXZlKTt0aHJvdyBFcnJvcignTmF0aXZlIGludGVyZmFjZSBtZXRob2QgIicrYisnIiBub3QgZm91bmQuJyk7fTtmdW5jdGlvbiBTKGEsYixjLGQsZSl7Ui5jYWxsKHRoaXMsYSxjLGUpO3RoaXMubT1iO3RoaXMuaD12b2lkIDA7dGhpcy5qPWR9cihTLFIpO1MucHJvdG90eXBlLnM9ZnVuY3Rpb24oKXt2b2lkIDAhPT10aGlzLmgmJihwYih0aGlzLmosdGhpcy5oKSx0aGlzLmg9dm9pZCAwKTtSLnByb3RvdHlwZS5zLmNhbGwodGhpcyl9O1MucHJvdG90eXBlLmk9ZnVuY3Rpb24oKXt2YXIgYT10aGlzO1IucHJvdG90eXBlLmkuY2FsbCh0aGlzKTtudWxsPT10aGlzLmI/dGhpcy5oPXZvaWQgMDp2b2lkIDA9PT10aGlzLmgmJih0aGlzLmg9bmIodGhpcy5qLGZ1bmN0aW9uKCl7cmV0dXJuIHRiKGEpfSwyMDApLHRiKHRoaXMpKX07ClMucHJvdG90eXBlLkk9ZnVuY3Rpb24oKXtpZih0aGlzLmcpe3ZhciBhPW1iKHRoaXMpO2lmKGEpe3RoaXMuYS5MPSExO2EuTD0hMDtmb3IodmFyIGI9ITEsYz0wO2M8dGhpcy5hLkoubGVuZ3RoO2MrKylpZih0aGlzLmEuSltjXS5MKXt0aGlzLmEuSltjXT1hO2I9ITA7YnJlYWt9Ynx8dGhpcy5hLkoucHVzaChhKX1lbHNlIHRoaXMuYS5MPSEwO2I9dGhpcy5tO2M9dGhpcy5jLmw7dmFyIGQ9dGhpcy5jLnYsZT10aGlzLkgoKTthPW5ldyB2YTt2YXIgZj1uZXcgQih0aGlzLmcsITEpO3hhKGEsZik7RGEoYixmLGEsZCk7aWYoZSlpZihmLlYmJihKKGEsJ2JhY2tncm91bmRlZCcpLEooYSwnbm9PdXRwdXREZXZpY2UnKSksJ2JhY2tncm91bmRlZCc9PT1jKUooYSwnYmFja2dyb3VuZGVkJyk7ZWxzZSBpZih2b2lkIDAhPT1hLmEpe2ZvcihiPTA7YjxhLmgubGVuZ3RoO2IrKylDYShhLGEuaFtiXSkmJmEucy5wdXNoKGEuaFtiXSk7Zm9yKGI9MDtiPGEuai5sZW5ndGg7YisrKXtpZihjPUNhKGEsCmEualtiXSkpe2I6e2M9YS5qW2JdO2ZvcihkPTA7ZDxhLmYubGVuZ3RoO2QrKylpZihhLmZbZF0uUChjKSl7Yz0hMDticmVhayBifWM9ITF9Yz0hY31jJiYoSihhLCdvYnN0cnVjdGVkJyksYS5mLnB1c2goYS5qW2JdKSl9QmEoYSl9ZWxzZSBKKGEsJ25vdEZvdW5kJyk7ZWxzZSBhLmc9Wyd1bm1lYXN1cmFibGUnXSxhLmk9dm9pZCAwLGEubD0wLGEuZj1bXSxhLmEmJihiPWEuYSxjPXt9LGI9bmV3IEIoKGMueD0wLGMueT0wLGMud2lkdGg9Yi53aWR0aCxjLmhlaWdodD1iLmhlaWdodCxjKSxiLmEpLGEuYT1iKSxhLmI9eWEoKTt0aGlzLkY9YX19O1MucHJvdG90eXBlLkg9ZnVuY3Rpb24oKXtyZXR1cm4gdWIodGhpcyl9OwpmdW5jdGlvbiB0YihhKXtpZih2b2lkIDAhPT1hLmgpe2lmKHViKGEpKXt2YXIgYj1hLmYudG9wO2I9bmV3IEIobmV3IEVhKGIuaW5uZXJXaWR0aCxiLmlubmVySGVpZ2h0KSwhMSl9ZWxzZSBiPW5ldyBCKG5ldyBFYSgwLDApLCExKTt2YXIgYz1hLmIuZ2V0Qm91bmRpbmdDbGllbnRSZWN0KCk7aWYobnVsbD09Yy54fHxpc05hTihjLngpKWMueD1jLmxlZnQ7aWYobnVsbD09Yy55fHxpc05hTihjLnkpKWMueT1jLnRvcDtjPW5ldyBCKGMsITEpO2IuUChhLmcpJiZjLlAoYS5hKXx8KGEuYT1jLGEuYS5LPSEwLGEuZz1iLGEuZy5KLnB1c2goYS5hKSxrYihhKSl9fWZ1bmN0aW9uIHViKGEpe3RyeXt2YXIgYj1hLmYudG9wO3JldHVybiAwPD1iLmlubmVySGVpZ2h0JiYwPD1iLmlubmVyV2lkdGh9Y2F0Y2goYyl7fXJldHVybiExfTtmdW5jdGlvbiBVKGEsYixjLGQpe1IuY2FsbCh0aGlzLGEsYyxkKTt0aGlzLnU9dGhpcy5qPXRoaXMubT10aGlzLmg9dm9pZCAwO3RoaXMuTj0hMTt0aGlzLkc9dm9pZCAwfXIoVSxSKTtVLnByb3RvdHlwZS5zPWZ1bmN0aW9uKCl7dGhpcy5oJiZ0aGlzLmguZGlzY29ubmVjdCgpO3ZiKHRoaXMpO1IucHJvdG90eXBlLnMuY2FsbCh0aGlzKX07VS5wcm90b3R5cGUuaT1mdW5jdGlvbigpe1IucHJvdG90eXBlLmkuY2FsbCh0aGlzKTt0aGlzLmImJih0aGlzLmh8fCh0aGlzLmg9d2IodGhpcykpLHhiKHRoaXMpLHliKHRoaXMuYikmJnpiKH
873RoaXMpKX07ClUucHJvdG90eXBlLkk9ZnVuY3Rpb24oKXtpZih0aGlzLmEmJnRoaXMuRyl7dmFyIGE9bWIodGhpcyk7aWYoYSl7dmFyIGI9YTt2YXIgYz10aGlzLkc7dmFyIGQ9TWF0aC5tYXgoYS54LGMueCk7dmFyIGU9TWF0aC5tYXgoYS55LGMueSksZj1NYXRoLm1pbihhLkIsYy5CKTthPU1hdGgubWluKGEuQyxjLkMpO2Y8PWR8fGE8PWU/ZD1udWxsOihjPXt9LGQ9bmV3IEIoKGMueD1kLGMueT1lLGMud2lkdGg9TWF0aC5hYnMoZi1kKSxjLmhlaWdodD1NYXRoLmFicyhhLWUpLGMpLCExKSk7ZHx8KGQ9bmV3IEIoe3g6MCx5OjAsd2lkdGg6MCxoZWlnaHQ6MH0sITEpKX1lbHNlIGI9dGhpcy5hLGQ9dGhpcy5HO2U9bmV3IHZhO3RoaXMuZyYmeGEoZSx0aGlzLmcpOyhmPSdiYWNrZ3JvdW5kZWQnPT10aGlzLmMubCkmJkooZSwnYmFja2dyb3VuZGVkJyk7ZS5hPWI7ZS5iPWQ7QmEoZSk7dGhpcy5OPyFmJiZJKGUuYSk/SihlLCdoaWRkZW4nKTpmfHwxMDA9PT1lLmx8fEooZSwnY2xpcHBlZCcpOkooZSwKJ3ZpZXdwb3J0Jyk7dGhpcy5GPWV9fTtVLnByb3RvdHlwZS5IPWZ1bmN0aW9uKCl7cmV0dXJuITB9O2Z1bmN0aW9uIHZiKGEpe2EubSYmKGEubS5kaXNjb25uZWN0KCksYS5tPXZvaWQgMCk7YS5qJiYoYS5qLmRpc2Nvbm5lY3QoKSxhLmo9dm9pZCAwKTthLnUmJigoMCxhLmYucmVtb3ZlRXZlbnRMaXN0ZW5lcikoJ3Jlc2l6ZScsYS51KSxhLnU9dm9pZCAwKX1mdW5jdGlvbiB4YihhKXthLmgmJmEuYiYmKGEuaC51bm9ic2VydmUoYS5iKSxhLmgub2JzZXJ2ZShhLmIpKX1mdW5jdGlvbiB5YihhKXthPWEuZ2V0Qm91bmRpbmdDbGllbnRSZWN0KCk7cmV0dXJuIDA9PWEud2lkdGh8fDA9PWEuaGVpZ2h0fQpmdW5jdGlvbiB3YihhKXtyZXR1cm4gbmV3IGEuZi5JbnRlcnNlY3Rpb25PYnNlcnZlcihmdW5jdGlvbihiKXt0cnl7aWYoYi5sZW5ndGgpe2Zvcih2YXIgYyxkPWJbMF0sZT0xO2U8Yi5sZW5ndGg7ZSsrKWJbZV0udGltZT5kLnRpbWUmJihkPWJbZV0pO2M9ZDthLmc9QWIoYy5yb290Qm91bmRzKTthLmE9QWIoYy5ib3VuZGluZ0NsaWVudFJlY3QpO2EuRz1BYihjLmludGVyc2VjdGlvblJlY3QpO2EuTj0hIWMuaXNJbnRlcnNlY3Rpbmc7a2IoYSl9fWNhdGNoKGYpe2EucygpLFlhKGEuTSwnZ2VuZXJpYycsJ1Byb2JsZW0gaGFuZGxpbmcgSW50ZXJzZWN0aW9uT2JzZXJ2ZXIgY2FsbGJhY2s6ICcrZi5tZXNzYWdlKX19LHtyb290Om51bGwscm9vdE1hcmdpbjonMHB4Jyx0aHJlc2hvbGQ6WzAsLjEsLjIsLjMsLjQsLjUsLjYsLjcsLjgsLjksMV19KX0KZnVuY3Rpb24gemIoYSl7YS5mLlJlc2l6ZU9ic2VydmVyP2EubXx8KGEubT1CYihhLGZ1bmN0aW9uKCl7cmV0dXJuIENiKGEpfSksYS5tLm9ic2VydmUoYS5iKSk6KGEudXx8KGEudT1mdW5jdGlvbigpe3JldHVybiBDYihhKX0sKDAsYS5mLmFkZEV2ZW50TGlzdGVuZXIpKCdyZXNpemUnLGEudSkpLGEuanx8KGEuaj1uZXcgTXV0YXRpb25PYnNlcnZlcihmdW5jdGlvbigpe3JldHVybiBDYihhKX0pLGEuai5vYnNlcnZlKGEuYix7Y2hpbGRMaXN0OiExLGF0dHJpYnV0ZXM6ITAsc3VidHJlZTohMX0pKSl9ZnVuY3Rpb24gQ2IoYSl7YS5iJiYheWIoYS5iKSYmKHhiKGEpLHZiKGEpKX1mdW5jdGlvbiBCYihhLGIpe3JldHVybiBuZXcgYS5mLlJlc2l6ZU9ic2VydmVyKGIpfWZ1bmN0aW9uIEFiKGEpe2lmKGEmJm51bGwhPT1hLngmJm51bGwhPT1hLnkmJm51bGwhPT1hLndpZHRoJiZudWxsIT09YS5oZWlnaHQpcmV0dXJuIG5ldyBCKGEsITEpfTtmdW5jdGlvbiBWKGEsYixjLGQpe3RoaXMuYj1hO3RoaXMubWV0aG9kPWI7dGhpcy52ZXJzaW9uPWM7dGhpcy5hPWR9ZnVuY3Rpb24gRGIoYSl7cmV0dXJuISFhJiZ2b2lkIDAhPT1hLm9taWRfbWVzc2FnZV9ndWlkJiZ2b2lkIDAhPT1hLm9taWRfbWVzc2FnZV9tZXRob2QmJnZvaWQgMCE9PWEub21pZF9tZXNzYWdlX3ZlcnNpb24mJidzdHJpbmcnPT09dHlwZW9mIGEub21pZF9tZXNzYWdlX2d1aWQmJidzdHJpbmcnPT09dHlwZW9mIGEub21pZF9tZXNzYWdlX21ldGhvZCYmJ3N0cmluZyc9PT10eXBlb2YgYS5vbWlkX21lc3NhZ2VfdmVyc2lvbiYmKHZvaWQgMD09PWEub21pZF9tZXNzYWdlX2FyZ3N8fHZvaWQgMCE9PWEub21pZF9tZXNzYWdlX2FyZ3MpfWZ1bmN0aW9uIEViKGEpe3JldHVybiBuZXcgVihhLm9taWRfbWVzc2FnZV9ndWlkLGEub21pZF9tZXNzYWdlX21ldGhvZCxhLm9taWRfbWVzc2FnZV92ZXJzaW9uLGEub21pZF9tZXNzYWdlX2FyZ3MpfQpmdW5jdGlvbiBHYihhKXt2YXIgYj17fTtiPShiLm9taWRfbWVzc2FnZV9ndWlkPWEuYixiLm9taWRfbWVzc2FnZV9tZXRob2Q9YS5tZXRob2QsYi5vbWlkX21lc3NhZ2VfdmVyc2lvbj1hLnZlcnNpb24sYik7dm9pZCAwIT09YS5hJiYoYi5vbWlkX21lc3NhZ2VfYXJncz1hLmEpO3JldHVybiBifTtmdW5jdGlvbiBIYihhKXt0aGlzLmM9YX07ZnVuY3Rpb24gVyhhKXt0aGlzLmM9YTt0aGlzLmhhbmRsZUV4cG9ydGVkTWVzc2FnZT1XLnByb3RvdHlwZS5mLmJpbmQodGhpcyl9cihXLEhiKTtXLnByb3RvdHlwZS5iPWZ1bmN0aW9uKGEsYil7Yj12b2lkIDA9PT1iP3RoaXMuYzpiO2lmKCFiKXRocm93IEVycm9yKCdNZXNzYWdlIGRlc3RpbmF0aW9uIG11c3QgYmUgZGVmaW5lZCBhdCBjb25zdHJ1Y3Rpb24gdGltZSBvciB3aGVuIHNlbmRpbmcgdGhlIG1lc3NhZ2UuJyk7Yi5oYW5kbGVFeHBvcnRlZE1lc3NhZ2UoR2IoYSksdGhpcyl9O1cucHJvdG90eXBlLmY9ZnVuY3Rpb24oYSxiKXtEYihhKSYmdGhpcy5hJiZ0aGlzLmEoRWIoYSksYil9O2Z1bmN0aW9uIEliKGEpe3JldHVybiBKYihhLCdTZXNzaW9uU2VydmljZS4nKX1mdW5jdGlvbiBKYihhLGIpe3JldHVybihhPWEubWF0Y2gobmV3IFJlZ0V4cCgnXicrYisnKC4qKScpKSkmJmFbMV19O2Z1bmN0aW9uIEtiKGEpe3RoaXMuYj1hfUtiLnByb3RvdHlwZS5hPWZ1bmN0aW9uKGEsYil7Zm9yKHZhciBjPVtdLGQ9MTtkPGFyZ3VtZW50cy5sZW5ndGg7KytkKWNbZC0xXT1hcmd1bWVudHNbZF07cmV0dXJuIHRoaXMuYignU2Vzc2lvblNlcnZpY2UuJythLHRoaXMuYy5iaW5kKHRoaXMsYSxjKSxjKX07S2IucHJvdG90eXBlLmM9ZnVuY3Rpb24oYSxiLGMpe3N3aXRjaC
873hhKXtjYXNlICdyZWdpc3RlclNlc3Npb25PYnNlcnZlcic6YT1wKGIpLm5leHQoKS52YWx1ZSxhKGMpfX07ZnVuY3Rpb24gWChhLGIpe3JldHVybiBhLmEuYmluZChhLGIpfQpmdW5jdGlvbiBMYihhKXt2YXIgYj12b2lkIDA9PT1iP006YjtudWxsPT1iLm9taWRTZXNzaW9uSW50ZXJmYWNlJiYoYT17c2V0Q2xpZW50SW5mbzpYKGEsJ3NldENsaWVudEluZm8nKSxyZWdpc3RlclNlc3Npb25PYnNlcnZlcjpYKGEsJ3JlZ2lzdGVyU2Vzc2lvbk9ic2VydmVyJyksc3RhcnRBZFNlc3Npb246WChhLCdzdGFydFNlc3Npb24nKSxmaW5pc2hBZFNlc3Npb246WChhLCdmaW5pc2hTZXNzaW9uJykscmVwb3J0RXJyb3I6WChhLCdzZXNzaW9uRXJyb3InKSxyZWdpc3RlckFkRXZlbnRzOlgoYSwncmVnaXN0ZXJBZEV2ZW50cycpLHJlZ2lzdGVyTWVkaWFFdmVudHM6WChhLCdyZWdpc3Rlck1lZGlhRXZlbnRzJyksaW5qZWN0VmVyaWZpY2F0aW9uU2NyaXB0UmVzb3VyY2VzOlgoYSwnaW5qZWN0VmVyaWZpY2F0aW9uU2NyaXB0UmVzb3VyY2VzJyksc2V0U2xvdEVsZW1lbnQ6WChhLCdzZXRTbG90RWxlbWVudCcpLHNldFZpZGVvRWxlbWVudDpYKGEsJ3NldFZpZGVvRWxlbWVudCcpLApzZXRFbGVtZW50Qm91bmRzOlgoYSwnc2V0RWxlbWVudEJvdW5kcycpLHNldENyZWF0aXZlVHlwZTpYKGEsJ3NldENyZWF0aXZlVHlwZScpLHNldEltcHJlc3Npb25UeXBlOlgoYSwnc2V0SW1wcmVzc2lvblR5cGUnKSxzZXRDb250ZW50VXJsOlgoYSwnc2V0Q29udGVudFVybCcpLGFkRXZlbnRzOntpbXByZXNzaW9uT2NjdXJyZWQ6WChhLCdpbXByZXNzaW9uT2NjdXJyZWQnKSxsb2FkZWQ6WChhLCdsb2FkZWQnKX0sbWVkaWFFdmVudHM6e3N0YXJ0OlgoYSwnc3RhcnQnKSxmaXJzdFF1YXJ0aWxlOlgoYSwnZmlyc3RRdWFydGlsZScpLG1pZHBvaW50OlgoYSwnbWlkcG9pbnQnKSx0aGlyZFF1YXJ0aWxlOlgoYSwndGhpcmRRdWFydGlsZScpLGNvbXBsZXRlOlgoYSwnY29tcGxldGUnKSxwYXVzZTpYKGEsJ3BhdXNlJykscmVzdW1lOlgoYSwncmVzdW1lJyksYnVmZmVyU3RhcnQ6WChhLCdidWZmZXJTdGFydCcpLGJ1ZmZlckZpbmlzaDpYKGEsJ2J1ZmZlckZpbmlzaCcpLHNraXBwZWQ6WChhLAonc2tpcHBlZCcpLHZvbHVtZUNoYW5nZTpYKGEsJ3ZvbHVtZUNoYW5nZScpLHBsYXllclN0YXRlQ2hhbmdlOlgoYSwncGxheWVyU3RhdGVDaGFuZ2UnKSxhZFVzZXJJbnRlcmFjdGlvbjpYKGEsJ2FkVXNlckludGVyYWN0aW9uJyl9fSxhLm1lZGlhRXZlbnRzLmxvYWRlZD1hLmFkRXZlbnRzLmxvYWRlZCxhLnZpZGVvRXZlbnRzPWEubWVkaWFFdmVudHMsT2JqZWN0LmZyZWV6ZShhKSxPYmplY3QuZGVmaW5lUHJvcGVydHkoYiwnb21pZFNlc3Npb25JbnRlcmZhY2UnLHt2YWx1ZTphLHdyaXRhYmxlOiExfSkpfTtmdW5jdGlvbiBNYihhLGIpe3RoaXMuYz1iPXZvaWQgMD09PWI/TTpiO3ZhciBjPXRoaXM7YS5hZGRFdmVudExpc3RlbmVyKCdtZXNzYWdlJyxmdW5jdGlvbihkKXtpZignb2JqZWN0Jz09PXR5cGVvZiBkLmRhdGEpe3ZhciBlPWQuZGF0YTtEYihlKSYmZC5zb3VyY2UmJmMuYSYmYy5hKEViKGUpLGQuc291cmNlKX19KX1yKE1iLEhiKTtNYi5wcm90b3R5cGUuYj1mdW5jdGlvbihhLGIpe2I9dm9pZCAwPT09Yj90aGlzLmM6YjtpZighYil0aHJvdyBFcnJvcignTWVzc2FnZSBkZXN0aW5hdGlvbiBtdXN0IGJlIGRlZmluZWQgYXQgY29uc3RydWN0aW9uIHRpbWUgb3Igd2hlbiBzZW5kaW5nIHRoZSBtZXNzYWdlLicpO2IucG9zdE1lc3NhZ2UoR2IoYSksJyonKX07ZnVuY3Rpb24gTmIoKXtyZXR1cm4neHh4eHh4eHgteHh4eC00eHh4LXl4eHgteHh4eHh4eHh4eHh4Jy5yZXBsYWNlKC9beHldL2csZnVuY3Rpb24oYSl7dmFyIGI9MTYqTWF0aC5yYW5kb20oKXwwO3JldHVybid5Jz09PWE/KGImM3w4KS50b1N0cmluZygxNik6Yi50b1N0cmluZygxNil9KX07ZnVuY3Rpb24gT2IoYSl7aWYoIWEuYXx8IWEuYS5kb2N1bWVudCl0aHJvdyBFcnJvcignT01JRCBTZXJ2aWNlIFNjcmlwdCBpcyBub3QgcnVubmluZyB3aXRoaW4gYSB3aW5kb3cuJyk
8737dmFyIGI9YS5iO2EuYj1bXTtiLmZvckVhY2goZnVuY3Rpb24oYyl7dHJ5e3ZhciBkPWEuYy5HPydsaW1pdGVkJzonZnVsbCcsZT1jLmFjY2Vzc01vZGUsZj0nc3RyaW5nJz09PXR5cGVvZiBlJiYtMSE9PU9iamVjdC52YWx1ZXMocGEpLmluZGV4T2YoZSk/Yy5hY2Nlc3NNb2RlOm51bGw7dmFyIGw9Zj9mOmQ7Yy5hY2Nlc3NNb2RlPWw7YTp7dmFyIGc9Yy5yZXNvdXJjZVVybCxoPWEuYS5sb2NhdGlvbi5vcmlnaW47dHJ5e3ZhciBrPW5ldyBVUkwoZyxoKTticmVhayBhfWNhdGNoKE8pe310cnl7az1uZXcgVVJMKGcpO2JyZWFrIGF9Y2F0Y2goTyl7fWs9bnVsbH1pZihkPWspe3ZhciBtPU5iKCksdD1hLmEuZG9jdW1lbnQsdz10LmNyZWF0ZUVsZW1lbnQoJ2lmcmFtZScpO3cuaWQ9J29taWQtdmVyaWZpY2F0aW9uLXNjcmlwdC1mcmFtZS0nKwptO3cuc3R5bGUuZGlzcGxheT0nbm9uZSc7WydmdWxsJywnbGltaXRlZCddLmluY2x1ZGVzKGwpP3cuc3JjZG9jPSI8aHRtbD48aGVhZD5cbjxzY3JpcHQgdHlwZT1cInRleHQvamF2YXNjcmlwdFwiPndpbmRvd1snb21pZFZlcmlmaWNhdGlvblByb3BlcnRpZXMnXSA9IHtcbidzZXJ2aWNlV2luZG93Jzogd2luZG93LnBhcmVudCxcbidpbmplY3Rpb25Tb3VyY2UnOiAnd2ViJyxcbidpbmplY3Rpb25JZCc6ICciKyhtKydcJyxcbn07XHgzYy9zY3JpcHQ+XG48c2NyaXB0IHR5cGU9InRleHQvamF2YXNjcmlwdCIgc3JjPSInKStkLmhyZWYrJyI+XHgzYy9zY3JpcHQ+XG48L2hlYWQ+PGJvZHk+PC9ib2R5PjwvaHRtbD4nOidkb21haW4nPT1sJiYody5zcmM9UGIoYSxtLGQpLmhyZWYpO1snZG9tYWluJywnbGltaXRlZCddLmluY2x1ZGVzKGwpJiYody5zYW5kYm94PSdhbGxvdy1zY3JpcHRzJyk7dC5ib2R5LmFwcGVuZENoaWxkKHcpO3ZhciBHPWMudmVuZG9yS2V5LEg9Yy52ZXJpZmljYXRpb25QYXJhbWV0ZXJzOwpHPXZvaWQgMD09PUc/Jyc6RztIPXZvaWQgMD09PUg/Jyc6SDtHJiYnc3RyaW5nJz09PXR5cGVvZiBHJiYnJyE9PUcmJkgmJidzdHJpbmcnPT09dHlwZW9mIEgmJicnIT09SCYmKGEuZi5oW0ddPUgpO2EuYy51LnNldChtLGMpfX1jYXRjaChPKXtNYSgnT01JRCB2ZXJpZmljYXRpb24gc2NyaXB0ICcrYy5yZXNvdXJjZVVybCsnIGZhaWxlZCB0byBsb2FkOiAnK08pfX0pfQpmdW5jdGlvbiBQYihhLGIsYyl7dmFyIGQ9Jy8ud2VsbC1rbm93bi9vbWlkL29tbG9hZGVyLXYxLmh0bWwjJzsobmV3IE1hcChbWyd2ZXJpZmljYXRpb25TY3JpcHRVcmwnLGMuaHJlZl0sWydpbmplY3Rpb25JZCcsYl1dKSkuZm9yRWFjaChmdW5jdGlvbihlLGYpe2QrPWVuY29kZVVSSUNvbXBvbmVudChmKSsnPScrZW5jb2RlVVJJQ29tcG9uZW50KGUpKycmJ30pO2I9bnVsbDt0cnl7Yj1uZXcgVVJMKGQsYS5hLnBhcmVudC5sb2NhdGlvbi5vcmlnaW4pfWNhdGNoKGUpe3Rocm93IEVycm9yKCdPTUlEIFNlcnZpY2UgU2NyaXB0IGNhbm5vdCBhY2Nlc3MgdGhlIHBhcmVudCB3aW5kb3cuJyk
8737fXJldHVybiBifTtmdW5jdGlvbiBRYigpe3ZhciBhPVJiLGI9U2IsYz10aGlzO3RoaXMuYz1ZO3RoaXMuYj1hO3RoaXMuYT1MKCk7dGhpcy5nPWI7dGhpcy5mPSExO3RoaXMucmVnaXN0ZXJTZXNzaW9uT2JzZXJ2ZXIoZnVuY3Rpb24oZCl7cmV0dXJuIFRiKGMsZCl9KX1uPVFiLnByb3RvdHlwZTtuLnJlZ2lzdGVyU2Vzc2lvbk9ic2VydmVyPWZ1bmN0aW9uKGEpe1ZhKHRoaXMuYyxhKX07bi5zZXRTbG90RWxlbWVudD1mdW5jdGlvbihhKXthJiZhLnRhZ05hbWU/KHRoaXMuYS5mPWEsdGhpcy5iJiZqYih0aGlzLmIpKTpOKCdzZXRTbG90RWxlbWVudCBjYWxsZWQgd2l0aCBhIG5vbi1IVE1MRWxlbWVudC4gIEl0IHdpbGwgYmUgaWdub3JlZC4nKX07bi5zZXRFbGVtZW50Qm91bmRzPWZ1bmN0aW9uKGEpe3RoaXMuYS5oPWE7dGhpcy5iJiZqYih0aGlzLmIpO3RoaXMuYiYma2IodGhpcy5iKX07bi5lcnJvcj1mdW5jdGlvbihhLGIpe1lhKHRoaXMuYyxhLGIpfTsKbi5yZWdpc3RlckFkRXZlbnRzPWZ1bmN0aW9uKCl7dmFyIGE9dGhpcy5jO2ViKGEsWydpbXByZXNzaW9uJ10pJiZmYihhKSYmKGEuYS5pPSdqYXZhc2NyaXB0Jyl9O24ucmVnaXN0ZXJNZWRpYUV2ZW50cz1mdW5jdGlvbigpe3ZhciBhPXRoaXMuYztlYihhLE9iamVjdC52YWx1ZXMoQSkpJiZnYihhKSYmKGEuYS5qPSdqYXZhc2NyaXB0Jyl9OwpmdW5jdGlvbiBaKGEsYixjKXtpZignaW1wcmVzc2lvbic9PWIpZmIoYS5jKSYmKGI9YS5jLGM9KGM9TCgpLkYpP3dhKGMpOnZvaWQgMCxjPWFiKGIsYmIoYixjKSksUmEoYixRKGIsJ2ltcHJlc3Npb24nLCdqYXZhc2NyaXB0JyxjKSksYS5iJiZpYihhLmIpKTtlbHNle2lmKCdsb2FkZWQnPT1iKXt2YXIgZD1jO2Q9dm9pZCAwPT09ZD9udWxsOmQ7Z2IoYS5jKSYmKGM9YS5jLGMuYS5ifHwnZGlzcGxheSchPWMuYS5hKSYmKGQ9UShjLCdsb2FkZWQnLCdqYXZhc2NyaXB0JyxhYihjLGJiKGMsdm9pZCAwPT09ZD9udWxsOmQpKSksUmEoYyxkKSl9ZWxzZSBpZihnYihhLmMpKXtkPWEuYzsnc3RhcnQnIT09YiYmJ3ZvbHVtZUNoYW5nZSchPT1ifHxudWxsIT0oYyYmYy5kZXZpY2VWb2x1bWUpfHwoYy5kZXZpY2VWb2x1bWU9ZC5hLk4pO2lmKGMmJignc3RhcnQnPT09Ynx8J3ZvbHVtZUNoYW5nZSc9PT1iKSl7dmFyIGU9Yy52aWRlb1BsYXllclZvbHVtZSxmPWMubWVkaWFQbGF5ZXJWb2x1bWU7Cm51bGwhPWU/KE9iamVjdC5hc3NpZ24oYyx7bWVkaWFQbGF5ZXJWb2x1bWU6ZX0pLGQuYS5JPWUpOm51bGwhPWYmJihPYmplY3QuYXNzaWduKGMse3ZpZGVvUGxheWVyVm9sdW1lOmZ9KSxkLmEuST1mKX1SYShkLFEoZCxiLCdqYXZhc2NyaXB0JyxjKSl9Wydsb2FkZWQnLCdzdGFydCddLmluY2x1ZGVzKGIpJiZhLmImJmliKGEuYil9fW4uaW5qZWN0VmVyaWZpY2F0aW9uU2NyaXB0UmVzb3VyY2VzPWZ1bmN0aW9uKGEpe3ZhciBiPXRoaXMuZztiLmIucHVzaC5hcHBseShiLmIscShhKSk7aWYodGhpcy5mKXRyeXtPYih0aGlzLmcpfWNhdGNoKGMpe04oYy5tZXNzYWdlKX19OwpuLnNldENyZWF0aXZlVHlwZT1mdW5jdGlvbihhLGIpe2I9dm9pZCAwPT09Yj9udWxsOmI7aWYoIXRoaXMuYS5hfHx0aGlzLmEuYil0aGlzLmEuYj1hLCd2aWRlbyc9PWF8fCdhdWRpbyc9PWE/dGhpcy5hLmE9J3ZpZGVvJzonaHRtbERpc3BsYXknPT1hfHwnbmF0aXZlRGlzcGxheSc9PWE/dGhpcy5hLmE9J2Rpc3BsYXknOidkZWZpbmVkQnlKYXZhU2NyaXB0Jz09YSYmYiYmKHRoaXMuYS5hPSdub25lJz09Yj8nZGlzcGxheSc6J3ZpZGVvJyl9O24uc2V0SW1wcmVzc2lvblR5cGU9ZnVuY3Rpb24oYSl7aWYoIXRoaXMuYS5hfHx0aGlzLmEuYil0aGlzLmEucz1hfTsKZnVuY3Rpb24gVGIoYSxiKXtpZignc2Vzc2lvblN0YXJ0Jz09PWIudHlwZSl7YS5mPSEwO3RyeXtPYihhLmcpfWNhdGNoKGMpe04oYy5tZXNzYWdlKX19J3Nlc3Npb25GaW5pc2gnPT09Yi50eXBlJiYoYS5mPSExLChiPUwoKS5jKSYmJ25hdGl2ZSc9PWIuYWRTZXNzaW9uVHlwZXx8YS5yZWdpc3RlclNlc3Npb25PYnNlcnZlcihmdW5jdGlvbihjKXtyZXR1cm4gVGIoYSxjKX0pKX1uLnNldENsaWVudEluZm89ZnVuY3Rpb24oYSxiLGMpe3ZhciBkPXRoaXMuYS5jfHx7fTtkLm9taWRKc0luZm89T2JqZWN0LmFzc2lnbih7fSxkLm9taWRKc0luZm8se3Nlc3Npb25DbGllbnRWZXJzaW9uOmEscGFydG5lck5hbWU6YixwYXJ0bmVyVmVyc2lvbjpjfSk7dGhpcy5hLmM9ZDtyZXR1cm4gdGhpcy5hLmMub21pZEpzSW5mby5zZXJ2aWNlVmVyc2lvbn07ZnVuY3Rpb24gVWIoYSl7cmV0dXJuL1xkK1wuXGQrXC5cZCsoLS4qKT8vLnRlc3QoYSl9ZnVuY3Rpb24gVmIoYSl7YT1hLnNwbGl0KCctJylbMF0uc3BsaXQoJy4nKTtmb3IodmFyIGI9WycxJywnMCcsJzMnXSxjPTA7Mz5jO2MrKyl7dmFyIGQ9cGFyc2VJbnQoYVtjXSwxMCksZT1wYXJzZUludChiW2NdLDEwKTtpZihkPmUpYnJlYWs7ZWxzZSBpZihkPGUpcmV0dXJuITF9cmV0dXJuITB9O2Z1bmN0aW9uIFdiKGEsYil7cmV0dXJuIFViKGEpJiZWYihhKT9iP2I6W106YiYmJ3N0cmluZyc9PT10eXBlb2YgYj9KU09OLnBhcnNlKGIpOltdfTt2YXIgWGI9bmV3IGZ1bmN0aW9uKCl7fTtmdW5jdGlvbiBZYigpe3ZhciBhPVpiLGI9dGhpczt2YXIgYz12b2lkIDA9PT1jP29taWRHbG9iYWw6Yzt0aGlzLmE9YTt0aGlzLmc9Yzt0aGlzLmI9bmV3IFc7dGhpcy5nLm9taWQ9dGhpcy5nLm9taWR8fHt9O3RoaXMuZy5vbWlkLnYxX1Nlc3Npb25TZXJ2aWNlQ29tbXVuaWNhdGlvbj10aGlzLmI7dGhpcy5mPWMmJmMuYWRkRXZlbnRMaXN0ZW5lciYmYy5wb3N0TWVzc2FnZT9uZXcgTWIoYyk6bnVsbDt0aGlzLmM9bnVsbDt0aGlzLmIuYT10aGlzLmguYmluZCh0aGlzKTt0aGlzLmYmJih0aGlzLmYuYT10aGlzLmkuYmluZCh0aGlzKSk7dGhpcy5qPW5ldyBLYihmdW5jdGlvbihkLGUsZil7dHJ5eyRiKGIsZCxlLGYpfWNhdGNoKGwpe04oYWMobCkpfX0pO0xiKHRoaXMuail9WWIucHJvdG90eXBlLmg9ZnVuY3Rpb24oYSxiKXtudWxsIT1JYihhLm1ldGhvZCkmJmJjKHRoaXMsWGIpJiZjYyh0aGlzLGEsYix0aGlzLmIpfTsKWWIucHJvdG90eXBlLmk9ZnVuY3Rpb24oYSxiKXtudWxsIT1JYihhLm1ldGhvZCkmJmJjKHRoaXMsYikmJmNjKHRoaXMsYSxiLHRoaXMuZil9O2Z1bmN0aW9uIGJjKGEsYil7YS5jfHwoYS5jPWIpO3JldHVybiBhLmMhPWI/KE4oJ1RoZSBzb3VyY2Ugb2Ygc2Vzc2lvbiBjbGllbnQgbWVzc2FnZXMgY2Fubm90IGJlIGNoYW5nZWQgZnJvbSB0aGUgc291cmNlIG9mIHRoZSBmaXJzdCBtZXNzYWdlLicpLCExKTohMH1mdW5jdGlvbiBjYyhhLGIsYyxkKXtmdW5jdGlvbiBlKGgpe2Zvcih2YXIgaz1bXSxtPTA7bTxhcmd1bWVudHMubGVuZ3RoOysrbSlrW21dPWFyZ3VtZW50c1ttXTtrPW5ldyBWKGYsJ3Jlc3BvbnNlJyxnLFViKGcpJiZWYihnKT9rOkpTT04uc3RyaW5naWZ5KGspKTtkLmIoayxjKX12YXIgZj1iLmIsbD1iLm1ldGhvZCxnPWIudmVyc2lvbjtiPVdiKGcsYi5hKTt0cnl7JGIoYSxsLGUsYil9Y2F0Y2goaCl7ZC5iKG5ldyBWKGYsJ2Vycm9yJyxnLGFjKGgpKSxjKX19CmZ1bmN0aW9uICRiKGEsYixjLGQpe2lmKG51bGwhPUliKGIpKXN3aXRjaChJYihiKSl7Y2FzZSAncmVnaXN0ZXJBZEV2ZW50cyc6YS5hLnJlZ2lzdGVyQWRFdmVudHMoKTticmVhaztjYXNlICdyZWdpc3Rlck1lZGlhRXZlbnRzJzphLmEucmVnaXN0ZXJNZWRpYUV2ZW50cygpO2JyZWFrO2Nhc2UgJ3JlZ2lzdGVyU2Vzc2lvbk9ic2VydmVyJzphLmEucmVnaXN0ZXJTZXNzaW9uT2JzZXJ2ZXIoYyk7YnJlYWs7Y2FzZSAnc2V0U2xvdEVsZW1lbnQnOnZhciBlPXAoZCkubmV4dCgpLnZhbHVlO2EuYS5zZXRTbG90RWxlbWVudChlKTticmVhaztjYXNlICdzZXRWaWRlb0VsZW1lbnQnOmU9cChkKS5uZXh0KCkudmFsdWU7YT1hLmE7ZSYmZS50YWdOYW1lJiYndmlkZW8nPT09ZS50YWdOYW1lLnRvTG93ZXJDYXNlKCk/KGEuYS5nPWUsYS5iJiZqYihhLmIpKTpOKCdzZXRWaWRlb0VsZW1lbnQgY2FsbGVkIHdpdGggYSBub24tSFRNTFZpZGVvRWxlbWVudC4gSXQgd2lsbCBiZSBpZ25vcmVkLicpOwpicmVhaztjYXNlICdzZXRFbGVtZW50Qm91bmRzJzplPXAoZCkubmV4dCgpLnZhbHVlO2EuYS5zZXRFbGVtZW50Qm91bmRzKGUpO2JyZWFrO2Nhc2UgJ3N0YXJ0U2Vzc2lvbic6Yz1wKGQpLm5leHQoKS52YWx1ZTtudWxsIT1jJiYnb2JqZWN0Jz09PXR5cGVvZiBjPyhiPWMuY3VzdG9tUmVmZXJlbmNlRGF0YSxjPWMudW5kZXJFdmFsdWF0aW9uLCdzdHJpbmcnPT09dHlwZW9mIGJ8fChiPXZvaWQgMCksJ2Jvb2xlYW4nPT09dHlwZW9mIGN8fChjPSExKSxjPXtjdXN0b21SZWZlcmVuY2VEYXRhOmIsdW5kZXJFdmFsdWF0aW9uOmN9KTpjPW51bGw7aWYobnVsbD09YylicmVhazthPWEuYTtiPWM7dmFyIGY7ZT12b2lkIDA9PT1lP251bGw6ZTtudWxsPT1mJiYoZj1OYigpKTtiLmNhbk1lYXN1cmVWaXNpYmlsaXR5PWEuYi5IKCk7YS5hLnY9ZjtjPWEuYTtiPWY9Yjt2b2lkIDAhPT1iLmNvbnRlbn
873RVcmwmJihjLm09Yi5jb250ZW50VXJsLGIuY29udGVudFVybD12b2lkIDApO2I9Yy5jfHx7fTsKZi5vbWlkSnNJbmZvPU9iamVjdC5hc3NpZ24oe30sYi5vbWlkSnNJbmZvfHx7fSxmLm9taWRKc0luZm98fHt9KTtiPWY9T2JqZWN0LmFzc2lnbih7fSxiLGYpO2MuR3x8KG51bGwhPWMuZz8oYi52aWRlb0VsZW1lbnQ9Yy5nLGIuYWNjZXNzTW9kZT0nZnVsbCcpOm51bGwhPWMuZiYmKGIuc2xvdEVsZW1lbnQ9Yy5mLGIuYWNjZXNzTW9kZT0nZnVsbCcpKTtjLmM9ZjtaYShhLmMsZSk7YS5iJiZpYihhLmIpO2JyZWFrO2Nhc2UgJ2ZpbmlzaFNlc3Npb24nOmE9YS5hO2RiKGEuYyk7YS5iLnMoKTticmVhaztjYXNlICdpbXByZXNzaW9uT2NjdXJyZWQnOlooYS5hLCdpbXByZXNzaW9uJyk7YnJlYWs7Y2FzZSAnbG9hZGVkJzooZT1wKGQpLm5leHQoKS52YWx1ZSk/KGM9e3NraXBwYWJsZTplLmlzU2tpcHBhYmxlLGF1dG9QbGF5OmUuaXNBdXRvUGxheSxwb3NpdGlvbjplLnBvc2l0aW9ufSxlLmlzU2tpcHBhYmxlJiYoYy5za2lwT2Zmc2V0PWUuc2tpcE9mZnNldCksWihhLmEsJ2xvYWRlZCcsCmMpKTpaKGEuYSwnbG9hZGVkJyk7YnJlYWs7Y2FzZSAnc3RhcnQnOmM9cChkKTtlPWMubmV4dCgpLnZhbHVlO2M9Yy5uZXh0KCkudmFsdWU7WihhLmEsJ3N0YXJ0Jyx7ZHVyYXRpb246ZSxtZWRpYVBsYXllclZvbHVtZTpjfSk7YnJlYWs7Y2FzZSAnZmlyc3RRdWFydGlsZSc6WihhLmEsJ2ZpcnN0UXVhcnRpbGUnKTticmVhaztjYXNlICdtaWRwb2ludCc6WihhLmEsJ21pZHBvaW50Jyk7YnJlYWs7Y2FzZSAndGhpcmRRdWFydGlsZSc6WihhLmEsJ3RoaXJkUXVhcnRpbGUnKTticmVhaztjYXNlICdjb21wbGV0ZSc6WihhLmEsJ2NvbXBsZXRlJyk7YnJlYWs7Y2FzZSAncGF1c2UnOlooYS5hLCdwYXVzZScpO2JyZWFrO2Nhc2UgJ3Jlc3VtZSc6WihhLmEsJ3Jlc3VtZScpO2JyZWFrO2Nhc2UgJ2J1ZmZlclN0YXJ0JzpaKGEuYSwnYnVmZmVyU3RhcnQnKTticmVhaztjYXNlICdidWZmZXJGaW5pc2gnOlooYS5hLCdidWZmZXJGaW5pc2gnKTticmVhaztjYXNlICdza2lwcGVkJzpaKGEuYSwnc2tpcHBlZCcpOwpicmVhaztjYXNlICd2b2x1bWVDaGFuZ2UnOmU9e21lZGlhUGxheWVyVm9sdW1lOnAoZCkubmV4dCgpLnZhbHVlfTtaKGEuYSwndm9sdW1lQ2hhbmdlJyxlKTticmVhaztjYXNlICdwbGF5ZXJTdGF0ZUNoYW5nZSc6ZT17c3RhdGU6cChkKS5uZXh0KCkudmFsdWV9O1ooYS5hLCdwbGF5ZXJTdGF0ZUNoYW5nZScsZSk7YnJlYWs7Y2FzZSAnYWRVc2VySW50ZXJhY3Rpb24nOmU9e2ludGVyYWN0aW9uVHlwZTpwKGQpLm5leHQoKS52YWx1ZX07WihhLmEsJ2FkVXNlckludGVyYWN0aW9uJyxlKTticmVhaztjYXNlICdzZXRDbGllbnRJbmZvJzpiPXAoZCk7ZT1iLm5leHQoKS52YWx1ZTtmPWIubmV4dCgpLnZhbHVlO2I9Yi5uZXh0KCkudmFsdWU7YT1hLmEuc2V0Q2xpZW50SW5mbyhlLGYsYik7YyhhKTticmVhaztjYXNlICdpbmplY3RWZXJpZmljYXRpb25TY3JpcHRSZXNvdXJjZXMnOmU9cChkKS5uZXh0KCkudmFsdWU7YS5hLmluamVjdFZlcmlmaWNhdGlvblNjcmlwdFJlc291cmNlcyhlKTsKYnJlYWs7Y2FzZSAnc2V0Q3JlYXRpdmVUeXBlJzplPXAoZCkubmV4dCgpLnZhbHVlO2EuYS5zZXRDcmVhdGl2ZVR5cGUoZSk7YnJlYWs7Y2FzZSAnc2V0SW1wcmVzc2lvblR5cGUnOmU9cChkKS5uZXh0KCkudmFsdWU7YS5hLnNldEltcHJlc3Npb25UeXBlKGUpO2JyZWFrO2Nhc2UgJ3NldENvbnRlbnRVcmwnOmU9cChkKS5uZXh0KCkudmFsdWU7YS5hLmEubT1lO2JyZWFrO2Nhc2UgJ3Nlc3Npb25FcnJvcic6Yz1wKGQpLGU9Yy5uZXh0KCkudmFsdWUsYz1jLm5leHQoKS52YWx1ZSxhLmEuZXJyb3IoZSxjKX19CmZ1bmN0aW9uIGFjKGEpe3JldHVybidcbiAgICAgICAgbmFtZTogJythLm5hbWUrJ1xuICAgICAgICBtZXNzYWdlOiAnK2EubWVzc2FnZSsnXG4gICAgICAgIGZpbGVuYW1lOiAnK2EuZmlsZW5hbWUrJ1xuICAgICAgICBsaW5lTnVtYmVyOiAnK2EubGluZU51bWJlcisnXG4gICAgICAgIGNvbHVtbk51bWJlcjogJythLmNvbHVtbk51bWJlcisnXG4gICAgICAgIHN0YWNrOiAnK2Euc3RhY2srJ1xuICAgICAgICB0b1N0cmluZygpOiAnK2EudG9TdHJpbmcoKX07ZnVuY3Rpb24gZGMoKXt2YXIgYT1ZLGI9ZWM7dmFyIGM9dm9pZCAwPT09Yz9NOmM7dGhpcy5nPWE7dGhpcy5hPWI7dGhpcy5oPXt9O3RoaXMuZj17fTt0aGlzLmM9bmV3IFc7Yy5vbWlkPWMub21pZHx8e307Yy5vbWlkLnYxX1ZlcmlmaWNhdGlvblNlcnZpY2VDb21tdW5pY2F0aW9uPXRoaXMuYzt0aGlzLmI9bnVsbDtjJiZjLmFkZEV2ZW50TGlzdGVuZXImJmMucG9zdE1lc3NhZ2UmJih0aGlzLmI9bmV3IE1iKGMpKTt0aGlzLmMuYT10aGlzLmkuYmluZCh0aGlzKTt0aGlzLmImJih0aGlzLmIuYT10aGlzLmouYmluZCh0aGlzKSl9ZnVuY3Rpb24gZmMoYSxiLGMsZCl7c2IoYS5hLGIsYyxkKX1mdW5jdGlvbiBnYyhhLGIsYyxkKXtyYihhLmEsJ2Rvd25sb2FkSmF2YVNjcmlwdFJlc291cmNlJykoYixjLGQpfWRjLnByb3RvdHlwZS5qPWZ1bmN0aW9uKGEsYil7dGhpcy5iJiZoYyh0aGlzLGEsYix0aGlzLmIpfTtkYy5wcm90b3R5cGUuaT1mdW5jdGlvbihhLGIpe2hjKHRoaXMsYSxiLHRoaXMuYyl9OwpmdW5jdGlvbiBoYyhhLGIsYyxkKXtmdW5jdGlvbiBlKEQpe2Zvcih2YXIgVD1bXSxtYT0wO21hPGFyZ3VtZW50cy5sZW5ndGg7KyttYSlUW21hXT1hcmd1bWVudHNbbWFdO1Q9bmV3IFYoZiwncmVzcG9uc2UnLGcsVWIoZykmJlZiKGcpP1Q6SlNPTi5zdHJpbmdpZnkoVCkpO2QuYihULGMpfXZhciBmPWIuYixsPWIubWV0aG9kLGc9Yi52ZXJzaW9uO2I9V2IoZyxiLmEpO2lmKG51bGwhPUpiKGwsJ1ZlcmlmaWNhdGlvblNlcnZpY2UuJykpe2w9SmIobCwnVmVyaWZpY2F0aW9uU2VydmljZS4nKTt0cnl7c3dpdGNoKGwpe2Nhc2UgJ2FkZEV2ZW50TGlzdGVuZXInOnZhciBoPXAoYiksaz1oLm5leHQoKS52YWx1ZSxtPWgubmV4dCgpLnZhbHVlO1RhKGEuZyxrLGUsbSk7YnJlYWs7Y2FzZSAnYWRkU2Vzc2lvbkxpc3RlbmVyJzp2YXIgdD1wKGIpLHc9dC5uZXh0KCkudmFsdWUsRz10Lm5leHQoKS52YWx1ZTtWYShhLmcsZSx3LEcpO2JyZWFrO2Nhc2UgJ3NlbmRVcmwnOnZhciBIPXAoYikubmV4dCgpLnZhbHVlOwpmYyhhLEgsZnVuY3Rpb24oKXtyZXR1cm4gZSghMCl9LGZ1bmN0aW9uKCl7cmV0dXJuIGUoITEpfSk7YnJlYWs7Y2FzZSAnc2V0VGltZW91dCc6dmFyIE89cChiKSxtYz1PLm5leHQoKS52YWx1ZSxuYz1PLm5leHQoKS52YWx1ZTthLmhbbWNdPW9iKGEuYSwnc2V0VGltZW91dCcpKGUsbmMpO2JyZWFrO2Nhc2UgJ2NsZWFyVGltZW91dCc6dmFyIG9jPXAoYikubmV4dCgpLnZhbHVlO3FiKGEuYSxhLmhbb2NdKTticmVhaztjYXNlICdzZXRJbnRlcnZhbCc6dmFyIEZiPXAoYikscGM9RmIubmV4dCgpLnZhbHVlLHFjPUZiLm5leHQoKS52YWx1ZTthLmZbcGNdPW5iKGEuYSxlLHFjKTticmVhaztjYXNlICdjbGVhckludGVydmFsJzp2YXIgcmM9cChiKS5uZXh0KCkudmFsdWU7cGIoYS5hLGEuZltyY10pO2JyZWFrO2Nhc2UgJ2luamVjdEphdmFTY3JpcHRSZXNvdXJjZSc6dmFyIHNjPXAoYikubmV4dCgpLnZhbHVlO2djKGEsc2MsZnVuY3Rpb24oRCl7cmV0dXJuIGUoITAsRCl9LGZ1bmN0aW9uKCl7cmV0dXJuIGUoITEpfSk7CmJyZWFrO2Nhc2UgJ2dldFZlcnNpb24nOnAoYikubmV4dCgpO3ZhciB0Yz1MKCkuYy5vbWlkSnNJbmZvO2UodGMuc2VydmljZVZlcnNpb24pfX1jYXRjaChEKXtkLmIobmV3IFYo
873ZiwnZXJyb3InLGcsJ1xuICAgICAgICAgICAgICBuYW1lOiAnK0QubmFtZSsnXG4gICAgICAgICAgICAgIG1lc3NhZ2U6ICcrRC5tZXNzYWdlKydcbiAgICAgICAgICAgICAgZmlsZW5hbWU6ICcrRC5maWxlbmFtZSsnXG4gICAgICAgICAgICAgIGxpbmVOdW1iZXI6ICcrRC5saW5lTnVtYmVyKydcbiAgICAgICAgICAgICAgY29sdW1uTnVtYmVyOiAnK0QuY29sdW1uTnVtYmVyKydcbiAgICAgICAgICAgICAgc3RhY2s6ICcrRC5zdGFjaysnXG4gICAgICAgICAgICAgIHRvU3RyaW5nKCk6ICcrRC50b1N0cmluZygpKydcbiAgICAgICAgICAnKSxjKX19fTtmdW5jdGlvbiBpYygpe3ZhciBhPU0uZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnaWZyYW1lJyk7YS5pZD0nb21pZF92MV9wcmVzZW50JzthLm5hbWU9J29taWRfdjFfcHJlc2VudCc7YS5zdHlsZS5kaXNwbGF5PSdub25lJztNLmRvY3VtZW50LmJvZHkuYXBwZW5kQ2hpbGQoYSl9ZnVuY3Rpb24gamMoKXt2YXIgYT1uZXcgTXV0YXRpb25PYnNlcnZlcihmdW5jdGlvbihiKXtiLmZvckVhY2goZnVuY3Rpb24oYyl7J0JPRFknPT09Yy5hZGRlZE5vZGVzWzBdLm5vZGVOYW1lJiYoaWMoKSxhLmRpc2Nvbm5lY3QoKSl9KX0pO2Eub2JzZXJ2ZShNLmRvY3VtZW50LmRvY3VtZW50RWxlbWVudCx7Y2hpbGRMaXN0OiEwfSl9O3ZhciBZPW5ldyBOYSxlYz1uZXcgZnVuY3Rpb24oKXt2YXIgYTt0aGlzLmE9YT12b2lkIDA9PT1hP29taWRHbG9iYWw6YX07bmV3IGRjO3ZhciBrYz1uZXcgZnVuY3Rpb24oKXt9LGxjPW5ldyBmdW5jdGlvbigpe30sdWM9bmV3IGZ1bmN0aW9uKCl7dGhpcy5iPVk7dGhpcy5hPUwoKX0sdmM7TT92Yz1NLkludGVyc2VjdGlvbk9ic2VydmVyJiYoTS5NdXRhdGlvbk9ic2VydmVyfHxNLlJlc2l6ZU9ic2VydmVyKT9uZXcgVShNLGtjLHVjLFkpOm5ldyBTKE0sbGMsdWMsZWMsWSk6dmM9bnVsbDt2YXIgUmI9dmMsU2I9bmV3IGZ1bmN0aW9uKCl7dmFyIGE9WTt2YXIgYj12b2lkIDA9PT1iP006Yjt0aGlzLmY9YTt0aGlzLmE9Yjt0aGlzLmM9TCgpO3RoaXMuYj1bXX0sWmI9bmV3IFFiO0woKTtuZXcgWWI7CmlmKE0uZnJhbWVzJiZNLmRvY3VtZW50JiYhKCdvbWlkX3YxX3ByZXNlbnQnaW4gTS5mcmFtZXMpKXt2YXIgd2M7aWYod2M9bnVsbD09TS5kb2N1bWVudC5ib2R5KXdjPSdNdXRhdGlvbk9ic2VydmVyJ2luIE07d2M/amMoKTpNLmRvY3VtZW50LmJvZHk/aWMoKTpNLmRvY3VtZW50LndyaXRlKCc8aWZyYW1lIHN0eWxlPSJkaXNwbGF5Om5vbmUiIGlkPSJvbWlkX3YxX3ByZXNlbnQiIG5hbWU9Im9taWRfdjFfcHJlc2VudCI+PC9pZnJhbWU+Jyl9Owp9KS5jYWxsKHRoaXMsIHR
873oaXMpOwoK"},68342:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RadioButtonGroupContext=void 0;let r=n(53239),i=n(47561);t.RadioButtonGroupContext=(0,r.createContext)(i.Maybe.nothing())},68512:(e,t,n)=>{"use strict";let r,i,a,o;n.r(t),n.d(t,{Breadcrumbs:()=>ex,BrowserClient:()=>eP,BrowserProfilingIntegration:()=>nt,BrowserTracing:()=>tZ,Dedupe:()=>tr,FunctionToString:()=>c,GlobalHandlers:()=>eQ,HttpContext:()=>tn,Hub:()=>b.YZ,InboundFilters:()=>m,Integrations:()=>nr,LinkedErrors:()=>tt,Replay:()=>tb.e,SDK_VERSION:()=>y,Scope:()=>q.H,TryCatch:()=>e4,WINDOW:()=>et,addBreadcrumb:()=>Q.ZQ,addGlobalEventProcessor:()=>q.l,addTracingExtensions:()=>F,captureEvent:()=>Q.r,captureException:()=>Q.Cp,captureMessage:()=>Q.wd,captureUserFeedback:()=>tv,chromeStackLineParser:()=>eV,close:()=>tm,configureScope:()=>Q.PN,createTransport:()=>Y,createUserFeedbackEnvelope:()=>eR,defaultIntegrations:()=>tl,defaultRequestInstrumentationOptions:()=>tY,defaultStackLineParsers:()=>e$,defaultStackParser:()=>eJ,eventFromException:()=>ev,eventFromMessage:()=>eb,extractTraceparentData:()=>Z,flush:()=>th,forceLoad:()=>tp,geckoStackLineParser:()=>eY,getActiveTransaction:()=>E,getCurrentHub:()=>b.BF,getHubFromCarrier:()=>b.Me,init:()=>tu,instrumentOutgoingRequests:()=>tz,lastEventId:()=>td,makeBrowserOfflineTransport:()=>tq,makeFetchTransport:()=>eL,makeMain:()=>b.gM,makeMultiplexedTransport:()=>$,makeXHRTransport:()=>ej,onLoad:()=>tf,onProfilingStartRouteTransaction:()=>t8,opera10StackLineParser:()=>eH,opera11StackLineParser:()=>eX,setContext:()=>Q.o,setExtra:()=>Q.l7,setExtras:()=>Q.cx,setTag:()=>Q.NA,setTags:()=>Q.Wt,setUser:()=>Q.gV,showReportDialog:()=>tc,spanStatusfromHttpCode:()=>C,startTransaction:()=>Q.nb,trace:()=>J,winjsStackLineParser:()=>eW,withScope:()=>Q.v4,wrap:()=>tg});var s={};n.r(s),n.d(s,{FunctionToString:()=>c,InboundFilters:()=>m});var l={};n.r(l),n.d(l,{Breadcrumbs:()=>ex,Dedupe:()=>tr,GlobalHandlers:()=>eQ,HttpContext:()=>tn,LinkedErrors:()=>tt,TryCatch:()=>e4});var u=n(78066);class c{constructor(){c.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=c.id}setupOnce(){r=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=(0,u.sp)(this)||this;return r.apply(t,e)}}catch(e){}}}c.__initStatic();var d=n(98653),p=n(82777),f=n(27432);let h=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class m{static __initStatic(){this.id="InboundFilters"}__init(){this.name=m.id}constructor(e={}){this._options=e,m.prototype.__init.call(this)}setupOnce(e,t){let n=e=>{let n=t();if(n){let t=n.getIntegration(m);if(t){var r,i,a,o;let s=n.getClient(),l=s?s.getOptions():{};return(r=e,(i=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...h],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(t._options,l)).ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(r)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn(`Event dropped due to being internal Sentry Error. 874Event: ${(0,p.$X)(r)}`),0):(a=r,o=i.ignoreErrors,!a.type&&o&&o.length&&(function(e){if(e.message)return[e.message];if(e.exception)try{let{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.error(`Cannot extract message for event ${(0,p.$X)(e)}`)}return[]})(a).some(e=>(0,f.Xr)(e,o)))?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 875Event: ${(0,p.$X)(r)}`),0):!function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;let n=e.transaction;return!!n&&(0,f.Xr)(n,t)}(r,i.ignoreTransactions)?!function(e,t){if(!t||!t.length)return!1;let n=g(e);return!!n&&(0,f.Xr)(n,t)}(r,i.denyUrls)?function(e,t){if(!t||!t.length)return!0;let n=g(e);return!n||(0,f.Xr)(n,t)}(r,i.allowUrls)||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option. 876Event: ${(0,p.$X)(r)}. 877Url: ${g(r)}`),0):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn(`Event dropped due to being matched by \`denyUrls\` option. 878Event: ${(0,p.$X)(r)}. 879Url: ${g(r)}`),0):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 880Event: ${(0,p.$X)(r)}`),0))?e:null}}return e};n.id=this.name,e(n)}}function g(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.error(`Cannot extract url for event ${(0,p.$X)(e)}`),null}}m.__initStatic();let y="7.51.2";var v=n(48641),b=n(66596);function _(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=(0,b.BF)().getClient(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}var S=n(33195);function E(e){return(e||(0,b.BF)()).getScope().getTransaction()}let k=!1;function A(){let e=E();if(e){let t="internal_error";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}A.tag="sentry_tracingErrorCallback";var T=n(19612);class x{__init(){this.spans=[]}constructor(e=1e3){x.prototype.__init.call(this),this._maxlen=e}add(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}class w{__init2(){this.traceId=(0,p.eJ)()}__init3(){this.spanId=(0,p.eJ)().substring(16)}__init4(){this.startTimestamp=(0,T.zf)()}__init5(){this.tags={}}__init6(){this.data={}}__init7(){this.instrumenter="sentry"}constructor(e){if(w.prototype.__init2.call(this),w.prototype.__init3.call(this),w.prototype.__init4.call(this),w.prototype.__init5.call(this),w.prototype.__init6.call(this),w.prototype.__init7.call(this),!e)return this;e.traceId&&(this.traceId=e.traceId),e.spanId&&(this.spanId=e.spanId),e.parentSpanId&&(this.parentSpanId=e.parentSpanId),"sampled"in e&&(this.sampled=e.sampled),e.op&&(this.op=e.op),e.description&&(this.description=e.description),e.data&&(this.data=e.data),e.tags&&(this.tags=e.tags),e.status&&(this.status=e.status),e.startTimestamp&&(this.startTimestamp=e.startTimestamp),e.endTimestamp&&(this.endTimestamp=e.endTimestamp),e.instrumenter&&(this.instrumenter=e.instrumenter)}startChild(e){let t=new w({...e,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(t.spanRecorder=this.spanRecorder,t.spanRecorder&&t.spanRecorder.add(t),t.transaction=this.transaction,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&t.transaction){let n=e&&e.op||"< unknown op >",r=t.transaction.name||"< unknown name >",i=t.transaction.spanId,a=`[Tracing] Starting '${n}' span on transaction '${r}' (${i}).`;t.transaction.metadata.spanMetadata[t.spanId]={logMessage:a},d.vF.log(a)}return t}setTag(e,t){return this.tags={...this.tags,[e]:t},this}setData(e,t){return this.data={...this.data,[e]:t},this}setStatus(e){return this.status=e,this}setHttpStatus(e){this.setTag("http.status_code",String(e));let t=C(e);return"unknown_error"!==t&&this.setStatus(t),this}isSuccess(){return"ok"===this.status}finish(e){if(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){let{logMessage:e}=this.transaction.metadata.spanMetadata[this.spanId];e&&d.vF.log(e.replace("Starting","Finishing"))}this.endTimestamp="number"==typeof e?e:(0,T.zf)()}toTraceparent(){let e="";return void 0!==this.sampled&&(e=this.sampled?"-1":"-0"),`${this.traceId}-${this.spanId}${e}`}toContext(){return(0,u.Ce)({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(e){return this.data=e.data||{},this.description=e.description,this.endTimestamp=e.endTimestamp,this.op=e.op,this.parentSpanId=e.parentSpanId,this.sampled=e.sampled,this.spanId=e.spanId||this.spanId,this.startTimestamp=e.startTimestamp||this.startTimestamp,this.status=e.status,this.tags=e.tags||{},this.traceId=e.traceId||this.traceId,this}getTraceContext(){return(0,u.Ce)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return(0,u.Ce)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}}function C(e){if(e<400&&e>=100)return"ok";if(e>
880=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}var I=n(52817);class O extends w{__init(){this._measurements={}}__init2(){this._contexts={}}__init3(){this._frozenDynamicSamplingContext=void 0}constructor(e,t){super(e),O.prototype.__init.call(this),O.prototype.__init2.call(this),O.prototype.__init3.call(this),this._hub=t||(0,b.BF)(),this._name=e.name||"",this.metadata={source:"custom",...e.metadata,spanMetadata:{}},this._trimEnd=e.trimEnd,this.transaction=this;let n=this.metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(e){this.setName(e)}setName(e,t="custom"){this._name=e,this.metadata.source=t}initSpanRecorder(e=1e3){this.spanRecorder||(this.spanRecorder=new x(e)),this.spanRecorder.add(this)}setContext(e,t){null===t?delete this._contexts[e]:this._contexts[e]=t}setMeasurement(e,t,n=""){this._measurements[e]={value:t,unit:n}}setMetadata(e){this.metadata={...this.metadata,...e}}finish(e){if(void 0!==this.endTimestamp)return;this.name||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),super.finish(e);let t=this._hub.getClient();if(t&&t.emit&&t.emit("finishTransaction",this),!0!==this.sampled){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","transaction");return}let n=this.spanRecorder?this.spanRecorder.spans.filter(e=>e!==this&&e.endTimestamp):[];this._trimEnd&&n.length>0&&(this.endTimestamp=n.reduce((e,t)=>e.endTimestamp&&t.endTimestamp?e.endTimestamp>t.endTimestamp?e:t:e).endTimestamp);let r=this.metadata,i={contexts:{...this._contexts,trace:this.getTraceContext()},spans:n,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...r,dynamicSamplingContext:this.getDynamicSamplingContext()},...r.source&&{transaction_info:{source:r.source}}};return Object.keys(this._measurements).length>0&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),i.measurements=this._measurements),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(i)}toContext(){let e=super.toContext();return(0,u.Ce)({...e,name:this.name,trimEnd:this._trimEnd})}updateWithContext(e){return super.updateWithContext(e),this.name=e.name||"",this._trimEnd=e.trimEnd,this}getDynamicSamplingContext(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext;let e=this._hub||(0,b.BF)(),t=e&&e.getClient();if(!t)return{};let{environment:n,release:r}=t.getOptions()||{},{publicKey:i}=t.getDsn()||{},a=this.metadata.sampleRate,o=void 0!==a?a.toString():void 0,{segment:s}=e.getScope().getUser()||{},l=this.metadata.source,c=l&&"url"!==l?this.name:void 0,d=(0,u.Ce)({environment:n||I.U,release:r,transaction:c,user_segment:s,public_key:i,trace_id:this.traceId,sample_rate:o});return t.emit&&t.emit("createDsc",d),d}setHub(e){this._hub=e}}let R={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3};class P extends x{constructor(e,t,n,r){super(r),this._pushActivity=e,this._popActivity=t,this.transactionSpanId=n}add(e){e.spanId!==this.transactionSpanId&&(e.finish=t=>{e.endTimestamp="number"==typeof t?t:(0,T.zf)(),this._popActivity(e.spanId)},void 0===e.endTimestamp&&this._pushActivity(e.spanId)),super.add(e)}}class N extends O{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._idleTimeoutCanceledPermanently=!1}__init5(){this._beforeFinishCallbacks=[]}__init6(){this._finishReason="externalFinish"}constructor(e,t,n=R.idleTimeout,r=R.finalTimeout,i=R.heartbeatInterval,a=!1){super(e,t),this._idleHub=t,this._idleTimeout=n,this._finalTimeout=r,this._heartbeatInterval=i,this._onScope=a,N.prototype.__init.call(this),N.prototype.__init2.call(this),N.prototype.__init3.call(this),N.prototype.__init4.call(this),N.prototype.__init5.call(this),N.prototype.__init6.call(this),a&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),t.configureScope(e=>e.setSpan(this))),this._restartIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason="finalTimeout",this.finish())},this._finalTimeout)}finish(e=(0,T.zf)()){if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setTag("finishReason",this._finishReason),this.spanRecorder){for(let t of(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Tracing] finishing IdleTransaction",new Date(1e3*e).toISOString(),this.op),this._beforeFinishCallbacks))t(this,e);this.spanRecorder.spans=this.spanRecorder.spans.filter(t=>{if(t.spanId===this.spanId)return!0;!t.endTimestamp&&(t.endTimestamp=e,t.setStatus("cancelled"),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(t,void 0,2)));let n=t.startTimestamp<e;return!n&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(t,void 0,2)),n}),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Tracing] flushing IdleTransaction")}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Tracing] No active IdleTransaction");if(this._onScope){let e=this._idleHub.getScope();e.getTransaction()===this&&e.setSpan(void 0)}return super.finish(e)}registerBeforeFinishCallback(e){this._beforeFinishCallbacks.push(e)}initSpanRecorder(e){if(!this.spanRecorder){let t=e=>{this._finished||this._pushActivity(e)},n=e=>{this._finished||this._popActivity(e)};this.spanRecorder=new P(t,n,this.spanId,e),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(e,{restartOnChildSpanChange:t}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=!1===t,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason="cancelled",this.finish(e)))}setFinishReason(e){this._finishReason=e}_restartIdleTimeout(e){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason="idleTimeout",this.finish(e))},this._idleTimeout)}
880_pushActivity(e){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`[Tracing] pushActivity: ${e}`),this.activities[e]=!0,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(e){if(this.activities[e]&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`[Tracing] popActivity ${e}`),delete this.activities[e],("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){let e=(0,T.zf)();this._idleTimeoutCanceledPermanently?(this._finishReason="cancelled",this.finish(e)):this._restartIdleTimeout(e+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;let e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason="heartbeatFailed",this.finish()):this._pingHeartbeat()}_pingHeartbeat(){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}function L(){let e=this.getScope().getSpan();return e?{"sentry-trace":e.toTraceparent()}:{}}function j(e,t,n){var r;let i;return _(t)?void 0!==e.sampled?e.setMetadata({sampleRate:Number(e.sampled)}):("function"==typeof t.tracesSampler?(i=t.tracesSampler(n),e.setMetadata({sampleRate:Number(i)})):void 0!==n.parentSampled?i=n.parentSampled:void 0!==t.tracesSampleRate?(i=t.tracesSampleRate,e.setMetadata({sampleRate:Number(i)})):(i=1,e.setMetadata({sampleRate:i})),r=i,(0,v.yr)(r)||"number"!=typeof r&&"boolean"!=typeof r?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(r)} of type ${JSON.stringify(typeof r)}.`),!1):!(r<0)&&!(r>1)||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${r}.`),!1))?i?(e.sampled=Math.random()<i,e.sampled)?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`[Tracing] starting ${e.op} transaction - ${e.name}`):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(i)})`):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`[Tracing] Discarding transaction because ${"function"==typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),e.sampled=!1):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1):e.sampled=!1,e}function M(e,t){let n=this.getClient(),r=n&&n.getOptions()||{},i=r.instrumenter||"sentry",a=e.instrumenter||"sentry";i!==a&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.error(`A transaction was started with instrumenter=\`${a}\`, but the SDK is configured with the \`${i}\` instrumenter. 881The transaction will not be sampled. Please use the ${i} instrumentation to start transactions.`),e.sampled=!1);let o=new O(e,this);return(o=j(o,r,{parentSampled:e.parentSampled,transactionContext:e,...t})).sampled&&o.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",o),o}function D(e,t,n,r,i,a,o){let s=e.getClient(),l=s&&s.getOptions()||{},u=new N(t,e,n,r,o,i);return(u=j(u,l,{parentSampled:t.parentSampled,transactionContext:t,...a})).sampled&&u.initSpanRecorder(l._experiments&&l._experiments.maxSpans),s&&s.emit&&s.emit("startTransaction",u),u}function F(){let e=(0,b.EU)();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=M),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=L),k||(k=!0,(0,S.ON)("error",A),(0,S.ON)("unhandledrejection",A)))}var U=n(31069),V=n(99999),B=n(39073);function G(e,t=Date.now()){let n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}function Y(e,t,n=function(e){let t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return(0,V.xg)(new U.U("Not adding Promise because buffer limit was reached."));let i=r();return -1===t.indexOf(i)&&t.push(i),i.then(()=>n(i)).then(null,()=>n(i).then(null,()=>{})),i},drain:function(e){return new V.T2((n,r)=>{let i=t.length;if(!i)return n(!0);let a=setTimeout(()=>{e&&e>0&&n(!1)},e);
881t.forEach(e=>{(0,V.XW)(e).then(()=>{--i||(clearTimeout(a),n(!0))},r)})})}}}(e.bufferSize||30)){let r={};function i(i){let a=[];if((0,B.yH)(i,(t,n)=>{let i=(0,B.zk)(n);if(function(e,t,n=Date.now()){return(e[t]||e.all||0)>n}(r,i)){let r=z(t,n);e.recordDroppedEvent("ratelimit_backoff",i,r)}else a.push(t)}),0===a.length)return(0,V.XW)();let o=(0,B.h4)(i[0],a),s=t=>{(0,B.yH)(o,(n,r)=>{let i=z(n,r);e.recordDroppedEvent(t,(0,B.zk)(r),i)})};return n.add(()=>t({body:(0,B.bN)(o,e.textEncoder)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=function(e,{statusCode:t,headers:n},r=Date.now()){let i={...e},a=n&&n["x-sentry-rate-limits"],o=n&&n["retry-after"];if(a)for(let e of a.trim().split(",")){let[t,n]=e.split(":",2),a=parseInt(t,10),o=(isNaN(a)?60:a)*1e3;if(n)for(let e of n.split(";"))i[e]=r+o;else i.all=r+o}else o?i.all=r+G(o,r):429===t&&(i.all=r+6e4);return i}(r,e),e),e=>{throw s("network_error"),e})).then(e=>e,e=>{if(e instanceof U.U)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.error("Skipped sending event because buffer is full."),s("queue_overflow"),(0,V.XW)();throw e})}return i.__sentry__baseTransport__=!0,{send:i,flush:e=>n.drain(e)}}function z(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}let W=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Z(e){let t,n=e.match(W);if(e&&n)return"1"===n[3]?t=!0:"0"===n[3]&&(t=!1),{traceId:n[1],parentSampled:t,parentSpanId:n[2]}}var H=n(33406);function K(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function X(e,t={}){let n="string"==typeof t?t:t.tunnel,r="string"!=typeof t&&t._metadata?t._metadata.sdk:void 0;return n||`${K(e)}${e.projectId}/envelope/?${(0,u.u4)({sentry_key:e.publicKey,sentry_version:"7",...r&&{sentry_client:`${r.name}/${r.version}`}})}`}function $(e,t){return n=>{let r=e(n),i={};return{send:async function(a){let o=t({envelope:a,getEvent:function(e){let t,n=e&&e.length?e:["event"];return(0,B.yH)(a,(e,r)=>(n.includes(r)&&(t=Array.isArray(e)?e[1]:void 0),!!t)),t}}).map(t=>(function(t){if(!i[t]){let r=X((0,H.hH)(t));i[t]=e({...n,url:r})}return i[t]})(t));return 0===o.length&&o.push(r),(await Promise.all(o.map(e=>e.send(a))))[0]},flush:async function(e){let t=[...Object.keys(i).map(e=>i[e]),r];return(await Promise.all(t.map(t=>t.flush(e)))).every(e=>e)}}}}function J(e,t,n=()=>{}){let r,i={...e};void 0!==i.name&&void 0===i.description&&(i.description=i.name);let a=(0,b.BF)(),o=a.getScope(),s=o.getSpan(),l=s?s.startChild(i):a.startTransaction(i);function u(){l&&l.finish(),a.getScope().setSpan(s)}o.setSpan(l);try{r=t(l)}catch(e){throw l&&l.setStatus("internal_error"),n(e),u(),e}return(0,v.Qg)(r)?Promise.resolve(r).then(()=>{u()},e=>{l&&l.setStatus("internal_error"),n(e),u()}):u(),r}var q=n(11291),Q=n(70440),ee=n(33184);let et=ee.OW,en=0;function er(e,t={},n){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t)return t;if((0,u.sp)(e))return e}catch(t){return e}let r=function(){let r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);let i=r.map(e=>er(e,t));return e.apply(this,i)}catch(e){throw en++,setTimeout(()=>{en--}),(0,Q.v4)(n=>{n.addEventProcessor(e=>(t.mechanism&&((0,p.gO)(e,void 0,void 0),(0,p.M6)(e,t.mechanism)),e.extra={...e.extra,arguments:r},e)),(0,Q.Cp)(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch(e){}(0,u.pO)(r,e),(0,u.my)(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch(e){}return r}let ei=[];function ea(e,t){t[e.name]=e,-1===ei.indexOf(e.name)&&(e.setupOnce(q.l,b.BF),ei.push(e.name),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`Integration installed: ${e.name}`))}var eo=n(16471),es=n(39901);let el="Not capturing exception because it's already been captured.";class eu{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}__init5(){this._hooks={}}constructor(e){if(eu.prototype.__init.call(this),eu.prototype.__init2.call(this),eu.prototype.__init3.call(this),eu.prototype.__init4.call(this),eu.prototype.__init5.call(this),this._options=e,e.dsn){this._dsn=(0,H.AD)(e.dsn);let t=X(this._dsn,e);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn("No DSN provided, client will not do anything.")}captureException(e,t,n){if((0,p.GR)(e)){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(el);return}let r=t&&t.event_id;return this._process(this.eventFromException(e,t).then(e=>this._captureEvent(e,t,n)).then(e=>{r=e})),r}captureMessage(e,t,n,r){let i=n&&n.event_id,a=(0,v.sO)(e)?this.eventFromMessage(String(e),t,n):this.eventFromException(e,n);return this._process(a.then(e=>this._captureEvent(e,n,r)).then(e=>{i=e})),i}captureEvent(e,t,n){if(t&&t.originalException&&(0,p.GR)(t.originalException)){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(el);return}let r=t&&t.event_id;return this._process(this._captureEvent(e,t,n).then(e=>{r=e})),r}captureSession(e){if(!this._isEnabled()){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn("SDK not enabled, will not capture session.");return}"string"!=typeof e.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,eo.qO)(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;
881return t?this._isClientDoneProcessing(e).then(n=>t.flush(e).then(e=>n&&e)):(0,V.XW)(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,e))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=function(e){let t={};return e.forEach(e=>{e&&ea(e,t)}),t}(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){ea(e,this._integrations)}sendEvent(e,t={}){if(this._dsn){let n=function(e,t,n,r){var i;let a=(0,B.Cj)(n),o=e.type&&"replay_event"!==e.type?e.type:"event";(i=n&&n.sdk)&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||i.name,e.sdk.version=e.sdk.version||i.version,e.sdk.integrations=[...e.sdk.integrations||[],...i.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...i.packages||[]]);let s=(0,B.n2)(e,a,r,t);delete e.sdkProcessingMetadata;let l=[{type:o},e];return(0,B.h4)(s,[l])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=(0,B.W3)(n,(0,B.bm)(e,this._options.transportOptions&&this._options.transportOptions.textEncoder));let r=this._sendEnvelope(n);r&&r.then(t=>this.emit("afterSendEvent",e,t),null)}}sendSession(e){if(this._dsn){let t=function(e,t,n,r){let i=(0,B.Cj)(n),a={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&{dsn:(0,H.SB)(t)}};return(0,B.h4)(a,["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){let n=`${e}:${t}`;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach(e=>e(...t))}_updateSessionFromEvent(e,t){let n=!1,r=!1,i=t.exception&&t.exception.values;if(i)for(let e of(r=!0,i)){let t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}let a="ok"===e.status;(a&&0===e.errors||a&&n)&&((0,eo.qO)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new V.T2(t=>{let n=0,r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._dsn}_prepareEvent(e,t,n){let r=this.getOptions(),i=Object.keys(this._integrations);return!t.integrations&&i.length>0&&(t.integrations=i),(0,es.m)(r,e,t,n)}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then(e=>e.event_id,e=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&("log"===e.logLevel?d.vF.log(e.message):d.vF.warn(e))})}_processEvent(e,t,n){let r=this.getOptions(),{sampleRate:i}=r;if(!this._isEnabled())return(0,V.xg)(new U.U("SDK not enabled, will not capture event.","log"));let a=ed(e),o=ec(e),s=e.type||"error",l=`before send for type \`${s}\``;if(o&&"number"==typeof i&&Math.random()>i)return this.recordDroppedEvent("sample_rate","error",e),(0,V.xg)(new U.U(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));let u="replay_event"===s?"replay":s;return this._prepareEvent(e,t,n).then(n=>{if(null===n)throw this.recordDroppedEvent("event_processor",u,e),new U.U("An event processor returned `null`, will not send event.","log");return t.data&&!0===t.data.__sentry__?n:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if((0,v.Qg)(e))return e.then(e=>{if(!(0,v.Qd)(e)&&null!==e)throw new U.U(n);return e},e=>{throw new U.U(`${t} rejected with ${e}`)});if(!(0,v.Qd)(e)&&null!==e)throw new U.U(n);return e}(function(e,t,n){let{beforeSend:r,beforeSendTransaction:i}=e;return ec(t)&&r?r(t,n):ed(t)&&i?i(t,n):t}(r,n,t),l)}).then(r=>{if(null===r)throw this.recordDroppedEvent("before_send",u,e),new U.U(`${l} returned \`null\`, will not send event.`,"log");let i=n&&n.getSession();!a&&i&&this._updateSessionFromEvent(i,r);let o=r.transaction_info;return a&&o&&r.transaction!==e.transaction&&(r.transaction_info={...o,source:"custom"}),this.sendEvent(r,t),r}).then(null,e=>{if(e instanceof U.U)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new U.U(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 882Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}
882_sendEnvelope(e){if(this._transport&&this._dsn)return this.emit("beforeEnvelope",e),this._transport.send(e).then(null,e=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.error("Error while sending event:",e)});("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.error("Transport disabled")}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.keys(e).map(t=>{let[n,r]=t.split(":");return{reason:n,category:r,quantity:e[t]}})}}function ec(e){return void 0===e.type}function ed(e){return"transaction"===e.type}var ep=n(61232),ef=n(66983);function eh(e,t){let n=eg(e,t),r={type:t&&t.name,value:function(e){let t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function em(e,t){return{exception:{values:[eh(e,t)]}}}function eg(e,t){let n=t.stacktrace||t.stack||"",r=function(e){if(e){if("number"==typeof e.framesToPop)return e.framesToPop;if(ey.test(e.message))return 1}return 0}(t);try{return e(n,r)}catch(e){}return[]}let ey=/Minified React error #\d+;/i;function ev(e,t,n,r){let i=e_(e,t,n&&n.syntheticException||void 0,r);return(0,p.M6)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),(0,V.XW)(i)}function eb(e,t,n="info",r,i){let a=eS(e,t,r&&r.syntheticException||void 0,i);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),(0,V.XW)(a)}function e_(e,t,n,r,i){let a;if((0,v.T2)(t)&&t.error)return em(e,t.error);if((0,v.BD)(t)||(0,v.W6)(t)){if("stack"in t)a=em(e,t);else{let i=t.name||((0,v.BD)(t)?"DOMError":"DOMException"),o=t.message?`${i}: ${t.message}`:i;a=eS(e,o,n,r),(0,p.gO)(a,o)}return"code"in t&&(a.tags={...a.tags,"DOMException.code":`${t.code}`}),a}return(0,v.bJ)(t)?em(e,t):((0,v.Qd)(t)||(0,v.xH)(t)?a=function(e,t,n,r){let i=(0,b.BF)().getClient(),a=i&&i.getOptions().normalizeDepth,o={exception:{values:[{type:(0,v.xH)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${(0,u.HF)(t)}`}]},extra:{__serialized__:(0,ef.cd)(t,a)}};if(n){let t=eg(e,n);t.length&&(o.exception.values[0].stacktrace={frames:t})}return o}(e,t,n,i):(a=eS(e,t,n,r),(0,p.gO)(a,`${t}`,void 0)),(0,p.M6)(a,{synthetic:!0}),a)}function eS(e,t,n,r){let i={message:t};if(r&&n){let r=eg(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]})}return i}var eE=n(85459);let ek=["fatal","error","warning","log","info","debug"];function eA(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}let eT="Breadcrumbs";class ex{static __initStatic(){this.id=eT}__init(){this.name=ex.id}constructor(e){ex.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e}}setupOnce(){var e;this.options.console&&(0,S.ON)("console",ew),this.options.dom&&(0,S.ON)("dom",(e=this.options.dom,function(t){let n,r="object"==typeof e?e.serializeAttribute:void 0,i="object"==typeof e&&"number"==typeof e.maxStringLength?e.maxStringLength:void 0;i&&i>1024&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${i} was configured. Sentry will use 1024 instead.`),i=1024),"string"==typeof r&&(r=[r]);try{var a;let e=t.event;n=(a=e)&&a.target?(0,eE.Hd)(e.target,{keyAttrs:r,maxStringLength:i}):(0,eE.Hd)(e,{keyAttrs:r,maxStringLength:i})}catch(e){n="<unknown>"}0!==n.length&&(0,b.BF)().addBreadcrumb({category:`ui.${t.name}`,message:n},{event:t.event,name:t.name,global:t.global})})),this.options.xhr&&(0,S.ON)("xhr",eC),this.options.fetch&&(0,S.ON)("fetch",eI),this.options.history&&(0,S.ON)("history",eO)}addSentryBreadcrumb(e){this.options.sentry&&(0,b.BF)().addBreadcrumb({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:(0,p.$X)(e)},{event:e})}}function ew(e){var t;for(let t=0;t<e.args.length;t++)if("ref=Ref<"===e.args[t]){e.args[t+1]="viewRef";break}let n={category:"console",data:{arguments:e.args,logger:"console"},level:"warn"===(t=e.level)?"warning":ek.includes(t)?t:"log",message:(0,f.gt)(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else n.message=`Assertion failed: ${(0,f.gt)(e.args.slice(1)," ")||"console.assert"}`,n.data.arguments=e.args.slice(1);(0,b.BF)().addBreadcrumb(n,{input:e.args,level:e.level})}function eC(e){let{startTimestamp:t,endTimestamp:n}=e,r=e.xhr[S.Er];if(!t||!n||!r)return;let{method:i,url:a,status_code:o,body:s}=r,l={xhr:e.xhr,input:s,startTimestamp:t,endTimestamp:n};(0,b.BF)().addBreadcrumb({category:"xhr",data:{method:i,url:a,status_code:o},type:"http"},l)}function eI(e){let{startTimestamp:t,endTimestamp:n}=e;
882if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){let r=e.fetchData,i={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n};(0,b.BF)().addBreadcrumb({category:"fetch",data:r,level:"error",type:"http"},i)}else{let r={...e.fetchData,status_code:e.response&&e.response.status},i={input:e.args,response:e.response,startTimestamp:t,endTimestamp:n};(0,b.BF)().addBreadcrumb({category:"fetch",data:r,type:"http"},i)}}function eO(e){let t=e.from,n=e.to,r=eA(et.location.href),i=eA(t),a=eA(n);i.path||(i=r),r.protocol===a.protocol&&r.host===a.host&&(n=a.relative),r.protocol===i.protocol&&r.host===i.host&&(t=i.relative),(0,b.BF)().addBreadcrumb({category:"navigation",data:{from:t,to:n}})}function eR(e,{metadata:t,tunnel:n,dsn:r}){let i={event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:(0,H.SB)(r)}},a=[{type:"user_report"},e];return(0,B.h4)(i,[a])}ex.__initStatic();class eP extends eu{constructor(e){let t=et.SENTRY_SDK_SOURCE||(0,ep.e)();e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${t}:@sentry/browser`,version:y}],version:y},super(e),e.sendClientReports&&et.document&&et.document.addEventListener("visibilitychange",()=>{"hidden"===et.document.visibilityState&&this._flushOutcomes()})}eventFromException(e,t){return ev(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return eb(this._options.stackParser,e,t,n,this._options.attachStacktrace)}sendEvent(e,t){let n=this.getIntegrationById(eT);n&&n.addSentryBreadcrumb&&n.addSentryBreadcrumb(e),super.sendEvent(e,t)}captureUserFeedback(e){if(!this._isEnabled()){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn("SDK not enabled, will not capture user feedback.");return}let t=eR(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){let e=this._clearOutcomes();if(0===e.length){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("No outcomes to send");return}if(!this._dsn){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("No dsn provided, will not send outcomes");return}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("Sending outcomes:",e);let t=function(e,t,n){let r=[{type:"client_report"},{timestamp:(0,T.lu)(),discarded_events:e}];return(0,B.h4)(t?{dsn:t}:{},[r])}(e,this._options.tunnel&&(0,H.SB)(this._dsn));this._sendEnvelope(t)}}var eN=n(82137);function eL(e,t=function(){if(o)return o;if((0,eN.ap)(et.fetch))return o=et.fetch.bind(et);let e=et.document,t=et.fetch;if(e&&"function"==typeof e.createElement)try{let n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);let r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return o=t.bind(et)}()){let n=0,r=0;return Y(e,function(i){let a=i.body.length;n+=a,r++;let s={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{return t(e.url,s).then(e=>(n-=a,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return o=void 0,n-=a,r--,(0,V.xg)(e)}})}function ej(e){return Y(e,function(t){return new V.T2((n,r)=>{let i=new XMLHttpRequest;for(let t in i.onerror=r,i.onreadystatechange=()=>{4===i.readyState&&n({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",e.url),e.headers)Object.prototype.hasOwnProperty.call(e.headers,t)&&i.setRequestHeader(t,e.headers[t]);i.send(t.body)})})}var eM=n(3040);function eD(e,t,n,r){let i={filename:e,function:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}let eF=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,eU=/\((\S*)(?::(\d+))(?::(\d+))\)/,eV=[30,e=>{let t=eF.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){let e=eU.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}let[e,n]=eq(t[1]||"?",t[2]);return eD(n,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],eB=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,eG=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,eY=[50,e=>{let t=eB.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=eG.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||"?";return[n,e]=eq(n,e),eD(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],ez=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,eW=[40,e=>{let t=ez.exec(e);return t?eD(t[2],t[1]||"?",+t[3],t[4]?+t[4]:void 0):void 0}],eZ=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,eH=[10,e=>{let t=eZ.exec(e);return t?eD(t[2],t[3]||"?",+t[1]):void 0}],eK=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,eX=[20,e=>{let t=eK.exec(e);return t?eD(t[5],t[3]||t[4]||"?",+t[1],+t[2]):void 0}],e$=[eV,eY,eW],eJ=(0,eM.gd)(...e$),eq=(e,t)=>
882{let n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:"?",n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};class eQ{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=eQ.id}__init2(){this._installFunc={onerror:e0,onunhandledrejection:e1}}constructor(e){eQ.prototype.__init.call(this),eQ.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...e}}setupOnce(){Error.stackTraceLimit=50;let e=this._options;for(let n in e){var t;let r=this._installFunc[n];r&&e[n]&&(t=n,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`Global Handler attached: ${t}`),r(),this._installFunc[n]=void 0)}}}function e0(){(0,S.ON)("error",e=>{let[t,n,r]=e3();if(!t.getIntegration(eQ))return;let{msg:i,url:a,line:o,column:s,error:l}=e;if(en>0||l&&l.__sentry_own_request__)return;let u=void 0===l&&(0,v.Kg)(i)?function(e,t,n,r){let i=(0,v.T2)(e)?e.message:e,a="Error",o=i.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return o&&(a=o[1],i=o[2]),e2({exception:{values:[{type:a,value:i}]}},t,n,r)}(i,a,o,s):e2(e_(n,l||i,void 0,r,!1),a,o,s);u.level="error",e5(t,l,u,"onerror")})}function e1(){(0,S.ON)("unhandledrejection",e=>{var t;let[n,r,i]=e3();if(!n.getIntegration(eQ))return;let a=e;try{"reason"in e?a=e.reason:"detail"in e&&"reason"in e.detail&&(a=e.detail.reason)}catch(e){}if(en>0||a&&a.__sentry_own_request__)return!0;let o=(0,v.sO)(a)?(t=a,{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}):e_(r,a,void 0,i,!0);o.level="error",e5(n,a,o,"onunhandledrejection")})}function e2(e,t,n,r){let i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},l=s.frames=s.frames||[],u=isNaN(parseInt(r,10))?void 0:r,c=isNaN(parseInt(n,10))?void 0:n,d=(0,v.Kg)(t)&&t.length>0?t:(0,eE.$N)();return 0===l.length&&l.push({colno:u,filename:d,function:"?",in_app:!0,lineno:c}),e}function e5(e,t,n,r){(0,p.M6)(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function e3(){let e=(0,b.BF)(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}eQ.__initStatic();let e9=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class e4{static __initStatic(){this.id="TryCatch"}__init(){this.name=e4.id}constructor(e){e4.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e}}setupOnce(){this._options.setTimeout&&(0,u.GS)(et,"setTimeout",e6),this._options.setInterval&&(0,u.GS)(et,"setInterval",e6),this._options.requestAnimationFrame&&(0,u.GS)(et,"requestAnimationFrame",e7),this._options.XMLHttpRequest&&"XMLHttpRequest"in et&&(0,u.GS)(XMLHttpRequest.prototype,"send",e8);let e=this._options.eventTarget;e&&(Array.isArray(e)?e:e9).forEach(te)}}function e6(e){return function(...t){let n=t[0];return t[0]=er(n,{mechanism:{data:{function:(0,eM.qQ)(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function e7(e){return function(t){return e.apply(this,[er(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,eM.qQ)(e)},handled:!0,type:"instrument"}})])}}function e8(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&(0,u.GS)(n,e,function(t){let n={mechanism:{data:{function:e,handler:(0,eM.qQ)(t)},handled:!0,type:"instrument"}},r=(0,u.sp)(t);return r&&(n.mechanism.data.handler=(0,eM.qQ)(r)),er(t,n)})}),e.apply(this,t)}}function te(e){let t=et[e]&&et[e].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&((0,u.GS)(t,"addEventListener",function(t){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=er(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,eM.qQ)(r),target:e},handled:!0,type:"instrument"}}))}catch(e){}return t.apply(this,[n,er(r,{mechanism:{data:{function:"addEventListener",handler:(0,eM.qQ)(r),target:e},handled:!0,type:"instrument"}}),i])}}),(0,u.GS)(t,"removeEventListener",function(e){return function(t,n,r){try{let i=n&&n.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch(e){}return e.call(this,t,n,r)}}))}e4.__initStatic();class tt{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=tt.id}constructor(e={}){tt.prototype.__init.call(this),this._key=e.key||"cause",this._limit=e.limit||5}setupOnce(){let e=(0,b.BF)().getClient();e&&(0,q.l)((t,n)=>{let r=(0,b.BF)().getIntegration(tt);return r?function(e,t,n,r,i){if(!r.exception||!r.exception.values||!i||!(0,v.tH)(i.originalException,Error))return r;let a=function e(t,n,r,i,a=[]){if(!(0,v.tH)(r[i],Error)||a.length+1>=n)return a;let o=eh(t,r[i]);return e(t,n,r[i],i,[o,...a])}(e,n,i.originalException,t);return r.exception.values=[...a,...r.exception.values],r}(e.getOptions().stackParser,r._key,r._limit,t,n):t})}}tt.__initStatic();class tn{constructor(){tn.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=tn.id}setupOnce(){(0,q.l)(e=>
882{if((0,b.BF)().getIntegration(tn)){if(!et.navigator&&!et.location&&!et.document)return e;let t=e.request&&e.request.url||et.location&&et.location.href,{referrer:n}=et.document||{},{userAgent:r}=et.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},a={...e.request,...t&&{url:t},headers:i};return{...e,request:a}}return e})}}tn.__initStatic();class tr{constructor(){tr.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=tr.id}setupOnce(e,t){let n=e=>{if(e.type)return e;let n=t().getIntegration(tr);if(n){try{var r,i;if(r=e,(i=n._previousEvent)&&(function(e,t){let n=e.message,r=t.message;return(!!n||!!r)&&(!n||!!r)&&(!!n||!r)&&n===r&&!!ta(e,t)&&!!ti(e,t)&&!0}(r,i)||function(e,t){let n=to(t),r=to(e);return!!n&&!!r&&n.type===r.type&&n.value===r.value&&!!ta(e,t)&&!!ti(e,t)}(r,i)))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return n._previousEvent=e}return e};n.id=this.name,e(n)}}function ti(e,t){let n=ts(e),r=ts(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function ta(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return n.join("")===r.join("")}catch(e){return!1}}function to(e){return e.exception&&e.exception.values&&e.exception.values[0]}function ts(e){let t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){}}tr.__initStatic();let tl=[new m,new c,new e4,new ex,new eQ,new tt,new tr,new tn];function tu(e={}){void 0===e.defaultIntegrations&&(e.defaultIntegrations=tl),void 0===e.release&&("string"==typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),et.SENTRY_RELEASE&&et.SENTRY_RELEASE.id&&(e.release=et.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);let t={...e,stackParser:(0,eM.vk)(e.stackParser||eJ),integrations:function(e){let t=e.defaultIntegrations||[],n=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let r=function(e){let t={};return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.keys(t).map(e=>t[e])}(Array.isArray(n)?[...t,...n]:"function"==typeof n?(0,p.k9)(n(t)):t),i=function(e,t){for(let n=0;n<e.length;n++)if(!0===t(e[n]))return n;return -1}(r,e=>"Debug"===e.name);if(-1!==i){let[e]=r.splice(i,1);r.push(e)}return r}(e),transport:e.transport||((0,eN.vm)()?eL:ej)};!0===t.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?d.vF.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));let n=(0,b.BF)();n.getScope().update(t.initialScope);let r=new eP(t);n.bindClient(r),e.autoSessionTracking&&function(){if(void 0===et.document){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}let e=(0,b.BF)();e.captureSession&&(ty(e),(0,S.ON)("history",({from:e,to:t})=>{void 0!==e&&e!==t&&ty((0,b.BF)())}))}()}function tc(e={},t=(0,b.BF)()){if(!et.document){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.error("Global document not defined in showReportDialog call");return}let{client:n,scope:r}=t.getStackTop(),i=e.dsn||n&&n.getDsn();if(!i){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.error("DSN not configured for showReportDialog call");return}r&&(e.user={...r.getUser(),...e.user}),e.eventId||(e.eventId=t.lastEventId());let a=et.document.createElement("script");a.async=!0,a.src=function(e,t){let n=(0,H.AD)(e),r=`${K(n)}embed/error-page/`,i=`dsn=${(0,H.SB)(n)}`;for(let e in t)if("dsn"!==e)if("user"===e){let e=t.user;if(!e)continue;e.name&&(i+=`&name=${encodeURIComponent(e.name)}`),e.email&&(i+=`&email=${encodeURIComponent(e.email)}`)}else i+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;return`${r}?${i}`}(i,e),e.onLoad&&(a.onload=e.onLoad);let o=et.document.head||et.document.body;o?o.appendChild(a):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.error("Not injecting report dialog. No injection point found in HTML")}function td(){return(0,b.BF)().lastEventId()}function tp(){}function tf(e){e()}function th(e){let t=(0,b.BF)().getClient();return t?t.flush(e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn("Cannot flush events. No client defined."),(0,V.XW)(!1))}function tm(e){let t=(0,b.BF)().getClient();return t?t.close(e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn("Cannot flush events and disable SDK. No client defined."),(0,V.XW)(!1))}function tg(e){return er(e)()}function ty(e){e.startSession({ignoreDuration:!0}),e.captureSession()}function tv(e){let t=(0,b.BF)().getClient();t&&t.captureUserFeedback(e)}var tb=n(87323);let t_="baggage",tS="sentry-",tE=/^sentry-/;function tk(e){var t=Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${tS}${t}`]=n),e),{});return 0!==Object.keys(t).length?Object.entries(t).reduce((e,[t,n],r)=>
882{let i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,a=0===r?i:`${e},${i}`;return a.length>8192?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):a},""):void 0}function tA(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,n])=>(e[t]=n,e),{})}let tT=ee.OW,tx=(e,t,n)=>{let r,i;return a=>{t.value>=0&&(a||n)&&((i=t.value-(r||0))||void 0===r)&&(r=t.value,t.delta=i,e(t))}},tw=()=>tT.__WEB_VITALS_POLYFILL__?tT.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||(()=>{let e=tT.performance.timing,t=tT.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==t?"back_forward":1===t?"reload":"navigate"};for(let t in e)"navigationStart"!==t&&"toJSON"!==t&&(n[t]=Math.max(e[t]-e.navigationStart,0));return n})()):tT.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],tC=()=>{let e=tw();return e&&e.activationStart||0},tI=(e,t)=>{let n=tw(),r="navigate";return n&&(r=tT.document.prerendering||tC()>0?"prerender":n.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,navigationType:r}},tO=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{t(e.getEntries())});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},tR=(e,t)=>{let n=r=>{("pagehide"===r.type||"hidden"===tT.document.visibilityState)&&(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},tP=-1,tN=()=>(tP<0&&(tP="hidden"!==tT.document.visibilityState||tT.document.prerendering?1/0:0,tR(({timeStamp:e})=>{tP=e},!0)),{get firstHiddenTime(){return tP}}),tL={};function tj(e){return"number"==typeof e&&isFinite(e)}function tM(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}function tD(e){return e/1e3}function tF(){return tT&&tT.addEventListener&&tT.performance}let tU=0,tV={};function tB(e,t,n,r,i,a){let o=a?t[a]:t[`${n}End`],s=t[`${n}Start`];s&&o&&tM(e,{op:"browser",description:i||n,startTimestamp:r+tD(s),endTimestamp:r+tD(o)})}let tG=["localhost",/^\//],tY={traceFetch:!0,traceXHR:!0,tracingOrigins:tG,tracePropagationTargets:tG};function tz(e){let{traceFetch:t,traceXHR:n,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:a}={traceFetch:tY.traceFetch,traceXHR:tY.traceXHR,...e},o="function"==typeof a?a:e=>!0,s=e=>{var t,n;return t=e,n=r||i,(0,f.Xr)(t,n||tG)},l={};t&&(0,S.ON)("fetch",e=>{!function(e,t,n,r){if(!_()||!(e.fetchData&&t(e.fetchData.url)))return;if(e.endTimestamp){let t=e.fetchData.__span;if(!t)return;let n=r[t];n&&(e.response?n.setHttpStatus(e.response.status):e.error&&n.setStatus("internal_error"),n.finish(),delete r[t]);return}let i=e.response&&e.response.headers&&e.response.headers.get("content-length"),a=(0,b.BF)().getScope(),o=a&&a.getSpan(),s=o&&o.transaction;if(o&&s){let{method:t,url:a}=e.fetchData,l=o.startChild({data:{url:a,type:"fetch",...i?{"http.response_content_length":i}:{},"http.method":t},description:`${t} ${a}`,op:"http.client"});e.fetchData.__span=l.spanId,r[l.spanId]=l;let u=e.args[0];e.args[1]=e.args[1]||{};let c=e.args[1];n(e.fetchData.url)&&(c.headers=function(e,t,n,r){let i=tk(t),a=n.toTraceparent(),o="undefined"!=typeof Request&&(0,v.tH)(e,Request)?e.headers:r.headers;if(!o)return{"sentry-trace":a,baggage:i};if("undefined"!=typeof Headers&&(0,v.tH)(o,Headers)){let e=new Headers(o);return e.append("sentry-trace",a),i&&e.append(t_,i),e}if(Array.isArray(o)){let e=[...o,["sentry-trace",a]];return i&&e.push([t_,i]),e}{let e="baggage"in o?o.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),i&&t.push(i),{...o,"sentry-trace":a,baggage:t.length>0?t.join(","):void 0}}}(u,s.getDynamicSamplingContext(),l,c))}}(e,o,s,l)}),n&&(0,S.ON)("xhr",e=>{!function(e,t,n,r){let i=e.xhr,a=i&&i[S.Er];if(!_()||i&&i.__sentry_own_request__||!(i&&a&&t(a.url)))return;if(e.endTimestamp){let e=i.__sentry_xhr_span_id__;if(!e)return;let t=r[e];t&&(t.setHttpStatus(a.status_code),t.finish(),delete r[e]);return}let o=(0,b.BF)().getScope(),s=o&&o.getSpan(),l=s&&s.transaction;
882if(s&&l){let e=s.startChild({data:{...a.data,type:"xhr","http.method":a.method,url:a.url},description:`${a.method} ${a.url}`,op:"http.client"});if(i.__sentry_xhr_span_id__=e.spanId,r[i.__sentry_xhr_span_id__]=e,i.setRequestHeader&&n(a.url))try{i.setRequestHeader("sentry-trace",e.toTraceparent());let t=l.getDynamicSamplingContext(),n=tk(t);n&&i.setRequestHeader(t_,n)}catch(e){}}}(e,o,s,l)})}let tW={...R,markBackgroundTransactions:!0,routingInstrumentation:function(e,t=!0,n=!0){let r;if(!tT||!tT.location){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn("Could not initialize routing instrumentation due to invalid location");return}let i=tT.location.href;t&&(r=e({name:tT.location.pathname,startTimestamp:T.k3?T.k3/1e3:void 0,op:"pageload",metadata:{source:"url"}})),n&&(0,S.ON)("history",({to:t,from:n})=>{if(void 0===n&&i&&-1!==i.indexOf(t)){i=void 0;return}n!==t&&(i=void 0,r&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`[Tracing] Finishing current transaction with op: ${r.op}`),r.finish()),r=e({name:tT.location.pathname,op:"navigation",metadata:{source:"url"}}))})},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,_experiments:{},...tY};class tZ{__init(){this.name="BrowserTracing"}constructor(e){tZ.prototype.__init.call(this),F(),this.options={...tW,...e},void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),e&&!e.tracePropagationTargets&&e.tracingOrigins&&(this.options.tracePropagationTargets=e.tracingOrigins),this._collectWebVitals=function(){let e=tF();if(e&&T.k3){e.mark&&tT.performance.mark("sentry-tracing-init"),(e=>{let t,n=tN(),r=tI("FID"),i=e=>{e.startTime<n.firstHiddenTime&&(r.value=e.processingStart-e.startTime,r.entries.push(e),t(!0))},a=e=>{e.forEach(i)},o=tO("first-input",a);t=tx(e,r),o&&tR(()=>{a(o.takeRecords()),o.disconnect()},!0)})(e=>{let t=e.entries.pop();if(!t)return;let n=tD(T.k3),r=tD(t.startTime);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Measurements] Adding FID"),tV.fid={value:e.value,unit:"millisecond"},tV["mark.fid"]={value:n+r,unit:"second"}});let t=(e=>{let t,n=tI("CLS",0),r=0,i=[],a=e=>{e.forEach(e=>{if(!e.hadRecentInput){let a=i[0],o=i[i.length-1];r&&0!==i.length&&e.startTime-o.startTime<1e3&&e.startTime-a.startTime<5e3?(r+=e.value,i.push(e)):(r=e.value,i=[e]),r>n.value&&(n.value=r,n.entries=i,t&&t())}})},o=tO("layout-shift",a);if(o){t=tx(e,n);let r=()=>{a(o.takeRecords()),t(!0)};return tR(r),r}})(e=>{let t=e.entries.pop();t&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Measurements] Adding CLS"),tV.cls={value:e.value,unit:""},a=t)}),n=(e=>{let t,n=tN(),r=tI("LCP"),i=e=>{let i=e[e.length-1];if(i){let e=Math.max(i.startTime-tC(),0);e<n.firstHiddenTime&&(r.value=e,r.entries=[i],t())}},a=tO("largest-contentful-paint",i);if(a){t=tx(e,r);let n=()=>{tL[r.id]||(i(a.takeRecords()),a.disconnect(),tL[r.id]=!0,t(!0))};return["keydown","click"].forEach(e=>{addEventListener(e,n,{once:!0,capture:!0})}),tR(n,!0),n}})(e=>{let t=e.entries.pop();t&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Measurements] Adding LCP"),tV.lcp={value:e.value,unit:"millisecond"},i=t)});return()=>{t&&t(),n&&n()}}return()=>void 0}(),this.options.enableLongTask&&tO("longtask",e=>{for(let t of e){let e=E();if(!e)return;let n=tD(T.k3+t.startTime),r=tD(t.duration);e.startChild({description:"Main UI thread blocked",op:"ui.long-task",startTimestamp:n,endTimestamp:n+r})}}),this.options._experiments.enableInteractions&&tO("event",e=>{for(let t of e){let e=E();if(!e)return;if("click"===t.name){let n=tD(T.k3+t.startTime),r=tD(t.duration);e.startChild({description:(0,eE.Hd)(t.target),op:`ui.interaction.${t.name}`,startTimestamp:n,endTimestamp:n+r})}}},{durationThreshold:0})}setupOnce(e,t){this._getCurrentHub=t;let{routingInstrumentation:n,startTransactionOnLocationChange:r,startTransactionOnPageLoad:i,markBackgroundTransactions:a,traceFetch:o,traceXHR:s,tracePropagationTargets:l,shouldCreateSpanForRequest:u,_experiments:c}=this.options;n(e=>{let n=this._createRouteTransaction(e);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(n,e,t),n},i,r),a&&(tT&&tT.document?tT.document.addEventListener("visibilitychange",()=>{let e=E();if(tT.document.hidden&&e){let t="cancelled";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${e.op}`),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.finish()}}):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn("[Tracing] Could not set up background tab detection due to lack of global document")),c.enableInteractions&&this._registerInteractionListener(),tz({traceFetch:o,traceXHR:s,tracePropagationTargets:l,shouldCreateSpanForRequest:u})}_createRouteTransaction(e){if(!this._getCurrentHub){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn(`[Tracing] Did not create ${e.op}
882 transaction because _getCurrentHub is invalid.`);return}let{beforeNavigate:t,idleTimeout:n,finalTimeout:r,heartbeatInterval:o}=this.options,s="pageload"===e.op,l=s?tH("sentry-trace"):null,u=s?tH("baggage"):null,c=l?Z(l):void 0,p=u?function(e){if(!(0,v.Kg)(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce((e,t)=>{let n=tA(t);return{...e,...n}},{});else{if(!e)return;t=tA(e)}let n=Object.entries(t).reduce((e,[t,n])=>(t.match(tE)&&(e[t.slice(tS.length)]=n),e),{});return Object.keys(n).length>0?n:void 0}(u):void 0,f={...e,...c,metadata:{...e.metadata,dynamicSamplingContext:c&&!p?{}:p},trimEnd:!0},h="function"==typeof t?t(f):f,m=void 0===h?{...f,sampled:!1}:h;m.metadata=m.name!==f.name?{...m.metadata,source:"custom"}:m.metadata,this._latestRouteName=m.name,this._latestRouteSource=m.metadata&&m.metadata.source,!1===m.sampled&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`[Tracing] Will not send ${m.op} transaction because of beforeNavigate.`),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`[Tracing] Starting ${m.op} transaction on scope`);let g=this._getCurrentHub(),{location:y}=tT,b=D(g,m,n,r,!0,{location:y},o);return b.registerBeforeFinishCallback(e=>{this._collectWebVitals(),function(e){let t,n,r=tF();if(!r||!tT.performance.getEntries||!T.k3)return;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Tracing] Adding & adjusting spans using Performance API");let o=tD(T.k3),s=r.getEntries();if(s.slice(tU).forEach(r=>{let i=tD(r.startTime),a=tD(r.duration);if("navigation"!==e.op||!(o+i<e.startTimestamp))switch(r.entryType){case"navigation":var s,l,u,c,p,f;s=e,l=r,u=o,["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(e=>{tB(s,l,e,u)}),tB(s,l,"secureConnection",u,"TLS/SSL","connectEnd"),tB(s,l,"fetch",u,"cache","domainLookupStart"),tB(s,l,"domainLookup",u,"DNS"),c=s,p=l,tM(c,{op:"browser",description:"request",startTimestamp:(f=u)+tD(p.requestStart),endTimestamp:f+tD(p.responseEnd)}),tM(c,{op:"browser",description:"response",startTimestamp:f+tD(p.responseStart),endTimestamp:f+tD(p.responseEnd)}),t=o+tD(r.responseStart),n=o+tD(r.requestStart);break;case"mark":case"paint":case"measure":{var h=e,m=r,g=i,y=a,v=o;let t=v+g;tM(h,{description:m.name,endTimestamp:t+y,op:m.entryType,startTimestamp:t});let n=tN(),s=r.startTime<n.firstHiddenTime;"first-paint"===r.name&&s&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Measurements] Adding FP"),tV.fp={value:r.startTime,unit:"millisecond"}),"first-contentful-paint"===r.name&&s&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Measurements] Adding FCP"),tV.fcp={value:r.startTime,unit:"millisecond"});break}case"resource":{let t=r.name.replace(tT.location.origin,"");!function(e,t,n,r,i,a){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let o={};"transferSize"in t&&(o["http.response_transfer_size"]=t.transferSize),"encodedBodySize"in t&&(o["http.response_content_length"]=t.encodedBodySize),"decodedBodySize"in t&&(o["http.decoded_response_content_length"]=t.decodedBodySize),"renderBlockingStatus"in t&&(o["resource.render_blocking_status"]=t.renderBlockingStatus);let s=a+r;tM(e,{description:n,endTimestamp:s+i,op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",startTimestamp:s,data:o})}(e,r,t,i,a,o)}}}),tU=Math.max(s.length-1,0),function(e){let t=tT.navigator;if(!t)return;let n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),tj(n.rtt)&&(tV["connection.rtt"]={value:n.rtt,unit:"millisecond"})),tj(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),tj(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===e.op){var l;"number"==typeof t&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Measurements] Adding TTFB"),tV.ttfb={value:(t-e.startTimestamp)*1e3,unit:"millisecond"},"number"==typeof n&&n<=t&&(tV["ttfb.requestTime"]={value:(t-n)*1e3,unit:"millisecond"})),["fcp","fp","lcp"].forEach(t=>{if(!tV[t]||o>=e.startTimestamp)return;let n=tV[t].value,r=Math.abs((o+tD(n)-e.startTimestamp)*1e3),i=r-n;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`[Measurements] Normalized ${t} from ${n} to ${r} (${i})`),tV[t].value=r});let r=tV["mark.fid"];
882r&&tV.fid&&(tM(e,{description:"first input delay",endTimestamp:r.value+tD(tV.fid.value),op:"ui.action",startTimestamp:r.value}),delete tV["mark.fid"]),"fcp"in tV||delete tV.cls,Object.keys(tV).forEach(t=>{e.setMeasurement(t,tV[t].value,tV[t].unit)}),l=e,i&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Measurements] Adding LCP Data"),i.element&&l.setTag("lcp.element",(0,eE.Hd)(i.element)),i.id&&l.setTag("lcp.id",i.id),i.url&&l.setTag("lcp.url",i.url.trim().slice(0,200)),l.setTag("lcp.size",i.size)),a&&a.sources&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Measurements] Adding CLS Data"),a.sources.forEach((e,t)=>l.setTag(`cls.source.${t+1}`,(0,eE.Hd)(e.node))))}i=void 0,a=void 0,tV={}}(e)}),b}_registerInteractionListener(){let e,t=()=>{let{idleTimeout:t,finalTimeout:n,heartbeatInterval:r}=this.options,i="ui.action.click",a=E();if(a&&a.op&&["navigation","pageload"].includes(a.op)){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn(`[Tracing] Did not create ${i} transaction because a pageload or navigation transaction is in progress.`);return}if(e&&(e.setFinishReason("interactionInterrupted"),e.finish(),e=void 0),!this._getCurrentHub){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn(`[Tracing] Did not create ${i} transaction because _getCurrentHub is invalid.`);return}if(!this._latestRouteName){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn(`[Tracing] Did not create ${i} transaction because _latestRouteName is missing.`);return}let o=this._getCurrentHub(),{location:s}=tT;e=D(o,{name:this._latestRouteName,op:i,trimEnd:!0,metadata:{source:this._latestRouteSource||"url"}},t,n,!0,{location:s},r)};["click"].forEach(e=>{addEventListener(e,t,{once:!1,capture:!0})})}}function tH(e){let t=(0,eE.NX)(`meta[name=${e}]`);return t?t.getAttribute("content"):null}function tK(e,t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.info(`[Offline]: ${e}`,t)}function tX(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function t$(e){return tX(e.getAllKeys())}function tJ(e){let t;function n(){return void 0==t&&(t=function(e,t){let n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);let r=tX(n);return e=>r.then(n=>e(n.transaction(t,"readwrite").objectStore(t)))}(e.dbName||"sentry-offline",e.storeName||"queue")),t}return{insert:async t=>{try{var r,i;let a=await (0,B.bN)(t,e.textEncoder);await (r=n(),i=e.maxQueueSize||30,r(e=>t$(e).then(t=>{if(!(t.length>=i))return e.put(a,Math.max(...t,0)+1),tX(e.transaction)})))}catch(e){}},pop:async()=>{try{let t=await n()(e=>t$(e).then(t=>{if(0!==t.length)return tX(e.get(t[0])).then(n=>(e.delete(t[0]),tX(e.transaction).then(()=>n)))}));if(t)return(0,B.mE)(t,e.textEncoder||new TextEncoder,e.textDecoder||new TextDecoder)}catch(e){}}}}function tq(e){var t;return t=t=>{let n,r=e(t),i=t.createStore?t.createStore(t):void 0,a=5e3;function o(e){i&&(n&&clearTimeout(n),"number"!=typeof(n=setTimeout(async()=>{n=void 0;let e=await i.pop();e&&(tK("Attempting to send previously queued event"),l(e).catch(e=>{tK("Failed to retry sending",e)}))},e))&&n.unref&&n.unref())}function s(){n||(o(a),a=Math.min(2*a,36e5))}async function l(e){try{let t=await r.send(e),n=100;if(t){if(t.headers&&t.headers["retry-after"])n=G(t.headers["retry-after"]);else if((t.statusCode||0)>=400)return t}return o(n),a=5e3,t}catch(r){var n;if(i&&await (n=a,!(0,B.hP)(e,["replay_event","replay_recording","client_report"])&&(!t.shouldStore||t.shouldStore(e,r,n))))return await i.insert(e),s(),tK("Error sending. Event queued",r),{};throw r}}return t.flushAtStartup&&s(),{send:l,flush:e=>r.flush(e)}},e=>t({...e,createStore:tJ})}let tQ=function(e){let t=[],n={};return{add(e,r){for(;t.length>=20;){let e=t.shift();void 0!==e&&delete n[e]}n[e]&&this.delete(e),t.push(e),n[e]=r},clear(){n={},t=[]},get:e=>n[e],size:()=>t.length,delete(e){if(!n[e])return!1;delete n[e];for(let n=0;n<t.length;n++)if(t[n]===e){t.splice(n,1);break}return!0}}}(0),t0=String(0),t1="",t2="",t5="",t3=et.navigator&&et.navigator.userAgent||"",t9="",t4=et.navigator&&et.navigator.language||et.navigator&&et.navigator.languages&&et.navigator.languages[0]||"",t6=et.navigator&&et.navigator.userAgentData;(function(e){return"object"==typeof e&&null!==e&&"getHighEntropyValues"in e})(t6)&&t6.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(e=>
882{if(t1=e.platform||"",t5=e.architecture||"",t9=e.model||"",t2=e.platformVersion||"",e.fullVersionList&&e.fullVersionList.length>0){let t=e.fullVersionList[e.fullVersionList.length-1];t3=`${t.brand} ${t.version}`}}).catch(e=>void 0);let t7=!1;function t8(e){return e?ne(e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] Transaction is undefined, skipping profiling"),e)}function ne(e){let t,n=et.Profiler;if("function"!=typeof n)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object."),e;if(!e.sampled)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] Transaction is not sampled, skipping profiling"),e;if(t7)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] Profiling has been disabled for the duration of the current user session."),e;let r=(0,b.BF)().getClient(),i=r&&r.getOptions(),a=i&&i.profilesSampleRate||0;if(void 0===a)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] Profiling disabled, enable it by setting `profilesSampleRate` option to SDK init call."),e;if(Math.random()>a)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] Skip profiling transaction due to sampling."),e;let o=Math.floor(3e3);try{t=new n({sampleInterval:10,maxBufferSize:o})}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(d.vF.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),d.vF.log("[Profiling] Disabling profiling for current user session.")),t7=!0}if(!t)return e;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`[Profiling] started profiling transaction: ${e.name||e.description}`);let s=(0,p.eJ)(),l=null;function c(){if(e&&t){if(l){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] profile for:",e.name||e.description,"already exists, returning early");return}t.stop().then(t=>{if(f&&(et.clearTimeout(f),f=void 0),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`[Profiling] stopped profiling of transaction: ${e.name||e.description}`),!t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`[Profiling] profiler returned null profile for: ${e.name||e.description}`,"this may indicate an overlapping transaction or a call to stopProfiling with a profile title that was never started");return}t.samples.length<2||(l={...t,profile_id:s},function(e,t){let n=tQ.get(e);if(!n){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] Couldn't find a transaction event for this profile, dropping it.");return}n.sdkProcessingMetadata=n.sdkProcessingMetadata||{},n.sdkProcessingMetadata&&!n.sdkProcessingMetadata.profile&&(n.sdkProcessingMetadata.profile=t);let r=(0,b.BF)().getClient();if(!r){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] getClient did not return a Client, removing profile from event and forwarding to next event processors.");return}let i=r.getDsn();if(!i){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] getDsn did not return a Dsn, removing profile from event and forwarding to next event processors.");return}let a=r.getTransport();if(!a){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] getTransport did not return a Transport, removing profile from event and forwarding to next event processors.");return}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] Preparing envelope and sending a profiling event");let o=function(e,t,n,r){var i,a;if("transaction"!==e.type)throw TypeError("Profiling events may only be attached to transactions, this should never occur.");let o=e.sdkProcessingMetadata.profile;if(null==o)throw TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${o} instead.`);if(!o.profile_id)throw TypeError("Profile is missing profile_id");if(o.samples.length<=1)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] Discarding profile because it c
882ontains less than 2 samples"),null;let s=function(e){let t=e&&e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id;return("string"==typeof t&&32!==t.length&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log(`[Profiling] Invalid traceId: ${t} on profiled event`),"string"!=typeof t)?"":t}(e),l=function(e){if(e&&e.sdk)return{name:e.sdk.name,version:e.sdk.version}}(void 0);i=void 0;let c=function(e,t,n,r){let i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&{dsn:(0,H.SB)(r)},..."transaction"===e.type&&i&&{trace:(0,u.Ce)({...i})}}}(e,l,void 0,t),f="thread_metadata"in(a=o)?a:function(e){let t,n=0,r={samples:[],stacks:[],frames:[],thread_metadata:{[t0]:{name:"main"}}};if(!e.samples.length)return r;let i=e.samples[0].timestamp;for(let a=0;a<e.samples.length;a++){let o=e.samples[a];if(void 0===o.stackId){void 0===t&&(t=n,r.stacks[t]=[],n++),r.samples[a]={elapsed_since_start_ns:((o.timestamp-i)*1e6).toFixed(0),stack_id:t,thread_id:t0};continue}let s=e.stacks[o.stackId],l=[];for(;s;){l.push(s.frameId);let t=e.frames[s.frameId];void 0===r.frames[s.frameId]&&(r.frames[s.frameId]={function:t.name,file:t.resourceId?e.resources[t.resourceId]:void 0,line:t.line,column:t.column}),s=void 0===s.parentId?void 0:e.stacks[s.parentId]}let u={elapsed_since_start_ns:((o.timestamp-i)*1e6).toFixed(0),stack_id:n,thread_id:t0};r.stacks[n]=l,r.samples[a]=u,n++}return r}(a),h="number"==typeof e.start_timestamp?1e3*e.start_timestamp:Date.now(),m="number"==typeof e.timestamp?1e3*e.timestamp:Date.now(),g={event_id:o.profile_id,timestamp:new Date(h).toISOString(),platform:"javascript",version:"1",release:e.release||"",environment:e.environment||I.U,runtime:{name:"javascript",version:et.navigator.userAgent},os:{name:t1,version:t2,build_number:t3},device:{locale:t4,model:t9,manufacturer:t3,architecture:t5,is_emulator:!1},profile:f,transactions:[{name:e.transaction||"",id:e.event_id||(0,p.eJ)(),trace_id:s,active_thread_id:t0,relative_start_ns:"0",relative_end_ns:((m-h)*1e6).toFixed(0)}]};return(0,B.h4)(c,[[{type:"profile"},g]])}(n,i);if(tQ.delete(e),!o){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] Failed to construct envelope");return}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] Envelope constructed, sending it"),a.send(o).then(null,e=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] Error while sending event:",e)})}(s,l))}).catch(e=>(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] error while stopping profiler:",e),null))}}let f=et.setTimeout(()=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] max profile duration elapsed, stopping profiling for:",e.name||e.description),c()},3e4),h=e.finish.bind(e);return e.finish=function(){return e&&(c(),e.setContext("profile",{profile_id:s})),h()},e}class nt{constructor(){nt.prototype.__init.call(this)}__init(){this.name="BrowserProfilingIntegration"}setupOnce(e){!function(){var e;let t=(0,b.EU)();if(!t.__SENTRY__){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] Can't find main carrier, profiling won't work.");return}if(t.__SENTRY__.extensions=t.__SENTRY__.extensions||{},!t.__SENTRY__.extensions.startTransaction){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] startTransaction does not exists, profiling will not work. Make sure you import @sentry/tracing package before @sentry/profiling-node as import order matters.");return}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] startTransaction exists, patching it with profiling functionality..."),t.__SENTRY__.extensions.startTransaction=(e=t.__SENTRY__.extensions.startTransaction,function(t,n){let r=e.call(this,t,n);return void 0===r?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] Transaction is undefined, skipping profiling"),r):ne(r)})}(),e(this.handleGlobalEvent.bind(this))}handleGlobalEvent(e){let t=e.contexts&&e.contexts.profile&&e.contexts.profile.profile_id;return t&&"string"==typeof t&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.log("[Profiling] Profiling event found, caching it."),tQ.add(t,e)),e}}let nn={};et.Sentry&&et.Sentry.Integrations&&(nn=et.Sentry.Integrations);let nr={...nn,...s,...l}},68553:(e,t,n)=>{"use strict";
882Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRatingMarker=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(19577)),s=r.__importDefault(n(22110)),l=n(17006),u=n(7343),c=n(72969),d=n(95643),p=n(61429),f=n(37111),h=n(77640),m=n(37942),g=new Map([[0,(0,i.jsx)(l.AgeRating0,{})],[6,(0,i.jsx)(h.AgeRating6,{})],[8,(0,i.jsx)(m.AgeRating8,{})],[10,(0,i.jsx)(u.AgeRating10,{})],[12,(0,i.jsx)(c.AgeRating12,{})],[14,(0,i.jsx)(d.AgeRating14,{})],[16,(0,i.jsx)(p.AgeRating16,{})],[18,(0,i.jsx)(f.AgeRating18,{})]]),y=(0,s.default)({featureDetect:!0,tablet:!0}),v=a.default.mark(({theme:e})=>({backgroundColor:"transparent",color:e.color.white,display:"flex",flexDirection:"column"})),b=a.default.section({alignItems:"center",display:"flex"}),_=a.default.section({alignItems:"start",display:"flex"}),S=a.default.div({fontSize:"18px",marginRight:"10px",textTransform:"uppercase"}),E=a.default.div({fontSize:"15px",margin:y?"8px 0 0":"12px 0 0"});t.AgeRatingMarker=e=>{let t=o.default.number(e.ageRating)?g.get(e.ageRating):void 0;return(0,i.jsxs)(v,{children:[(0,i.jsxs)(b,{children:[(0,i.jsx)(S,{children:"Altersfreigabe"})," ",t]}),(0,i.jsx)(_,{children:(0,i.jsx)(E,{children:e.ageRatingDescriptor})})]})}},68565:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAdScheduleOverlay=void 0;let r=n(47561),i=n(9837),a=e=>e.remainingAdCount>0;t.createAdScheduleOverlay=e=>{let{store:t,toggleRouter:n}=e,o=n.getFeatureValue("overlay-cut-in-ad-load").unwrapOr(0);return{checkAndDecreaseRemainingAdCount:({adScheduleTimeOffset:e})=>{let{overlayAdSchedule:n}=t.getState();return n.mapOr(!1,n=>{let{timeOffset:i}=n;return e.andThen(t=>t===i?e:r.Maybe.nothing()).mapOr(!1,e=>{let i=n.remainingAdCount-1;return t.setState({overlayAdSchedule:r.Maybe.just(Object.assign(Object.assign({},n),{remainingAdCount:i}))}),!0})})},getOverlayEntry:n=>{let{adLoad:s,somqueryOptions:l,adServerOverrideUrl:u,allowAdServerOverride:c}=n,{breakType:d,startTimeOffset:p}=s,{overlayAdSchedule:f}=t.getState(),{playerState:h}=l;return(0===o?r.Maybe.nothing():"overlay"===d?r.Maybe.of(p):(({contentPosition:e,overlayAdSchedule:t,newMidrollOffset:n})=>{if(t.mapOr(!0,a)){let i=e.unwrapOr(0);return t.map(({initialDelta:e})=>n-e).or(r.Maybe.of((n+i)/2)).andThen(e=>e>i?r.Maybe.of(e):r.Maybe.nothing())}return r.Maybe.nothing()})({contentPosition:r.Maybe.of(h.contentPosition),newMidrollOffset:p,overlayAdSchedule:f})).map(n=>{let a=`${n}s`,s=f.mapOr(o,e=>e.remainingAdCount),d=o-s;return t.setState({overlayAdSchedule:r.Maybe.of({initialDelta:p-n,remainingAdCount:s,timeOffset:a})}),{[a]:(0,i.createAdScheduleEntry)(e,{adServerOverrideUrl:u,allowAdServerOverride:c,somqueryOptions:Object.assign(Object.assign({},l),{maxAdBreakDuration:10,maxAdCount:1,rollIndex:d,somqueryRollPlacement:"overlay"}),type:"nonlinear"})}})}}}}
882,68598:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(63923)),i=a(n(48886));function a(e){return e&&e.__esModule?e:{default:e}}t.default=(0,r.default)("v5",80,i.default)},68816:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLiveChannelDataStateMachine=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=r.__importDefault(n(94799)),o=r.__importDefault(n(19561)),s=n(47561),l=n(21639),u=n(47397),c=n(67608),d=n(25597),p=n(74524),f=n(37481);function h(e){return(0,u.isRecord)(e)&&(0,u.hasOwnPropertyOf)(e,"data","object")&&e.data.liveChannels instanceof Map}function m(e){return(0,u.isRecord)(e)&&"CHANGE_TIMESTAMP"===e.type&&i.default.number(e.startOfCurrentMinuteTimestamp)}function g(e){let t=new Date(c.milliseconds.unbox(e)),n=(0,a.default)(t),r=c.milliseconds.of(n.getTime());return(0,c.convert)(r,"seconds")}t.createLiveChannelDataStateMachine=function(e){let{clock:t,errorReporter:n,fetchElectronicProgramGuideData:i,waitForUserState:a,liveChannelGroupFilter:y}=e,v=(0,d.createClockNotifier)({clock:t}),b=c.milliseconds.of(t.getCurrentTimestamp());return(0,l.createMachine)({predictableActionArguments:!0,type:"compound",initial:"disabled",context:{startOfCurrentMinuteTimestamp:function(e){let t=new Date(c.milliseconds.unbox(e)),n=(0,o.default)(t),r=c.milliseconds.of(n.getTime());return(0,c.convert)(r,"seconds")}(b),startOfCurrentHourTimestamp:g(b),liveChannels:new Map,bookmarkedBrandIds:[],rawLiveChannels:new Map,fetchErrorCount:0,earliestAirTimeEnd:s.Maybe.nothing(),livestreamGroupFilter:y},preserveActionOrder:!0,states:{disabled:{id:"disabled",on:{ENABLE_FETCHING_MODE:"enabled"}},enabled:{type:"compound",initial:"loading",exit:"resetFetchErrorCount",on:{CHANGE_TIMESTAMP:{actions:["saveCurrentTimestamp","updateLiveChannels"]},DISABLE_FETCHING_MODE:"#disabled"},invoke:{src:"listenToTimeChanges"},states:{loading:{invoke:{src:"fetchRawLiveChannels",onDone:{target:"waitingForRefreshTrigger",actions:["resetFetchErrorCount","saveLiveChannelsResponse","findEarliestAirTimeEnd","updateLiveChannels"]},onError:{target:"waitingForRefreshTrigger",actions:["incrementFetchErrorCount","reportFetchingError"]}}},waitingForRefreshTrigger:{on:{REFETCH:{target:"loading",actions:["updateFilter"]}},after:{REFRESH_DELAY:"loading"}}}}}},{actions:{saveCurrentTimestamp:(0,l.assign)({startOfCurrentMinuteTimestamp:(e,t)=>m(t)?(0,c.convert)(c.milliseconds.of(t.startOfCurrentMinuteTimestamp),"seconds"):e.startOfCurrentMinuteTimestamp,startOfCurrentHourTimestamp:(e,t)=>m(t)?g(c.milliseconds.of(t.startOfCurrentMinuteTimestamp)):e.startOfCurrentHourTimestamp}),saveLiveChannelsResponse:(0,l.assign)({bookmarkedBrandIds(e,t){if((0,u.isRecord)(t)&&(0,u.hasOwnPropertyOf)(t,"data","object")&&Array.isArray(t.data.bookmarkedBrandIds)){let{data:e}=t;return e.bookmarkedBrandIds}return e.bookmarkedBrandIds},rawLiveChannels:(e,t)=>h(t)?t.data.liveChannels:e.rawLiveChannels}),findEarliestAirTimeEnd:(0,l.assign)({earliestAirTimeEnd:(e,n)=>h(n)?(0,f.findEarliestAirTimeEnd)(n.data.liveChannels,t.getCurrentTimestamp()):e.earliestAirTimeEnd}),resetFetchErrorCount:(0,l.assign)({fetchErrorCount:e=>0}),incrementFetchErrorCount:(0,l.assign)({fetchErrorCount:e=>e.fetchErrorCount+1}),reportFetchingError(e,t){if((0,u.isRecord)(t)&&t.data instanceof Error)n.sendError(t.data);else{let e=Error("Unknown error happened while fetching live channels data");n.sendError(e)}},updateLiveChannels:(0,l.assign)({liveChannels(e){let{startOfCurrentMinuteTimestamp:t,startOfCurrentHourTimestamp:n,rawLiveChannels:r}=e,i=(0,c.convert)(t,"seconds");return(0,p.enhanceRawLiveChannels)(r,n,i)}}),updateFilter:(0,l.assign)({livestreamGroupFilter:(e,t)=>t.livestreamGroupFilter})},guards:{},delays:{REFRESH_DELAY:e=>e.fetchErrorCount>0?6e4*e.fetchErrorCount:e.earliestAirTimeEnd.mapOr(6e4,e=>c.milliseconds.unbox((0,c.convert)(e,"milliseconds"))-t.getCurrentTimestamp())},services:{listenToTimeChanges:e=>e=>{function t(t){e({startOfCurrentMinuteTimestamp:t,type:"CHANGE_TIMESTAMP"})}return v.on("minuteChange",t),function(){v.off("minuteChange",t)}},fetchRawLiveChannels(e){var t;return r.__awaiter(this,void 0,void 0,function*(){let[n,r]=yield a();return{bookmarkedBrandIds:null!=(t=n.bookmarkedBrandIds)?t:[],liveChannels:(yield i({userState:n,userToken:r,programEntriesStartTime:e.startOfCurrentHourTimestamp,currentTime:e.startOfCurrentMinuteTimestamp,livestreamGroupFilter:e.livestreamGroupFilter})).liveChannels}})}}})}},69236:(e,t,n)=>{"use strict";
882Object.defineProperty(t,"__esModule",{value:!0}),t.Divider=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)).default.span({fontSize:"12px",lineHeight:1,marginLeft:"10px",marginRight:"10px",marginTop:"3px"});t.Divider=()=>(0,i.jsx)(a,{children:"â¢"})},69713:e=>{e.exports=function(e){return e}},69956:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_HASHABLE_LENGTH=t.INIT=t.KEY=t.DIGEST_LENGTH=t.BLOCK_SIZE=void 0,t.BLOCK_SIZE=64,t.DIGEST_LENGTH=32,t.KEY=new Uint32Array([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]),t.INIT=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],t.MAX_HASHABLE_LENGTH=0x1fffffffffffff},70015:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__assign:()=>a,__asyncDelegator:()=>T,__asyncGenerator:()=>A,__asyncValues:()=>x,__await:()=>k,__awaiter:()=>h,__classPrivateFieldGet:()=>R,__classPrivateFieldIn:()=>N,__classPrivateFieldSet:()=>P,__createBinding:()=>g,__decorate:()=>s,__esDecorate:()=>u,__exportStar:()=>y,__extends:()=>i,__generator:()=>m,__importDefault:()=>O,__importStar:()=>
882I,__makeTemplateObject:()=>w,__metadata:()=>f,__param:()=>l,__propKey:()=>d,__read:()=>b,__rest:()=>o,__runInitializers:()=>c,__setFunctionName:()=>p,__spread:()=>_,__spreadArray:()=>E,__spreadArrays:()=>S,__values:()=>v,default:()=>L});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function s(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}function l(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,l=r.kind,u="getter"===l?"get":"setter"===l?"set":"value",c=!t&&e?r.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),p=!1,f=n.length-1;f>=0;f--){var h={};for(var m in r)h[m]="access"===m?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(e){if(p)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var g=(0,n[f])("accessor"===l?{get:d.get,set:d.set}:d[u],h);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(s=o(g.get))&&(d.get=s),(s=o(g.set))&&(d.set=s),(s=o(g.init))&&i.unshift(s)}else(s=o(g))&&("field"===l?i.unshift(s):d[u]=s)}c&&Object.defineProperty(c,r.name,d),p=!0}function c(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})}function m(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var u=[s,l];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(6===u[0]&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);
882(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function y(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function v(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function _(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function S(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)r[i]=a[o];return r}function E(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function k(e){return this instanceof k?(this.v=e,this):new k(e)}function A(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),a=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(e){i[e]&&(r[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||s(e,t)})})}function s(e,t){try{var n;(n=i[e](t)).value instanceof k?Promise.resolve(n.value.v).then(l,u):c(a[0][2],n)}catch(e){c(a[0][3],e)}}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function T(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:k(e[r](t)),done:!1}:i?i(t):t}:i}}function x(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=v(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){var a,o,s;a=r,o=i,s=(t=e[n](t)).done,Promise.resolve(t.value).then(function(e){a({value:e,done:s})},o)})}}}function w(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var C=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function I(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return C(t,e),t}function O(e){return e&&e.__esModule?e:{default:e}}function R(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function P(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function N(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}let L={__extends:i,__assign:a,__rest:o,__decorate:s,__param:l,__metadata:f,__awaiter:h,__generator:m,__createBinding:g,__exportStar:y,__values:v,__read:b,__spread:_,__spreadArrays:S,__spreadArray:E,__await:k,__asyncGenerator:A,__asyncDelegator:T,__asyncValues:x,__makeTemplateOb
882ject:w,__importStar:I,__importDefault:O,__classPrivateFieldGet:R,__classPrivateFieldSet:P,__classPrivateFieldIn:N}},70100:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spacings=void 0;let n={big:"32px",bigger:"64px",large:"92px",medium:"24px",small:"12px",smaller:"4px",tinier:"1px",tiny:"2px"};t.spacings={medium:{big:"64px",bigger:"112px",large:"200px",medium:"32px",small:"16px",smaller:"8px",tinier:"2px",tiny:"4px"},mini:Object.assign(Object.assign({},n),{bigger:"38.2%",large:"50%"}),small:{big:"48px",bigger:"80px",large:"128px",medium:"32px",small:"14px",smaller:"8px",tinier:"2px",tiny:"4px"},tiny:n}},70137:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default="00000000-0000-0000-0000-000000000000"},70185:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeartOutlineIcon=void 0;let r=n(80263);t.HeartOutlineIcon=()=>(0,r.jsx)("svg",Object.assign({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5466 7.68033C12.1612 7.0525 12.5 6.21646 12.5 5.32927C12.5027 4.44282 12.1654 3.60623 11.5514 2.97842C10.9383 2.3511 10.1224 2.00609 9.25408 2.00609C8.40968 2.00609 7.61188 2.33497 7.00351 2.93169C6.39359 2.33146 5.59233 2 4.74592 2C3.88038 2 3.06304 2.34606 2.451 2.97179C1.8365 3.60002 1.49788 4.43672 1.50001 5.3234C1.50001 6.20732 1.84018 7.0415 2.45484 7.67101L6.46968 11.7751C6.61 11.9186 6.80131 12 6.99725 12C7.19198 12 7.38332 11.9217 7.52438 11.7775L11.5466 7.68033ZM10.8991 7.01691L6.99838 10.9903L3.10329 7.0086C2.65985 6.55446 2.41667 5.95813 2.41667 5.32224C2.41514 4.68405 2.65695 4.08658 3.09918 3.63446C3.5393 3.1845 4.12347 2.93716 4.74592 2.93716C5.36976 2.93716 5.95657 3.1862 6.39967 3.63882L6.67885 3.92471C6.8578 4.10796 7.1482 4.10808 7.32729 3.92498L7.60321 3.6429C8.04544 3.19117 8.63029 2.94325 9.25408 2.94325C9.87941 2.94325 10.462 3.18961 10.9031 3.64102C11.3445 4.09233 11.5852 4.68938 11.5833 5.32783C11.5833 5.96782 11.3412 6.56535 10.8991 7.01691Z",fill:"white"})}))},70265:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFallbackAdloadHandler=void 0;let r=n(50425),i={freeUser:{vodMidrollAdCount:2,vodMidrollBreakSpacingInMinutes:5,vodPrerollAdCount:2},premiumUser:{vodMidrollAdCount:2,vodMidrollBreakSpacingInMinutes:30,vodPrerollAdCount:0}},a=(e,t,n,r)=>({breakType:e,desiredAdCount:n,desiredBreakDuration:20*n,startTimeOffset:((e,t,n)=>"preroll"===e?0:t+(null!=n?n:0)*60)(e,t,r)});t.createFallbackAdloadHandler=()=>{let e=e=>{let{freeUser:t,premiumUser:n}=i,{rollName:o,contentPosition:s,joynPackages:l}=e,{vodPrerollAdCount:u,vodMidrollAdCount:c,vodMidrollBreakSpacingInMinutes:d}=(0,r.isPremiumUser)(l)?n:t;return"preroll"===o?a(o,s,u):a(o,s,c,d)};return t=>{let{businessModel:n,rollName:r,isLivestream:i,joynPackages:a}=t;return"SVOD"===n||void 0===n||0===a.length||i?{breakType:r,desiredAdCount:0,desiredBreakDuration:0,startTimeOffset:0}:e(t)}}},70273:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vastCreativeNonLinearAdsSchema=t.vastCreativeNonLinearAdSchema=void 0;let r=n(92712),i=n(65527),a=n(503),o=n(23751),s=r.z.object({$xmlEncoded:r.z.string().optional(),value:(0,o.zodIabStringSchema)(o.AdErrorMessage.ERROR_TYPE_MISSING)});t.vastCreativeNonLinearAdSchema=r.z.object({$height:r.z.string().optional(),$id:r.z.string().optional(),$minsuggestedduration:r.z.string().optional(),$width:r.z.string().optional(),adparameters:s.optional(),nonlinearclickthrough:a.clickThroughSchema.optional(),nonlinearclicktracking:r.z.array(a.clickTrackingSchema).optional(),staticresource:r.z.array(i.vastStaticResourceSchema).optional()}),t.vastCreativeNonLinearAdsSchema=r.z.object({nonlinear:r.z.array(t.vastCreativeNonLinearAdSchema).optional(),trackingevents:a.trackingEventsSchema.optional()}).passthrough()},70293:e=>{e.exports={cdnName:"FASTLY",parsers:[{element:"host",headerName:"X-Served-By",regex:/([^,\s]+)$/},{element:"type",headerName:"X-Cache",regex:/([^,\s]+)$/}],parseType:function(e){switch(e){case"HIT":return 1;case"MISS":return 2;default:return 0}}}},70351:(e,t,n)=>{"use strict";
882Object.defineProperty(t,"__esModule",{value:!0}),t.parentGenresSchema=t.genresSchema=void 0;let r=n(92712);t.genresSchema=r.z.array(r.z.string()).nullable().transform(e=>null===e?[]:e),t.parentGenresSchema=r.z.array(r.z.object({__typename:r.z.literal("Genre"),name:r.z.string()}).strict()).nullable().transform(e=>null===e?[]:e.map(e=>e.name))},70440:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>i,NA:()=>f,PN:()=>s,Wt:()=>p,ZQ:()=>l,cx:()=>c,gV:()=>h,l7:()=>d,nb:()=>g,o:()=>u,r:()=>o,v4:()=>m,wd:()=>a});var r=n(66596);function i(e,t){return(0,r.BF)().captureException(e,{captureContext:t})}function a(e,t){let n="string"==typeof t?t:void 0,i="string"!=typeof t?{captureContext:t}:void 0;return(0,r.BF)().captureMessage(e,n,i)}function o(e,t){return(0,r.BF)().captureEvent(e,t)}function s(e){(0,r.BF)().configureScope(e)}function l(e){(0,r.BF)().addBreadcrumb(e)}function u(e,t){(0,r.BF)().setContext(e,t)}function c(e){(0,r.BF)().setExtras(e)}function d(e,t){(0,r.BF)().setExtra(e,t)}function p(e){(0,r.BF)().setTags(e)}function f(e,t){(0,r.BF)().setTag(e,t)}function h(e){(0,r.BF)().setUser(e)}function m(e){(0,r.BF)().withScope(e)}function g(e,t){return(0,r.BF)().startTransaction({...e},t)}},70459:(e,t,n)=>{"use strict";function r(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function a(e){return e>=97&&e<=122||e>=65&&e<=90}function o(e){return a(e)||95===e}function s(e){return a(e)||i(e)||95===e}n.d(t,{i0:()=>r,un:()=>o,xr:()=>s,yp:()=>i})},70473:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shortCircuit=void 0,t.shortCircuit=function(e,t){return!0===e?t:void 0}},70909:(e,t,n)=>{var r=n(67109),i=n(55185),a=e=>e instanceof r.GraphQLError?e:"object"==typeof e&&e.message?new r.GraphQLError(e.message,e.nodes,e.source,e.positions,e.path,e,e.extensions||{}):new r.GraphQLError(e);class o extends Error{constructor(e){var t=(e.graphQLErrors||[]).map(a),n=((e,t)=>{var n="";if(e)return`[Network] ${e.message}`;if(t)for(var r of t)n&&(n+="\n"),n+=`[GraphQL] ${r.message}`;return n})(e.networkError,t);super(n),this.name="CombinedError",this.message=n,this.graphQLErrors=t,this.networkError=e.networkError,this.response=e.response}toString(){return this.message}}var s=(e,t)=>{for(var n="number"==typeof t?0|t:5381,r=0,i=0|e.length;r<i;r++)n=(n<<5)+n+e.charCodeAt(r);return n},l=new Set,u=new WeakMap,c=e=>{if(null===e||l.has(e))return"null";if("object"!=typeof e)return JSON.stringify(e)||"";if(e.toJSON)return c(e.toJSON());if(Array.isArray(e)){var t="[";for(var n of e)"["!==t&&(t+=","),t+=(n=c(n)).length>0?n:"null";return t+"]"}var r=Object.keys(e).sort();if(!r.length&&e.constructor&&e.constructor!==Object){var i=u.get(e)||Math.random().toString(36).slice(2);return u.set(e,i),`{"__key":"${i}"}`}l.add(e);var a="{";for(var o of r){var s=c(e[o]);s&&(a.length>1&&(a+=","),a+=c(o)+":"+s)}return l.delete(e),a+="}"},d=e=>(l.clear(),c(e)),p=/("{3}[\s\S]*"{3}|"(?:\\.|[^"])*")/g,f=/(#[^\n\r]+)?(?:\n|\r\n?|$)+/g,h=(e,t)=>t%2==0?e.replace(f,"\n"):e,m=e=>e.split(p).map(h).join("").trim(),g=new Map,y=new Map,v=e=>{var t;return"string"==typeof e?t=m(e):e.loc&&y.get(e.__key)===e?t=e.loc.source.body:(t=g.get(e)||m(r.print(e)),g.set(e,t)),"string"==typeof e||e.loc||(e.loc={start:0,end:t.length,source:{body:t,name:"gql",locationOffset:{line:1,column:1}}}),t},b=e=>{var t=s(v(e));if("object"==typeof e&&"definitions"in e){var n=S(e);n&&(t=s(` 883# ${n}`,t))}return t},_=e=>{var t,n;return"string"==typeof e?(t=b(e),n=y.get(t)||r.parse(e,{noLocation:!0})):(t=e.__key||b(e),n=y.get(t)||e),n.loc||v(n),n.__key=t,y.set(t,n),n},S=e=>{for(var t of e.definitions)if(t.kind===r.Kind.OPERATION_DEFINITION&&t.name)return t.name.value},E=(e,t,n)=>{if(!("data"in t)&&!("errors"in t)||"incremental"in t)throw Error("No Content");var r="subscription"===e.kind;return{operation:e,data:t.data,error:Array.isArray(t.errors)?new o({graphQLErrors:t.errors,response:n}):void 0,extensions:"object"==typeof t.extensions&&t.extensions||void 0,hasNext:null==t.hasNext?r:t.hasNext}},k=(e,t,n)=>{var r,i=!!e.extensions||!!t.extensions,a={...e.extensions,...t.extensions},s=e.error?e.error.graphQLErrors:[],l=t.incremental;if("path"in t&&(l=[{data:t.data,path:t.path}]),l)for(var u of(r={...e.data},l)){Array.isArray(u.errors)&&s.push(...u.errors),u.extensions&&(Object.assign(a,u.extensions),i=!0);for(var c=u.path[0],d=r,p=1,f=u.path.length;p<f;c=u.path[p++])d=d[c]=Array.isArray(d[c])?[...d[c]]:{...d[c]};if(Array.isArray(u.items))for(var h=+c>=0?c:0,m=0,g=u.items.length;m<g;m++)d[h+m]=u.items[m];else void 0!==u.data&&(d[c]=d[c]&&u.data?{...d[c],...u.data}:u.data)}else r=t.data||e.data;return{operation:e.operation,data:r,error:s.length?new o({graphQLErrors:s,response:n}):void 0,extensions:i?a:void 0,hasNext:!!t.hasNext}}
883,A=(e,t,n)=>({operation:e,data:void 0,error:new o({networkError:t,response:n}),extensions:void 0}),T="undefined"!=typeof TextDecoder?new TextDecoder:null,x=/content-type:[^\r\n]*application\/json/i,w=/boundary="?([^=";]+)"?/i;t.CombinedError=o,t.createRequest=(e,t)=>{t||(t={});var n=_(e),r=d(t),i=n.__key;return"{}"!==r&&(i=s(r,i)),{key:i,query:n,variables:t}},t.getOperationName=S,t.getOperationType=e=>{for(var t of e.definitions)if(t.kind===r.Kind.OPERATION_DEFINITION)return t.operation},t.keyDocument=_,t.makeErrorResult=A,t.makeFetchBody=function(e){return{query:v(e.query),operationName:S(e.query),variables:e.variables||void 0,extensions:void 0}},t.makeFetchOptions=(e,t)=>{var n="query"===e.kind&&!!e.context.preferGetMethod,r={accept:"multipart/mixed, application/graphql-response+json, application/graphql+json, application/json"};n||(r["content-type"]="application/json");var i=("function"==typeof e.context.fetchOptions?e.context.fetchOptions():e.context.fetchOptions)||{};if(i.headers)for(var a in i.headers)r[a.toLowerCase()]=i.headers[a];return{...i,body:!n&&t?JSON.stringify(t):void 0,method:n?"GET":"POST",headers:r}},t.makeFetchSource=(e,t,n)=>{var r="manual"===n.redirect?400:300,a=e.context.fetch;return i.make(({next:i,complete:o})=>{var s,l="undefined"!=typeof AbortController?new AbortController:null;l&&(n.signal=l.signal);var u=!1,c=!1,d=!1;return Promise.resolve().then(()=>{if(!c)return(a||fetch)(t,n)}).then(t=>{if(t)return d=(s=t).status<200||s.status>=r,((e,t,n)=>{var r,i=n.headers&&n.headers.get("Content-Type")||"";if(/text\//i.test(i))return n.text().then(r=>{e(A(t,Error(r),n))});if(!/multipart\/mixed/i.test(i))return n.text().then(r=>{e(E(t,JSON.parse(r),n))});var a="---",o=i.match(w);o&&(a="--"+o[1]);var s=()=>{};if(n[Symbol.asyncIterator]){var l=n[Symbol.asyncIterator]();r=l.next.bind(l)}else if("body"in n&&n.body){var c=n.body.getReader();s=()=>c.cancel(),r=()=>c.read()}else throw TypeError("Streaming requests unsupported");var d="",p=!0,f=null,h=null;return r().then(function i(o){if(o.done)u=!0;else{let r;var s="Buffer"===(r=o.value).constructor.name?r.toString():T.decode(r),l=s.indexOf(a);for(l>-1?l+=d.length:l=d.indexOf(a),d+=s;l>-1;){var c=d.slice(0,l),m=d.slice(l+a.length);if(p)p=!1;else{var g=c.indexOf("\r\n\r\n")+4,y=c.slice(0,g),v=c.slice(g,c.lastIndexOf("\r\n")),b=void 0;if(x.test(y))try{b=JSON.parse(v),f=h=h?k(h,b,n):E(t,b,n)}catch(e){}if("--"===m.slice(0,2)||b&&!b.hasNext){if(!h)return e(E(t,{},n));break}}l=(d=m).indexOf(a)}}if(f&&(e(f),f=null),!o.done&&(!h||h.hasNext))return r().then(i)}).finally(s)})(i,e,s)}).then(o).catch(t=>{if(u)throw t;i(A(e,d&&s.statusText?Error(s.statusText):t,s)),o()}),()=>{c=!0,l&&l.abort()}})},t.makeFetchURL=(e,t)=>{var n="query"===e.kind&&e.context.preferGetMethod;if(!n||!t)return e.context.url;var r=new URL(e.context.url),i=r.searchParams;t.operationName&&i.set("operationName",t.operationName),t.query&&i.set("query",t.query),t.variables&&i.set("variables",d(t.variables)),t.extensions&&i.set("extensions",d(t.extensions));var a=r.toString();return a.length>2047&&"force"!==n?(e.context.preferGetMethod=!1,e.context.url):a},t.makeResult=E,t.mergeResultPatch=k,t.stringifyDocument=v,t.stringifyVariables=d},71212:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchPlaylist=void 0;let r=n(70015),i=n(6662);t.fetchPlaylist=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){let{playlistId:n,playlistOffset:r,userState:a,userToken:o}=t,{graphqlClient:s}=e;return s.query(i.PLAYLIST_GRAPHQL_QUERY_DOCUMENT,{playlistId:n,playlistOffset:r},{authorization:`Bearer ${o}`,"joyn-user-state":a})})}},71271:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(63195),i=n(69956),a=n(99656),o=n(36875);t.Sha256=function(){function e(e){this.secret=e,this.hash=new a.RawSha256,this.reset()}return e.prototype.update=function(e){if(!(0,o.isEmptyData)(e)&&!this.error)try{this.hash.update((0,o.convertToBuffer)(e))}catch(e){this.error=e}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(e){return[2,this.digestSync()]})})},e.prototype.reset=function(){if(this.hash=new a.RawSha256,this.secret){this.outer=new a.RawSha256;var e=function(e){var t=(0,o.convertToBuffer)(e);if(t.byteLength>i.BLOCK_SIZE){var n=new a.RawSha256;n.update(t),t=n.digest()}
883var r=new Uint8Array(i.BLOCK_SIZE);return r.set(t),r}(this.secret),t=new Uint8Array(i.BLOCK_SIZE);t.set(e);for(var n=0;n<i.BLOCK_SIZE;n++)e[n]^=54,t[n]^=92;this.hash.update(e),this.outer.update(t);for(var n=0;n<e.byteLength;n++)e[n]=0}},e}()},71662:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openWebsite=void 0;let r=n(70015),i=r.__importDefault(n(1239));t.openWebsite=(e,t=globalThis)=>r.__awaiter(void 0,void 0,void 0,function*(){let n=t.open(e,"_blank");if(n&&(n.opener=null),yield(0,i.default)(500),(null==n?void 0:n.closed)===!0)throw Error("Website could not be opened");return!0})},71824:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NextPlaylistItemLogic=void 0;let r=n(80263),i=n(30589),a=n(53239),o=n(66976),s=n(70473),l=n(9219),u=n(16907),c=n(76210);t.NextPlaylistItemLogic=()=>{let e=(0,i.useTheme)(),{state:t,actions:n}=(0,a.useContext)(o.PlayerContext),{playlist:d,playlistIndex:p}=t;if(t.isLivestream||null===p)return null;let f=d[p];if(void 0===f)return null;let h=p<d.length-1;if(!h)return null;let{screenSize:m}=e,g="small"===m?"N\xe4chstes":"series"===f.contentType?"N\xe4chste Folge":"N\xe4chstes Video",y="tiny"===m;return(0,r.jsx)(c.NextPlaylistItem,{isEnabled:!!t.isReadyForPlayback&&!t.isStalling,icon:y?u.SkipNextIcon:l.NavigateNextIcon,hideText:y,text:g,tooltipText:y?"N\xe4chstes Video":"N\xe4chstes",onClick:(0,s.shortCircuit)(h,()=>{n.skipToNextPlaylistItem()})})}},72039:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Slider=t.Progress=void 0;let r=n(70015),i=n(80263),a=n(30589),o=r.__importDefault(n(28909)),s=r.__importDefault(n(19577)),l=n(53239),u=n(55970),c=n(70473);function d(e,t,n){return`${(e-t)/(n-t)*100}%`}let p="16px",f=o.default.div(({isPassive:e})=>({cursor:"pointer",padding:!0===e?0:"5.5px 0",pointerEvents:(0,c.shortCircuit)(e,"none"),position:"relative"})),h=o.default.div({height:"5px",overflow:"hidden",position:"relative"}),m=(0,a.css)({height:"100%",position:"absolute"}),g=({theme:e})=>({backgroundColor:e.color.white}),y=o.default.div(m,g,({theme:e})=>({opacity:e.opacity.faded,width:"100%"})),v=o.default.div(m,g,({theme:e})=>({opacity:e.opacity.little}));t.Progress=o.default.div(m,({isDisabled:e,color:t,theme:n})=>({backgroundColor:null!=t?t:n.color.white,opacity:!0===e?n.opacity.medium:n.opacity.opaque})),t.Progress.displayName="Progress";let b=o.default.div(m,({left:e,theme:t})=>({backgroundColor:t.color.white,left:e,transform:"translate(-50%)",width:"4px"})),_=o.default.div(({theme:e})=>({backgroundColor:e.color.white,borderRadius:"50%",boxShadow:"0 0 4px rgba(0,0,0,.5)",height:p,position:"absolute",top:"50%",transform:"translate(-50%, -50%)",transition:`transform ${e.transition.duration.fast} ${e.transition.timingFunction}`,width:p})),S=[{end:"mouseup",move:"mousemove",start:"mousedown"},{end:"touchend",move:"touchmove",start:"touchstart"}];function E(e){if(/^touch(?:start|end|move)$/.test(e.type)){if(e.touches[0])return e.touches[0].clientX;if(e.changedTouches[0])return e.changedTouches[0].clientX}else if(e.clientX)return e.clientX;throw Error("Missing clientX property from event")}t.Slider=(0,l.memo)(e=>{let{min:n=0,max:r,value:a,buffer:o,isDisabled:l,marks:c,color:p,isPassive:m}=e,{onChange:g,onHover:k,onMoveOut:A,onStart:T,onEnd:x}=e,w=(0,u.clamp)(a,n,r),C=0,I=0,O=e=>{let t=E(e)-I,i=n+t/C*(r-n);return(0,u.clamp)(i,n,r)},R=e=>{let t=O(e);g&&g(t)},P=e=>{e.preventDefault();let t=E(e),i=e.currentTarget.getBoundingClientRect().left,a=t-i,o=n+a/e.currentTarget.clientWidth*(r-n);k&&k({targetLeftOffset:i,videoPosition:(0,u.clamp)(o,n,r),x:Math.max(0,a)})},N=e=>{e.preventDefault(),R(e)},L=e=>{let t=S.find(t=>t.end===e.type);if(s.default.undefined(t))return;let{move:n,end:r}=t,i=O(e);x&&x(i),removeEventListener(n,N,{passive:!1}),removeEventListener(r,L)},j=e=>{if(e.preventDefault(),!0===m)return;let t=S.find(t=>t.start===e.type);if(s.default.undefined(t))return;let{move:n,end:r}=t;C=e.currentTarget.getBoundingClientRect().width,I=e.currentTarget.getBoundingClientRect().left,T&&T(),R(e),addEventListener(n,N,{passive:!1}),addEventListener(r,L)};return(0,i.jsxs)(f,Object.assign({onMouseDown:j,onTouchStart:j,onMouseMove:P,onTouchMove:P,onTouchEnd:A,onMouseOut:A,isPassive:m,"aria-label":"Fortschrittsanzeige Schieberegler"},{children:[(0,i.jsxs)(h,{children:[(0,i.jsx)(y,{}),null==c?void 0:c.map(e=>(0,i.jsx)(b,{left:d(e,n,r)},e)),s.default.number(o)&&(0,i.jsx)(v,{style:{width:d(o,n,r)}}),(0,i.jsx)(t.Progress,{style:{width:d(w,n,r)},isDisabled:l,color:p})]}),(0,i.jsx)(_,{className:"handle",style:{left:d(w,n,r)}})]}))}),t.Slider.displayName="Slider"},72391:(e,t,n)=>{"use strict";n.d(t,{_:()=>s,k:()=>o});var r=n(63851),i=n(95543),a=n(77064);class o{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||(0,r.U)(!1,`Body must be a string. Received: ${(0,i.N)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,r.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,r.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function s(e){return(0,a.h)(e,o)}},72678:(e,t,n)=>{"use strict";
883Object.defineProperty(t,"__esModule",{value:!0}),t.createLogger=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47561),o=n(36994),s=n(43386),l=n(20901);r.__exportStar(n(7230),t);let u="__player_enable_dom_logger",c=globalThis.localStorage,d=(0,s.createConsoleLoggerFactory)({browserDetector:o.browserDetector,targetConsole:console}),p=d;if(!i.default.nullOrUndefined(c))try{p=a.Maybe.of(c.getItem(u)).mapOr(d,()=>l.createDomLogger)}catch(e){console.warn(`error trying to access local storage ${u}`,e)}t.createLogger=(...e)=>p(...e)},72730:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createValidators=void 0;let r=n(70015).__importDefault(n(19577)),i=n(30843),a=e=>{throw new i.AdError(`State validation "${e}" failed`,"store_valididation_failed")},o=(e,t)=>null!==e.contentSessionId&&e.contentSessionId===t.contentSessionId;t.createValidators=function({store:e}){let t={canPlayAdsForContentSession:()=>{let{canPlayAdsForContentSessionId:t,contentSessionId:n,isDestroyed:r}=e.getState();return!r&&null!==t&&t===n},currentAdRoll:t=>{let n,i,a,s,l=e.getState(),{isDestroyed:u,adMode:c}=l;return!u&&c.isJust()&&o(l,t)&&(n=l,i=t,r.default.nullOrUndefined(i.adScheduleTimeOffsetIndex)||n.adScheduleTimeOffsetIndex===i.adScheduleTimeOffsetIndex)&&(a=l,s=t,r.default.nullOrUndefined(s.adScheduleTimeOffset)||a.adScheduleTimeOffset===s.adScheduleTimeOffset)},currentAdSession:t=>{let{isDestroyed:n,adSessionId:r}=e.getState();return!n&&null!==r&&r===t.adSessionId}},n=((e,t)=>{let{currentAdRoll:n,canPlayAdsForContentSession:i}=t;return{canHandleAdError:()=>{let{isDestroyed:t,handlingAdError:n}=e.getState();(t||n)&&a("canHandleAdError")},canPlayAdsForContentSession:()=>{i()||a("canPlayAdsForContentSession")},canSetAdMode:t=>{let{isDestroyed:n,adMode:r}=e.getState();(n||r.equals(t))&&a("canSetAdMode")},canSetContentMode:()=>{let{isDestroyed:t,adMode:n}=e.getState();(t||n.isNothing())&&a("canSetContentMode")},canStartAd:t=>{let r=e.getState(),{isDestroyed:s,adMode:l}=r,u=l.isJust()&&o(r,t)&&i()&&n(t);(s||!u)&&a("canStartAd")},canStartAdRoll:(t,{timeOffset:n})=>{let i=e.getState(),{isDestroyed:s,adMode:l,startedAdCursor:u,adScheduleTimeOffset:c}=i,d=l.isNothing()&&o(i,t)&&r.default.nullOrUndefined(c)&&!u.some(({adScheduleTimeOffset:e})=>e===n);(s||!d)&&a("canStartAdRoll")},currentAdRoll:e=>{n(e)||a("currentAdRoll")},currentAdSchedule:t=>{let{contentSessionId:n,adSchedule:r,isDestroyed:i}=e.getState(),o=n===t.contentSessionId&&r===t.adSchedule;(i||!o)&&a("currentAdSchedule")},isInContentMode:()=>{let{isDestroyed:t,adMode:n}=e.getState();(t||"linear"===n.unwrapOr(""))&&a("isInContentMode")},isWithinAdRoll:()=>{let{isDestroyed:t,adMode:n,adScheduleTimeOffset:i}=e.getState();(t||!n.isJust()||r.default.nullOrUndefined(i))&&a("isWithinAdRoll")}}})(e,t);return{validate:t,validateOrThrow:n}}},72839:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSlotTypeFromProfile=t.getSlotTypeFromVastAd=t.getSlotTypeValue=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47561),a=n(30517),o=n(27504),s={"ad71.adfarm1.adition.com":["prf[slottype]"],"securepubads.g.doubleclick.net":["cust_params","slottype"],"somquery.sqrt-5041.de":["slot[name]"]};t.getSlotTypeValue=(e,n)=>i.Maybe.of(n[0]).chain(t=>i.Maybe.of(e.get(t))).chain(e=>i.Maybe.of(e).map(e=>new URLSearchParams(e)).chain(e=>(0,t.getSlotTypeValue)(e,n.slice(1))).or(i.Maybe.of((0,a.isSlotType)(e)?e:void 0))),t.getSlotTypeFromVastAd=e=>{var n,a;return i.Maybe.of(null==(a=null==(n=e.wrapper)?void 0:n.vastadtaguri)?void 0:a.value).chain(e=>i.Maybe.of(r.default.urlString(e)?e:void 0)).map(e=>new URL(e)).chain(({hostname:e,searchParams:n})=>i.Maybe.of(s[e]).chain(e=>(0,t.getSlotTypeValue)(n,e)))},t.getSlotTypeFromProfile=(e,n)=>(0,o.getVastAd)(e,n).chain(t.getSlotTypeFromVastAd)},72925:(e,t,n)=>{var r=n(40290),i=n(15210);e.exports={getPosition:function(){return null},getGivenBreaks:function(){return null},getExpectedBreaks:function(){return null},getExpectedPattern:function(){return null},getBreaksTime:function(){return null},getGivenAds:function(){return null},getExpectedAds:function(){return null},getIsVisible:function(){return!0},getAudioEnabled:function(){return null},getIsSkippable:function(){return null},getIsFullscreen:function(){return null},getCampaign:function(){return null},getCreativeId:function(){return null},getProvider:function(){return null},getAdInsertionType:function(){return null},fireClick:function(e){"string"==typeof e&&(e={url:e}
883),this.emit(r.Event.CLICK,{params:e})},fireQuartile:function(e){this.flags.isStarted&&"number"==typeof e&&e>this.flags.lastQuartileSent&&e<4&&(this.flags.lastQuartileSent++,this.emit(r.Event.QUARTILE,{params:{quartile:e}}))},startChronoView:function(){if(this.getIsVisible()&&!this.plugin.backgroundDetector.isInBackground){var e=this.chronos.viewedMax;(0===e.length||0!==e[e.length-1].stopTime)&&(e.push(new i),e[e.length-1].start())}},stopChronoView:function(){var e=this.chronos.viewedMax;e[0]&&e.length>0&&0===e[e.length-1].stopTime&&e[e.length-1].stop()},fireManifest:function(e,t){var n={params:e};"string"==typeof e&&(n={params:{errorType:e,errorMessage:t}}),this.emit(r.Event.MANIFEST,n)},fireSkip:function(e){void 0===e&&(e={}),e.skipped=!0,this.fireStop(e)},fireBreakStart:function(e){this.emit(r.Event.PODSTART,{params:e})},fireBreakStop:function(e){this.emit(r.Event.PODSTOP,{params:e})}}},72969:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRating12=void 0;let r=n(80263),i=n(52087);t.AgeRating12=()=>(0,r.jsxs)(i.AgeRatingIcon,Object.assign({width:22,height:20},{children:[(0,r.jsx)("path",{d:"M20 0c1.105 0 2 .895 2 2v16c0 1.105-.895 2-2 2H2c-1.105 0-2-.895-2-2V2C0 .895.895 0 2 0h18zm0 1H2c-.513 0-.936.386-.993.883L1 2v16c0 .513.386.936.883.993L2 19h18c.513 0 .936-.386.993-.883L21 18V2c0-.513-.386-.936-.883-.993L20 1z",transform:"translate(-80 -293) translate(80 293)"}),(0,r.jsx)("path",{d:"M10.737 14v-1.577H8.891v-6.25H7.71l-2.594.886v1.68l1.87-.517v4.201H5V14h5.737zM17 14v-1.577h-2.84l1.403-1.542c.233-.261.438-.5.613-.714.176-.215.32-.418.433-.61.113-.192.196-.378.25-.558.055-.18.083-.363.083-.547 0-.346-.059-.666-.176-.961-.117-.296-.29-.555-.52-.777-.23-.223-.516-.397-.858-.524-.343-.127-.74-.19-1.192-.19-.452 0-.861.063-1.227.19-.366.127-.682.305-.947.535-.264.23-.47.51-.619.84-.148.33-.226.695-.234 1.094h1.882c.03-.315.134-.562.31-.742.175-.18.414-.271.718-.271.327 0 .56.083.7.248.141.165.211.347.211.546 0 .238-.09.476-.268.714-.18.238-.417.53-.713.875l-2.676 3.039V14H17z",transform:"translate(-80 -293) translate(80 293)"})]}))},73316:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetcher=void 0;let r=n(70015);function i(e,t,n,i){return i?(...i)=>r.__awaiter(this,void 0,void 0,function*(){let r=i[0];try{let a=yield e(...i);return t.log(`${n} successfully loaded: ${r}`),a}catch(e){throw t.log(`${n} failed loading: ${r}`),e}}):e}function a(e,t,n,i){return(...a)=>r.__awaiter(this,void 0,void 0,function*(){return n()?t(a[0],i):e(...a)})}t.createFetcher=function({config:{logRequests:e=!1}={},createVastFetcher:t,domParser:n,encodeUriComponent:o,store:s,loadXhr:l,loadXhrNoCors:u,loadPixel:c,loadWithAdProxy:d,logger:p}){let f=i(l,p,"loadXhr",e),h=i(u,p,"loadNoCorsXhr",e),m=i(c,p,"loadPixel",e),g=i(d,p,"loadWithAdProxy",e),y=()=>s.getState().adBlockPreventionIsActive,v=t({domParser:n,encodeUriComponent:o,performFetch:a(f,g,y,"fetchVast")}),b=a(f,g,y,"fetchUrl"),_=a(h,g,y,"fetchUrlNoCors");return{fetchPixel:a(m,g,y,"fetchPixel"),fetchUrl:b,fetchUrlNoCors:_,fetchVast:(e,t)=>r.__awaiter(this,void 0,void 0,function*(){return v.fetchVast(e,t)}),fetchWithAdProxy:g,resolveVastJson:(e,t,n)=>r.__awaiter(this,void 0,void 0,function*(){return v.resolveVastJson(e,t,n)})}}},73326:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractResponseBody=void 0;let r=n(70015),i=n(4580);t.extractResponseBody=function(e,t,n,a){return r.__awaiter(this,void 0,void 0,function*(){try{return yield function(e,t){var n;return r.__awaiter(this,void 0,void 0,function*(){if("0"===e.headers.get("content-length")||(null==t?void 0:t.ignoreResponse)===!0)return;let r=e.headers.get("content-type"),i=null==(n=null==r?void 0:r.split(";")[0])?void 0:n.trim();return"string"==typeof i&&/^application\/(?:.+\+)?json$/i.test(i)?e.json():(null==t?void 0:t.asArrayBuffer)===!0?e.arrayBuffer():e.text()})}(e,a)}catch(r){throw yield(0,i.mapUnknownParseErrorToHttpError)(r,e,t,n,a)}})}},73415:(e,t,n)=>{e.exports=n(54906).extend({constructor:function(e){this.plugin=e},getAllData:function(){var e=this.getNonRandomData();return e.timestamp=this.getTimestamp(),e},getNonRandomData:function(){var e={};return e.userAgent=this.getUserAgent(),e.threads=this.getVirtualCores(),e.language=this.getLanguage(),e.langList=this.getAvailableLanguages(),e.resolution=this.getResolution(),e.colorDepth=this.getColorDepth(),e.deviceMemory=this.getMemory(),e.touchscreen=this.getTouchscreen(),e.localStorage=this.getLocalStorage(),e.sessionStorage=this.getSessionStorage(),e.cookiesAvailable=this.getCookiesAvailable(),e.flashAvailable=this.getHasFlash(),e.t
883imeZone=this.getTimeZone(),e.plugins=this.getPluginList(),e},getUserAgent:function(){return this._getNavigatorValue("userAgent")},getVirtualCores:function(){return this._getNavigatorValue("hardwareConcurrency")},getLanguage:function(){return this._getNavigatorValue("language")},getAvailableLanguages:function(){return this._getNavigatorValue("languages")},getResolution:function(){var e=null;try{this._getNavigatorValue("screen")&&(e=navigator.screen.width.toString()+navigator.screen.height.toString())}catch(e){}return e},getColorDepth:function(){var e=null;try{this._getNavigatorValue("screen")&&(e=navigator.screen.colorDepth)}catch(e){}return e},getMemory:function(){return this._getNavigatorValue("deviceMemory")},getTouchscreen:function(){return this._getNavigatorValue("maxTouchPoints")||!1},getLocalStorage:function(){var e=!1;try{e="undefined"!=typeof localStorage}catch(e){}return e},getSessionStorage:function(){var e=!1;try{e="undefined"!=typeof sessionStorage}catch(e){}return e},getCookiesAvailable:function(){return this._getNavigatorValue("cookieEnabled")||!1},getHasFlash:function(){var e=!1;try{var t=this._getNavigatorValue("plugins");e=t&&"object"==typeof t["Shockwave Flash"]||"undefined"!=typeof window&&window.ActiveXObject&&(new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),!0)}catch(e){}return e},getPluginList:function(){var e=null;try{var t=this._getNavigatorValue("plugins");if(t&&0!==t.length){for(var n="",r=0;r<navigator.plugins.length;r++)n+=navigator.plugins[r].description+" "+navigator.plugins[r].filename+" "+navigator.plugins[r].name+" ";e=n}}catch(e){}return e},getTimeZone:function(){var e=null;try{e=new Date().getTimezoneOffset().toString()}catch(e){}return e},getTimestamp:function(){return new Date().getTime()},_navigatorCheck:function(){return"undefined"!=typeof navigator},_getNavigatorValue:function(e){var t=null;try{this._navigatorCheck()&&(t=navigator[e])}catch(e){}return t}})},73471:(e,t,n)=>{var r=n(54906),i=n(16421),a=["accountCode","username","anonymousUser","profileId","rendition","deviceInfo","player","title","title2","live","segmentDuration","mediaDuration","mediaResource","parsedResource","transactionCode","properties","cdn","playerVersion","param1","param2","param3","param4","param5","param6","param7","param8","param9","param10","param11","param12","param13","param14","param15","param16","param17","param18","param19","param20","dimensions","playerStartupTime","obfuscateIp","privacyProtocol","p2pEnabled","pluginVersion","pluginInfo","isp","connectionType","ip","referer","userType","streamingProtocol","transportFormat","householdId","adsBlocked","adsExpected","deviceUUID","libVersion","nodeHost","nodeType","appName","appReleaseVersion","package","saga","tvshow","season","titleEpisode","channel","imdbID","gracenoteID","contentType","genre","contentLanguage","subtitles","cost","price","playbackType","email","drm","videoCodec","audioCodec","codecSettings","codecProfile","containerFormat","contentId","contractedResolution","linkedViewId","edid","cdnBalancerResponseUUID","triggeredEvents"],o=["player","playhead","adTitle","position","adDuration","adCampaign","adCreativeId","adProvider","adResource","adPlayerVersion","adProperties","adAdapterVersion","adInsertionType","extraparam1","extraparam2","extraparam3","extraparam4","extraparam5","extraparam6","extraparam7","extraparam8","extraparam9","extraparam10","fullscreen","audio","skippable","adNumber","adNumberInBreak","breakNumber"],s=r.extend({constructor:function(e){this._plugin=e,this._adNumber=0,this._adNumberInBreak=0,this.lastSent={}},fetchParams:function(e,t,n){e=e||{},t=t||[];for(var r=0;r<t.length;r++){var a=t[r];if(!e[a]){var o=s.getters[a];if(this._plugin[o]){var l=this._plugin[o]();null===l||n&&this.lastSent[a]===l||(e[a]=l,this.lastSent[a]=l)}else i.warn("Trying to call undefined getter "+a+":"+o)}}return e},getGetters:function(){return s.getters},buildBody:function(e){return this.fetchParams(null,s.bodyParams[e],!1)},buildParams:function(e,t){return e=e||{},this.fetchParams(e,s.params[t],!1),this.fetchParams(e,s.differentParams[t],!0),e},getNewAdNumber:function(){var e=this.lastSent.adNumber;return e&&this.lastSent.position===this._plugin.getAdPosition()?e+=1:e=1,this.lastSent.adNumber=e,e},getNewAdNumberInBreak:function(){return this._adNumberInBreak++,this.lastSent.adNumberInBreak=this._adNumberInBreak,this._adNumberInBreak},getNewBreakNumber:function(){var e=1;return this._adNumberInBreak=0,this.lastSent.breakNumber&&(e=this.lastSent.breakNumber+1),this.lastSent.breakNumber=e,e},getChangedEntities:function(){return this.fetchParams({}
883,s.differentParams.entities,!0)}},{params:{"/data":["system","pluginVersion","requestNumber","username"],"/init":a,"/start":a,"/joinTime":["joinDuration","playhead","bitrate","triggeredEvents"],"/pause":["playhead","triggeredEvents"],"/resume":["pauseDuration","playhead","triggeredEvents"],"/seek":["seekDuration","playhead","triggeredEvents"],"/bufferUnderrun":["bufferDuration","playhead","triggeredEvents"],"/error":["player","playhead","triggeredEvents"].concat(a),"/stop":["bitrate","totalBytes","playhead","pauseDuration","metrics","cdnDownloadedTraffic","multiCdnInfo","p2pDownloadedTraffic","uploadTraffic","triggeredEvents"],"/infinity/video/event":["playhead"],"/adInit":o,"/adStart":o,"/adJoin":["playhead","position","adJoinDuration","adPlayhead","adNumber","adNumberInBreak","breakNumber"],"/adPause":["playhead","position","adPlayhead","adNumber","adNumberInBreak","breakNumber"],"/adResume":["playhead","position","adPlayhead","adPauseDuration","adNumber","adNumberInBreak","breakNumber"],"/adBufferUnderrun":["playhead","position","adPlayhead","adBufferDuration","adNumber","adNumberInBreak","breakNumber"],"/adStop":["playhead","position","adPlayhead","adBitrate","adTotalDuration","pauseDuration","adViewedDuration","adViewability","adNumber","adNumberInBreak","breakNumber"],"/adClick":["playhead","position","adPlayhead","adNumber","adNumberInBreak","breakNumber"],"/adError":["playhead"].concat(o),"/adManifest":["givenBreaks","expectedBreaks","expectedPattern","breaksTime"],"/adBreakStart":["position","givenAds","expectedAds","breakNumber","adInsertionType"],"/adBreakStop":["position","breakNumber"],"/adQuartile":["position","adViewedDuration","adViewability","adNumber","adNumberInBreak","breakNumber"],"/ping":["droppedFrames","playrate","cdnDownloadedTraffic","multiCdnInfo","p2pDownloadedTraffic","uploadTraffic","latency","packetLoss","packetSent","metrics","totalBytes","segmentDuration"],"/infinity/session/start":["accountCode","username","userType","anonymousUser","profileId","route","page","referer","referral","screenResolution","language","deviceInfo","adsBlocked","deviceUUID","libVersion","appName","appReleaseVersion","isp","connectionType","ip","obfuscateIp","privacyProtocol","dimensions","param1","param2","param3","param4","param5","param6","param7","param8","param9","param10","param11","param12","param13","param14","param15","param16","param17","param18","param19","param20","edid"],"/infinity/session/stop":["sessionMetrics"],"/infinity/session/nav":["route","page","scrollDepth"],"/infinity/session/beat":["sessionMetrics"],"/infinity/session/event":["accountCode"],"/offlineEvents":{}},bodyParams:{"/offlineEvents":["viewJson"]},differentParams:{entities:["rendition","title","title2","param1","param2","param3","param4","param5","param6","param7","param8","param9","param10","param11","param12","param13","param14","param15","param16","param17","param18","param19","param20","cdn","nodeHost","nodeType","nodeTypeString","subtitles","contentLanguage","contentId"]},getters:{requestNumber:"getRequestNumber",playhead:"getPlayhead",playrate:"getPlayrate",fps:"getFramesPerSecond",segmentDuration:"getSegmentDuration",droppedFrames:"getDroppedFrames",mediaDuration:"getDuration",bitrate:"getBitrate",totalBytes:"getTotalBytes",throughput:"getThroughput",rendition:"getRendition",title:"getTitle",title2:"getTitle2",live:"getIsLive",mediaResource:"getResource",parsedResource:"getParsedResource",transactionCode:"getTransactionCode",properties:"getMetadata",playerVersion:"getPlayerVersion",player:"getPlayerName",cdn:"getCdn",pluginVersion:"getPluginVersion",libVersion:"getLibVersion",userType:"getUserType",streamingProtocol:"getStreamingProtocol",transportFormat:"getTransportFormat",obfuscateIp:"getObfuscateIp",privacyProtocol:"getPrivacyProtocol",householdId:"getHouseholdId",latency:"getLatency",packetLoss:"getPacketLoss",packetSent:"getPacketSent",metrics:"getVideoMetrics",dimensions:"getCustomDimensions",param1:"getExtraparam1",param2:"getExtraparam2",param3:"getExtraparam3",param4:"getExtraparam4",param5:"getExtraparam5",param6:"getExtraparam6",param7:"getExtraparam7",param8:"getExtraparam8",param9:"getExtraparam9",param10:"getExtraparam10",param11:"getExtraparam11",param12:"getExtraparam12",param13:"getExtraparam13",param14:"getExtraparam14",param15:"getExtraparam15",param16:"getExtraparam16",param17:"getExtraparam17",param18:"getExtraparam18",param19:"getExtraparam19",param20:"getExtraparam20",extraparam1:"getAdExtraparam1",extraparam2:"getAdExtraparam2",extraparam3:"getAdExtraparam3",extraparam4:"getAdExtraparam4",extraparam5:"getAdExtraparam5",extraparam6:"getAdExtraparam6",extraparam7:"getAdExtraparam7",extraparam8:"getAdExtraparam8",extraparam9:"getAdExtraparam9",extraparam10:"getAdExtraparam10",position:"getAdPosition",adNumber:"getAdNumber",adNumberInBreak:"getAdNumberInBreak",breakNumber:"getBreakNumber",adPlayhead:"getAdPlayhead",adDuration:"getAdDuration",adCampaign:"getAdCampaign",adCreativeId:"getAdCreativeId",adBitrate:"getAdBitrate",adTitle:"getAdTitle",adResource:"getAdResource",adPlayerVersion:"getAdPlayerVersion",adProperties:"getAdMetadata",adAdapterVersion:"getAdAdapterVersion",givenBreaks:"getGivenBreaks",expectedBreaks:"getExpectedBreaks",expectedPattern:"getExpectedPattern",breaksTime:"getBreaksTime",givenAds:"getGivenAds",expectedAds:"getExpectedAds",adsExpected:"getAdsExpected",adViewedDuration:"getAdViewedDuration",adViewability:"getAdViewability",fullscreen:"getIsFullscreen",audio:"getAudioEnabled",skippable:"getIsSkippable",adProvi
883der:"getAdProvider",adInsertionType:"getAdInsertionType",pluginInfo:"getPluginInfo",isp:"getIsp",connectionType:"getConnectionType",ip:"getIp",deviceInfo:"getDeviceInfo",edid:"getEDID",system:"getAccountCode",accountCode:"getAccountCode",username:"getUsername",anonymousUser:"getAnonymousUser",profileId:"getProfileId",joinDuration:"getJoinDuration",bufferDuration:"getBufferDuration",seekDuration:"getSeekDuration",pauseDuration:"getPauseDuration",adJoinDuration:"getAdJoinDuration",adBufferDuration:"getAdBufferDuration",adPauseDuration:"getAdPauseDuration",adTotalDuration:"getAdTotalDuration",referer:"getReferer",referral:"getReferral",language:"getLanguage",screenResolution:"getScreenResolution",nodeHost:"getNodeHost",nodeType:"getNodeType",nodeTypeString:"getNodeTypeString",route:"getReferer",page:"getPageName",playerStartupTime:"getPlayerStartupTime",pageLoadTime:"getPageLoadTime",cdnDownloadedTraffic:"getCdnTraffic",multiCdnInfo:"getMultiCdnInfo",p2pDownloadedTraffic:"getP2PTraffic",p2pEnabled:"getIsP2PEnabled",uploadTraffic:"getUploadTraffic",cdnBalancerResponseUUID:"getBalancerResponseId",viewJson:"getOfflineView",deviceUUID:"getDeviceUUID",sessionMetrics:"getSessionMetrics",scrollDepth:"getScrollDepth",adsBlocked:"getIsBlocked",linkedViewId:"getLinkedViewId",appName:"getAppName",appReleaseVersion:"getAppReleaseVersion",package:"getPackage",saga:"getSaga",tvshow:"getTvShow",season:"getSeason",titleEpisode:"getEpisodeTitle",channel:"getChannel",drm:"getDRM",videoCodec:"getVideoCodec",audioCodec:"getAudioCodec",codecSettings:"getCodecSettings",codecProfile:"getCodecProfile",containerFormat:"getContainerFormat",contentId:"getID",imdbID:"getImdbId",gracenoteID:"getGracenoteID",contentType:"getType",genre:"getGenre",contentLanguage:"getVideoLanguage",subtitles:"getSubtitles",contractedResolution:"getContractedResolution",cost:"getCost",price:"getPrice",playbackType:"getPlaybackType",email:"getEmail"}});e.exports=s},74259:(e,t)=>{"use strict";function n(e){return e.message}Object.defineProperty(t,"__esModule",{value:!0}),t.createValidationError=t.ValidationError=void 0;class r extends Error{constructor(e,t){super(e),this.issues=t}}t.ValidationError=r,t.createValidationError=function(e){let t=e.issues.map(n);return new r([`Validation of given data failed with ${t.length} issue(s):`,...t].join("\n* "),t)}},74363:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormattedTime=void 0;let r=n(80263),i=n(67608),a=new Intl.DateTimeFormat("de-DE",{hour:"2-digit",minute:"2-digit",timeZone:"Europe/Berlin"});t.FormattedTime=e=>{let{value:t}=e,n=(0,i.toDate)(t);return(0,r.jsx)("time",Object.assign({dateTime:n.toISOString()},{children:a.format(n)}))}},74507:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdErrors=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47561),a=n(50454),o=n(33309);t.validateAdErrors=function(e,t,n,s){let{rawVast:l}=e;if(r.default.nonEmptyArray(t))return i.Result.err(new o.InvalidVastError("Empty Vast",{adSource:e,code:a.iabVastErrorCode.VAST_RESPONSE_ERROR}));if((r.default.nullOrUndefined(n)||r.default.emptyArray(n))&&r.default.nullOrUndefined(t)){if(r.default.string(l)&&l.includes("Shim"))return i.Result.err(new o.InvalidVastError("shim detected",{adSource:e,code:a.iabVastErrorCode.VAST_RESPONSE_SHIMMED}));if(s)return i.Result.err(new o.InvalidVastError("No ads VAST response after one or more Wrappers",{adSource:e,code:a.iabVastErrorCode.VAST_RESPONSE_ERROR}))}return i.Result.ok(i.Maybe.of(n))}},74524:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.enhanceRawLiveChannels=t.createFallbackChannelData=void 0;let r=n(17485),i=n(67608),a=n(80576);t.createFallbackChannelData=function(e,t){return{darkVibrantColor:"#707070",groups:[],onAir:"always",program:[(0,a.createFallbackProgramEntry)(e,t)],vibrantColor:"#8E8E8E"}},t.enhanceRawLiveChannels=function(e,t,n){return new Map(Array.from(e.entries(),([e,o])=>[e,function(e,t,n){let o=(0,r.transduce)(e.program,(0,r.compose)((0,r.filter)(e=>
883i.seconds.isGreaterThan(e.airTimeRange.end,t)),(0,r.map)(e=>(function(e,t,n){var r;let{airTimeRange:a}=e,o=(0,i.calculateDuration)(a.start,a.end,"seconds"),s=i.seconds.isLessThan(a.start,t)?(0,i.calculateDuration)(t,a.end,"seconds"):o,l=i.seconds.isLessThanOrEqual(a.start,n)&&i.seconds.isGreaterThan(a.end,n),u=(r=a.end,i.seconds.isLessThan(r,n));return l?Object.assign(Object.assign({},e),{duration:o,elapsedDurationPercentage:function(e,t,n){let r=i.seconds.unbox(n)-i.seconds.unbox(t);return Math.round(100/i.seconds.unbox(e)*r)}(o,a.start,n),isCurrentlyRunning:!0,isInThePast:!1,remainingDuration:s}):Object.assign(Object.assign({},e),{duration:o,isCurrentlyRunning:l,isInThePast:u,remainingDuration:s})})(e,t,n))),(0,r.toArray)()),s=o.length>0?o:[(0,a.createFallbackProgramEntry)(t,n)];return{darkVibrantColor:e.darkVibrantColor,groups:e.groups,onAir:e.onAir,program:s,vibrantColor:e.vibrantColor}}(o,t,n)]))}},74605:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createEventEmitterProxy=void 0;let r=n(70015).__importDefault(n(19577)),i=n(7939);t.createEventEmitterProxy=function(e){let t=(0,i.createEventEmitter)(),n={},a=new Map;return Object.assign(Object.assign({},t),{blockEventWhen(t,i){var o;let s=null!=(o=a.get(t))?o:[];a.set(t,[...s,i]),e.on(t,()=>{r.default.undefined(n[t])&&i()})},off(i,a){let o=n[i];if(r.default.undefined(o))return;let{originalListeners:s,handler:l}=o;s.delete(a),0===s.size&&(t.off(i,l),e.off(i,l),n[i]=void 0)},on(i,o){let s=n[i];if(r.default.undefined(s)){let s=function(...e){var t;let o=n[i];if(!r.default.undefined(o)&&!(null!=(t=a.get(i))?t:[]).some(e=>e()))for(let t of o.originalListeners)t(...e)};e.on(i,s),t.on(i,s),n[i]={handler:s,originalListeners:new Set([o])}}else{let{originalListeners:e}=s;e.add(o)}}})}},74613:e=>{e.exports={START:"start",JOIN:"join",PAUSE:"pause",RESUME:"resume",SEEK_BEGIN:"seek-begin",SEEK_END:"seek-end",BUFFER_BEGIN:"buffer-begin",BUFFER_END:"buffer-end",ERROR:"error",STOP:"stop",CLICK:"click",MANIFEST:"manifest",PODSTART:"break-start",PODSTOP:"break-stop",QUARTILE:"quartile",VIDEO_EVENT:"video-event"}},74717:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styleVideoElement=void 0;let r=n(36994),i="_player_video_style",a="_player_video";t.styleVideoElement=e=>{let{videoElement:t,isSafari:n=(0,r.isSafari)()}=e,o=document.querySelector(`#${i}`);o||((o=document.createElement("style")).id=i,o.textContent=` 884 .${a} { width: 100%; height: 100%; background-color: #000; } 885 .${a}::-webkit-media-text-track-display { display: none; }`,document.head.append(o)),t.removeAttribute("controls"),t.setAttribute("playsinline",""),t.setAttribute("webkit-playsinline",""),t.playsinline=!0,t.webkitPlaysinline=!0,((e,n)=>{n?t.classList.add(e):t.classList.remove(e)})(a,!0),n&&("none"===t.style.display||"hidden"===t.style.visibility||"0"===t.style.opacity)&&t.removeAttribute("style")}},74811:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createWebNetworkInformationApi=void 0;let r=n(70015),i=n(55809),a=n(88860);t.createWebNetworkInformationApi=function(e){let{invoker:t,errorReporter:n}=e,o=(0,a.createNativeNetworkEventEmitter)();return void 0!==e.window.navigator.connection&&"function"==typeof e.window.navigator.connection.addEventListener&&e.window.navigator.connection.addEventListener("change",()=>{o.emit("connectionInformationChange")}),(0,i.createNetworkInformationApi)({errorReporter:n,invoker:t,nativeNetworkEventEmitter:o,nativeNetworkInformationApi:{getConnectionInformation(){return r.__awaiter(this,void 0,void 0,function*(){return e.window.navigator.connection})},getUsageSettings(){return r.__awaiter(this,void 0,void 0,function*(){return{cellularConnectionUsagePermitted:!0}})}}})}},74816:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getJoynCountry=t.getJoynDistributionTenant=void 0;let r=n(47561),i={ILLY:"DE",JOYN:"DE",JOYN_AT:"AT",JOYN_CH:"CH"},a={AT:"JOYN_AT",CH:"JOYN_CH",DE:"JOYN"};t.getJoynDistributionTenant=e=>{let{entitlementTokenPayload:t,joynCountry:n}=e,o="JOYN",s=t.map(({catalog_country:e})=>{let t=e.toUpperCase();return["AT","CH","DE"].includes(t)?t:i[o]});return r.Maybe.of(n).or(s).match({Just:e=>a[e],Nothing:()=>o})},t.getJoynCountry=e=>i[(0,t.getJoynDistributionTenant)(e)]},74824:(e,t)=>{"use strict";
885Object.defineProperty(t,"__esModule",{value:!0}),t.partitionByTypeguard=void 0,t.partitionByTypeguard=function(e,t){let n=[],r=[];for(let i of t)e(i)?n.push(i):r.push(i);return[n,r]}},75021:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VolumeHighIcon=void 0;let r=n(80263),i=n(83947);t.VolumeHighIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M13.096 16.427v-4.99-4.411l-4.899 3.869c-.178.14-.4.217-.628.217H4v5.776h3.569c.228 0 .45.077.628.217l4.899 3.869v-4.547zm2-5.488c1.913 1.605 1.913 4.352 0 5.956v6.125c0 .822-.975 1.278-1.629.761l-6.252-4.937H3a.99.99 0 0 1-1-.978v-7.732a.99.99 0 0 1 1-.978h4.215l6.252-4.937c.654-.517 1.629-.061 1.629.76v5.96zm6.803 12.76a1.016 1.016 0 0 1-1.414.022.962.962 0 0 1-.024-1.382c4.718-4.768 4.726-11.907 0-16.681a.962.962 0 0 1 .024-1.383 1.016 1.016 0 0 1 1.414.023c5.477 5.532 5.467 13.875 0 19.4zm-2-3.866a1.016 1.016 0 0 1-1.414.022.962.962 0 0 1-.024-1.382c2.286-2.31 2.286-6.642 0-8.95a.962.962 0 0 1 .023-1.382 1.016 1.016 0 0 1 1.414.023c3.036 3.065 3.036 8.601 0 11.669z"})}))},75026:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMsWindow=void 0;var n=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];t.isMsWindow=function(e){if("MSInputMethodContext"in e&&"msCrypto"in e&&void 0!==e.msCrypto.subtle){var t=e.msCrypto,r=t.getRandomValues,i=t.subtle;return n.map(function(e){return i[e]}).concat(r).every(function(e){return"function"==typeof e})}return!1}},75028:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createStore=void 0;let r=n(47561),i=()=>({adClientInformation:void 0,adLoad:void 0,allowAdServerOverride:!1,blockId:"",blockPosition:0,childPlaylistIndex:r.Maybe.nothing(),contentResource:void 0,displayedAdsInAdBlock:0,encodedEntitlementJsonWebToken:r.Maybe.nothing(),entitlementTokenPayload:r.Maybe.nothing(),overlayAdSchedule:r.Maybe.nothing()});t.createStore=function(){let e=i(),t=t=>{let n=Object.assign({},t);return Object.assign(e=Object.assign({},e),n)};return{getState:()=>e,resetState:()=>t(i()),setState:t}}},75282:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchSeriesEpisode=void 0;let r=n(70015),i=n(61036),a=n(78643),o=n(80428);t.fetchSeriesEpisode=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){let{graphqlClient:n}=e,{episodeId:r,graphqlEndpoint:s,graphqlServiceApiKey:l,userState:u,userToken:c}=t,d=new Map([["episode",{id:{value:r}}],["episode.posterImage",{type:{serialize:!1,value:"PRIMARY"}}],["episode.posterImage.url",{profile:{value:"nextgen-web-primarycut-1920x1080"}}],["episode.brands.logo.url",{profile:{value:a.webArtLogoSmall}}],["episode.thumbnailImage",{type:{serialize:!1,value:"PRIMARY"}}],["episode.thumbnailImage.url",{profile:{value:"nextgen-web-episodestillplayer-693x390"}}],["episode.series.artLogoImage",{type:{serialize:!1,value:"ART_LOGO"}}],["episode.series.artLogoImage.url",{profile:{value:"nextgen-web-artlogo-210x86"}}],["episode.series.brands.logo.url",{profile:{value:a.webArtLogoSmall}}],["episode.series.heroLandscapeImage",{type:{serialize:!1,value:"HERO_LANDSCAPE"}}],["episode.series.heroLandscapeImage.vibrantColor",{type:{serialize:!1,value:"DARK_VIBRANT"}}],["episode.nextEpisode.posterImage",{type:{serialize:!1,value:"PRIMARY"}}],["episode.nextEpisode.brands.logo.url",{profile:{value:a.webArtLogoSmall}}],["episode.nextEpisode.posterImage.url",{profile:{value:"nextgen-web-primarycut-1920x1080"}}],["episode.nextEpisode.thumbnailImage",{type:{serialize:!1,value:"PRIMARY"}}],["episode.nextEpisode.thumbnailImage.url",{profile:{value:"nextgen-web-episodestillplayer-693x390"}}],["episode.nextEpisode.series.artLogoImage",{type:{serialize:!1,value:"ART_LOGO"}}],["episode.nextEpisode.series.artLogoImage.url",{profile:{value:"nextgen-web-artlogo-210x86"}}],["episode.nextEpisode.series.brands.logo.url",{profile:{value:a.webArtLogoSmall}}],["episode.nextEpisode.series.heroLandscapeImage",{type:{serialize:!1,value:"HERO_LANDSCAPE"}}],["episode.nextEpisode.series.heroLandscapeImage.vibrantColor",{type:{serialize:!1,value:"DARK_VIBRANT"}}],["episode.nextEpisode.nextEpisode.posterImage",{type:{serialize:!1,value:"PRIMARY"}}],["episode.nextEpisode.nextEpisode.brands.logo.url",{profile:{value:a.webArtLogoSmall}}],["episode.nextEpisode.nextEpisode.posterImage.url",{profile:{value:"nextgen-web-primarycut-1920x1080"}}],["episode.nextEpisode.nextEpisode.thumbnailImage",{type:{serialize:!1,value:"PRIMARY"}}],["episode.nextEpisode.nextEpisode.thumbnailImage.url",{profile:{value:"nextgen-web-episodestillplayer-693x390"}}],["episode.nextEpisode.nextEpisode.series.artLogoImage",{type:{serialize:!1,value:"ART_LOGO"}}],["episode.nextEpisode.nextEpisode.series.artLogoImage.url",{profile:{value:"nextgen-web-artlogo-210x86"}}],["episode.nextEpisode.nextEpisode.series.brands.logo.url",{profile:{value:a.webArtLogoSmall}}],["episode.nextEpisode.nextEpisode.series.heroLandscapeImage",{type:{serialize:!1,value:"HERO_LANDSCAPE"}}],["episode.nextEpisode.nextEpisode.series.heroLandscapeImage.vibrantColor",{type:{serialize:!1,value:"DARK_VIBRANT"}}]]);return n.request({aliases:new Map([["episode.posterImage","image"],["episode.thumbnailImage","image"],["episode.series.artLogoImage","image"],["episode.series.heroLandscapeImage","image"],["episode.series.heroLandscapeImage.vibrantColor","accentColor"],["episode.nextEpisode.posterImage","image"],["episode.nextEpisode.thumbnailImage","image"],["episode.nextEpisode.series.artLogoImage","image"],["episode.nextEpisode.series.heroLandscapeImage","image"],["episode.nextEpisode.series.heroLandscapeImage.vibrantColor","accentColor"],["episode.nextEpisode.nextEpisode.posterImage","image"],["episode.nextEpisode.nextEpisode.thumbnailImage","image"],["episode.nextEpisode.nextEpisode.series.artLogoImage","image"],["episode.nextEpisode.nextEpisode.series.heroLandscapeImage","image"],["episode.nextEpisode.nextEpisode.series.heroLandscapeImage.vibrantColor","accentColor"]]),endpoint:s.toString(),headers:(0,i.createGraphQlHeaders)(l,u.state,c),operationName:"PlayerSeriesEpisode",params:d,zodSchema:o.threeSeriesEpisodesGraphQlQuerySchema})})}},75359:(e,t,n)=>{"use strict";
885Object.defineProperty(t,"__esModule",{value:!0}),t.extractErrorDetails=void 0;let r=n(70015).__importDefault(n(19577));function i(e){return e instanceof Error}function a([e,t]){return!("originalError"===e&&i(t))}function o([e,t]){return[e,JSON.stringify(t)]}t.extractErrorDetails=function e(t,n={}){let{extractOriginalErrorDetails:s=!0}=n;if(i(t)){let n=Object.fromEntries(Object.entries(t).filter(a).map(o)),l={};return s&&i(t.originalError)&&(l=Object.fromEntries(Object.entries(Object.assign({message:t.originalError.message},e(t.originalError,{extractOriginalErrorDetails:!1}))).map(([e,t])=>[`originalError_${e}`,t]))),Object.assign(Object.assign({name:r.default.string(t.name)&&"Error"!==t.name?t.name:t.constructor.name},l),n)}}},75373:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRatingAb10=void 0;let r=n(80263),i=n(83826);t.AgeRatingAb10=()=>(0,r.jsxs)(i.AgeRatingIcon,Object.assign({width:40,height:20},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40 2C40 0.89543 39.1046 0 38 0H2C0.89543 0 0 0.89543 0 2V18C0 19.1046 0.89543 20 2 20H38C39.1046 20 40 19.1046 40 18V2ZM2 1H38L38.1166 1.00673C38.614 1.06449 39 1.48716 39 2V18L38.9933 18.1166C38.9355 18.614 38.5128 19 38 19H2L1.88338 18.9933C1.38604 18.9355 1 18.5128 1 18V2L1.00673 1.88338C1.06449 1.38604 1.48716 1 2 1Z",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.1994 14C17.5614 14 17.9049 13.928 18.2299 13.7839C18.5549 13.6399 18.8393 13.4423 19.0831 13.1911C19.3269 12.94 19.5189 12.6427 19.6593 12.2992C19.7996 11.9557 19.8698 11.5845 19.8698 11.1856C19.8698 10.7867 19.7996 10.4174 19.6593 10.0776C19.5189 9.73777 19.3269 9.44229 19.0831 9.19114C18.8393 8.93998 18.5549 8.74423 18.2299 8.60388C17.9049 8.46353 17.5614 8.39335 17.1994 8.39335C16.904 8.39335 16.6362 8.42844 16.3961 8.49862C16.156 8.56879 15.9363 8.66667 15.7368 8.79224V6H13.9307V13.867H15.7368V13.6011C15.9363 13.7267 16.156 13.8246 16.3961 13.8947C16.6362 13.9649 16.904 14 17.1994 14ZM7.49307 12.5706L6.99446 13.867H5L8.20222 6.28809H9.99723L13.1884 13.867H11.1939L10.6842 12.5706H7.49307ZM9.08835 8.47095L8.11328 10.9751H10.0634L9.08835 8.47095ZM16.2747 12.4266C16.4631 12.4931 16.6533 12.5263 16.8453 12.5263C17.03 12.5263 17.1999 12.4912 17.355 12.4211C17.5102 12.3509 17.6431 12.2567 17.7539 12.1385C17.8647 12.0203 17.9515 11.88 18.0143 11.7175C18.0771 11.5549 18.1085 11.3777 18.1085 11.1856C18.1085 11.0009 18.0771 10.8292 18.0143 10.6704C17.9515 10.5115 17.8647 10.3712 17.7539 10.2493C17.6431 10.1274 17.5102 10.0314 17.355 9.96122C17.1999 9.89104 17.03 9.85596 16.8453 9.85596C16.6533 9.85596 16.4631 9.89104 16.2747 9.96122C16.0863 10.0314 15.9072 10.1625 15.7373 10.3546V12.0388C15.9072 12.2308 16.0863 12.3601 16.2747 12.4266ZM29.0584 13.867V12.349H27.3078V6.33241H26.1886L23.7288 7.1856V8.80332L25.5017 8.30471V12.349H23.618V13.867H29.0584ZM32.2539 14C32.7566 14 33.2094 13.9005 33.6122 13.7014C34.0151 13.5023 34.3577 13.2263 34.64 12.8732C34.9224 12.5202 35.1376 12.0977 35.2857 11.6056C35.4337 11.1136 35.5077 10.5784 35.5077 10C35.5077 9.4216 35.4337 8.88826 35.2857 8.4C35.1376 7.91174 34.9224 7.4892 34.64 7.13239C34.3577 6.77559 34.0151 6.49765 33.6122 6.29859C33.2094 6.09953 32.7566 6 32.2539 6C31.7443 6 31.2898 6.09953 30.8903 6.29859C30.4909 6.49765 30.15 6.77559 29.8677 7.13239C29.5854 7.4892 29.3701 7.91174 29.2221 8.4C29.074 8.88826 29 9.4216 29 10C29 10.5784 29.074 11.1136 29.2221 11.6056C29.3701 12.0977 29.5854 12.5202 29.8677 12.8732C30.15 13.2263 30.4909 13.5023 30.8903 13.7014C31.2898 13.9005 31.7443 14 32.2539 14ZM32.2535 12.3436C31.9918 12.3436 31.7611 12.2835 31.5614 12.1633C31.3617 12.0431 31.1947 11.8779 31.0604 11.6675C30.9261 11.4572 30.8245 11.2093 30.7556 10.9239C30.6868 10.6384 30.6523 10.3304 30.6523 9.99993C30.6523 9.66941 30.6868 9.36143 30.7556 9.07599C30.8245 8.79054 30.9261 8.54265 31.0604 8.33232C31.1947 8.122 31.3617 7.95674 31.5614 7.83655C31.7611 7.71636 31.9918 7.65627 32.2535 7.65627C32.5151 7.65627 32.7458 7.71636 32.9455 7.83655C33.1453 7.95674 33.3123 8.122 33.4465 8.33232C33.5808 8.54265 33.6824 8.79054 33.7513 9.07599C33.8201 9.36143 33.8546 9.66941 33.8546 9.99993C33.8546 10.3304 33.8201 10.6384 33.7513 10.9239C33.6824 11.2093 33.5808 11.4572 33.4465 11.6675C33.3123 11.8779 33.1453 12.0431 32.9455 12.1633C32.7458 12.2835 32.5151 12.3436 32.2535 12.3436Z",fill:"white"})]}))}
885,75404:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetAdClientInformationApi=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47561),o=n(66023),s=n(42445),l=(e,t)=>i.default.nonEmptyString(t)?{[e]:t}:{},u=(e,t)=>t.isJust()?{[e]:t.value}:{};t.createGetAdClientInformationApi=({errorReporter:e,getYieldlabUserId:t,getTheAdexUserId:n,getLiverampEnvelopes:c,consentManagement:d,transparencyConsentApi:p,publisherProvidedUserIdProvider:f,getAdTechPassUserId:h=a.Maybe.nothing(),getNetId:m=a.Maybe.nothing(),getSevenPassHashedId:g=a.Maybe.nothing(),logger:y,toggleRouter:v})=>{let b=(t,n,s)=>r.__awaiter(void 0,void 0,void 0,function*(){if(!n||i.default.nullOrUndefined(s))return a.Maybe.nothing();let r=yield s();return r.match({Err:n=>{var r;r=`could not retrieve ${t}: ${n.message}`,y.error(r,n),e.sendError((0,o.stampError)(r,null!=n?n:Error(r)))},Ok:e=>{y.log(`sucessfully retrieved ${t}`,e)}}),r.toMaybe()}),_=v.getFeatureValue("enable-netid-use").unwrapOr(!1),S=v.getFeatureValue("use-liveramp-envelopes").unwrapOr(!1);return()=>r.__awaiter(void 0,void 0,void 0,function*(){var o;let v=yield b("TheAdex targeting ID",!0,n),E=yield b("Liveramp envelopes",S,c),{iabTransparencyConsentString:k,storageConsentGiven:A}=(e=>{let t=e.toMaybe();if(t.isNothing())return{iabTransparencyConsentString:a.Maybe.nothing(),storageConsentGiven:!1};let{purpose:n,tcString:r}=t.value;return{iabTransparencyConsentString:a.Maybe.fromNullable(r),storageConsentGiven:!!(null==n?void 0:n.consents["1"])}})((yield(0,s.getTransparencyConsent)({errorReporter:e,logger:y,transparencyConsentApi:p}))),T=yield b("Yieldlab ID",null!=(o=null==d?void 0:d.getVendorStatus("70"))&&o,t?()=>r.__awaiter(void 0,void 0,void 0,function*(){return t(k)}):void 0),x=_?m.unwrapOr(()=>void 0)():void 0,w=h.unwrapOr(()=>void 0)(),C=g.unwrapOr(()=>"")();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({iabAcceptNonCertifiedVendors:(()=>{let e=null==d?void 0:d.getConsents();return!i.default.undefined(e)&&!e.some(({consent:e})=>!e.status)})()},((e,t)=>{if(!e)return t.delete(),y.log("Publisher Provided ID deleted from storage, no consent given."),{};let n=t.get();return y.log("sucessfully retrieved Publisher Provided ID:",n),{publisherProvidedUserId:n}})(A,f)),l("sevenPassHashedId",C)),l("netId",x)),l("adTechPassUserId",w)),u("theAdexTargetingId",v)),u("liverampEnvelopes",E)),u("yieldlabUserId",T)),u("iabTransparencyConsent",k))})}},75609:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isContentResourceWithLicenseTypes=t.isContentResourceWithAgeRating=t.isContentResourceWithContentTags=t.isContentResourceWithActors=t.isSportsMatchContentResource=t.isLiveOnDemandChannelContentResource=t.isLiveContentResource=t.isInteractiveContentResource=t.isMovieContentResource=t.isSeriesContentResource=t.isCompilationContentResource=t.isShortFormContentResource=t.isClipContentResource=void 0;let r=n(70015).__importDefault(n(19577));function i(e){return t=>t.contentType===e}t.isClipContentResource=i("clip"),t.isShortFormContentResource=i("short-form"),t.isCompilationContentResource=i("compilation"),t.isSeriesContentResource=i("series"),t.isMovieContentResource=i("movie"),t.isInteractiveContentResource=i("interactive"),t.isLiveContentResource=i("live"),t.isLiveOnDemandChannelContentResource=i("live-on-demand"),t.isSportsMatchContentResource=i("sports-match"),t.isContentResourceWithActors=function(e){return"actors"in e&&r.default.nonEmptyArray(e.actors)},t.isContentResourceWithContentTags=function(e){return"contentTags"in e&&r.default.nonEmptyArray(e.contentTags)},t.isContentResourceWithAgeRating=function(e){return"ageRating"in e&&r.default.number(e.ageRating)},t.isContentResourceWithLicenseTypes=function(e){return"licenseTypes"in e&&r.default.nonEmptyArray(e.licenseTypes)}},75887:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Poster=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(53239),s=n(66976),l=n(37514),u=a.default.div(({url:e})=>({backgroundColor:"black",backgroundImage:`url(${e})`,backgroundPosition:"center center",backgroundRepeat:"no-repeat",backgroundSize:"cover",height:"100%",position:"absolute",width:"100%",zIndex:l.backgroundLayer}));t.Poster=()=>{let{state:e}=(0,o.useContext)(s.PlayerContext),{poster:t}=e;return t.mustShow?(0,i.jsx)(u,{url:t.imageSource.defaultUrl}):null}},75945:(e,t,n)=>{"use strict";
885Object.defineProperty(t,"__esModule",{value:!0}),t.FaceWithRaisedHandIcon=void 0;let r=n(80263),i=n(83947);t.FaceWithRaisedHandIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M62.103 2c14.403 0 26.721 8.93 31.72 21.555 1.77.242 2.697 1.342 3.472 3.139 3.692-1.31 7.812.32 7.545 5.563 4.18-.855 6.68.846 7.03 4.556l.023.955c.191 7.972.133 16.08.149 18.95.032 5.76.099 12.691-4.305 17.276-4.557 4.744-10.237 3.96-13.058 3.955-2.821-.005-8.12.511-13.612-5.663-1.463-1.875-2.759-3.766-3.897-5.583-4.543 2.243-9.658 3.502-15.067 3.502C43.268 70.205 28 54.937 28 36.103 28 17.268 43.268 2 62.103 2zM94.69 27.719c-.286-2.372-4.253-2.326-4.447.02-.055 6.528.106 19.23.063 21.462-.479 1.39-2.397 1.382-2.778-.06-.01-3.154-.01-13.19-.116-16.826-.6-2.803-4.153-2.089-4.384.081 .102 6.3 0 17.895.013 24.061-.13 1.275-1.546 1.612-2.439.913-1.61-2.344-2.932-5.012-4.143-5.823-2.166-1.223-3.932 1.014-3.048 2.687 1.385 2.74 4.572 9.204 9.64 16.067 4.786 5.354 9.373 4.974 11.862 4.974h.149c2.538.008 7.488.154 11.422-4.549 1.843-2.662 2.08-3.496 2.601-8.547.21-2.028.124-18.264.084-25.32-.273-2.684-4.162-2.74-4.373-.15.015 2.198-.03 8.281-.05 12.56-.302 1.513-2.343 1.61-2.743.059-.004-4.38.037-14.14-.035-18.7-.268-2.388-4.232-2.463-4.383.043-.035 1.547-.06 16.127-.095 17.123-.224 1.407-2.424 1.363-2.68-.01-.022-1.626-.047-14.991-.12-20.065zM62.103 4.923c-17.22 0-31.18 13.96-31.18 31.18s13.96 31.18 31.18 31.18c4.86 0 9.46-1.113 13.56-3.096-2.373-4.135-3.864-7.603-4.601-9.175-.781-2.323-.314-4.136 1.761-5.712 2.075-1.577 5.217-.64 7.532 1.831.149-7.073-.02-11.856.301-19.149-.024-2.728 3.124-5.338 6.881-3.904.29-2.336 1.273-3.825 3.193-4.348C85.943 12.665 74.927 4.923 62.103 4.923zM45.555 43.71c.472-1.544 2.523-2.285 4.581-1.656 2.059.63 3.768 2.814 3.296 4.358-.472 1.543-2.54.448-4.598-.18-2.058-.63-3.57-1.209-3.28-2.522zm11.06-11.617c.545-2.36 2.687-3.88 4.784-3.395 2.098.484 3.356 2.79 2.812 5.149-.545 2.36-2.687 3.88-4.784 3.395-2.098-.484-3.356-2.79-2.811-5.149zm-11.96-6.416.185 .01c1.93.17 3.343 2.045 3.155 4.189-.188 2.144-1.904 3.746-3.834 3.577-1.93-.169-3.342-2.044-3.155-4.188.188-2.145 1.905-3.746 3.834-3.577z"})}))},75950:(e,t,n)=>{e.exports=n(54906).extend({constructor:function(e){this.pluginref=e,this.listenerReference=this._changeListener.bind(this),this.loadReference=this._loadListener.bind(this),this.isEnabled=!1,this.pageHeight=0,this.maxHeight=0,this.startDetection()},startDetection:function(){this.isEnabled||"undefined"==typeof window||"function"!=typeof window.addEventListener||(window.addEventListener("scroll",this.listenerReference),window.addEventListener("resize",this.listenerReference),window.addEventListener("load",this.loadReference),this.isEnabled=!0)},stopDetection:function(){this.isEnabled&&"undefined"!=typeof window&&"function"==typeof window.removeEventListener&&(window.removeEventListener("scroll",this.listenerReference),window.removeEventListener("resize",this.listenerReference),window.removeEventListener("load",this.loadReference),this.isEnabled=!1)},getScrollDepth:function(){var e=null;return this.maxHeight&&this.pageHeight&&(e=Math.min(Math.trunc(this.maxHeight/this.pageHeight*100),100)),e},_loadListener:function(){if("undefined"!=typeof document){var e=document.documentElement;e&&(this.pageHeight=Math.round(e.scrollHeight,e.clientHeight,e.offsetHeight),this.maxHeight=window.innerHeight,this._updateCompletionRate())}},_changeListener:function(){if(this.pageHeight){var e=this.maxHeight;this.maxHeight=Math.max(this.maxHeight,window.pageYOffset+window.innerHeight),e!==this.maxHeight&&this._updateCompletionRate()}var t=this.pluginref.getAdsAdapter();t&&t.flags.isStarted&&(t.getIsVisible()?t.startChronoView():t.stopChronoView())},_updateCompletionRate:function(){setTimeout((function(){this.pluginref.storage.setSession("pageScrollDepth",this.getScrollDepth())}).bind(this),3e3)}})},76050:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLoadNielsen=t.NielsenSdkLoadError=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=r.__importDefault(n(30029));
885class o extends Error{constructor(e,t){super(e),this.name="NielsenSdkLoadError",this.originalError=t}}function s(e){return!i.default.nullOrUndefined(e)&&"function"==typeof e.ggPM}t.NielsenSdkLoadError=o,t.createLoadNielsen=(e,t)=>{let{clock:n,_window:l=window,loadScript:u}=e,{nielsenAppId:c,nielsenEnableDebugLog:d}=t,p={customTimers:{clearTimeout:n.clearTimeout,setTimeout:n.setTimeout}};return function(){var e;return r.__awaiter(this,void 0,void 0,function*(){let t=null==(e=l.NOLBUNDLE)?void 0:e.nlsnInstanceVideo;if(s(t))return t;try{l.NOLBUNDLE={nlsnInstanceVideo:{g:!0===d?{nol_sdkDebug:"DEBUG"}:void 0}},yield function(){return r.__awaiter(this,void 0,void 0,function*(){return(0,a.default)(u([`https://cdn-gl.nmrodam.com/conf/${c}.js#name=nlsnInstanceVideo&ns=NOLBUNDLE`],{async:!0,numRetries:0,returnPromise:!0}),2e4,"Loading the nielsen SDK script did not succeed within 20000ms",p)})}();let{nlsnInstanceVideo:e}=l.NOLBUNDLE;return yield function(e){return r.__awaiter(this,void 0,void 0,function*(){return(0,a.default)(new Promise(t=>{let n;s(e)?t():Object.defineProperty(e,"ggPM",{get:()=>n,set(e){n=e,i.default.nullOrUndefined(e)||t()}})}),1e4,"Waiting for the nielsen SDK initialization did not succeed within 10000ms",p)})}(e),e}catch(e){throw new o("Nielsen script not available after loading",e)}})}}},76058:(e,t,n)=>{var r=n(40290),i=n(16421);e.exports={getPlayrate:function(){return+!this.flags.isPaused},getFramesPerSecond:function(){return null},getDroppedFrames:function(){return null},getThroughput:function(){return null},getRendition:function(){return null},getTitle2:function(){return null},getIsLive:function(){return null},getCdnTraffic:function(){return null},getP2PTraffic:function(){return null},getUploadTraffic:function(){return null},getIsP2PEnabled:function(){return null},getSegmentDuration:function(){return null},getHouseholdId:function(){return null},getLatency:function(){return null},getPacketLoss:function(){return null},getPacketSent:function(){return null},getMetrics:function(){return null},getAudioCodec:function(){return null},getVideoCodec:function(){return null},getURLToParse:function(){return null},fireSeekBegin:function(e,t,n){if(this._discardFalseBuffers(),this.plugin&&this.plugin.getIsLive()&&this.plugin.options["content.isLive.noSeek"])return null;if(this.flags.isJoined&&!this.flags.isSeeking){if(this.flags.isBuffering)if(!1===t)return;else i.notice("Converting current buffer to seek"),this.chronos.seek=this.chronos.buffer.clone(),this.chronos.buffer.reset(),this.flags.isBuffering=!1;else this.chronos.seek.start();try{this.fireEventsStruct.seek=[],n?this.fireEventsStruct.seek.push(n):this.fireEventsStruct.seek.push("undefinedEvent")}catch(e){}this.flags.isSeeking=!0,this.emit(r.Event.SEEK_BEGIN,{params:e})}},fireSeekEnd:function(e,t){if(this.plugin&&this.plugin.getIsLive()&&this.plugin.options["content.isLive.noSeek"])return null;if(this.flags.isJoined&&this.flags.isSeeking){try{t?this.fireEventsStruct.seek.push(t):this.fireEventsStruct.seek.push("undefinedEvent")}catch(e){}(e=e||{}).triggeredEvents=this.fireEventsStruct.seek,this._shouldSplitView()&&(e.viewIndex=this.plugin.viewTransform._viewIndex),this.cancelSeek(),this.emit(r.Event.SEEK_END,{params:e})}},cancelSeek:function(e){this.flags.isJoined&&this.flags.isSeeking&&(this.flags.isSeeking=!1,this.chronos.seek.stop(),this.monitor&&this.monitor.skipNextTick())},fireEvent:function(e,t,n,i){var a=i||{};a.name=e||"",a.dimensions=t||{},a.values=n||{},this.emit(r.Event.VIDEO_EVENT,{params:a})}}},76210:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NextPlaylistItem=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(97403),s=(0,a.default)(o.IconButton)({"> span":{marginLeft:"5px"}});t.NextPlaylistItem=e=>{let{isEnabled:t,icon:n,text:r,tooltipText:a,onClick:o,hideText:l}=e;return(0,i.jsx)(s,{icon:n,iconSize:"28px",type:"button",disabled:!t,onClick:o,tooltipText:a,"aria-label":"N\xe4chstes",label:l?void 0:r})}},76227:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(92221),i=r.ActionTypes.Start,a=r.ActionTypes.Stop,o=r.ActionTypes.Raise,s=r.ActionTypes.Send,l=r.ActionTypes.Cancel,u=r.ActionTypes.NullEvent,c=r.ActionTypes.Assign,d=r.ActionTypes.After,p=r.ActionTypes.DoneState,f=r.ActionTypes.Log,h=r.ActionTypes.Init,m=r.ActionTypes.Invoke,g=r.ActionTypes.ErrorExecution,y=r.ActionTypes.ErrorPlatform,v=r.ActionTypes.ErrorCustom,b=r.ActionTypes.Update,_=r.ActionTypes.Choose,S=r.ActionTypes.Pure;t.after=d,t.assign=c,t.cancel=l,t.choose=_,t.doneState=p,t.error=v,t.errorExecution=g,t.errorPlatform=y,t.init=h,t.invoke=m,t.log=f,t.nullEvent=u,t.pure=S,t.raise=o,t.send=s,t.start=i,t.stop=a,t.update=b},76303:(e,t,n)=>{"use strict";
885Object.defineProperty(t,"__esModule",{value:!0}),t.FullscreenButton=void 0;let r=n(80263),i=n(53239),a=n(66976),o=n(19630),s=n(52726),l=n(62716);t.FullscreenButton=()=>{let{actions:e,state:t}=(0,i.useContext)(a.PlayerContext),{isFullscreen:n}=t,u=n?l.FullscreenExitIcon:s.FullscreenEnterIcon,c=n?e.exitFullscreen:e.enterFullscreen;return(0,r.jsx)(o.ControlButton,{icon:u,onClick:c,label:n?"Vollbild verlassen (f)":"Vollbild (f)"})}},76422:(e,t,n)=>{var r=n(16421),i=n(2502);e.exports={_startPings:function(){this._ping.isRunning||this._ping.start()},_stopPings:function(){this._ping.stop()},_sendPing:function(e){var t={diffTime:e,entities:this.requestBuilder.getChangedEntities()};this._adapter&&(t=this._adapter.flags.isPaused?this.requestBuilder.fetchParams(t,["pauseDuration"]):this.requestBuilder.fetchParams(t,["bitrate","throughput","fps"]),this._adapter.flags.isJoined&&(t=this.requestBuilder.fetchParams(t,["playhead"])),this._adapter.flags.isBuffering&&(t=this.requestBuilder.fetchParams(t,["bufferDuration"])),this._adapter.flags.isSeeking&&(t=this.requestBuilder.fetchParams(t,["seekDuration"]))),this._adsAdapter&&!this.options["ad.ignore"]&&(this._adsAdapter.flags.isStarted&&(t=this.requestBuilder.fetchParams(t,["adPlayhead","adViewedDuration","adViewability"]),t=this._adsAdapter.flags.isPaused?this.requestBuilder.fetchParams(t,["adPauseDuration"]):this.requestBuilder.fetchParams(t,["adBitrate"])),this._adsAdapter.flags.isBuffering&&(t=this.requestBuilder.fetchParams(t,["adBufferDuration"]))),this._send(i.WillSendEvent.WILL_SEND_PING,i.Service.PING,t),this.startDelayed&&this._retryStart(),r.verbose(i.Service.PING)}}},76700:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pathSchema=void 0;let r=n(47561);t.pathSchema=n(92712).z.string().nullable().transform(r.Maybe.of)},76737:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(82486),a=n(92221),o=n(76227),s=n(81061),l=n(82609);function u(e,t){try{if(v(e))return e;return e.toString().split(t)}catch(t){throw Error("'".concat(e,"' is not a valid state path."))}}function c(e){return"object"==typeof e&&"value"in e&&"context"in e&&"event"in e&&"_event"in e}function d(e,t){return c(e)?e.value:v(e)?p(e):"string"!=typeof e?e:p(u(e,t))}function p(e){if(1===e.length)return e[0];for(var t={},n=t,r=0;r<e.length-1;r++)r===e.length-2?n[e[r]]=e[r+1]:(n[e[r]]={},n=n[e[r]]);return t}function f(e,t){for(var n={},r=Object.keys(e),i=0;i<r.length;i++){var a=r[i];n[a]=t(e[a],a,e,i)}return n}function h(e){var t;return(t=[]).concat.apply(t,i.__spreadArray([],i.__read(e),!1))}function m(e){return v(e)?e:[e]}function g(e){return void 0===e?[]:m(e)}function y(e,t){return f(e.states,function(e,n){if(e){var r=(_(t)?void 0:t[n])||(e?e.current:void 0);if(r)return{current:r,states:y(e,r)}}})}function v(e){return Array.isArray(e)}function b(e){return"function"==typeof e}function _(e){return"string"==typeof e}t.warn=function(){},l.IS_PRODUCTION||(t.warn=function(e,t){var n=e instanceof Error?e:void 0;if((n||!e)&&void 0!==console){var r=["Warning: ".concat(t)];n&&r.push(n),console.warn.apply(console,r)}});var S="function"==typeof Symbol&&Symbol.observable||"@@observable",E=((r={})[S]=function(){return this},r[Symbol.observable]=function(){return this},r);function k(e){return!!e&&"__xstatenode"in e}var A=function(){var e=0;return function(){return e++,e.toString(16)}}();function T(e,t){return _(e)||"number"==typeof e?i.__assign({type:e},t):e}t.createInvokeId=function(e,t){return"".concat(e,":invocation[").concat(t,"]")},t.evaluateGuard=function(e,t,n,r,i){var a=e.options.guards,o={state:i,cond:t,_event:r};if(t.type===s.DEFAULT_GUARD_TYPE)return((null==a?void 0:a[t.name])||t.predicate)(n,r.data,o);var l=null==a?void 0:a[t.type];if(!l)throw Error("Guard '".concat(t.type,"' is not implemented on machine '").concat(e.id,"'."));return l(n,r.data,o)},t.flatten=h,t.getActionType=function(e){try{return _(e)||"number"==typeof e?"".concat(e):b(e)?e.name:e.type}catch(e){throw Error("Actions must be strings or objects with a string action.type property.")}},t.getEventType=function(e){try{return _(e)||"number"==typeof e?"".concat(e):e.type}catch(e){throw Error("Events must be strings or objects with a string event.type property.")}},t.interopSymbols=E,t.isActor=function(e){return!!e&&"function"==typeof e.send},t.isArray=v,t.isBehavior=function(e){return null!==e&&"object"==typeof e&&"transition"in e&&"function"==typeof e.transition},t.isBuiltInEvent=function(e){return/^(done|error)\./.test(e)},t.isFunction=b,t.isMachine=k,t.isObservable=function(e){try{return"subscribe"in e&&b(e.subscribe)}catch(e){return!1}},t.isPromiseLike=function(e){return!!(e instanceof Promise||null!==e&&(b(e)||"object"==typeof e)&&b(e.then))},t.isRaisableAction=function(e){return(e.type===o.raise||e.type===o.send&&e.to===a.SpecialTargets.Internal)&&"number"!=typeof e.delay},t.isStateLike=c,t.isString=_,t.keys=function(e){return Object.keys(e)},t.mapContext=function(e,t,n){if(b(e))return e(t,n.data);var r,a,o={};try{for(var s=i.__values(Object.keys(e)),l=s.next();!l.done;l=s.next()){var u=l.value,c=e[u];b(c)?o[u]=c(t,n.data):o[u]=c}}catch(e){r={error:e}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(r)throw r.error}}return o},t.mapFilterValues=function(e,t,n){var r,a,o={};try{for(var s=i.__values(Object.keys(e)),l=s.next();!l.done;l=s.next()){var u=l.value,c=e[u];n(c)&&(o[u]=t(c,u,e))}}catch(e){r={error:e}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(r)throw r.error}}return o},t.mapValues=f,t.matchesState=function e(t,n,r){void 0===r&&(r=s.STATE_DELIMITER);var i=d(t,r),a=d(n,r);return _(a)?!!_(i)&&a===i:_(i)?i in a:Object.keys(i).every(function(t){return t in a&&e(i[t],a[t])})},t.nestedPath=function(e,t){return function(n){var r,a,o=n;try{for(var s=i.__values(e),l=s.next();!l.done;l=s.next()){var u=l.value;o=o[t][u]}}catch(e){r={error:e}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(r)throw r.error}}return o}},t.normalizeTarget=function(e){if(void 0!==e&&e!==s.TARGETLESS_KEY)return g(e)},t.partition=function(e,t){var n,r,a=i.__read([[],[]],2),o=a[0],s=a[1];try{for(var l=i.__values(e),u=l.next();!u.done;u=l.next()){var c=u.value;t(c)?o.push(c):s.push(c)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}return[o,s]},t.path=function(e){return function(t){var n,r,a=t;try{for(var o=i.__values(e),s=o.next();!s.done;s=o.next())a=a[s.value]}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return a}},t.pathToStateValue=p,t.pathsToStateValue=function(e){var t,n,r={};if(e&&1===e.length&&1===e[0].length)return e[0][0];try{for(var a=i.__values(e),o=a.next();!o.done;o=a.next())for(var s=o.value,l=r,u=0;u<s.length;u++){var c=s[u];if(u===s.length-2){l[c]=s[u+1];break}l[c]=l[c]||{},l=l[c]}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return r},t.reportUnhandledExceptionOnInvocation=function(e,t,n){if(!l.IS_PRODUCTION){var r=e.stack?" Stacktrace was '".concat(e.stack,"'"):"";if(e===t)console.error("Missing onError handler for invocation '".concat(n,"', error was '").concat(e,"'.").concat(r));else{var i=t.stack?" Stacktrace was '".concat(t.stack,"'"):"";console.error("Missing onError handler and/or unhandled exception/promise rejection for invocation '".concat(n,"'. ")+"Original error: '".concat(e,"'. ").concat(r," Current error is '").concat(t,"'.").concat(i))}}},t.symbolObservable=S,t.toArray=g,t.toArrayStrict=m,t.toEventObject=T,t.toGuard=function(e,t){if(e)return _(e)?{type:s.DEFAULT_GUARD_TYPE,name:e,predicate:t?t[e]:void 0}:b(e)?{type:s.DEFAULT_GUARD_TYPE,name:e.name,predicate:e}:e},t.toInvokeSource=function(e){return"string"==typeof e?{type:e}:e},t.toObserver=function(e,t,n){var r=function(){},i="object"==typeof e,a=i?e:null;
885return{next:((i?e.next:e)||r).bind(a),error:((i?e.error:t)||r).bind(a),complete:((i?e.complete:n)||r).bind(a)}},t.toSCXMLEvent=function(e,t){if(!_(e)&&"$$type"in e&&"scxml"===e.$$type)return e;var n=T(e);return i.__assign({name:n.type,data:n,$$type:"scxml",type:"external"},t)},t.toStatePath=u,t.toStatePaths=function e(t){return t?_(t)?[[t]]:h(Object.keys(t).map(function(n){var r=t[n];return"string"==typeof r||r&&Object.keys(r).length?e(t[n]).map(function(e){return[n].concat(e)}):[[n]]})):[[]]},t.toStateValue=d,t.toTransitionConfigArray=function(e,t){return m(t).map(function(t){return void 0===t||"string"==typeof t||k(t)?{target:t,event:e}:i.__assign(i.__assign({},t),{event:e})})},t.uniqueId=A,t.updateContext=function(e,n,r,a){return l.IS_PRODUCTION||t.warn(!!e,"Attempting to update undefined context"),e?r.reduce(function(e,t){var r,o,s=t.assignment,l={state:a,action:t,_event:n},u={};if(b(s))u=s(e,n.data,l);else try{for(var c=i.__values(Object.keys(s)),d=c.next();!d.done;d=c.next()){var p=d.value,f=s[p];u[p]=b(f)?f(e,n.data,l):f}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}return Object.assign({},e,u)},e):e},t.updateHistoryStates=y,t.updateHistoryValue=function(e,t){return{current:t,states:y(e,t)}}},76864:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.entitlementServiceResponseSchema=void 0;let r=n(92712);t.entitlementServiceResponseSchema=r.z.object({entitlement_token:r.z.string()})},76870:(e,t,n)=>{"use strict";n.r(t),n.d(t,{fromUtf8:()=>r,toUtf8:()=>i});let r=e=>"function"==typeof TextEncoder?new TextEncoder().encode(e):(e=>{let t=[];for(let n=0,r=e.length;n<r;n++){let r=e.charCodeAt(n);if(r<128)t.push(r);else if(r<2048)t.push(r>>6|192,63&r|128);else if(n+1<e.length&&(64512&r)==55296&&(64512&e.charCodeAt(n+1))==56320){let i=65536+((1023&r)<<10)+(1023&e.charCodeAt(++n));t.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else t.push(r>>12|224,r>>6&63|128,63&r|128)}return Uint8Array.from(t)})(e),i=e=>"function"==typeof TextDecoder?new TextDecoder("utf-8").decode(e):(e=>{let t="";for(let n=0,r=e.length;n<r;n++){let r=e[n];r<128?t+=String.fromCharCode(r):192<=r&&r<224?t+=String.fromCharCode((31&r)<<6|63&e[++n]):240<=r&&r<365?t+=decodeURIComponent("%"+[r,e[++n],e[++n],e[++n]].map(e=>e.toString(16)).join("%")):t+=String.fromCharCode((15&r)<<12|(63&e[++n])<<6|63&e[++n])}return t})(e)},76951:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SPORTS_MATCH_GRAPHQL_QUERY_DOCUMENT=void 0;let r=n(42049);t.SPORTS_MATCH_GRAPHQL_QUERY_DOCUMENT=(0,r.gql)` 886 query SportsMatch($id: ID!) { 887 sportsMatch(id: $id) { 888 __typename 889 title 890 ageRating { 891 descriptorsText 892 minAge 893 } 894 artLogoImage: image(type: ART_LOGO) { 895 url(profile: "nextgen-web-artlogo-300x123") 896 } 897 brands { 898 logo { 899 url(profile: "nextgen-web-artlogo-183x75") 900 } 901 title 902 } 903 heroLandscapeImage: image(type: HERO_LANDSCAPE) { 904 vibrantColor: accentColor(type: DARK_VIBRANT) 905 } 906 id 907 licenseTypes 908 path 909 posterImage: image(type: PRIMARY) { 910 url(profile: "nextgen-web-primarycut-1920x1080") 911 } 912 resumePosition { 913 position 914 watchedPercentage 915 } 916 sportsStage { 917 sportsCompetition { 918 id 919 title 920 } 921 } 922 tracking { 923 agofCode 924 externalAssetId 925 genres 926 } 927 video { 928 id 929 } 930 } 931 } 932`},77064:(e,t,n)=>{"use strict";n.d(t,{h:()=>i});var r=n(95543);let i=globalThis.process&&"production"===globalThis.process.env.NODE_ENV?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var n;let i=t.prototype[Symbol.toStringTag];if(i===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(n=e.constructor)?void 0:n.name)){let t=(0,r.N)(e);throw Error(`Cannot use ${i} "${t}" from another module or realm. 933 934Ensure that there is only one instance of "graphql" in the node_modules 935directory. If different versions of "graphql" are the dependencies of other 936relied on modules, use "resolutions" to ensure only one version is installed. 937 938https://yarnpkg.com/en/docs/selective-version-resolutions 939 940Duplicate "graphql" modules cannot be used at the same time since different 941versions may have different capabilities and behavior. The data from one 942version used in the function from another could produce confusing and 943spurious results.`)}}return!1}}
943,77183:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNoOpTransport=void 0;let r=n(70015);t.createNoOpTransport=function(){return{destroy(){return r.__awaiter(this,void 0,void 0,function*(){})},recordEvent(){},send(){}}}},77194:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createActions=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=r.__importDefault(n(56689)),o=r.__importDefault(n(60024)),s=r.__importDefault(n(89785)),l=n(30936),u=n(36186),c=n(93250),d=n(82012),p=n(64409),f=n(3394),h=n(90463),m=n(12235),g=n(42975),{StringUtils:y,FairPlayUtils:v}=s.default.util;t.createActions=({capabilitiesResolver:e,certificateFetcher:t,createShakaSubtitles:n,createSubtitles:b,domNode:_,eventEmitter:S,fullscreenService:E,browserDetector:k,toggleRouter:A,isVideoElementActivated:T,ShakaErrorUtil:x,shakaPlayer:w,sourceDetector:C,store:I,styleVideoElement:O,supportsAutoplay:R,videoElement:P})=>{var N;let L={},{getState:j,setState:M}=I,D=[],F={backoffFactor:1.25,baseDelay:1e3,connectionTimeout:1e4,fuzzFactor:.15,maxAttempts:A.getFeatureValue("retry-parameters-max-attempts").unwrapOr(3),stallTimeout:5e3,timeout:A.getFeatureValue("retry-parameters-timeout").unwrapOr(15e3)},U=A.getFeatureValue("core-log-level");function V(){M({startupComplete:!0}),g.logger.log("startup complete")}U.isJust()&&"debug"===U.unwrapOr("none")&&g.logger.setLevel("debug");let B=()=>{if(j().isDestroyed)throw new l.PlayerError("playback_destroyed","playback destroyed")},G=()=>{let{audioTracks:e}=P;if(e&&k.isSafari())return Object.fromEntries(Array.from(e,({kind:e,label:t,language:n},r)=>[r,{label:t,language:n,role:e}]));let t=w.getAudioLanguagesAndRoles();return(0,f.determineAvailableAudioTracks)(t)},Y=e=>{let t=G(),n=(()=>{let e=G();if(0===Object.keys(e).length)return;let{audioTracks:t}=P;if(t&&k.isSafari()){let n=Array.from(t).find(({enabled:e})=>e);return n?Object.keys(e).find(t=>{let r=e[t];return r&&r.language===n.language&&r.role===n.kind&&r.label===n.label}):void 0}let n=w.getVariantTracks().find(({active:e})=>e);if(n)return Object.keys(e).find(t=>{var r,i;let a=e[t];return(null==a?void 0:a.language)===n.language&&(null==a?void 0:a.role)===(null==(r=n.audioRoles)?void 0:r[0])||(null==a?void 0:a.language)===n.language&&(null==a?void 0:a.role)===""&&(null==(i=n.audioRoles)?void 0:i.length)===0})})();if(i.default.undefined(n))return;let r=t[n];!i.default.string(n)||i.default.undefined(r)||(e=>{let{selectedAudioTrack:t}=j();return(null==t?void 0:t.source.language)===e.language&&(null==t?void 0:t.source.role)===e.role&&(null==t?void 0:t.source.label)===e.label})(r)||(M({selectedAudioTrack:{id:n,source:r}}),S.emit("audioTrackSelected",Object.assign(Object.assign({id:n},t[n]),{origin:e.origin})))},z=n({createSubtitles:b,emit:S.emit,shakaPlayer:w,videoElement:P}),W={addAudioTrackEventListener(){let{audioTracks:e}=P;e&&k.isSafari()&&(e.addEventListener("addtrack",W.syncAudioTracks),e.addEventListener("removetrack",W.syncAudioTracks))},addEventListener(e,t){if(L[e])throw new l.PlayerError("playback",`${e} already has a listener`);let n=n=>{if(I.getState().isDestroyed)return void g.logger.error(`playback destroyed: received video element event ${e}`);g.logger.log("event",n),t(n)};P.addEventListener(e,n),L[e]=n},addPlaybackEventListeners(){I.setState({isHandlingPlaybackEvents:!0}),W.addAudioTrackEventListener(),W.addEventListener("durationchange",W.handleDurationchangeEvent),W.addEventListener("ended",W.handleEndedEvent),W.addEventListener("pause",W.handlePauseEvent),W.addEventListener("play",W.handlePlayEvent),W.addEventListener("playing",W.handlePlayingEvent),W.addEventListener("progress",W.handleProgressEvent),W.addEventListener("seeked",W.handleSeekedEvent),W.addEventListener("seeking",W.handleSeekingEvent),W.addEventListener("timeupdate",W.handleTimeupdateEvent),W.addEventListener("waiting",W.handleWaitingEvent),W.addPlayerEventListener("adaptation",W.syncVideoQualityState),W.addPlayerEventListener("buffering",W.handleBufferingEvent),W.addPlayerEventListener("error",W.handlePlayerErrorEvent),W.addPlayerEventListener("loaded",W.handleLoadedEvent),W.addPlayerEventListener("variantchanged",W.syncVideoQualityState)},addPlayerEventListener(e,t){w.addEventListener(e,t)},canPlayByApi(e){var t;return r.__awaiter(this,void 0,void 0,function*(){let n=null!=(t=null==e?void 0:e.muted)?t:j().isMuted,{isUserActivated:r}=j();return!0===r?r:R(n)})},configureDrm(e){return r.__awaiter(this,void 0,void 0,function*(){let n,{drmType:r,licenseUrl:a}=e,o=(0,h.getAllDrmNamespacesForDrmType)(r);if((0,c.hasCertificateUrl)(e)){let{certificateUrl:r}=e;n=yield t.fetchDrmCertificate(r)}let s=o.reduce((e,t)=>
943({advanced:Object.assign(Object.assign({},e.advanced),i.default.undefined(n)?{}:{[t]:{serverCertificate:n}}),servers:Object.assign(Object.assign({},e.servers),{[t]:a})}),{advanced:{},servers:{}});w.configure({drm:Object.assign(Object.assign({retryParameters:F},s),"fairplay"===e.drmType?{initDataTransform:(e,t,n)=>{if("skd"!==t)return e;let r=y.fromBytesAutoDetect(e).split("skd://")[1];if(i.default.undefined(r))return new Uint8Array;let{serverCertificate:a}=n;return v.initDataTransform(e,r,a)}}:{})})})},destroy(){return r.__awaiter(this,void 0,void 0,function*(){I.setState({isDestroyed:!0}),S.destroy();let{audioTracks:e}=P;e&&k.isSafari()&&(e.removeEventListener("addtrack",W.syncAudioTracks),e.removeEventListener("removetrack",W.syncAudioTracks)),Object.entries(L).forEach(([e,t])=>{P.removeEventListener(e,t)}),null==E||E.destroy(),z.destroy(),yield w.unload(),yield w.destroy()})},enterFullscreen(){B(),null==E||E.enterFullscreen()},exitFullscreen(){B(),null==E||E.exitFullscreen()},forceSeekToStart(){P.currentTime=0},getBoundingClientRect:()=>({height:P.clientHeight,width:P.clientWidth}),getCapabilities:e.getDesiredCapabilities,getDuration:()=>W.isLivestream()?1/0:(0,d.validateDuration)(P.duration).match({Err:()=>null,Ok:e=>e.unwrapOr(null)}),getPosition(){var e,t;let{currentTime:n}=P,r=Number.isFinite(n)?n:0,{startupComplete:i,startOffset:a}=j(),o=i?r:a;return W.isLivestream()?null!=(t=null==(e=w.getPlayheadTimeAsDate())?void 0:e.getTime())?t:1e3*o:o},getPreferredSource:function(e){return r.__awaiter(this,void 0,void 0,function*(){let t=yield C.getPreferredSource(e);if(t.isErr()){let e=t.error.reason,n="playback_drm_no_key_system_supported"===e?"No supported sources due to no drm key system supported":`No supported sources after probeSupport (supported drm types: ${t.error.supportedDrmTypes.join(",")})`;throw new l.PlayerError(e,n)}return t.value})},getSeekableRange(){let e=(0,d.validateDuration)(P.duration);if(e.isErr()||e.value.isNothing())return[];if(W.isLivestream()){let{start:e,end:t}=w.seekRange();return[1e3*e,1e3*t]}return[0,e.value.value]},getVideoQuality:()=>j().videoQuality,getVolume:()=>100*P.volume,handleBufferingEvent({buffering:e}){let t=(0,p.getBufferedTimeRanges)(P);if(S.emit("bufferedTimeRangesUpdate",{bufferedTimeRanges:t}),!e)return void W.syncAfterStalling();j().isStalled||(I.setState({isStalled:!0}),S.emit("stallStarted"),D.push(Date.now()))},handleDurationchangeEvent(){W.syncVideoDuration()},handleEndedEvent(){W.syncAfterStalling(),S.emit("playbackFinished")},handleFullscreenServiceOnChangeEvent(e,{isFullscreen:t}){if(E){if(e)throw e;O({videoElement:P}),t?S.emit("fullscreenEntered"):S.emit("fullscreenExited")}},handleLoadedEvent(){W.handleBufferingEvent({buffering:!1})},handlePauseEvent(){let{duration:e}=j();W.syncAfterStalling(),i.default.number(e)&&P.currentTime>=e||S.emit("paused")},handlePlayEvent(){},handlePlayerErrorEvent(e){var t;let n=null!=(t=e.detail)?t:e;if(n.severity===x.Severity.RECOVERABLE)return;W.syncAfterStalling();let r=(0,m.mapShakaErrorToPlayerError)(n);S.emit("error",{error:r})},handlePlayingEvent(){M({playbackStarted:!0}),W.syncAfterStalling(),S.emit("playing")},handleProgressEvent(){let e=(0,p.getBufferedTimeRanges)(P);S.emit("bufferedTimeRangesUpdate",{bufferedTimeRanges:e})},handleSeekedEvent(){if(!j().isSeeking)return;let e=P.currentTime;I.setState({isSeeking:!1,position:e}),S.emit("seeked",{position:e})},handleSeekingEvent(){let{isSeeking:e,isUserSeeking:t,startupComplete:n}=j();!e&&n&&(I.setState({isSeeking:!0}),t&&(S.emit("seekTo"),M({isUserSeeking:!1})),S.emit("seek"))},handleTimeupdateEvent(){let{isSeeking:e,isStalled:t}=j(),n=P.currentTime,r=W.getPosition();n>r&&!j().startupComplete&&(g.logger.warn("Bug on: startup should be completed by now!"),V()),M({position:r}),g.logger.log("handleTimeupdateEvent",r,{isSeeking:e,isStalled:t}),t&&!e&&(D.length>1?(M({isStalled:!1}),S.emit("stallEnded"),D.splice(0)):D.push(Date.now())),W.syncVideoDuration(),S.emit("positionChange",{internalId:j().internalId,position:r})},handleVolumeChangeEvent(){W.syncVolumeAndMuted("api")},handleWaitingEvent(){W.handleBufferingEvent({buffering:!0})},initialize(){var e;return r.__awaiter(this,void 0,void 0,function*(){W.addEventListener("volumechange",W.handleVolumeChangeEvent);let t=W.getVolume(),n=P.muted,r=null!=(e=j().isUserActivated)?e:yield T(P);W.setVolume(t,{origin:"api"}),P.muted=n,M({isMuted:n,isUserActivated:r,volume:t}),g.logger.log("Shaka Player initialize",j()),O({videoElement:P}),_.append(P),w.configure({manifest:{dash:{ignoreMinBufferTime:!0},retryParameters:F,segmentRelativeVttTiming:!0},streaming:{failureCallback:o.default,preferNativeHls:!1,retryParameters:F}}),E&&(E.init(),E.onChange(W.handleFullscreenServiceOnChangeEvent))})},isFullscreen(){var e;return null!=(e=null==E?void 0:E.isFullscreen())&&e},isFullscreenModeSupported:null!=(N=null==E?void 0:E.isFullscreenModeSupported())&&N,isLivestream:()=>w.isLive(),isMuted:()=>j().isMuted,loadSource(e,t){var n;return r.__awaiter(this,void 0,void 0,function*(){let{internalId:a,startOffset:o}=t,l="application/x-mpegurl"===e.mimetype.toLowerCase()&&(k.isApple()||k.isPanasonicViera()),c=e.mimetype.toLowerCase(),d=!1===e.isLowLatency||!A.getFeatureValue("not-use-hls-native-player
943-for-illy-stream").unwrapOr(!1);g.logger.log("loadSource",{options:t,source:e,startOffset:o});let p=function(){return r.__awaiter(this,void 0,void 0,function*(){yield(0,u.waitForFirstEvent)(S,{events:["durationUpdate"],rejectionEvents:[(0,u.errorEvent)("error",e=>e.error)]})})}();z.clear(),W.syncAndResetState(),i.default.number(o)&&I.setState({startOffset:o}),I.setState({isNativePlayback:l}),I.getState().isHandlingPlaybackEvents||W.addPlaybackEventListeners(),e.drm&&(yield W.configureDrm(e.drm)),w.configure({streaming:{lowLatencyMode:null!=(n=e.isLowLatency)&&n,preferNativeHls:!!d&&l,useNativeHlsOnSafari:d}});let{isNativePlayback:f,startOffset:h}=j();P.addEventListener(f?"loadeddata":"loadedmetadata",()=>{if(.001>Math.abs(P.currentTime-h)&&!W.isLivestream())return void V();P.addEventListener("seeking",V,{once:!0})},{once:!0});try{yield w.load(e.url,o,c)}catch(e){if(e.code!==s.default.util.Error.Code.LOAD_INTERRUPTED)throw(0,m.mapShakaErrorToPlayerError)(e)}yield p,i.default.undefined(a)||M({internalId:a}),z.syncSubtitles(),W.syncAudioTracks(),O({videoElement:P}),W.syncVideoQualityState(),W.syncVideoDuration(),I.setState({position:W.getPosition()})})},mute({origin:e}){B(),P.muted=!0,W.syncVolumeAndMuted(e)},off(e,t){S.off(e,t)},on(e,t){S.on(e,t)},pause(){return r.__awaiter(this,void 0,void 0,function*(){P.pause()})},play(e){return r.__awaiter(this,void 0,void 0,function*(){if("user"===e.origin)M({isUserActivated:!0});else if(!(yield W.canPlayByApi()))throw new l.PlayerError("playback_can_not_play_by_api","Not allowed to play");let t=P.play();null==t||t.catch(g.logger.warn),S.emit("play")})},reset(){return r.__awaiter(this,void 0,void 0,function*(){W.syncAndResetState(),yield z.select({id:null,origin:"api"}),yield w.unload()})},seekTo(e){return r.__awaiter(this,void 0,void 0,function*(){if(W.isLivestream()){var t;let[n,r]=W.getSeekableRange();P.currentTime=Number.isNaN(t=i.default.number(r)&&(!e||e>r)?r/1e3:i.default.number(n)&&e<n?n/1e3:e)||t===1/0||t===-1/0?0:t;return}M({isUserSeeking:!0}),P.currentTime=e})},selectAudioTrack(e){B();let{id:t}=e,n=G()[t];if(i.default.nullOrUndefined(n)||!i.default.string(n.language))return;let{audioTracks:r}=P;if(r&&k.isSafari())for(let e of r){let t=e.kind===n.role&&e.language===n.language&&e.label===n.label;e.enabled=t}else w.selectAudioLanguage(n.language,n.role);Y({origin:e.origin})},selectSubtitle(e){B(),z.select(e)},setVolume(e,{origin:t}){P.volume=e/100,W.syncVolumeAndMuted(t)},syncAfterStalling(){j().isStalled&&(I.setState({isStalled:!1}),g.logger.log("syncAfterStalling",{positionChangesWhileStalling:D.concat([])}),D.splice(0),S.emit("stallEnded"))},syncAndResetState(){W.syncAfterStalling(),I.resetPlaybackState()},syncAudioTracks(){let e=G();(0,a.default)(j().availableAudioTracks,e)||(M({availableAudioTracks:e}),S.emit("audioTracksUpdated",e),Y({origin:"api"}))},syncVideoDuration(){let e=(0,d.validateDuration)(P.duration);if(e.isErr()||e.value.isNothing())return;let t=e.value,n=j().duration;if(t.value!==n){let e=t.value;M({duration:e}),S.emit("durationUpdate",{duration:e})}},syncVideoQualityState(){var e,t,n;let r=w.getVariantTracks().find(e=>"variant"===e.type&&e.active),i=j().videoQuality,a={bitrate:null!=(e=null==r?void 0:r.bandwidth)?e:void 0,height:null!=(t=null==r?void 0:r.height)?t:void 0,width:null!=(n=null==r?void 0:r.width)?n:void 0},o=(null==i?void 0:i.bitrate)!==a.bitrate||(null==i?void 0:i.width)!==a.width||(null==i?void 0:i.height)!==a.height;M({videoQuality:a}),o&&i&&S.emit("videoQualityChanged",a)},syncVolumeAndMuted(e){let t=j(),n=W.getVolume(),r=P.muted;(t.volume!==n||t.isMuted!==r)&&(t.volume!==n&&r&&(W.unmute({origin:e}),r=!1),M({isMuted:r,volume:n}),S.emit("volumeChanged",{isMuted:r,origin:e,volume:n}))},unload(){return r.__awaiter(this,void 0,void 0,function*(){yield w.unload()})},unmute({origin:e}){B(),P.muted=!1,W.syncVolumeAndMuted(e)}};return W}},77471:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCreateAdFromAdSource=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47561),a=n(50454),o=e=>r.default.nonEmptyString(e)&&/^:?.*?:\/\/.+/.test(e),s=e=>i.Maybe.of(e).map(e=>e.map(({linear:e})=>e).map(i.Maybe.of).filter(e=>e.isJust()).map(e=>e.value)),l=e=>{let{collections:t,linear:n}=e,{click:r=[],tracking:i=[],icons:a=[]}=t,{icons:{icon:o=[]}={},trackingevents:{tracking:s=[]}={},videoclicks:{clicktracking:l=[]}={}}=n;return Object.assign(Object.assign({},t),{click:r.concat(l),icons:a.concat(o),tracking:i.concat(s)})},u=e=>{let{collections:t,wrapperOrInline:n}=e,{error:i=[],impression:a=[],iconExtensions:s=[]}=t,{error:l=[],impression:u=[],extensions:c={extension:[]}}=n,{extension:d=[]}=c;return Object.assign(Object.assign({},t),{error:i.concat(l).filter(({value:e}={})=>o(e)),iconExtensions:s.concat(d.filter(({iconclickfallbackimages:e})=>!r.default.nullOrUndefined(e))),impression:a.concat(u).filter(({value:e}={})=>o(e))})},c=(e,t)=>{let n=Number(e.bitrate),i=Number(t.bitrate);return r.default.number(n)&&r.default.number(i)?i-n:r.default.nullOrUndefined(e.bitrate)?1:-1},d=({adResource:e,adIndex:t,collections:n={click:[],error:[],iconExtensions:[],icons:[],impression:[],tracking:[]}},o)=>{var p,f;return i.Maybe.of(null==(f=null==(p=e.vast)?void 0:p.ad)?void 0:f[t]).toOkOrErr(Error("No vast ad found")).chain(e=>{let{inline:t,wrapper:p}=e;if(t)return(e=>{var t;let{vastAd:n,collections:a,dependencies:o}=e,{adCursor:d,adSource:p,createVideoAd:f,adBlockPreventionIsActive:h}
943=o,{inline:m,$id:g}=n,y=u({collections:a,wrapperOrInline:i.Maybe.of(m).unwrapOr({})});return s(null==(t=null==m?void 0:m.creatives)?void 0:t.creative).chain(e=>e.map(e=>{var t,n,a,o;let s=null==(n=null==(t=e.videoclicks)?void 0:t.clickthrough)?void 0:n.value,u=null==(a=e.duration)?void 0:a.value,d=(e=>{let{adBlockPreventionIsActive:t,mediafiles:n}=e;return i.Maybe.of(n).map(e=>e.filter(e=>!r.default.undefined(e)).filter(e=>["application/dash+xml","application/x-mpegURL","video/mp4","video/webm"].includes(e.$type)&&(e=>{let{mimetype:t,adBlockPreventionIsActive:n}=e;return"video/webm"!==t&&!(n&&"application/x-mpegURL"===t)})({adBlockPreventionIsActive:t,mimetype:e.$type})&&(e=>r.default.nonEmptyString(e)&&!e.includes("rtmp://"))(e.value)).map(({value:e,$type:t,$bitrate:n})=>Object.assign({mimetype:t,url:e},!r.default.nullOrUndefined(n)&&{bitrate:n})).sort(c))})({adBlockPreventionIsActive:h(),mediafiles:null==(o=e.mediafiles)?void 0:o.mediafile}),p=l({collections:y,linear:e});return d.map(e=>({clickThroughTarget:s,creativeCollections:p,durationInSec:u,videoSources:e}))}).filter(e=>e.isJust()&&r.default.nonEmptyArray(e.value.videoSources)).reduce((e,t)=>e.or(t),i.Maybe.nothing())).map(({clickThroughTarget:e,creativeCollections:t,durationInSec:n,videoSources:r})=>f({adCursor:d,adSource:p,clickThroughTarget:e,collections:t,durationInSec:n,id:g,sources:r})).map(e=>({linear:e,nonLinear:null}))})({collections:n,dependencies:o,vastAd:e}).toOkOrErr(Error(`Could not create ad without videos (VAST error ${a.iabVastErrorCode.VAST_NO_SUPPORTED_MEDIAFILE_ERROR})`));if(p){let e=(e=>{var t;let{wrapper:n,collections:r}=e,i=u({collections:r,wrapperOrInline:n});return s(null==(t=n.creatives)?void 0:t.creative).mapOr(i,e=>e.reduce((e,t)=>l({collections:e,linear:t}),i))})({collections:n,wrapper:p});return d({adIndex:0,adResource:p,collections:e},o)}return i.Result.err(Error("No inline or wrapper found"))})};t.createCreateAdFromAdSource=({createVideoAd:e,adBlockPreventionIsActive:t})=>({adSource:n,adCursor:r})=>{let{resource:i}=n,{adIndex:a}=r;return d({adIndex:a,adResource:i},{adBlockPreventionIsActive:t,adCursor:r,adSource:n,createVideoAd:e})}},77520:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(i of t.entries())if(!n.has(i[0]))return!1;for(i of t.entries())if(!e(i[1],n.get(i[0])))return!1;return!0}if(t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(i of t.entries())if(!n.has(i[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(n)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(t[i]!==n[i])return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;0!=i--;){var r,i,a,o=a[i];if(!e(t[o],n[o]))return!1}return!0}return t!=t&&n!=n}},77640:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRating6=void 0;let r=n(80263),i=n(52087);t.AgeRating6=()=>(0,r.jsxs)(i.AgeRatingIcon,Object.assign({width:20,height:20},{children:[(0,r.jsx)("path",{d:"M18 0c1.105 0 2 .895 2 2v16c0 1.105-.895 2-2 2H2c-1.105 0-2-.895-2-2V2C0 .895.895 0 2 0h16zm0 1H2c-.513 0-.936.386-.993.883L1 2v16c0 .513.386.936.883.993L2 19h16c.513 0 .936-.386.993-.883L19 18V2c0-.513-.386-.936-.883-.993L18 1z",transform:"translate(-80 -253) translate(80 253)"}),(0,r.jsx)("path",{d:"M9.995 14c.444 0 .85-.075 1.218-.224.368-.15.685-.355.95-.616.267-.261.473-.568.618-.921.146-.353.219-.733.219-1.14 0-.376-.067-.727-.202-1.053-.135-.326-.323-.612-.563-.858-.24-.245-.53-.443-.869-.592-.339-.15-.716-.236-1.131-.26L11.655 6H9.569L7.634 9.235c-.19.33-.343.648-.46.955-.116.307-.174.622-.174.944 0 .391.071.761.213 1.11.142.35.344.655.607.916.262.26.577.466.945.616.368.15.778.224 1.23.224zm0-1.554c-.19 0-.363-.036-.52-.11-.156-.072-.291-.166-.404-.281-.113-.115-.2-.25-.262-.403-.062-.154-.093-.311-.093-.472 0-.146.027-.288.082-.426.054-.138.147-.307.279-.507l.043-.08c.117-.085.25-.15.4-.196.148-.046.307-.069.475-.069.189 0 .362.035.519.104.156.069.29.163.399.282.109.119.194.255.256.408.062.154.093.311.093.472 0 .161-.03.319-.093.472-.062.154-.147.29-.256.409-.11.119-.243.215-.4.288-.156.073-.329.109-.518.109z",transform:"translate(-80 -253) translate(80 253)"})]}))},77765:(e,t,n)=>{"use strict";
943Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRatingAb18=void 0;let r=n(80263),i=n(83826);t.AgeRatingAb18=()=>(0,r.jsxs)(i.AgeRatingIcon,Object.assign({width:40,height:20},{children:[(0,r.jsx)("path",{d:"M38 0c1.105 0 2 .895 2 2v16c0 1.105-.895 2-2 2H2c-1.105 0-2-.895-2-2V2C0 .895.895 0 2 0h36zm0 1H2c-.513 0-.936.386-.993.883L1 2v16c0 .513.386.936.883.993L2 19h36c.513 0 .936-.386.993-.883L39 18V2c0-.513-.386-.936-.883-.993L38 1z",transform:"translate(-213 -373) translate(213 373)"}),(0,r.jsx)("path",{d:"M6.986 13.834l.497-1.29h3.178l.507 1.29h1.986L9.977 6.287H8.189L5 13.834h1.986zm3.057-2.88H8.1l.97-2.493.972 2.493zm7.106 3.013c.36 0 .702-.072 1.026-.215.324-.144.607-.34.85-.59.243-.25.434-.547.574-.889.14-.342.21-.712.21-1.109s-.07-.765-.21-1.103c-.14-.339-.331-.633-.574-.883-.243-.25-.526-.445-.85-.585-.324-.14-.666-.21-1.026-.21-.294 0-.561.035-.8.105-.24.07-.458.168-.657.293V6h-1.798v7.834h1.798v-.264c.199.125.418.222.657.292.239.07.506.105.8.105zm-.353-1.468c-.191 0-.38-.033-.568-.099-.188-.066-.366-.195-.536-.386v-1.677c.17-.192.348-.322.536-.392.187-.07.377-.105.568-.105.184 0 .353.035.507.105.155.07.287.165.398.287.11.121.196.26.259.419.063.158.094.33.094.513 0 .191-.031.368-.094.53-.063.162-.149.301-.26.42-.11.117-.242.21-.397.28-.154.07-.323.105-.507.105zm11.67 1.335v-1.511h-1.744V6.33h-1.114l-2.45.85v1.61l1.766-.496v4.028h-1.876v1.511h5.418zM31.95 14c.479 0 .905-.055 1.28-.166.376-.11.694-.268.955-.474.261-.206.462-.452.601-.74.14-.286.21-.606.21-.96 0-.397-.105-.75-.315-1.059-.21-.309-.505-.559-.888-.75.28-.17.497-.382.651-.64.155-.257.232-.552.232-.883 0-.316-.066-.608-.199-.877-.132-.268-.32-.497-.562-.684-.243-.188-.532-.335-.867-.441-.334-.107-.7-.16-1.098-.16-.397 0-.76.053-1.092.16-.331.106-.618.253-.86.44-.243.188-.431.417-.563.685-.133.269-.199.561-.199.877 0 .331.077.626.232.883.154.258.371.47.65.64-.374.191-.667.441-.877.75-.21.31-.314.662-.314 1.06 0 .353.068.673.204.96.136.287.335.533.596.739.261.206.577.364.949.474.371.11.796.166 1.274.166zm.003-4.634c-.309 0-.557-.09-.745-.27-.187-.181-.281-.4-.281-.657 0-.265.094-.486.281-.662.188-.177.436-.265.745-.265.31 0 .56.09.75.27.192.18.287.4.287.657s-.095.476-.286.656c-.192.18-.442.27-.75.27zm0 3.177c-.324 0-.593-.097-.806-.292-.213-.195-.32-.432-.32-.712 0-.28.105-.511.314-.695.21-.184.48-.276.812-.276.33 0 .603.092.816.276.213.184.32.416.32.695 0 .28-.107.517-.32.712-.213.195-.485.292-.816.292z",transform:"translate(-213 -373) translate(213 373)"})]}))},77972:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTitle=void 0;let r=n(75609),i=n(44539);t.createTitle=function(e,t={}){let{separator:n=" - "}=t;if((0,r.isSeriesContentResource)(e)){let{seasonNumber:t,episodeNumber:r,episodeTitle:i}=e;return void 0!==t&&void 0!==r?`S${t} F${r}${n}${i}`:i}return(0,r.isCompilationContentResource)(e)?e.compilationItemTitle:(0,r.isSportsMatchContentResource)(e)?e.sportsMatchTitle:(0,i.isContentResourceWithTitle)(e)?e.title:""}},78066:(e,t,n)=>{"use strict";n.d(t,{Ce:()=>m,GS:()=>o,HF:()=>h,W4:()=>d,my:()=>s,pO:()=>l,sp:()=>u,u4:()=>c});var r=n(85459),i=n(48641),a=n(27432);function o(e,t,n){if(!(t in e))return;let r=e[t],i=n(r);if("function"==typeof i)try{l(i,r)}catch(e){}e[t]=i}function s(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function l(e,t){let n=t.prototype||{};e.prototype=t.prototype=n,s(e,"__sentry_original__",t)}function u(e){return e.__sentry_original__}function c(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function d(e){if((0,i.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...f(e)};if(!(0,i.xH)(e))return e;{let t={type:e.type,target:p(e.target),currentTarget:p(e.currentTarget),...f(e)};return"undefined"!=typeof CustomEvent&&(0,i.tH)(e,CustomEvent)&&(t.detail=e.detail),t}}function p(e){try{return(0,i.vq)(e)?(0,r.Hd)(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function f(e){if("object"!=typeof e||null===e)return{};{let t={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}}function h(e,t=40){let n=Object.keys(d(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return(0,a.xv)(n[0],t);for(let e=n.length;e>0;e--){let r=n.slice(0,e).join(", ");
943if(!(r.length>t)){if(e===n.length)return r;return(0,a.xv)(r,t)}}return""}function m(e){return function e(t,n){if((0,i.Qd)(t)){let r=n.get(t);if(void 0!==r)return r;let i={};for(let r of(n.set(t,i),Object.keys(t)))void 0!==t[r]&&(i[r]=e(t[r],n));return i}if(Array.isArray(t)){let r=n.get(t);if(void 0!==r)return r;let i=[];return n.set(t,i),t.forEach(t=>{i.push(e(t,n))}),i}return t}(e,new Map)}},78084:function(e,t){var n,r;void 0===(r="function"==typeof(n=function(){var e=function(){},t={},n={},r={};function i(e,t){if(e){var i=r[e];if(n[e]=t,i)for(;i.length;)i[0](e,t),i.splice(0,1)}}function a(t,n){t.call&&(t={success:t}),n.length?(t.error||e)(n):(t.success||e)(t)}function o(n,r,o){var s,l;if(r&&r.trim&&(s=r),l=(s?o:r)||{},s)if(s in t)throw"LoadJS";else t[s]=!0;function u(t,r){!function(t,n,r){var i,a,o=(t=t.push?t:[t]).length,s=o,l=[];for(a=0,i=function(e,t,r){if("e"==t&&l.push(e),"b"==t)if(!r)return;else l.push(e);--o||n(l)};a<s;a++)!function t(n,r,i,a){var o,s,l=document,u=i.async,c=(i.numRetries||0)+1,d=i.before||e,p=n.replace(/[\?|#].*$/,""),f=n.replace(/^(css|img)!/,"");a=a||0,/(^css!|\.css$)/.test(p)?((s=l.createElement("link")).rel="stylesheet",s.href=f,(o="hideFocus"in s)&&s.relList&&(o=0,s.rel="preload",s.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(p)?(s=l.createElement("img")).src=f:((s=l.createElement("script")).src=n,s.async=void 0===u||u),s.onload=s.onerror=s.onbeforeload=function(e){var l=e.type[0];if(o)try{s.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l){if((a+=1)<c)return t(n,r,i,a)}else if("preload"==s.rel&&"style"==s.as)return s.rel="stylesheet";r(n,l,e.defaultPrevented)},!1!==d(n,s)&&l.head.appendChild(s)}(t[a],i,r)}(n,function(e){a(l,e),t&&a({success:t,error:r},e),i(s,e)},l)}if(l.returnPromise)return new Promise(u);u()}return o.ready=function(e,t){return!function(e,t){e=e.push?e:[e];var i,a,o,s=[],l=e.length,u=l;
943for(i=function(e,n){n.length&&s.push(e),--u||t(s)};l--;){if(o=n[a=e[l]]){i(a,o);continue}(r[a]=r[a]||[]).push(i)}}(e,function(e){a(t,e)}),o},o.done=function(e){i(e,[])},o.reset=function(){t={},n={},r={}},o.isDefined=function(e){return e in t},o})?n.apply(t,[]):n)||(e.exports=r)},78129:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createApi=void 0;let r=n(70015);t.createApi=function({actions:e}){return r.__awaiter(this,void 0,void 0,function*(){let t={destroy:e.destroy,enterFullscreen:e.enterFullscreen,exitFullscreen:e.exitFullscreen,forceSeekToStart:e.forceSeekToStart,getBoundingClientRect:e.getBoundingClientRect,getCapabilities:e.getCapabilities,getDuration:e.getDuration,getPosition:e.getPosition,getPreferredSource:e.getPreferredSource,getSeekableRange:e.getSeekableRange,getVideoQuality:e.getVideoQuality,getVolume:e.getVolume,isAirPlaySupported:!1,isBufferingControlEnabled:!1,isFullscreen:e.isFullscreen,isFullscreenModeSupported:e.isFullscreenModeSupported,isLivestream:e.isLivestream,isMuted:e.isMuted,isPictureInPictureModeSupported:!1,isPrefetchSupported:!1,loadSource:e.loadSource,mute:e.mute,off:e.off,on:e.on,pause:e.pause,play:e.play,reset:e.reset,seekEnd(){},seekTo:e.seekTo,selectAudioTrack:e.selectAudioTrack,selectSubtitle:e.selectSubtitle,setVolume:e.setVolume,unload:e.unload,unmute:e.unmute};return yield e.initialize(),t})}},78196:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Controls=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(53239),s=n(66976),l=n(37514),u=n(49061),c=n(90453),d=n(30567),p=n(37930),f=n(26869),h=(0,a.default)(d.Header)(u.absoluteStyles,{bottom:"auto",zIndex:l.modalLayer}),m=a.default.div(u.absoluteStyles,{pointerEvents:"none",top:"auto",zIndex:l.overlayLayer}),g=(0,a.default)(c.Footer)({pointerEvents:"all"}),y=(0,a.default)(p.Overlay)(u.absoluteStyles,{zIndex:l.overlayLayer});t.Controls=()=>{let{state:e}=(0,o.useContext)(s.PlayerContext);return e.error?(0,i.jsx)(h,{}):(0,i.jsxs)(o.Fragment,{children:[(0,i.jsx)(y,{}),(0,i.jsx)(h,{}),(0,i.jsx)(m,{children:(0,i.jsx)(g,{})}),(0,i.jsx)(f.PersonalIdentificationNumber,{})]})}},78235:(e,t,n)=>{"use strict";var r=n(36001).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.convertToBuffer=void 0;var i=n(76870),a=void 0!==r&&r.from?function(e){return r.from(e,"utf8")}:i.fromUtf8;t.convertToBuffer=function(e){return e instanceof Uint8Array?e:"string"==typeof e?a(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}},78492:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parentSchema=t.parentSportsCompetitionSchema=t.parentSportsStageSchema=t.parentSportsMatchSchema=t.parentMovieSchema=t.parentCompilationSchema=t.parentSeasonSchema=t.parentSeriesSchema=t.commonParentSchema=t.featureSchema=void 0;let r=n(47561),i=n(92712),a=n(70351),o=n(66054),s=n(20795),l=i.z.string().nullable().transform(r.Maybe.of);t.featureSchema=i.z.enum(["CORNER_BUG","CANT_BE_CLARIFIED","EXCLUSIVE","PRODUCT_PLACEMENT","ONLINE_EXCLUSIVE","ORIGINAL","LOTTERY_PARTNER","INFOMERCIAL"]),t.commonParentSchema=i.z.object({artLogoImage:o.imageUrlSchema,heroLandscapeImage:s.imageVibrantColorSchema,path:l,posterImage:o.imageUrlSchema}),t.parentSeriesSchema=t.commonParentSchema.extend({__typename:i.z.literal("Series"),genres:a.parentGenresSchema}).strict(),t.parentSeasonSchema=i.z.object({__typename:i.z.literal("Season"),series:t.parentSeriesSchema.optional()}).strict(),t.parentCompilationSchema=t.commonParentSchema.extend({__typename:i.z.literal("Compilation")}).strict(),t.parentMovieSchema=t.commonParentSchema.extend({__typename:i.z.literal("Movie")}).strict(),t.parentSportsMatchSchema=t.commonParentSchema.extend({__typename:i.z.literal("SportsMatch")}).strict(),t.parentSportsStageSchema=i.z.object({__typename:i.z.literal("SportsStage")}).strict(),t.parentSportsCompetitionSchema=i.z.object({__typename:i.z.literal("SportsCompetition")}).strict(),t.parentSchema=i.z.discriminatedUnion("__typename",[t.parentSeasonSchema,t.parentCompilationSchema,t.parentMovieSchema,t.parentSeriesSchema,t.parentSportsMatchSchema,t.parentSportsStageSchema,t.parentSportsCompetitionSchema])},78542:(e,t,n)=>{var r=n(16533),i=n(16421),a=n(60161),o=n(23307),s=r.extend({constructor:function(e){this._options=a.assign({cdnName:null,parsers:[],requestMethod:"HEAD",requestHeaders:{},parseType:function(){return 0}},e),this._responses={}}
943,done:function(){this.emit(s.Event.DONE)},addParser:function(e){return this._options.parsers.push(e),this},setCdnName:function(e){return this._options.cdnName=e,this},setRequestMethod:function(e){return this._options.requestMethod=e,this},setRequestHeader:function(e,t){return this._options.requestHeaders[e]=t,this},setParseType:function(e){return this._options.parseType=e,this},getParsedCdnName:function(){return this._cdnName},getParsedNodeHost:function(){return this._cdnNodeHost},getParsedNodeTypeString:function(){return this._cdnNodeTypeString},getParsedNodeType:function(){return this._cdnNodeType},getResponses:function(){return this._responses},parse:function(e,t){this._responses=t||{};var n=JSON.stringify(this._options.requestHeaders);this._responses[n]?this._parseResponse(this._responses[n]):this._requestResponse(e)},_requestResponse:function(e){var t=JSON.stringify(this._options.requestHeaders),n="{}"!==t,r=new o(e,null,null,{method:this._options.requestMethod,maxRetries:0,requestHeaders:this._options.requestHeaders,cache:!0});r.on(o.Event.SUCCESS,(function(e){this._responses[t]=e.getResponseHeaders(),this._parseResponse(this._responses[t])}).bind(this)),r.on(o.Event.ERROR,(function(t){n?(this._options.requestHeaders={},this._requestResponse(e)):this.done()}).bind(this)),r.send()},_parseResponse:function(e){this._options.parsers.forEach((function(t){if("string"==typeof t.headerName)this._parseHeaderResponse(e,t,t.headerName);else if(Array.isArray(t.headerName))for(var n=0,r=t.headerName.length;n<r;n++){var i=t.headerName[n];"string"==typeof i&&this._parseHeaderResponse(e,t,i)}}).bind(this)),this.done()},_parseHeaderResponse:function(e,t,n){n&&(n=n?n.toLowerCase():"",e.split("\n").forEach((function(e){var r=e.indexOf(":");-1!==r&&e.slice(0,r).toLowerCase()===n&&this._executeParser(t,e.slice(r+1))}).bind(this)))},_executeParser:function(e,t){try{var n=e.regex.exec(t.trim());if(null!==n)switch(this._options.cdnName&&(this._cdnName=this._options.cdnName),e.element){case s.ElementType.HOST:this._cdnNodeHost=n[1];break;case s.ElementType.TYPE:this._cdnNodeTypeString=n[1],this._cdnNodeType=this._options.parseType(this._cdnNodeTypeString);break;case s.ElementType.HOST_AND_TYPE:this._cdnNodeHost=n[1],this._cdnNodeTypeString=n[2],this._cdnNodeType=this._options.parseType(this._cdnNodeTypeString);break;case s.ElementType.TYPE_AND_HOST:this._cdnNodeTypeString=n[1],this._cdnNodeType=this._options.parseType(this._cdnNodeTypeString),this._cdnNodeHost=n[2];break;case s.ElementType.NAME:this._cdnName=n[1].toUpperCase()}}catch(e){i.warn("CDN parsing for "+this._options.cdnName+" could not parse header value "+t)}},shouldExecute:function(){return!0}},{Event:{DONE:"done"},ElementType:{HOST:"host",TYPE:"type",HOST_AND_TYPE:"host+type",TYPE_AND_HOST:"type+host",NAME:"name"},_cdnConfigs:{},setBalancerHeaderName:function(e,t){s._cdnConfigs.Balancer.parsers[0].headerName=e,s._cdnConfigs.Balancer.parsers[1].headerName=t},create:function(e){if(s._cdnConfigs[e])return new s(s._cdnConfigs[e]);i.warn("Tried to create an unexisting CdnParser named "+e)},add:function(e,t){s._cdnConfigs[e]=t}});s.add("Level3",n(92575)),s.add("Cloudfront",n(51876)),s.add("Akamai",n(12188)),s.add("Highwinds",n(31735)),s.add("Fastly",n(70293)),s.add("Telefonica",n(39730)),s.add("Amazon",n(21032)),s.add("Edgecast",n(45490)),s.add("Balancer",n(97642)),s.add("NosOtt",n(59089)),e.exports=s},78643:(e,t)=>
943{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.webArtLogoSmall=void 0,t.webArtLogoSmall="nextgen-web-artlogo-183x75"},78664:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetUtmParametersApi=void 0;let r=n(70015),i=n(47561),a=n(29013);t.createGetUtmParametersApi=({getClientUtmParameters:e})=>{let t=e=>r.__awaiter(void 0,void 0,void 0,function*(){try{let t=yield e(),n=a.utmParametersSchema.safeParse(t);return n.success?i.Result.ok(n.data):i.Result.err(n.error)}catch(e){return i.Result.err(Error(`Could not fetch UTM Parameters from client: ${e.message}`))}});return{getUtmParameters:()=>r.__awaiter(void 0,void 0,void 0,function*(){return e.match({Just:t,Nothing:()=>r.__awaiter(void 0,void 0,void 0,function*(){return i.Result.err(Error("getClientUtmParameters not implemented"))})})})}}},78710:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SubtitleAndAudioTracksButton=void 0;let r=n(80263),i=n(53239),a=n(66976),o=n(21541),s=n(19630),l=n(81161),u=n(62313);t.SubtitleAndAudioTracksButton=()=>{let{state:e,actions:t}=(0,i.useContext)(a.PlayerContext),{isAd:n,tracksSelection:c}=e;return n||!c.mustShowButton?null:(0,r.jsx)(l.DetailsWidget,Object.assign({open:c.mustShowMenu,onMouseEnter:t.showTracksSelectionMenu,onMouseLeave:t.hideTracksSelectionMenu,summaryContent:(0,r.jsx)(s.ControlButton,{icon:o.TracksIcon,label:"Spuren"})},{children:(0,r.jsx)(u.SubtitleAndAudioTracksMenu,{tracksSelection:c,onAudioTrackChange:e=>{t.selectAudioTrack({id:e})},onSubtitleChange:e=>{t.selectSubtitle({id:e})}})}))}},78786:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetYieldlabUserId=void 0;let r=n(70015),i=n(47561),a=n(92712),o=a.z.object({uid:a.z.string()});t.createGetYieldlabUserId=(e,t)=>{let{httpClient:n}=e,{url:a}=t;return e=>r.__awaiter(void 0,void 0,void 0,function*(){let t=e.mapOr(void 0,e=>({consent:e}));try{let e=yield n.get({options:Object.assign({credentials:"include"},t&&{searchParams:t}),uri:a}),r=o.safeParse(e);if(r.success)return i.Result.ok(r.data.uid);return i.Result.err(r.error)}catch(e){return i.Result.err(e)}})}},78851:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLoadWithAdProxy=void 0;let r=n(70015),i=n(59700),a=n(30843);t.createLoadWithAdProxy=function(e,t){return function(n,o){return r.__awaiter(this,void 0,void 0,function*(){try{return yield t(e(n),{withCredentials:!0})}catch(t){let e=(0,i.isTimeoutError)(t)?"timeout":t.message;throw new a.AdError(`Could not resolve ${o} url with ad block prevention: ${e}`,"could_not_resolve_with_ad_block_prevention","ad_blocked")}})}}},79030:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(50614),i=n(58406),a=n(76870),o=n(36865);function s(e){return"string"==typeof e?(0,a.fromUtf8)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}t.Sha256=function(){function e(e){this.secret=e,this.reset()}return e.prototype.update=function(e){var t=this;(0,r.isEmptyData)(e)||(this.operation=this.operation.then(function(n){return n.onerror=function(){t.operation=Promise.reject(Error("Error encountered updating hash"))},n.process(s(e)),n}),this.operation.catch(function(){}))},e.prototype.digest=function(){return this.operation.then(function(e){return new Promise(function(t,n){e.onerror=function(){n(Error("Error encountered finalizing hash"))},e.oncomplete=function(){e.result&&t(new Uint8Array(e.result)),n(Error("Error encountered finalizing hash"))},e.finish()})})},e.prototype.reset=function(){var e;this.secret?(this.operation=(e=this.secret,new Promise(function(t,n){var r=(0,o.locateWindow)().msCrypto.subtle.importKey("raw",s(e),i.SHA_256_HMAC_ALGO,!1,["sign"]);r.oncomplete=function(){r.result&&t(r.result),n(Error("ImportKey completed without importing key."))},r.onerror=function(){n(Error("ImportKey failed to import key."))}})).then(function(e){return(0,o.locateWindow)().msCrypto.subtle.sign(i.SHA_256_HMAC_ALGO,e)}),this.operation.catch(function(){}
943)):this.operation=Promise.resolve((0,o.locateWindow)().msCrypto.subtle.digest("SHA-256"))},e}()},79269:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAdCursorWithIndex=t.adRollName=void 0;let r=n(70015).__importDefault(n(19577)),i=n(92712);t.adRollName=i.z.union([i.z.literal("midroll"),i.z.literal("overlay"),i.z.literal("postroll"),i.z.literal("preroll")]),t.isAdCursorWithIndex=e=>r.default.number(e.adIndex)&&r.default.number(e.adScheduleTimeOffsetIndex)},79285:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapCompilationItemContentResourceToLegacyContentResource=t.mapCompilationItemOnDemandChannelContentResourceToLegacyContentResource=t.buildContentResourcesForCompilationItem=t.buildContentResourceForCompilationItemInOnDemandChannel=void 0;let r=n(47561),i=n(50160),a=n(42070),o=n(29241),s=n(41639),l=n(14402),u=n(6904);function c(e){let t=e.compilation.andThen(e=>(0,o.featureCheck)(i.FeatureType.CornerBug,e.features)).or(r.Maybe.just(!1));return{ageRating:(0,s.minimumAgeFromAgeRating)(e),ageRatingDescriptors:(0,s.descriptorFromAgeDescriptor)(e),brandLogo:e.compilation.andThen(a.brandLogoFromBrands),brandName:e.compilation.andThen(a.brandNameFromBrands),compilationItemPath:e.path,compilationItemTitle:e.title,compilationTitle:e.compilation.map(e=>e.title),contentType:"compilation-item",externalTrackingId:(0,u.externalTrackingIdFromTracking)(e),genres:(0,u.genresFromTracking)(e),hasCornerBug:t,hasProductPlacement:e.productPlacement,id:e.video.id,infOnlineCode:(0,u.infOnlineCodeFromTracking)(e),licenseTypes:e.licenseTypes,poster:e.posterImage.map(e=>e.url),primaryColor:e.compilation.andThen(e=>e.heroLandscapeImage).map(e=>e.vibrantColor),thumbnail:e.thumbnailImage.map(e=>e.url),titleImage:e.compilation.andThen(e=>e.artLogoImage).map(e=>e.url),tvShowId:e.compilation.map(e=>e.id)}}function d(e){return Object.assign(Object.assign({},c(e)),{playbackStartPosition:(0,l.determinePlaybackStartPosition)(e.resumePosition)})}function p(e){return{ageRating:e.ageRating.unwrapOr(void 0),ageRatingDescriptors:e.ageRatingDescriptors.unwrapOr(void 0),brandLogo:e.brandLogo.unwrapOr(void 0),brandName:e.brandName.unwrapOr(""),compilationItemTitle:e.compilationItemTitle,compilationTitle:e.compilationTitle.unwrapOr(""),contentType:"compilation",externalTrackingId:e.externalTrackingId.unwrapOr(""),genres:e.genres,hasCornerBug:e.hasCornerBug.unwrapOr(!1),hasProductPlacement:e.hasProductPlacement.unwrapOr(void 0),id:e.id,infOnlineCode:e.infOnlineCode.unwrapOr(""),licenseTypes:e.licenseTypes,poster:e.poster.unwrapOr(void 0),primaryColor:e.primaryColor.unwrapOr(void 0),thumbnail:e.thumbnail.unwrapOr(void 0),titleImage:e.titleImage.unwrapOr(void 0),tvShowId:e.tvShowId.unwrapOr("")}}t.buildContentResourceForCompilationItemInOnDemandChannel=c,t.buildContentResourcesForCompilationItem=function(e){let{compilationItem:t}=e,n=[d(t)];return t.nextCompilationItem.mapOr(n,e=>{let t=[...n,d(e)];return e.nextCompilationItem.mapOr(t,e=>[...t,d(e)])})},t.mapCompilationItemOnDemandChannelContentResourceToLegacyContentResource=p,t.mapCompilationItemContentResourceToLegacyContentResource=function(e){return Object.assign(Object.assign({},p(e)),{playbackStartPosition:e.playbackStartPosition})}},79293:(e,t)=>
943{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){let r=0,i=e.length;for(;i>0;){let a=i/2|0,o=r+a;0>=n(e[o],t)?(r=++o,i-=a+1):i=a}return r}},79324:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetAdClientInformation=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47561),a=n(41701),o=n(72678),s=n(75404),l=n(92320),u=n(42034),c=n(78786);t.createGetAdClientInformation=(e,t)=>{let{cmp:n,__tcfapi:d}=globalThis,p=i.Maybe.of(globalThis.getNetId),f=i.Maybe.of(globalThis.getSevenPassHashedId),h=i.Maybe.just(()=>{var e;return null!=(e=localStorage.getItem("netid_utiq_adtechpass"))?e:void 0}),{errorReporter:m,getTheAdexUserId:g,httpClient:y,localStorage:v,toggleRouter:b}=e,{logLevel:_,yieldlabUserIdApiUrl:S}=t,E=(0,o.createLogger)(["player","adclientinformation"],_),k=(0,u.createPublisherProvidedIdProvider)({createUuid:a.v4,localStorage:v,logger:E}),A=r.default.urlString(S)?(0,c.createGetYieldlabUserId)({httpClient:y},{url:S}):void 0;return(0,s.createGetAdClientInformationApi)({consentManagement:n,errorReporter:m,getAdTechPassUserId:h,getLiverampEnvelopes:l.getLiverampEnvelopes,getNetId:p,getSevenPassHashedId:f,getTheAdexUserId:g,getYieldlabUserId:A,logger:E,publisherProvidedUserIdProvider:k,toggleRouter:b,transparencyConsentApi:d})}},79449:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.COMPILATION_ITEM_GRAPHQL_QUERY_DOCUMENT=void 0;let r=n(42049);t.COMPILATION_ITEM_GRAPHQL_QUERY_DOCUMENT=(0,r.gql)` 944 query CompilationItem($id: ID!) { 945 compilationItem(id: $id) { 946 __typename 947 title 948 ageRating { 949 descriptorsText 950 minAge 951 } 952 licenseTypes 953 path 954 productPlacement 955 thumbnailImage: image(type: PRIMARY) { 956 url(profile: "nextgen-web-episodestillplayer-693x390") 957 } 958 tracking { 959 agofCode 960 externalAssetId 961 genres 962 } 963 video { 964 id 965 } 966 compilation { 967 artLogoImage: image(type: ART_LOGO) { 968 url(profile: "nextgen-web-artlogo-300x123") 969 } 970 brands { 971 logo { 972 url(profile: "nextgen-web-artlogo-183x75") 973 } 974 title 975 } 976 features 977 heroLandscapeImage: image(type: HERO_LANDSCAPE) { 978 vibrantColor: accentColor(type: DARK_VIBRANT) 979 } 980 id 981 title 982 } 983 posterImage: image(type: PRIMARY) { 984 url(profile: "nextgen-web-primarycut-1920x1080") 985 } 986 resumePosition { 987 position 988 watchedPercentage 989 } 990 nextCompilationItem { 991 __typename 992 title 993 ageRating { 994 descriptorsText 995 minAge 996 } 997 licenseTypes 998 path 999 productPlacement 1000 thumbnailImage: image(type: PRIMARY) { 1001 url(profile: "nextgen-web-episodestillplayer-693x390") 1002 } 1003 tracking { 1004 agofCode 1005 externalAssetId 1006 genres 1007 } 1008 video { 1009 id 1010 } 1011 compilation { 1012 artLogoImage: image(type: ART_LOGO) { 1013 url(profile: "nextgen-web-artlogo-300x123") 1014 } 1015 brands { 1016 logo { 1017 url(profile: "nextgen-web-artlogo-183x75") 1018 } 1019 title 1020 } 1021 features 1022 heroLandscapeImage: image(type: HERO_LANDSCAPE) { 1023 vibrantColor: accentColor(type: DARK_VIBRANT) 1024 } 1025 id 1026 title 1027 } 1028 posterImage: image(type: PRIMARY) { 1029 url(profile: "nextgen-web-primarycut-1920x1080") 1030 } 1031 resumePosition { 1032 position 1033 watchedPercentage 1034 } 1035 nextCompilationItem { 1036 __typename 1037 title 1038 ageRating { 1039 descriptorsText 1040 minAge 1041 } 1042 licenseTypes 1043 path 1044 productPlacement 1045 thumbnailImage: image(type: PRIMARY) { 1046 url(profile: "nextgen-web-episodestillplayer-693x390") 1047 } 1048 tracking { 1049 agofCode 1050 externalAssetId 1051 genres 1052 } 1053 video { 1054 id 1055 } 1056 compilation {
1057 artLogoImage: image(type: ART_LOGO) { 1058 url(profile: "nextgen-web-artlogo-300x123") 1059 } 1060 brands { 1061 logo { 1062 url(profile: "nextgen-web-artlogo-183x75") 1063 } 1064 title 1065 } 1066 features 1067 heroLandscapeImage: image(type: HERO_LANDSCAPE) { 1068 vibrantColor: accentColor(type: DARK_VIBRANT) 1069 } 1070 id 1071 title 1072 } 1073 posterImage: image(type: PRIMARY) { 1074 url(profile: "nextgen-web-primarycut-1920x1080") 1075 } 1076 resumePosition { 1077 position 1078 watchedPercentage 1079 } 1080 } 1081 } 1082 } 1083 } 1084`},79784:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createYouboraTrackingProvider=void 0;let r=n(70015),i=r.__importDefault(n(95269)),a=n(72839),o=n(72678),s=n(4658),l=n(98943),u=n(48400),c=n(66243),d=n(17538),p=n(10877),f=n(11906),h=n(57821),m=(0,o.createLogger)(["youbora-tracking"]),g=(0,s.createLifecycleTrackerFactory)({logger:m.createChildLogger(["lifecycle-tracker"])}),y=(0,d.createYouboraSdkWrapper)({youbora:i.default}),v=(0,l.createYouboraClientFactory)({createAdsAdapter:u.createAdsAdapter,createPlaybackAdapter:c.createPlaybackAdapter,createYouboraStateContainer:p.createYouboraStateContainer,youboraSdkWrapper:y});t.createYouboraTrackingProvider=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){return g((yield(0,h.createYouboraLifecycleTracker)(Object.assign(Object.assign({},e),{createYouboraClient:v,getSlotTypeFromProfile:a.getSlotTypeFromProfile,reportYouboraEvent:f.reportYouboraEvent}),t)))})}},79793:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(44372)),i=o(n(18164)),a=n(31527);function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t,n){if(r.default.randomUUID&&!t&&!e)return r.default.randomUUID();let o=(e=e||{}).random||(e.rng||i.default)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=o[e];return t}return(0,a.unsafeStringify)(o)}},79837:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetchAndBuildContentResourcesForSeriesEpisode=void 0;let r=n(70015),i=n(62300);t.createFetchAndBuildContentResourcesForSeriesEpisode=function(e,t){let{buildContentResourcesForSeriesEpisode:n,fetchSeriesEpisode:a,graphqlClient:o}=e,{graphqlEndpoint:s,graphqlServiceApiKey:l}=t;return function(e){return r.__awaiter(this,void 0,void 0,function*(){let{episodeId:t,initialFetch:r,userState:u,userToken:c}=e,d=n((yield a({graphqlClient:o},{episodeId:t,graphqlEndpoint:s,graphqlServiceApiKey:l,userState:u,userToken:c})));return r?d:(0,i.hasExactlyThreeElements)(d)?[d[2]]:[]})}}},80216:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChannelProgram=void 0;let r=n(70015),i=n(80263),a=n(53239),o=r.__importDefault(n(28909)),s=n(52625),l=o.default.ol({display:"flex",flex:1,listStyleType:"none",margin:"0 0 0 2px",padding:0});t.ChannelProgram=e=>{let{program:t}=e,n=r.__rest(e,["program"]);return(0,i.jsx)(l,{children:t.map((e,t)=>(function(e,t,n){let r=t.remainingDuration.value/10800*100,{darkVibrantColor:i,vibrantColor:o,channelId:l,channelType:u,selected:c,selectedPlaylistChildIndex:d,switchChannel:p,switchChannelEntry:f,onAir:h,playlistIndex:m}=e;return(0,a.createElement)(s.ProgramEntry,Object.assign({},t,{darkVibrantColor:i,vibrantColor:o,channelId:l,channelType:u,key:`${t.airTimeRange.start.value}-${n} `,playlistChildIndex:t.childIndex.unwrapOr(null),selected:c,selectedPlaylistChildIndex:d,switchChannel:p,switchChannelEntry:f,width:`${r.toFixed(2)}%`,playlistIndex:m,onAir:h}))})(n,e,t))})}},80300:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPlaylistService=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47561);function a(e){let{childItemIndex:t,childPlaylistLength:n}=e;return r.default.number(t)&&r.default.number(n)}t.createPlaylistService=function(e){let{dispatch:t}=e,n={childIndex:i.Maybe.nothing(),index:i.Maybe.nothing()},r=[],o=i.Maybe.nothing();function s(e,o){let s=i.Maybe.equals(n.index,e.index),l=i.Maybe.equals(n.childIndex,e.childIndex);if(s&&l&&n.childIndex.isJust()&&"user"===o.origin)return t("playlist:pointerRe
1084selected",{origin:o.origin,playlistLength:r.length,playlistPointer:e}),i.Result.ok();if(function(e){let{index:t,childIndex:n}=e;return t.mapOr(!1,e=>i.Maybe.of(r[e]).mapOr(!1,e=>!!n.isNothing()||!!(a(e)&&n.isJust())&&n.value>=0&&n.value<e.childPlaylistLength))}(e)){let{index:s,childIndex:l}=e;n.index=s;let u=i.Maybe.of(r[s.value]);return n.childIndex=l.isNothing()&&u.isJust()&&a(u.value)?i.Maybe.of(u.value.childItemIndex):l,t("playlist:pointerChanged",{origin:o.origin,playlistLength:r.length,playlistPointer:e}),i.Result.ok()}return i.Result.err("playlist-pointer-out-of-bounds")}return{addPlaylistItem(e){r.push(e)},findPlaylistPointer(e){let t=r.findIndex(({id:t})=>t===e.id),n=i.Maybe.of(r[t]);return -1===t?{childIndex:i.Maybe.nothing(),index:i.Maybe.nothing()}:{childIndex:n.isJust()&&a(n.value)?i.Maybe.just(0):i.Maybe.nothing(),index:i.Maybe.just(t)}},getSelfManagedPlaylistOptions:()=>o,nextPlaylistPointer:function(e){let o=r.length,{childIndex:l,index:u}=n,c=i.Maybe.of(r[u.unwrapOr(0)]);if(0===o)return i.Result.err("empty-playlist");if(c.isJust()&&l.isJust()&&a(c.value)){let{childPlaylistLength:n}=c.value,r=l.value+1;if(r<n)return s({childIndex:i.Maybe.of(r),index:u},e);t("playlist:childPlaylistEnd",{playlistLength:o,playlistPointer:{childIndex:l,index:u}})}let d=r.length,{index:p}=n;return p.match({Just(o){let l=o+1,u=i.Maybe.of(r[l]),c=u.isJust()&&a(u.value)?i.Maybe.just(u.value.childItemIndex):i.Maybe.nothing();return l<d?s({childIndex:c,index:i.Maybe.of(l)},e):(t("playlist:end",{playlistLength:d,playlistPointer:{childIndex:n.childIndex,index:i.Maybe.of(o)}}),i.Result.ok())},Nothing:()=>i.Result.err("no-playlist-pointer-set")})},get playlist(){return r},get playlistPointer(){return n},reset(){n.index=i.Maybe.nothing(),n.childIndex=i.Maybe.nothing(),r=[]},setPlaylistPointer:s,setSelfManagedPlaylistOptions(e){o=i.Maybe.just(e)}}}},80353:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCapabilitiesResolver=void 0;let r=n(70015),i=n(62300),a=n(40890),o=n(62581),s=["fairplay","widevine","playready"];t.createCapabilitiesResolver=function(e){let{probeSupport:t}=e,n=null;function l(){return r.__awaiter(this,void 0,void 0,function*(){return null===n&&(n=function(){return r.__awaiter(this,void 0,void 0,function*(){let e=yield t();return{drmTypes:(0,o.extractSupportedDrmTypes)(e),mimeTypes:(0,o.extractSupportedMimeTypes)(e)}})}()),n})}return{getDesiredCapabilities(){return r.__awaiter(this,void 0,void 0,function*(){let e,{drmTypes:t}=yield l();return(0,i.isNonEmptyArray)(t)&&(e=(0,a.selectByPreferences)(t,s)),{drmType:e,streamingFormat:"fairplay"===e?"hls":"dash"}})},getSupportedCapabilities:l}}},80428:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.threeSeriesEpisodesGraphQlQuerySchema=t.seriesEpisodeOnDemandChannelSchema=t.seriesEpisodeWithTitleOnlySchema=void 0;let r=n(47561),i=n(92712),a=n(29414),o=n(493),s=n(78492),l=n(16002),u=n(66054),c=n(20795),d=n(26349),p=n(65317),f=n(76700),h=n(62854),m=n(7930),g=n(9334),y=n(91367),v=n(16104),b=i.z.object({number:i.z.number().nonnegative().nullable().transform(r.Maybe.of)}).strict().nullable().transform(r.Maybe.of),_=i.z.object({artLogoImage:u.imageUrlSchema,brands:o.brandsSchema,features:i.z.array(s.featureSchema).nullable().transform(r.Maybe.of),heroLandscapeImage:c.imageVibrantColorSchema,id:l.idSchema,title:i.z.string()}).strict().nullable().transform(r.Maybe.of);t.seriesEpisodeWithTitleOnlySchema=i.z.object({__typename:i.z.literal("Episode"),title:i.z.string()}).strict();let S=t.seriesEpisodeWithTitleOnlySchema.extend({ageRating:p.ageRatingSchema,brands:o.brandsSchema,cast:i.z.array(a.actorSchema).nullable().transform(r.Maybe.of),description:i.z.string().nullable().transform(r.Maybe.of),id:l.idSchema,licenseTypes:d.licenseTypesSchema,number:i.z.number().nonnegative().nullable().transform(r.Maybe.of),path:f.pathSchema,posterImage:u.imageUrlSchema,productPlacement:h.productPlacementSchema,resumePosition:m.resumePositionSchema,season:b,series:_,thumbnailImage:u.imageUrlSchema,tracking:g.trackingSchema,video:v.videoSchema,videoDescriptors:i.z.array(y.videoDescriptorsSchema).nullable().transform(r.Maybe.of)}).strict();t.seriesEpisodeOnDemandChannelSchema=S.omit({resumePosition:!0}).strict();
1084let E=S.merge(i.z.object({nextEpisode:S.merge(i.z.object({nextEpisode:S.nullable().transform(r.Maybe.of)}).strict()).nullable().transform(r.Maybe.of)}).strict());t.threeSeriesEpisodesGraphQlQuerySchema=i.z.object({episode:E}).strict()},80576:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFallbackProgramEntry=void 0;let r=n(47561),i=n(67608);t.createFallbackProgramEntry=function(e,t){return{airTimeRange:{end:i.seconds.of(i.seconds.unbox(e)+3600),start:e},childIndex:r.Maybe.nothing(),duration:i.seconds.of(3600),elapsedDurationPercentage:Math.round(100/3600*(i.seconds.unbox(t)-i.seconds.unbox(e))),informationAvailable:!1,isCurrentlyRunning:!0,isInThePast:!1,remainingDuration:i.seconds.of(3600)}}},80596:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SkipAdButton=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(53239),s=n(66976),l=n(16907),u=n(1036),c=a.default.button({all:"unset"},({theme:e,isSkipOffsetReached:t})=>Object.assign(Object.assign({},t&&{":hover":{transform:"scale(1.2)"}}),{alignItems:"center",backgroundColor:e.color.black,borderRadius:e.border.radius,bottom:"100%",columnGap:e.spacing.smaller,cursor:t?"pointer":"default",display:"flex",fontFamily:e.fontFamilyBold,fontSize:e.fontSize.normal,fontWeight:e.fontWeight.bold,height:e.iconsSize.medium,marginBottom:e.spacing.smaller,opacity:t?e.opacity.decent:e.opacity.little,paddingBottom:e.spacing.smaller,paddingLeft:e.spacing.small,paddingRight:e.spacing.small,paddingTop:e.spacing.smaller,position:"absolute"})),d=a.default.span({});t.SkipAdButton=()=>{let{state:e,actions:t}=(0,o.useContext)(s.PlayerContext),{isAd:n,isAdSkipOffsetReached:r,isAdSkippable:a}=e;return n&&a?(0,i.jsxs)(c,Object.assign({isSkipOffsetReached:r,type:"button",onClick:()=>{t.skipAd()},title:"\xdcberspringen","aria-label":"\xdcberspringen"},{children:[r?(0,i.jsx)(l.SkipNextIcon,{}):(0,i.jsx)(u.TimeIcon,{}),(0,i.jsx)(d,{children:"\xdcberspringen"})]})):null}},80697:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadUserSettings=void 0,t.loadUserSettings=({playbackService:e,userSettings:t})=>{let{volume:n,isMuted:r}=t.load();n.isJust()&&e.setVolume(n.value,{origin:"api"}),r.isJust()&&(r.value?e.mute({origin:"api"}):e.unmute({origin:"api"}))}},80750:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.getParsedType=t.ZodParsedType=t.objectUtil=t.util=void 0,function(e){e.assertEqual=e=>e,e.assertIs=function(e){},e.assertNever=function(e){throw Error()},e.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},e.getValidEnumValues=t=>{let n=e.objectKeys(t).filter(e=>"number"!=typeof t[t[e]]),r={};for(let e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(let n of e)if(t(n))return n},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(n=t.util||(t.util={})),(t.objectUtil||(t.objectUtil={})).mergeShapes=(e,t)=>({...e,...t}),t.ZodParsedType=n.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),t.getParsedType=e=>{switch(typeof e){case"undefined":return t.ZodParsedType.undefined;case"string":return t.ZodParsedType.string;case"number":return isNaN(e)?t.ZodParsedType.nan:t.ZodParsedType.number;case"boolean":return t.ZodParsedType.boolean;case"function":return t.ZodParsedType.function;case"bigint":return t.ZodParsedType.bigint;case"symbol":return t.ZodParsedType.symbol;case"object":if(Array.isArray(e))return t.ZodParsedType.array;if(null===e)return t.ZodParsedType.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return t.ZodParsedType.promise;if("undefined"!=typeof Map&&e instanceof Map)return t.ZodParsedType.map;if("undefined"!=typeof Set&&e instanceof Set)return t.ZodParsedType.set;if("undefined"!=typeof Date&&e instanceof Date)return t.ZodParsedType.date;return t.ZodParsedType.object;default:return t.ZodParsedType.unknown}}},81061:(e,t)=>{"use strict";
1084Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_GUARD_TYPE="xstate.guard",t.EMPTY_ACTIVITY_MAP={},t.STATE_DELIMITER=".",t.TARGETLESS_KEY=""},81161:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DetailsWidget=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(19577)),s=n(53239),l=a.default.summary({"::-webkit-details-marker":{display:"none"},cursor:"pointer",listStyle:"none"});t.DetailsWidget=e=>{let t=(0,s.useRef)(null);return(0,i.jsxs)("details",Object.assign({className:e.className,open:e.open,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,"aria-label":e.ariaLabel},{children:[(0,i.jsx)(l,Object.assign({ref:t},{children:e.summaryContent})),o.default.function_(e.children)?e.children(t):e.children]}))}},81621:e=>{"use strict";e.exports=(e,t)=>(t=t||(()=>{}),e.then(e=>new Promise(e=>{e(t())}).then(()=>e),e=>new Promise(e=>{e(t())}).then(()=>{throw e})))},81727:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElectronicProgramGuideButton=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(53239),s=n(66976),l=n(95845),u=n(97403),c=(0,a.default)(u.IconButton)({marginLeft:"24px"});t.ElectronicProgramGuideButton=()=>{var e,t;let{state:n,actions:r}=(0,o.useContext)(s.PlayerContext),{playlist:a,playlistIndex:u,mustShowElectronicProgramGuideButton:d}=n;if(null===u||(null==(e=a[u])?void 0:e.contentType)!=="live"&&(null==(t=a[u])?void 0:t.contentType)!=="live-on-demand"||!d)return null;let p="Programm";return(0,i.jsx)(c,{icon:l.ChannelsIcon,iconSize:"28px",label:p,"aria-label":p,onClick:r.showElectronicProgramGuide})}},82012:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateDuration=void 0;let r=n(47561),i=n(92712).z.number().positive();t.validateDuration=function(e){let t=i.safeParse(e);return t.success?r.Result.ok(r.Maybe.just(t.data)):t.error.issues.some(e=>"too_small"===e.code)?r.Result.err("Number must be greater than 0"):r.Result.ok(r.Maybe.nothing())}},82137:(e,t,n)=>{"use strict";n.d(t,{ap:()=>o,m7:()=>s,vm:()=>a});var r=n(98653);let i=(0,n(33184).VZ)();function a(){if(!("fetch"in i))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function o(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function s(){if(!a())return!1;if(o(i.fetch))return!0;let e=!1,t=i.document;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");
1084n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=o(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}},82486:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__assign=function(){return t.__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},t.__assign.apply(this,arguments)},t.__read=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o},t.__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},t.__spreadArray=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},t.__values=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}}
1084,82504:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VastNetworkError=void 0;let r=n(50454);class i extends Error{constructor(e,t,n=null){super(e),this.message=e,this.code=451===t.status?r.iabVastErrorCode.VAST_NETWORK_ERROR_CONSENT_CUSTOM:r.iabVastErrorCode.VAST_NETWORK_ERROR,this.vastUrl=n,this.fetchError=t,this.type=451===t.status?"ad_no_consent":"ad_network_error"}}t.VastNetworkError=i},82609:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IS_PRODUCTION=!0},82747:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createViewabilityObserverApi=void 0,t.createViewabilityObserverApi=(e,t)=>{let n,r,{domNode:i,threshold:a}=t,o=1;return{observe(t){(n=new e.IntersectionObserver(e=>{e.forEach(({intersectionRatio:e})=>{o=e,t({isVisible:e>0,ratio:e})})},{root:null,rootMargin:"0px",threshold:a})).observe(i),r=()=>{let n="visible"===e.document.visibilityState;t({isVisible:n,ratio:n?o:0})},e.document.addEventListener("visibilitychange",r,!1)},unobserve(){r&&e.document.removeEventListener("visibilitychange",r),null==n||n.unobserve(i)}}}},82762:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JumpBackIcon=void 0;let r=n(80263),i=n(83947);t.JumpBackIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M5.702 8.972c-.013.023-.013.049-.024.073l-1.111-.409c-.32-.118-.636.149-.554.474l.977 3.947c.073.3.438.435.687.254L8.9 10.913c.268-.197.194-.608-.127-.726l-1.217-.449C8.99 7.431 11.497 6 14.187 6c4.328 0 7.85 3.589 7.85 8s-3.522 8-7.85 8c-2.784 0-5.386-1.524-6.788-3.979a.974.974 0 0 0-1.343-.361 1.01 1.01 0 0 0-.354 1.367C7.456 22.095 10.707 24 14.187 24 19.597 24 24 19.514 24 14S19.598 4 14.187 4c-3.48 0-6.731 1.905-8.485 4.972z M13.73 16.434H10.5v-.56h1.328v-3.53l-1.25.413v-.582l1.54-.569h.384v4.268h1.228v.56zm2.436-4.934c.336 0 .635.063.898.188.263.126.484.3.664.522.18.222.317.488.412.795.094.308.142.646.142 1.015 0 .37-.048.708-.142 1.016a2.347 2.347 0 0 1-.412.795c-.18.222-.401.396-.664.522a2.06 2.06 0 0 1-.898.188c-.336 0-.634-.063-.895-.188-.26-.126-.481-.3-.664-.522a2.312 2.312 0 0 1-.415-.795 3.44 3.44 0 0 1-.142-1.015c0-.37.047-.708.142-1.016.095-.307.233-.573.415-.795.183-.222.404-.396.664-.522.26-.125.559-.188.895-.188zm0 4.43c.232 0 .438-.047.617-.142.18-.094.33-.227.451-.397s.212-.373.274-.607c.061-.235.092-.489.092-.764 0-.274-.03-.528-.092-.763a1.855 1.855 0 0 0-.274-.607 1.273 1.273 0 0 0-.45-.397 1.306 1.306 0 0 0-.618-.142c-.237 0-.444.047-.621.142a1.283 1.283 0 0 0-.448.397c-.12.17-.212.373-.273.607a2.998 2.998 0 0 0-.092.764c0 .274.03.528.092.763.061.234.153.436.273.607.121.17.27.303.448.397.177.095.384.142.62.142z"})}))},82777:(e,t,n)=>{"use strict";n.d(t,{$X:()=>s,GR:()=>c,M6:()=>u,eJ:()=>a,gO:()=>l,k9:()=>d});var r=n(78066),i=n(33184);function a(){let e=i.OW,t=e.crypto||e.msCrypto;if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");let n=t&&t.getRandomValues?()=>t.getRandomValues(new Uint8Array(1))[0]:()=>16*Math.random();return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&n())>>e/4).toString(16))}function o(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function s(e){let{message:t,event_id:n}=e;if(t)return t;let r=o(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function l(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||(a.value=t||""),a.type||(a.type=n||"Error")}function u(e,t){let n=o(e);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){let e={...r&&r.data,...t.data};n.mechanism.data=e}}function c(e){if(e&&e.__sentry_captured__)return!0;try{(0,r.my)(e,"__sentry_captured__",!0)}catch(e){}return!1}function d(e){return Array.isArray(e)?e:[e]}},82799:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildQuery=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(92712);function o(e){let[t,n]=e,{value:r,serialize:i=!0}=n,a=i?JSON.stringify(r):Array.isArray(r)?`[${r.join(",")}]`:r;return`${t}: ${a}`}function s(e,t,n,r){let{aliases:i,params:a}=t;return Array.from(e.entries(),([e,t])=>
1084{let o=r({aliases:i,params:a,zodSchema:t},n);return`... on ${t.shape.__typename._def.value} ${o}`}).join(" ")}t.buildQuery=function(e){let{operationName:t}=e,n=function e(t,n){let{aliases:r=new Map,zodSchema:l,params:u=new Map}=t,c=Object.entries(l.shape).map(([t,l])=>{let c,d=[...n,t],p=d.join("."),f=u.get(p),h=r.get(p),m=(c="",(f&&(c=`(${Object.entries(f).map(o).join(", ")})`),i.default.string(h))?`${t}: ${h}${c}`:`${t}${c}`),g=l instanceof a.ZodEffects?l.innerType():l;if(g instanceof a.ZodNullable){let t=g.unwrap();if(t instanceof a.ZodObject){let n=e({aliases:r,params:u,zodSchema:t},d);return`${m} ${n}`}if(t instanceof a.ZodArray&&t.element instanceof a.ZodObject){let n=e({aliases:r,params:u,zodSchema:t.element},d);return`${m} ${n}`}if(t instanceof a.ZodDiscriminatedUnion){let n=s(t.options,{aliases:r,params:u},d,e);return`${m} { ${n} }`}}if(g instanceof a.ZodObject){let t=e({aliases:r,params:u,zodSchema:g},d);return`${m} ${t}`}if(g instanceof a.ZodArray&&g.element instanceof a.ZodObject){let t=e({aliases:r,params:u,zodSchema:g.element},d);return`${m} ${t}`}if(g instanceof a.ZodDiscriminatedUnion){let t=s(g.options,{aliases:r,params:u},d,e);return`${m} { ${t} }`}return m});return`{ ${c.join(", ")} }`}(r.__rest(e,["operationName"]),[]);return`query ${t} ${n}`}},83048:(e,t,n)=>{e.exports="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{}},83139:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=new Map,r=0;t.registry={bookId:function(){return"x:".concat(r++)},register:function(e,t){return n.set(e,t),e},get:function(e){return n.get(e)},free:function(e){n.delete(e)}}},83278:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchSportsMatch=void 0;let r=n(70015),i=n(76951);t.fetchSportsMatch=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){let{sportsMatchId:n,userState:r,userToken:a}=t,{graphqlClient:o}=e;return o.query(i.SPORTS_MATCH_GRAPHQL_QUERY_DOCUMENT,{id:n},{authorization:`Bearer ${a}`,"joyn-user-state":r})})}},83624:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapVideoSourceToFetchedContentSourceVideoSources=void 0;let r=n(70015),i=r.__importDefault(n(19577));function a(e){switch(e){case"dash":return"application/dash+xml";case"hls":return"application/x-mpegURL";default:throw Error(`Unknown streaming format ${JSON.stringify(e)}`)}}function o(e,t){var n;return Object.assign({drmType:e,licenseUrl:null!=(n=t.licenseUrl)?n:""},i.default.nonEmptyString(t.certificateUrl)?{certificateUrl:t.certificateUrl}:{})}function s(e){switch(e.drmType){case"widevine":return o("widevine",e);case"fairplay":return o("fairplay",e);case"playready":return o("playready",e);default:return}}t.mapVideoSourceToFetchedContentSourceVideoSources=function(e){var{fallback:t,isLowLatency:n=!1,isLive:i=!1}=e,o=r.__rest(e,["fallback","isLowLatency","isLive"]);return[{drm:s(o),fallback:t&&{drm:s(t),isLive:i,isLowLatency:n,mimetype:a(t.streamingFormat),url:t.url},isLive:i,isLowLatency:n,mimetype:a(o.streamingFormat),url:o.url}]}},83794:(e,t,n)=>{"use strict";function r(e){this.message=e}n.r(t),n.d(t,{InvalidTokenError:()=>a,default:()=>o}),r.prototype=Error(),r.prototype.name="InvalidCharacterError";var i="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new r("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,i,a=0,o=0,s="";i=t.charAt(o++);~i&&(n=a%4?64*n+i:i,a++%4)&&(s+=String.fromCharCode(255&n>>(-2*a&6))))i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(i);return s};function a(e){this.message=e}a.prototype=Error(),a.prototype.name="InvalidTokenError";let o=function(e,t){if("string"!=typeof e)throw new a("Invalid token specified");var n=+(!0!==(t=t||{}).header);try{return JSON.parse(function(e){var t,n=e.replace(/-/g,"+").replace(/_/g,"/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw"Illegal base64url string!"}try{return t=n,decodeURIComponent(i(t).replace(/(.)/g,function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}catch(e){return i(n)}}(e.split(".")[n]))}catch(e){throw new a("Invalid token specified: "+e.message)}}}
1084,83814:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFontStyles=void 0;let r=n(70015),i=n(30589),a=r.__importDefault(n(19577));t.createFontStyles=function(e,t){let n=e.map(e=>`@font-face { font-family: '${e}'; src: ${a.default.string(t)?`local('${e}'), url('${t}/${e}.woff') format('woff')`:`local('${e}')`}; }`);return(0,i.css)` 1085 ${n.join("\n")} 1086 `}},83826:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRatingIcon=void 0;let r=n(80263);t.AgeRatingIcon=e=>{let{width:t,height:n,children:i}=e,a=`0 0 ${t} ${n}`;return(0,r.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:a,role:"figure"},{children:(0,r.jsx)("g",Object.assign({fill:"none",fillRule:"evenodd"},{children:(0,r.jsx)("g",Object.assign({fill:"#FFF",fillRule:"nonzero"},{children:(0,r.jsx)("g",{children:i})}))}))}))}},83836:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adPlaybackEvents=void 0,t.adPlaybackEvents=["adBlockerStateChanged","adClickThroughBlocked","adClickThru","adNonLinearAdHidden","adNonLinearAdShown","adNonLinearAdStarted","adNonLinearAdStopped","adDurationChange","adError","adFullscreenEntered","adFullscreenExited","adImpression","adLoaded","adPaused","adPlaying","adPositionChange","adRollEmpty","adRollFinished","adRollMarkersUpdate","adSchedulerTimedOut","adSkipped","adSlotRequested","adStallEnded","adStallStarted","adStarted","adStopped","adVideoComplete","adVideoFirstQuartile","adVideoMidpoint","adVideoQualityChanged","adVideoThirdQuartile","adVolumeChange","playbackFinishedFollowedByAds"]},83862:function(e,t){var n="undefined"!=typeof self?self:this,r=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();(function(e){var t={searchParams:"URLSearchParams"in r,iterable:"Symbol"in r&&"iterator"in Symbol,blob:"FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in r,arrayBuffer:"ArrayBuffer"in r};if(t.arrayBuffer)var n=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(e){return e&&n.indexOf(Object.prototype.toString.call(e))>-1};function a(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw TypeError("Invalid character in header field name");return e.toLowerCase()}function o(e){return"string"!=typeof e&&(e=String(e)),e}function s(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t.iterable&&(n[Symbol.iterator]=function(){return n}),n}function l(e){this.map={},e instanceof l?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function u(e){if(e.bodyUsed)return Promise.reject(TypeError("Already read"));e.bodyUsed=!0}function c(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function d(e){var t=new FileReader,n=c(t);return t.readAsArrayBuffer(e),n}function p(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function f(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(t.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(t.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else{var n;t.arrayBuffer&&t.blob&&(n=e)&&DataView.prototype.isPrototypeOf(n)?(this._bodyArrayBuffer=p(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):t.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||i(e))?this._bodyArrayBuffer=p(e):this._bodyText=e=Object.prototype.toString.call(e)}else this._bodyText="";!this.headers.get("content-type")&&("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},t.blob&&(this.blob=function(){var e=u(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(!this._bodyFormData)return Promise.resolve(new Blob([this._bodyText]));throw Error("could not read FormData body as blob")},this.arrayBuffer=function(){return this._bodyArrayBuffer?u(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(d)}),this.text=function(){var e,t,n,r=u(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,n=c(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(!this._bodyFormData)return Promise.resolve(this._bodyText);throw Error("could not read FormData body as text")},t.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(e,t){e=a(e),t=o(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},l.prototype.delete=function(e){delete this.map[a(e)]},l.prototype.get=function(e){return e=a(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(a(e))},l.prototype.set=function(e,t){this.map[a(e)]=o(t)},l.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},l.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),s(e)},l.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),s(e)},l.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),s(e)},t.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);
1086var h=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function m(e,t){var n,r,i=(t=t||{}).body;if(e instanceof m){if(e.bodyUsed)throw TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",(t.headers||!this.headers)&&(this.headers=new l(t.headers)),this.method=(r=(n=t.method||this.method||"GET").toUpperCase(),h.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function y(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}m.prototype.clone=function(){return new m(this,{body:this._bodyInit})},f.call(m.prototype),f.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var v=[301,302,303,307,308];y.redirect=function(e,t){if(-1===v.indexOf(t))throw RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.DOMException=r.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function b(n,r){return new Promise(function(i,a){var o=new m(n,r);if(o.signal&&o.signal.aborted)return a(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function u(){s.abort()}s.onload=function(){var e,t,n={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new l,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t)};n.url="responseURL"in s?s.responseURL:n.headers.get("X-Request-URL"),i(new y("response"in s?s.response:s.responseText,n))},s.onerror=function(){a(TypeError("Network request failed"))},s.ontimeout=function(){a(TypeError("Network request failed"))},s.onabort=function(){a(new e.DOMException("Aborted","AbortError"))},s.open(o.method,o.url,!0),"include"===o.credentials?s.withCredentials=!0:"omit"===o.credentials&&(s.withCredentials=!1),"responseType"in s&&t.blob&&(s.responseType="blob"),o.headers.forEach(function(e,t){s.setRequestHeader(t,e)}),o.signal&&(o.signal.addEventListener("abort",u),s.onreadystatechange=function(){4===s.readyState&&o.signal.removeEventListener("abort",u)}),s.send(void 0===o._bodyInit?null:o._bodyInit)})}b.polyfill=!0,r.fetch||(r.fetch=b,r.Headers=l,r.Request=m,r.Response=y),e.Headers=l,e.Request=m,e.Response=y,e.fetch=b,Object.defineProperty(e,"__esModule",{value:!0})})({}),r.fetch.ponyfill=!0,delete r.fetch.polyfill,(t=r.fetch).default=r.fetch,t.fetch=r.fetch,t.Headers=r.Headers,t.Request=r.Request,t.Response=r.Response,e.exports=t},83945:(e,t,n)=>{var r=n(54906),i=n(56374);e.exports=r.extend({constructor:function(e){if(this.infinity=e.infinity,this.timeObject=null,this.playerSetup=null,this.perfObject=null,this.myTimesObject={},"undefined"!=typeof window&&"function"==typeof window.addEventListener&&(window.addEventListener("load",this._windowLoaded.bind(this)),window.performance&&window.performance.timing)){try{"function"==typeof window.performance.getEntriesByType&&(this.perfObject=window.performance)}catch(e){}this.timeObject=window.performance.timing}try{if("function"==typeof PerformanceObserver){var t=new PerformanceObserver((function(e,t){var n=e.getEntries();this.myTimesObject.largestContentfulPaint=n[n.length-1].renderTime}).bind(this));PerformanceObserver.supportedEntryTypes.indexOf("largest-contentful-paint")>-1&&t.observe({entryTypes:["largest-contentful-paint"]})}}catch(e){}},_windowLoaded:function(){this.myTimesObject.onLoad=new Date().getTime(),this._getEnoughFPS(),setTimeout(this._fireLoadTimesEvent.bind(this),1e3)},_fireLoadTimesEvent:function(){this._getLastMetrics(),this.infinity.fireEvent("loadTimes",{},this._getAllValues())},_getAllValues:function(){var e={PageLoadTime:this.getPageLoadTime(),DNST
1086ime:this.getDnsTime(),TCPTime:this.getTcpTime(),HandshakeTime:this.getHandshakeTime(),DomReadyTime:this.getDomReadyTime(),BackendTime:this.getBackendTime(),FrontendTime:this.getFrontendTime(),VisualReady:this.getTimeToVisuallyReady(),TimeToInteractive:this.getTimeToInteractive(),JsTime:this.getJSTime(),CssTime:this.getCSSTime(),ImageTime:this.getImageTime(),FontTime:this.getFontTime(),AvgReqLatency:this.getAvgReqLatency(),MaxReqLatency:this.getMaxReqLatency(),FirstPaint:this.getFirstPaint(),FirstContentfulPaint:this.getFirstContentfulPaint(),LargestContentfulPaint:this.getLargestContentfulPaint(),SpeedIndex:this.getSpeedIndex()};for(var t in e)null===e[t]||void 0===e[t]||e[t]<0?delete e[t]:e[t]=Math.round(e[t]);return e},getPageLoadTime:function(){var e=null;return this.timeObject&&(e=this.timeObject.loadEventEnd-this.timeObject.navigationStart),e},getPlayerStartupTime:function(){var e=null;return this.timeObject&&this.playerSetup&&(e=this.playerSetup-this.timeObject.navigationStart),e},getDnsTime:function(){var e=null;return this.timeObject&&(e=this.timeObject.domainLookupEnd-this.timeObject.domainLookupStart),e},getTcpTime:function(){var e=null;return this.timeObject&&(e=this.timeObject.connectEnd-this.timeObject.connectStart),e},getHandshakeTime:function(){var e=null;return this.timeObject&&this.timeObject.secureConnectionStart&&(e=this.timeObject.connectEnd-this.timeObject.secureConnectionStart),e},getDomReadyTime:function(){var e=null;return this.timeObject&&(e=this.timeObject.domComplete-this.timeObject.navigationStart),e},getBackendTime:function(){var e=null;return this.timeObject&&(e=this.timeObject.responseStart-this.timeObject.navigationStart),e},getFrontendTime:function(){var e=null;return this.timeObject&&(e=this.myTimesObject.onLoad-this.timeObject.responseStart),e},getTimeToVisuallyReady:function(){var e=this.myTimesObject.firstPaint||0;return this.timeObject?Math.max(e,this.timeObject.domContentLoadedEventEnd-this.timeObject.navigationStart||0):e||null},getTimeToInteractive:function(){if(this.myTimesObject.fps&&this.getTimeToVisuallyReady())return Math.max(this.myTimesObject.fps,this.getTimeToVisuallyReady());setTimeout((function(){this.getTimeToInteractive()}).bind(this),500)},getJSTime:function(){return this._getXTime("script")},getCSSTime:function(){return this._getXTime("css")},getImageTime:function(){return this._getXTime("img")},getFontTime:function(){return this._getXTime("css",[".woff",".otf",".ttf"])},getAvgReqLatency:function(){try{if(this.perfObject&&"function"==typeof this.perfObject.getEntriesByType){var e=0,t=0,n=this.perfObject.getEntriesByType("resource");for(var r in n)n[r].requestStart&&n[r].responseStart&&(t+=n[r].responseStart-n[r].requestStart),e++;return t/e}}catch(e){}return null},getFirstPaint:function(){return this.myTimesObject?this.myTimesObject.firstPaint:null},getFirstContentfulPaint:function(){return this.myTimesObject?this.myTimesObject.firstContentfulPaint:null},getLargestContentfulPaint:function(){return this.myTimesObject?this.myTimesObject.largestContentfulPaint:null},getMaxReqLatency:function(){try{if(this.perfObject&&"function"==typeof this.perfObject.getEntriesByType){var e=this.perfObject.getEntriesByType("resource"),t=0;for(var n in e)e[n].requestStart&&e[n].responseStart&&(t=Math.max(t,e[n].responseStart-e[n].requestStart));return t}}catch(e){}return null},getSpeedIndex:function(){var e=null;if("undefined"!=typeof window&&window.performance&&"function"==typeof window.performance.getEntriesByType)try{e=i()}catch(e){}return e},_getXTime:function(e,t){var n=0;try{if(this.perfObject&&"function"==typeof this.perfObject.getEntriesByType){var r=this.perfObject.getEntriesByType("resource");for(var i in r)if(r[i].initiatorType===e)if(t){var a=!1;for(var o in t)r[i].name.indexOf(t[o]>0)&&(a=!0);a&&(n+=r[i].duration)}else n+=r[i].duration}}catch(e){}return Math.round(n)||null},_getLastMetrics:function(){var e=null,t=null;try{if(this.perfObject&&"function"==typeof this.perfObject.getEntriesByType){var n=this.perfObject.getEntriesByType("paint");for(var r in n)"first-paint"===n[r].name?e=n[r].startTime:"first-contentful-paint"===n[r].name&&(t=n[r].startTime)}}catch(e){}!e&&this.timeObject&&(e=this.timeObject.msFirstPaint-this.timeObject.navigationStart),this.myTimesObject.firstPaint=e,this.myTimesObject.firstContentfulPaint=t,this.getTimeToInteractive()},_getEnoughFPS:function(){if(!this.timeObject||"undefined"==typeof window)return!0;var e=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(){};this.preFPS=new Date().getTime(),e((function(){var e=new Date().getTime();e<this.preFPS+50?this.myTimesObject.fps=e-this.timeObject.navigationStart:setTimeout((function(){return this._getEnoughFPS()}).bind(this),50)}).bind(this))},setPlayerSetupTime:function(){this.playerSetup=this.playerSetup||new Date().getTime()}})},83947:(e,t,n)=>{"use strict";
1086Object.defineProperty(t,"__esModule",{value:!0}),t.IconContainer=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)).default.svg(({fill:e,opacity:t,theme:n})=>({alignSelf:"center",display:"inline-flex",fill:null!=e?e:"currentColor",opacity:null!=t?t:n.opacity.opaque,position:"relative"}));t.IconContainer=e=>{var t;let{defaultWidth:n="1em",defaultHeight:r="1em",defaultColor:o,children:s}=e,{color:l=o}=e,u=r,c=n,d=null!=(t=e.defaultViewBox)?t:"0 0 28 28";return!function(e){return Object.prototype.hasOwnProperty.call(e,"width")&&void 0!==e.width}(e)?void 0!==e.size&&(u=e.size,c=e.size):(u=e.height,c=e.width,d=`0 0 ${c} ${u}`),(0,i.jsx)(a,Object.assign({width:c,height:u,fill:l,opacity:e.opacity,x:e.x,y:e.y,viewBox:d,className:e.className,"aria-hidden":!0},{children:s}))}},83952:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UpNext=void 0;let r=n(70015),i=n(80263),a=n(30589),o=r.__importDefault(n(28909)),s=r.__importDefault(n(95611)),l=n(37514),u=n(90105),c=n(44320),d=n(75373),p=n(94707),f=n(12449),h=n(40167),m=n(77765),g=n(94054),y=n(7032),v={0:(0,i.jsx)(c.AgeRatingAb0,{}),6:(0,i.jsx)(g.AgeRatingAb6,{}),8:(0,i.jsx)(y.AgeRatingAb8,{}),10:(0,i.jsx)(d.AgeRatingAb10,{}),12:(0,i.jsx)(p.AgeRatingAb12,{}),14:(0,i.jsx)(f.AgeRatingAb14,{}),16:(0,i.jsx)(h.AgeRatingAb16,{}),18:(0,i.jsx)(m.AgeRatingAb18,{})},b=o.default.aside(({theme:e})=>({bottom:e.upNext.bottom,position:"absolute",right:e.upNext.right,zIndex:l.overlayBackgroundLayer})),_=o.default.figure(({theme:e})=>({"::after":{backgroundImage:`linear-gradient(to bottom, ${(0,s.default)(e.color.black,e.opacity.least)}, ${(0,s.default)(e.color.white,0)} 60px), linear-gradient(to bottom, ${(0,s.default)(e.color.white,0)}, ${(0,s.default)(e.color.black,e.upNext.thumbnailOpacity)})`,borderRadius:e.upNext.thumbnailBorderRadius,content:'""',height:"100%",left:0,position:"absolute",top:0,width:"100%"},height:e.upNext.imageHeight,margin:0,position:"relative"})),S=o.default.figcaption(({theme:e})=>({left:e.upNext.ageRating.left,position:"absolute",top:e.upNext.ageRating.top,zIndex:l.overlayLayer})),E=o.default.figcaption(({theme:e})=>({bottom:e.upNext.description.bottom,left:e.upNext.description.left,position:"absolute",right:e.upNext.description.right,zIndex:l.overlayLayer})),k=o.default.h2(({theme:e})=>({display:"block",fontFamily:e.fontFamily,fontSize:e.fontSize.big,fontWeight:"normal",margin:0,marginBottom:e.upNext.headingMarginBottom,padding:0})),A=o.default.h3(({theme:e})=>({display:"block",fontFamily:e.fontFamilyBold,fontSize:e.fontSize.biggest,fontWeight:"normal",lineHeight:1,margin:0,padding:0})),T=o.default.img(({theme:e})=>({borderRadius:e.upNext.thumbnailBorderRadius,height:e.upNext.imageHeight,objectFit:"cover",width:e.upNext.imageWidth})),x=o.default.p(({theme:e})=>({fontSize:e.fontSize.big,marginBottom:"10px",marginTop:"21px"})),w=o.default.menu({display:"flex",margin:0,padding:0});function C(e){return{borderRadius:e.upNext.buttonBorderRadius,boxSizing:"border-box",fontFamily:e.fontFamilyBold,fontSize:e.upNext.buttonFontSize,height:e.upNext.playButton.height,padding:e.upNext.buttonPadding}}let I=(0,o.default)(u.Button)(e=>{let{theme:t}=e;return Object.assign(Object.assign({},C(t)),{backgroundColor:t.color.primary,width:t.upNext.playButton.width})}),O=(0,o.default)(u.Button)(e=>{let{theme:t}=e;return Object.assign(Object.assign({},C(t)),{backgroundColor:(0,s.default)(t.color.secondary,t.opacity.little),marginLeft:t.upNext.actionsMargin,width:t.upNext.hideButton.width})});t.UpNext=e=>{var t;if("mini"===(0,a.useTheme)().screenSize)return null;let n=void 0===e.ageRating?void 0:v[e.ageRating],r="Jetzt abspielen",o="Ausblenden";return(0,i.jsxs)(b,{children:[(0,i.jsxs)(_,{children:[(0,i.jsx)(T,{"aria-label":"Miniaturbild",src:null==(t=e.thumbnail)?void 0:t.toString()}),n?(0,i.jsx)(S,Object.assign({"aria-label":"Altersfreigabe"},{children:n})):null,(0,i.jsxs)(E,{children:[(0,i.jsx)(k,{children:e.heading}),(0,i.jsx)(A,{children:e.title})]})]}),(0,i.jsx)(x,{children:`Beginnt in ${Math.ceil(e.startsInSeconds).toString()} Sek`}),(0,i.jsxs)(w,{children:[(0,i.jsx)(I,Object.assign({onClick:e.onPlayNext,"aria-label":r,variant:"contained"},{children:r})),(0,i.jsx)(O,Object.assign({onClick:e.onHide,"aria-label":o,variant:"contained"},{children:o}))]})]})}},84034:(e,t,n)=>{var r=n(54906),i=n(15210);e.exports=r.extend({constructor:function(e,t){this.callback=e,this.interval=t||5e3,this.isRunning=!1,this._timer=null,this.chrono=new i},start:function(){this.isRunning||(this.isRunning=!0,this._setTick())},stop:function(){if(this.isRunning=!1,this._timer)try{clearTimeout(this._timer),this._timer=null}catch(e){"undefined"!=typeof atv&&(atv.clearTimeout(this._timer),this._timer=null)}},_setTick:function(){if(this.isRunning){this.chrono.start();try{this._timer=setTimeout((function(){this.callback(this.chrono.stop()),this._setTick()}).bind(this),this.interval)}catch(e){"undefined"!=typeof atv&&(this._timer=atv.setTimeout((function(){this.callback(this.chrono.stop()),this._setTick()}).bind(this),this.interval))}}}})}
1086,84323:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createReferrerUrlManager=t.validateAndSanitizeUrl=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47561),o=r.__importDefault(n(92712));t.validateAndSanitizeUrl=e=>{var t,n;let r=o.default.string().nonempty().safeParse(e);if(r.success)return a.Result.ok((e=>{let t=new URL(e),n=t.searchParams.get("channel_id");return t.search="",i.default.nonEmptyString(n)&&t.searchParams.set("channel_id",n),t.toString()})(r.data));let s=null!=(n=null==(t=r.error.issues[0])?void 0:t.message)?n:"Unknown error";return a.Result.err(s)},t.createReferrerUrlManager=e=>{let{getReferrerUrl:n,logger:o}=e;return{getReferrerUrl:e=>r.__awaiter(void 0,void 0,void 0,function*(){return i.default.function_(n)?(n=>r.__awaiter(void 0,void 0,void 0,function*(){try{let r=yield n(e);return o.log(`Fetched Referrer URL: ${r}`),(0,t.validateAndSanitizeUrl)(r)}catch(t){let e=`Could not fetch Referrer URL: ${t.message}`;return o.error(e),a.Result.err(e)}}))(n):a.Result.err("getReferrerUrl not implemented")})}}},84411:e=>{e.exports={WILL_SEND_INIT:"will-send-init",WILL_SEND_START:"will-send-start",WILL_SEND_JOIN:"will-send-join",WILL_SEND_PAUSE:"will-send-pause",WILL_SEND_RESUME:"will-send-resume",WILL_SEND_SEEK:"will-send-seek",WILL_SEND_BUFFER:"will-send-buffer",WILL_SEND_ERROR:"will-send-error",WILL_SEND_FATAL_ERROR:"will-send-fatal-error",WILL_SEND_STOP:"will-send-stop",WILL_SEND_PING:"will-send-ping",WILL_SEND_VIDEO_EVENT:"will-send-video-event",WILL_SEND_AD_START:"will-send-ad-start",WILL_SEND_AD_JOIN:"will-send-ad-join",WILL_SEND_AD_PAUSE:"will-send-ad-pause",WILL_SEND_AD_RESUME:"will-send-ad-resume",WILL_SEND_AD_BUFFER:"will-send-ad-buffer",WILL_SEND_AD_STOP:"will-send-ad-stop",WILL_SEND_AD_CLICK:"will-send-ad-click",WILL_SEND_AD_ERROR:"will-send-ad-error",WILL_SEND_AD_MANIFEST:"will-send-ad-manifest",WILL_SEND_AD_POD_START:"will-send-ad-break-start",WILL_SEND_AD_POD_STOP:"will-send-ad-break-stop",WILL_SEND_AD_QUARTILE:"will-send-ad-quartile",WILL_SEND_SESSION_START:"will-send-session-start",WILL_SEND_SESSION_STOP:"will-send-session-stop",WILL_SEND_NAV:"will-send-nav",WILL_SEND_BEAT:"will-send-beat",WILL_SEND_EVENT:"will-send-event",WILL_SEND_OFFLINE_EVENTS:"will-send-offline-events"}},84697:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}
1086(n(55821));t.default=function(e){if(!(0,r.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}},84808:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GhostButton=t.MainButton=void 0;let r=n(70015).__importDefault(n(28909)),i=n(90105),a=(0,r.default)(i.Button)({borderRadius:"2px",lineHeight:"19px",padding:"14px 20px 11px"});t.MainButton=(0,r.default)(a)(({hoverColor:e})=>({":hover":{backgroundColor:e}}),({theme:e})=>({":hover":{color:e.color.white},backgroundColor:e.color.white,color:e.color.black,transition:"color 0.3s ease-in-out 0s, background-color 0.3s"})),t.GhostButton=(0,r.default)(a)(({theme:e})=>({":hover":{backgroundColor:e.color.white,color:e.color.black},backgroundColor:"rgba(112, 112, 112, 0.4)",color:e.color.white,marginLeft:"10px",transition:"color 0.3s ease-in-out 0s, background-color 0.3s"}))},84823:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adSourceHasResourceWithVast=void 0;let r=n(70015).__importDefault(n(19577));t.adSourceHasResourceWithVast=e=>r.default.object(e)&&r.default.object(e.resource)&&r.default.object(e.resource.vast)},85123:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetchAndBuildContentResourcesForLivestreams=void 0;let r=n(70015);t.createFetchAndBuildContentResourcesForLivestreams=function(e){let{buildContentResourcesForLivestreams:t,fetchLivestreamsContentResources:n}=e;return function(e){return r.__awaiter(this,void 0,void 0,function*(){let{userState:r,userToken:i}=e;return t((yield n({userState:r,userToken:i})))})}}},85172:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.networkConnectionInformationSchema=void 0;let r=n(92712),i=r.z.union([r.z.literal("2g"),r.z.literal("3g"),r.z.literal("4g"),r.z.literal("slow-2g"),r.z.literal("unknown")]),a=r.z.union([r.z.literal("bluetooth"),r.z.literal("cellular"),r.z.literal("ethernet"),r.z.literal("mixed"),r.z.literal("none"),r.z.literal("other"),r.z.literal("unknown"),r.z.literal("wifi")]);t.networkConnectionInformationSchema=r.z.object({effectiveType:i.default("unknown"),type:a.default("unknown")}).default({})},85237:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resultAsyncChain=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47561);t.resultAsyncChain=(e,t,n)=>r.__awaiter(void 0,void 0,void 0,function*(){return(yield e).match({Err:e=>r.__awaiter(void 0,void 0,void 0,function*(){return i.default.function_(n)?n(e):a.Result.err(e)}),Ok:t})})},85459:(e,t,n)=>{"use strict";n.d(t,{$N:()=>o,Hd:()=>a,NX:()=>s});var r=n(48641);let i=(0,n(33184).VZ)();function a(e,t={}){try{let n,i=e,a=[],o=0,s=0,l=Array.isArray(t)?t:t.keyAttrs,u=!Array.isArray(t)&&t.maxStringLength||80;for(;i&&o++<5&&(n=function(e,t){let n,i,a,o,s,l=[];if(!e||!e.tagName)return"";l.push(e.tagName.toLowerCase());let u=t&&t.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;if(u&&u.length)u.forEach(e=>{l.push(`[${e[0]}="${e[1]}"]`)});else if(e.id&&l.push(`#${e.id}`),(n=e.className)&&(0,r.Kg)(n))for(s=0,i=n.split(/\s+/);s<i.length;s++)l.push(`.${i[s]}`);let c=["aria-label","type","name","title","alt"];for(s=0;s<c.length;s++)a=c[s],(o=e.getAttribute(a))&&l.push(`[${a}="${o}"]`);return l.join("")}(i,l),"html"!==n&&(!(o>1)||!(s+3*a.length+n.length>=u)));)a.push(n),s+=n.length,i=i.parentNode;return a.reverse().join(" > ")}catch(e){return"<unknown>"}}function o(){try{return i.document.location.href}catch(e){return""}}function s(e){return i.document&&i.document.querySelector?i.document.querySelector(e):null}},85567:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAdDecisionServiceResponse=t.adDecisionServiceResponseSchema=t.adDecisionServiceBaseResponseSchema=void 0;let r=n(70015),i=n(92712),a=n(34975);t.adDecisionServiceBaseResponseSchema=i.z.object({breakType:a.breakTypeSchema,desiredAdCount:i.z.number(),desiredBreakDurationInSec:i.z.number(),startTimeOffsetInSec:i.z.number(),targetingData:a.targetingDataSchema.optional()}),t.adDecisionServiceResponseSchema=t.adDecisionServiceBaseResponseSchema.transform(e=>{let{desiredBreakDurationInSec:t,startTimeOffsetInSec:n}=e;return Object.assign(Object.assign({},r.__rest(e,["desiredBreakDurationInSec","startTimeOffsetInSec"])),{desiredBreakDuration:t,startTimeOffset:n})}),t.isAdDecisionServiceResponse=function(e){return t.adDecisionServiceResponseSchema.safeParse(e).success}},85574:e=>{var t={"":!0,up:!0};function n(e){return"number"==typeof e&&e>=0&&e<=100}e.exports=function(){var e=100,r=3,i=0,a=100,o=0,s=100,l="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!n(t))throw Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return r},set:function(e){if("number"!=typeof e)throw TypeError("Lines must be set to a number.");r=e}},regionAnchorY:{enumerable:!0,get:function(){return a}
1086,set:function(e){if(!n(e))throw Error("RegionAnchorX must be between 0 and 100.");a=e}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(e){if(!n(e))throw Error("RegionAnchorY must be between 0 and 100.");i=e}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(e){if(!n(e))throw Error("ViewportAnchorY must be between 0 and 100.");s=e}},viewportAnchorX:{enumerable:!0,get:function(){return o},set:function(e){if(!n(e))throw Error("ViewportAnchorX must be between 0 and 100.");o=e}},scroll:{enumerable:!0,get:function(){return l},set:function(e){var n="string"==typeof e&&!!t[e.toLowerCase()]&&e.toLowerCase();!1===n?console.warn("Scroll: an invalid or illegal string was specified."):l=n}}})}},85623:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNonceManager=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47561),o=r.__importDefault(n(92712));t.createNonceManager=e=>{let{getNonceString:t,logger:n}=e;return{getNonceString:()=>r.__awaiter(void 0,void 0,void 0,function*(){return i.default.function_(t)?r.__awaiter(void 0,void 0,void 0,function*(){try{var e,r;let i=yield t();n.log(`Fetched Nonce string: ${i}`);let s=o.default.string().nonempty().safeParse(i);if(s.success)return a.Result.ok(s.data);let l=null!=(r=null==(e=s.error.issues[0])?void 0:e.message)?r:"Unknown error";return a.Result.err(l)}catch(t){let e=`Could not fetch Nonce string: ${t.message}`;return n.error(e),a.Result.err(e)}}):a.Result.err("getNonceString not implemented")})}}},85830:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAdFeedbackProvider=void 0;let r=n(70015),i=n(74816),a=n(72678);t.createAdFeedbackProvider=(e,t)=>{let{httpClient:n}=e,{logLevel:o,adFeedbackBaseUrl:s,joynCountry:l}=t,u=(0,a.createLogger)(["ad-feedback"]);return o&&u.setLevel(o),(e,t)=>r.__awaiter(void 0,void 0,void 0,function*(){if("send-ad-feedback"===e){let{content:r}=t,{entitlementTokenPayload:a}=r,o=(0,i.getJoynDistributionTenant)({entitlementTokenPayload:a,joynCountry:l});try{n.postJson({options:{headers:{"Joyn-Distribution-Tenant":o},ignoreResponse:!0},payload:{ad:t.ad,runtime:t.runtime},uri:null!=s?s:"https://cd3mxvgd48.execute-api.eu-central-1.amazonaws.com/Prod/feedback"})}catch(e){throw Error(`send feedback failed due to the reason ${e.message}`)}u.log(e,t)}})}},85883:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logWarnWhenMissingParameters=void 0;let r=n(70015).__importDefault(n(19577)),i=n(75609),a=n(44539),o=(e,t,...n)=>{let i=n.filter(t=>{let n=e[t];return r.default.nullOrUndefined(n)||r.default.emptyArray(n)});i.length>0?t.warn(`Missing parameters: ${i.join(", ")}`):t.log("Meta data is passed without any warnings")};t.logWarnWhenMissingParameters=(e,t)=>{o(e,t,"id","contentType","tvShowId"),(0,i.isCompilationContentResource)(e)?o(e,t,"compilationTitle"):(0,i.isShortFormContentResource)(e)?o(e,t,"parentTitle"):(0,i.isSeriesContentResource)(e)?o(e,t,"seriesTitle","episodeNumber","seasonNumber"):(0,i.isMovieContentResource)(e)?o(e,t,"title"):(0,i.isSportsMatchContentResource)(e)&&o(e,t,"sportsMatchTitle"),(0,a.isContentResourceWithContentTags)(e)&&o(e,t,"contentTags"),(0,a.isContentResourceWithActors)(e)&&o(e,t,"actors")}},86168:(e,t,n)=>{"use strict";t.o$=void 0;let r=n(70015),i=r.__importDefault(n(22110)),a=n(4119),o=n(48673),s=n(79324),l=n(34655),u=n(21930),c=n(85623),d=n(84323),p=n(54700),f=n(36563),h=n(16693),m=n(37561),g=n(17409),y=n(18273),v=n(15251),b=n(74811),_=n(67533),S=n(43789),E=n(85830),k=n(29563),A=n(20531),T=n(24196),x=n(94059),w=n(39568),C=n(71662),I=n(98687),O=n(12834),R=n(95888),P=n(15056);n(30936);let N=(0,I.bootstrapEnvironment)({PACKAGE_DATE:"2026-04-16T08:42:38.955Z",PACKAGE_VERSION:"1.22.0",PACKAGE_NAME:"@joyn/player-web"}),L=(0,O.bootstrapSentryTransport)({buildEnvironment:N,enableAutomaticInstrumentation:!0});t.o$=e=>r.__awaiter(void 0,void 0,void 0,function*(){let{localStorage:t,location:n}=globalThis,r=Object.assign(Object.assign({},e),{localOnlyFeatureToggles:!1}),O=(0,P.logLevelFromOptions)(r,(0,P.logLevelFromQueryString)(n)),j=Object.assign(Object.assign({},r),{logLevel:O}),M=yield(0,I.bootstrapCommonDependencies)({buildEnvironment:N,errorTransport:L.errorTransport},j);if(L.updateTransportForToggleRouter(M.toggleRouter,e.joynCountry),(0,i.default)({featureDetect:!0,tablet:!0})&&!M.toggleRouter.getFeatureValue("mobile-browser-playback").unwrapOr(!1))throw Error("Playback not supported on mobile browser");let{getNonceString:D,getReferrerUrl:F}=e;return(0,R.createApi)(Object.assign(Object.assign({},M),{createAdDecisionServiceProvider:S.createAdDecisionServiceProvider,createAdFeedbackProvider:E.createAdFeedbackProvider,createAdvertisement:l.createAdvertisement,createBaseUiLayers:T.createBaseUiLayers,createCore:g.createCore,createFetchContentSource:h.createFetchContentSource,createFetchEntitlement:y.createFetchEntitlement,createFullscreenService:v.createFullscreenService,createGenerateAlternativeUrl:a.createGenerateAlternativeUrl,createGetAdClientInformation:s.createGetAdClientInformation,createGetClientCapabilities:p.createGetClientCapabilities,createGetLinearAdReplacementOptions:m.createGetLinearAdReplacementOptions,createIabOpenMeasurement:u.createIabOpenMeasurement,createLivestreamFetcher:f.createLivestreamFetcher,createNetworkInformation:b.createWebNetworkInformationApi,createNielsenTracker:k.createNielsenTracker,createNonceManager:c.createNonceManager,createPlayerUi:A.createPlayerUi,createReferrerUrlManager:d.createReferrerUrlManager,createShakaPlayerAdapter
1086:_.createShakaPlayerAdapter,createSomAdScheduler:o.createSomAdScheduler,createUserSettingsStorage:x.createUserSettingsStorage,createViewabilityObserver:w.createViewabilityObserver,getNonceString:D,getReferrerUrl:F,localStorage:t,location:n,openWebsite:C.openWebsite,videoElement:document.createElement("video"),window:globalThis.window}),j)})},86304:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLifecycleService=void 0;let r=n(47561),i=n(30936),a={DEFAULT:0,LIFECYCLE_CREATED:1,LIFECYCLE_STARTED:2,CONTENT_BEGAN:3,CONTENT_PAUSED:4,CONTENT_RESUMED:5,CONTENT_COMPLETED:6,LIFECYCLE_ABORTED:7,LIFECYCLE_ENDED:8};t.createLifecycleService=function(e){let{createUuid:t,dispatch:n}=e,o=r.Maybe.nothing(),s=!1,l=r.Maybe.nothing(),u=a.DEFAULT;function c(e){let i=t();o=r.Maybe.just(i),l=r.Maybe.just(e.origin),u=a.LIFECYCLE_CREATED,n("lifecycle:create")}function d(){return u>=a.LIFECYCLE_CREATED&&u<a.LIFECYCLE_ABORTED}function p(e,t){u=a.LIFECYCLE_ABORTED,n("lifecycle:abort",{error:t&&i.PlayerError.fromUnknown(t),reason:e})}function f(){d()&&(u>=a.CONTENT_COMPLETED||(u=a.CONTENT_COMPLETED,n("lifecycle:contentComplete")))}return{destroy(){d()&&p("destroy")},getLifecycleId:()=>o.unwrapOr(null),getPlayOrigin:()=>l.unwrapOr(null),isLifecycleActive:d,playlistIndexChanged(e){"user"===e.origin&&(s=!0),d()&&p("userskip"),c({origin:e.origin})},replay(e){let{origin:t}=e;s=!0,c({origin:t})},reset(){d()&&p("reset")},setContentCompleted:f,setContentError(e){d()&&p("contenterror",e)},setNoAdNoContentError(e){}
1086,setPaused(){d()&&(u===a.CONTENT_BEGAN||u===a.CONTENT_RESUMED)&&(u=a.CONTENT_PAUSED,n("lifecycle:contentPause"))},setPlay(){d()&&(u>=a.LIFECYCLE_STARTED||(s=!0,u=a.LIFECYCLE_STARTED,n("lifecycle:start")))},setPlaybackError(e){d()&&p("playbackerror",e)},setPlaybackFinished(){d()&&(u<a.CONTENT_COMPLETED&&f(),u=a.LIFECYCLE_ENDED,n("lifecycle:end"))},setPlaying(){if(d()){if(u===a.CONTENT_PAUSED){u=a.CONTENT_RESUMED,n("lifecycle:contentResume");return}u>=a.CONTENT_BEGAN||(u=a.CONTENT_BEGAN,n("lifecycle:contentBegin"))}},shouldPlayAfterSettingContent:()=>s}}},86588:(e,t,n)=>{"use strict";let r=n(49315),i=n(22777);e.exports=async(e,t={})=>{let{concurrency:n=1/0}=t,a=i(n);return Promise.all(e.map(e=>e&&"function"==typeof e.then?r(e):"function"==typeof e?r(a(()=>e())):r(Promise.resolve(e))))}},86709:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PassiveProgressBar=void 0;let r=n(80263),i=n(30589),a=n(53239),o=n(66976),s=n(72039);t.PassiveProgressBar=()=>{let e=(0,i.useTheme)(),{state:t}=(0,a.useContext)(o.PlayerContext),{position:n,duration:l,isAd:u,adRollMarkers:c}=t,d=u?void 0:c.filter(e=>0!==e.position&&e.position!==l&&!e.finished).map(e=>e.position);return(0,r.jsx)(s.Slider,{value:null!=n?n:0,max:null!=l?l:0,isPassive:!0,marks:d,color:e.color.primary})}},86753:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAd=void 0;let r=n(47561),i=n(27504),a=n(50454),o=n(33309),s=n(56529),l=n(61583);t.validateAd=function({ad:e={},adIndex:t,adSource:n}){let{inline:u,wrapper:c}=e,d=`vast.ad[${t}]`;if(u&&c)return r.Result.err(new o.InvalidVastError(`${d}: wrapper AND inline not allowed`,{adSource:n}));if(u)return(0,s.validateInline)(d,n,u);if(c)return(0,l.validateWrapper)(d,n,c);let p=(0,i.getInvalidationReason)(n.resource,0);return p.isJust()&&"duplicate"===p.value?r.Result.err(new o.InvalidVastError(`${d}: duplicate ad, only one ad is allowed`,{adSource:n,code:a.iabVastErrorCode.VAST_CONDITIONAL_REJECTION_ERROR})):r.Result.err(new o.InvalidVastError(`${d}: ad must contain a wrapper OR inline`,{adSource:n}))}},86829:e=>{e.exports=function(e){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var i in r)r.hasOwnProperty(i)&&(t[i]=r[i])}return t}},86982:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractLivePlaylistItems=void 0;let r=n(74524);function i(e,t){return{contentResource:e,playlistIndex:t}}function a(e){let{contentType:t}=e.contentResource;return"live"===t||"live-on-demand"===t}function o(e){return"event-only"!==e.channelData.onAir||1!==e.channelData.program.length||e.channelData.program[0].informationAvailable}t.extractLivePlaylistItems=function(e,t){let{groupFilter:n,playlist:s,liveChannels:l,startTime:u,currentTime:c,bookmarkedBrandIds:d=[]}=e,p=new Set(d),f="PUBLIC_VALUE"===n.unwrapOr("DEFAULT").toString()?Array.from(l.keys()):[],h=s.map(i).filter(a).map(({contentResource:e,playlistIndex:t})=>{var n;let{id:i}=e;return{channelData:null!=(n=l.get(i))?n:(0,r.createFallbackChannelData)(u,c),contentResource:e,playlistIndex:t}}).filter(({channelData:e})=>!n.isJust()||"DEFAULT"===n.value||e.groups.includes(n.value)).filter(o).sort((e,t)=>f.indexOf(e.contentResource.id)-f.indexOf(t.contentResource.id)),m=h.filter(e=>p.has(e.contentResource.tvShowId)),g=t.getFeatureValue("epg-favorites").unwrapOr(!1)?h.filter(e=>!p.has(e.contentResource.tvShowId)):h;return{livePlaylistItems:[...m,...g],livePlaylistItemsEpgFavourite:m,livePlaylistItemsNonEpgFavourite:g}}},87120:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.overrideTheme=void 0;let r=n(44539);t.overrideTheme=function(e,t){let{playlist:n,playlistIndex:i}=t,a=n[null!=i?i:0],o=e.color.primary;return void 0!==a&&(0,r.isContentResourceWithPrimaryColor)(a)&&(o=a.primaryColor),Object.assign(Object.assign({},e),{color:Object.assign(Object.assign({},e.color),{primary:o})})}},87162:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createMappedEventReporter=t.createEventMapping=void 0,t.createEventMapping=function(e){return e},t.createMappedEventReporter=function(e){return function(t,n,r){let i=function(e){return e.fromEvents.includes(t)};for(let t of e.filter(i)){let e=!0;if(t.includeWhen&&(e=t.includeWhen(r)),e)if(Object.prototype.hasOwnProperty.call(t,"transformPayload")){if(t.transformState){let e=t.transformState(r);n.setState(e)}let e=t.transformPayload(r);n[t.targetEvent](e)}else n[t.targetEvent]()}}}},87256:(e,t,n)=>{"use strict";
1086Object.defineProperty(t,"__esModule",{value:!0}),t.createCompanionAds=void 0;let r=n(15541),i=n(57620);t.createCompanionAds=function(){return{companion:[{adparameters:r.convertToEmptyString,alttext:r.convertToEmptyString,companionclickthrough:r.convertToEmptyString,companionclicktracking:[],htmlresource:[],iframeresource:[],staticresource:[],trackingevents:(0,i.createTrackingEvents)()}]}}},87286:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDelegatingErrorTransport=void 0;let r=n(70015);t.createDelegatingErrorTransport=function(e){let t=e;return{destroy(){return r.__awaiter(this,void 0,void 0,function*(){return t.destroy()})},recordEvent(e,n){t.recordEvent(e,n)},send(e,n){t.send(e,n)},updateDelegate(e){t=e}}}},87599:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(36875),i=n(58406),a=n(36865);t.Sha256=function(){function e(e){this.toHash=new Uint8Array(0),this.secret=e,this.reset()}return e.prototype.update=function(e){if(!(0,r.isEmptyData)(e)){var t=(0,r.convertToBuffer)(e),n=new Uint8Array(this.toHash.byteLength+t.byteLength);n.set(this.toHash,0),n.set(t,this.toHash.byteLength),this.toHash=n}},e.prototype.digest=function(){var e=this;return this.key?this.key.then(function(t){return(0,a.locateWindow)().crypto.subtle.sign(i.SHA_256_HMAC_ALGO,t,e.toHash).then(function(e){return new Uint8Array(e)})}):(0,r.isEmptyData)(this.toHash)?Promise.resolve(i.EMPTY_DATA_SHA_256):Promise.resolve().then(function(){return(0,a.locateWindow)().crypto.subtle.digest(i.SHA_256_HASH,e.toHash)}).then(function(e){return Promise.resolve(new Uint8Array(e))})},e.prototype.reset=function(){var e=this;this.toHash=new Uint8Array(0),this.secret&&void 0!==this.secret&&(this.key=new Promise(function(t,n){(0,a.locateWindow)().crypto.subtle.importKey("raw",(0,r.convertToBuffer)(e.secret),i.SHA_256_HMAC_ALGO,!1,["sign"]).then(t,n)}),this.key.catch(function(){}))},e}()},87671:e=>{e.exports={MP4:"MP4",MPEG2:"TS",CMF:"CMF"}},87678:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iconsSizes=void 0;let n={big:"34px",medium:"28px"};t.iconsSizes={medium:n,mini:n,small:n,tiny:n}},87699:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlayPauseButton=void 0;let r=n(80263),i=n(62701),a=n(8283),o=n(92686),s=n(19630);t.PlayPauseButton=e=>{let{isPaused:t,isPausingSupported:n,isPlaying:l,playlistEnded:u,isLoading:c,mustShowPauseButton:d,play:p,pause:f,replay:h}=e,{icon:m,label:g}=function(e){return e.playlistEnded?{icon:o.ReplayIcon,label:"Zur\xfcck zum Anfang"}:!e.isPaused&&e.isPlaying?{icon:i.PauseIcon,label:"Pausieren (Leertaste)"}:{icon:a.PlayIcon,label:"Abspielen (Leertaste)"}}({isPaused:t,isPlaying:l,playlistEnded:u});return!d&&(l||c)?null:(0,r.jsx)(s.ControlButton,{icon:m,onClick:()=>t?void p():l&&n?void f():void(u&&h()),showLoadingIndicator:c,label:g})}},87815:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(46523),i=n(26189),a=n(76737);t.fromPromise=function(e){var t={error:void 0,data:void 0,status:"pending"};return{transition:function(e,t,n){var i=n.parent,a=n.id,o=n.observers;switch(t.type){case"fulfill":return null==i||i.send(r.doneInvoke(a,t.data)),{error:void 0,data:t.data,status:"fulfilled"};case"reject":return null==i||i.send(r.error(a,t.error)),o.forEach(function(e){e.error(t.error)}),{error:t.error,data:void 0,status:"rejected"};default:return e}},initialState:t,start:function(n){var r=n.self;return e().then(function(e){r.send({type:"fulfill",data:e})},function(e){r.send({type:"reject",error:e})}),t}}},t.fromReducer=function(e,t){return{transition:e,initialState:t}},t.spawnBehavior=function(e,t){void 0===t&&(t={});var n=e.initialState,r=new Set,o=[],s=!1,l=function(){if(!s){for(s=!0;o.length>0;){var t=o.shift();n=e.transition(n,t,c),r.forEach(function(e){return e.next(n)})}s=!1}},u=i.toActorRef({id:t.id,send:function(e){o.push(e),l()},getSnapshot:function(){return n},subscribe:function(e,t,i){var o=a.toObserver(e,t,i);return r.add(o),o.next(n),{unsubscribe:function(){r.delete(o)}}}}),c={parent:t.parent,self:u,id:t.id||"anonymous",observers:r};return n=e.start?e.start(c):n,u}},87824:(e,t)=>{"use strict";
1086Object.defineProperty(t,"__esModule",{value:!0}),t.createStore=void 0,t.createStore=function(){let e={adLastPlayHeadPosition:0,adLoad:void 0,adRollWatchTime:void 0,adScheduleWatchTime:{},allowAdLoadOverride:!1,lastPlayHeadPosition:void 0,lastWatchedBreakTimestamp:void 0,rollPosition:void 0,sessionVideoWatchTime:0,userId:void 0,videoWatchTimeSinceLastBreak:0};return{getState:()=>e,setState(t){e=Object.assign(Object.assign({},e),t)}}}},88012:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47397);t.normalize=e=>n=>{let a={};return Object.keys(n).forEach(o=>{let s=((e,t)=>{let n=t.split(":"),i=n[n.length-1];return!r.default.undefined(i)&&n.length>=2&&(e[i]=e[t],e[t]=void 0),i})(n,o);if(!r.default.undefined(s)){let o=((e,t)=>{let n=(0,i.isRecord)(e)?e[t]:void 0;return r.default.nonEmptyArray(n)?n[0]:n})(e,s),l=n[s];r.default.undefined(o)?a[s]=l:r.default.function_(o)?a[s]=((e,t)=>r.default.undefined(t)?null:r.default.string(t)?e(t):{value:e(t.value)})(o,l):a[s]=(({jsonPart:e,normalizeFunction:t})=>r.default.string(e)?[e]:r.default.array(e,i.isRecord)?e.map(t):(0,i.isRecord)(e)?t(e):e)({jsonPart:((e,t,n)=>!r.default.array(e)&&(0,i.isRecord)(t)&&r.default.array(t[n])?[e]:e)(l,e,s),normalizeFunction:(0,t.normalize)(o)})}}),a}},88860:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNativeNetworkEventEmitter=void 0;let r=n(92712),i=n(7522),a=r.z.discriminatedUnion("eventName",[r.z.object({eventName:r.z.literal("connectionInformationChange"),eventPayload:r.z.undefined()}).strict(),r.z.object({eventName:r.z.literal("usageSettingsChange"),eventPayload:r.z.undefined()}).strict()]);t.createNativeNetworkEventEmitter=function(){return(0,i.createValidatingEventEmitter)({schema:a})}},89220:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTheAdexUserId=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47561);t.getTheAdexUserId=(e="adClientInformation")=>{let{adex:t}=globalThis;if(r.default.nullOrUndefined(t))return i.Result.err(Error(`TheAdex API is not available, called from ${e}`));if(r.default.nullOrUndefined(t.getAdexUser))return i.Result.err(Error(`TheAdex API does not have getAdexUser method, called from ${e}`));try{let n=t.getAdexUser();if(r.default.nullOrUndefined(n))return i.Result.err(Error(`TheAdex user is not available, called from ${e}`));let a=n.getUserId();if(r.default.string(a))return i.Result.ok(a);return i.Result.err(Error(`TheAdex user id is not a string, called from ${e}`))}catch(e){return i.Result.err(e)}}},89556:(e,t,n)=>{"use strict";n.d(t,{J:()=>l,Z:()=>u});var r=n(5311),i=n(35178),a=n(61610),o=n(70459),s=n(32355);class l{constructor(e){let t=new i.ou(s.Y.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==s.Y.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let n=e.source.body,i=n.length,l=t;for(;l<i;){let t=n.charCodeAt(l);switch(t){case 65279:case 9:case 32:case 44:++l;continue;case 10:++l,++e.line,e.lineStart=l;continue;case 13:10===n.charCodeAt(l+1)?l+=2:++l,++e.line,e.lineStart=l;continue;case 35:return function(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){let e=n.charCodeAt(i);if(10===e||13===e)break;if(c(e))++i;else if(d(n,i))i+=2;else break}return m(e,s.Y.COMMENT,t,i,n.slice(t+1,i))}(e,l);case 33:return m(e,s.Y.BANG,l,l+1);case 36:return m(e,s.Y.DOLLAR,l,l+1);case 38:return m(e,s.Y.AMP,l,l+1);case 40:return m(e,s.Y.PAREN_L,l,l+1);case 41:return m(e,s.Y.PAREN_R,l,l+1);case 46:if(46===n.charCodeAt(l+1)&&46===n.charCodeAt(l+2))return m(e,s.Y.SPREAD,l,l+3);break;case 58:return m(e,s.Y.COLON,l,l+1);case 61:return m(e,s.Y.EQUALS,l,l+1);case 64:return m(e,s.Y.AT,l,l+1);case 91:return m(e,s.Y.BRACKET_L,l,l+1);case 93:return m(e,s.Y.BRACKET_R,l,l+1);case 123:return m(e,s.Y.BRACE_L,l,l+1);case 124:return m(e,s.Y.PIPE,l,l+1);case 125:return m(e,s.Y.BRACE_R,l,l+1);case 34:if(34===n.charCodeAt(l+1)&&34===n.charCodeAt(l+2))return function(e,t){let n=e.source.body,i=n.length,o=e.lineStart,l=t+3,u=l,p="",f=[];for(;l<i;){let i=n.charCodeAt(l);if(34===i&&34===n.charCodeAt(l+1)&&34===n.charCodeAt(l+2)){p+=n.slice(u,l),f.push(p);let r=m(e,s.Y.BLOCK_STRING,t,l+3,(0,a.OC)(f).join("\n"));return e.line+=f.length-1,e.lineStart=o,r}if(92===i&&34===n.charCodeAt(l+1)&&34===n.charCodeAt(l+2)&&34===n.charCodeAt(l+3)){p+=n.slice(u,l),u=l+1,l+=4;continue}if(10===i||13===i){p+=n.slice(u,l),f.push(p),13===i&&10===n.charCodeAt(l+1)?l+=2:++l,p="",u=l,o=l;continue}if(c(i))++l;else if(d(n,l))l+=2;else throw(0,r.I)(e.source,l,`Invalid character within String: ${h(e,l)}.`)}throw(0,r.I)(e.source,l,"Unterminated string.")}(e,l);return function(e,t){let n=e.source.body,i=n.length,a=t+1,o=a,l="";for(;a<i;){let i=n.charCodeAt(a);if(34===i)return l+=n.slice(o,a),m(e,s.Y.STRING,t,a+1,l);if(92===i){l+=n.slice(o,a);let t=117===n.charCodeAt(a+1)?123===n.charCodeAt(a+2)?function(e,t){let n=e.source.body,i=0,a=3;for(;a<12;){let e=n.charCodeAt(t+a++);if(125===e){if(a<5||!c(i))break;return{value:String.fromCodePoint(i),size:a}}if((i=i<<4|v(e))<0)break}throw(0,r.I)(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+a)}".`)}(e,a):function(e,t){let n=e.source.body,i=y(n,t+2);if(c(i))return{value:String.fromCodePoint(i),size:6};if(p(i)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){let e=y(n,t+8);if(f(e))return{value:String.fromCodePoint(i,e),size:12}}throw(0,r.I)(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}(e,a):function(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw(0,r.I)(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}(e,a);l+=t.value,a+=t.size,o=a;continue}if(10===i||13===i)break;if(c(i))++a;else if(d(n,a))a+=2;else throw(0,r.I)(e.source,a,`Invalid character within String: ${h(e,a)}.`)}throw(0,r.I)(e.source,a,"Unterminated string.")}(e,l)}if((0,o.yp)(t)||45===t)return function(e,t,n){let i=e.source.body,a=t,l=n,u=!1;if(45===l&&(l=i.charCodeAt(++a)),48===l){if(l=i.charCodeAt(++a),(0,o.yp)(l))throw(0,r.I)(e.source,a,`Invalid number, unexpected digit after 0: ${h(e,a)}.`)}else a=g(e,a,l),l=i.charCodeAt(a);if(46===l&&(u=!0,l=i.charCodeAt(++a),a=g(e,a,l),l=i.charCodeAt(a)),(69===l||101===l)&&(u=!0,(43===(l=i.charCodeAt(++a))||45===l)&&(l=i.charCodeAt(++a)),a=g(e,a,l),l=i.charCodeAt(a)),46===l||(0,o.un)(l))throw(0,r.I)(e.source,a,`Invalid number, expected digit but got: ${h(e,a)}.`);return m(e,u?s.Y.FLOAT:s.Y.INT,t,a,i.slice(t,a))}(e,l,t);if((0,o.un)(t))return function(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){let e=n.charCodeAt(i);if((0,o.xr)(e))++i;else break}return m(e,s.Y.NAME,t,i,n.slice(t,i))}(e,l);throw(0,r.I)(e.source,l,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":c(t)||d(n,l)?`Unexpected character: ${h(e,l)}.`:`Invalid character: ${h(e,l)}.`)}return m(e,s.Y.EOF,i,i)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===s.Y.COMMENT);return e}}function u(e){return e===s.Y.BANG||e===s.Y.DOLLAR||e===s.Y.AMP||e===s.Y.PAREN_L||e===s.Y.PAREN_R||e===s.Y.SPREAD||e===s.Y.COLON||e===s.Y.EQUALS||e===s.Y.AT||e===s.Y.BRACKET_L||e===s.Y.BRACKET_R||e===s.Y.BRACE_L||e===s.Y.PIPE||e===s.Y.BRACE_R}function c(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function d(e,t){return p(e.charCodeAt(t))&&f(e.charCodeAt(t+1))}function p(e){return e>=55296&&e<=56319}function f(e){return e>=56320&&e<=57343}function h(e,t){let n=e.source.body.codePointAt(t);if(void 0===n)return s.Y.EOF;if(n>=32&&n<=126){let e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function m(e,t,n,r,a){let o=e.line,s=1+n-e.lineStart;return new i.ou(t,n,r,o,s,a)}function g(e,t,n){if(!(0,o.yp)(n))throw(0,r.I)(e.source,t,`Invalid number, expected digit but got: ${h(e,t)}.`);let i=e.source.body,a=t+1;for(;(0,o.yp)(i.charCodeAt(a));)++a;return a}function y(e,t){return v(e.charCodeAt(t))<<12|v(e.charCodeAt(t+1))<<8|v(e.charCodeAt(t+2))<<4|v(e.charCodeAt(t+3))}function v(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}},89800:(e,t,n)=>{"use strict";
1086Object.defineProperty(t,"__esModule",{value:!0}),t.hasFallbackSource=t.videoMimetypesSchema=void 0;let r=n(70015).__importDefault(n(19577)),i=n(92712);t.videoMimetypesSchema=i.z.union([i.z.literal("application/dash+xml"),i.z.literal("application/x-mpegURL"),i.z.literal("video/mp4"),i.z.literal("video/webm")]),t.hasFallbackSource=function(e){return!r.default.undefined(e.fallback)}},89894:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLoadXhr=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=5e3;t.createLoadXhr=({httpClient:e,timeout:t=a,userAgent:n,mode:o})=>(a,s={})=>r.__awaiter(void 0,void 0,void 0,function*(){let{withCredentials:r=!0}=s;return e.get({options:Object.assign(Object.assign(Object.assign({credentials:r?"include":"same-origin"},i.default.nonEmptyString(o)?{mode:o}:{}),{timeout:t}),i.default.nonEmptyString(n)?{headers:{"User-Agent":n}}:{}),uri:a.trim()})})},89914:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},90105:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Button=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(95611)),s=a.default.button(function(e){let{theme:t,defaultOpacity:n,variant:r}=e,i=0,a="transparent",s=0;return"contained"===r&&(i="0.5em 1em",a=(0,o.default)(t.color.black,t.opacity.little),s=t.border.radius),{":disabled":{cursor:"not-allowed",opacity:t.opacity.medium},background:a,border:0,borderRadius:s,color:t.color.white,cursor:"pointer",display:"block",fontFamily:t.fontFamilyBold,fontSize:"16px",lineHeight:0,margin:0,opacity:t.opacity[n],outline:"none",padding:i,pointerEvents:"all"}});t.Button=e=>{let{defaultOpacity:t="opaque",children:n,disabled:r=!1,type:a="button",variant:o="text",className:l}=e,{tooltipText:u=e["aria-label"]}=e;return(0,i.jsx)(s,Object.assign({"aria-label":e["aria-label"],defaultOpacity:t,type:a,disabled:r,onClick:function(t){e.onClick&&!r&&e.onClick(t)},variant:o,title:u,className:l},{children:n}))}},90216:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WhyThisAdIcon=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(53239),s=n(66976),l=n(37514),u=n(57920);t.WhyThisAdIcon=()=>{let{state:e}=(0,o.useContext)(s.PlayerContext),{isAd:t,whyThisAdIcon:n}=e;if(t&&n){let e=a.default.a({padding:"4px 4px 0 0",zIndex:l.overlayLayer});return n.clickThroughUrl?(0,i.jsx)(e,Object.assign({target:"_blank",href:n.clickThroughUrl},{children:(0,i.jsx)(u.InformationIcon,{})})):(0,i.jsx)(u.InformationIcon,{})}return null}},90236:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.featureSetSchema=t.featureConfig=void 0;let r=n(92712);t.featureConfig={"advertisement-debug":r.z.boolean(),"advertisement-lar-integration-id-override":r.z.string(),"advertisement-quality-assurance":r.z.boolean(),"core-log-level":r.z.string(),"disable-ad-block-prevention":r.z.boolean(),"disable-sentry-error-transport":r.z.boolean(),"enable-7pass-hashed-id-use":r.z.boolean(),"enable-ad-source-api-v2":r.z.boolean(),"enable-dolby-audio":r.z.boolean(),"enable-netid-use":r.z.boolean(),"enable-vast-tracing":r.z.boolean(),"epg-favorites":r.z.boolean(),"mobile-browser-playback":r.z.boolean(),"not-use-hls-native-player-for-illy-stream":r.z.boolean(),"overlay-cut-in-ad-load":r.z.number(),"playback-api-variant-name":r.z.string(),"prefetch-ad-video-sources":r.z.boolean(),"retry-parameters-max-attempts":r.z.number(),"retry-parameters-timeout":r.z.number(),"use-ad-load-meta-data":r.z.boolean(),"use-demographic-targeting":r.z.boolean(),"use-hls-streaming-format":r.z.boolean(),"use-liveramp-envelopes":r.z.boolean(),"use-nonce-string-lar":r.z.boolean(),"use-shaka-latest":r.z.boolean(),"use-xhr-for-vast-tracking":r.z.boolean()},t.featureSetSchema=r.z.object(t.featureConfig)},90453:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Footer=void 0;let r=n(70015),i=n(80263),a=n(30589),o=r.__importDefault(n(28909)),s=n(53239),l=n(66976),u=n(945),c=n(63676),d=n(30967),p=n(67127),f=n(86709),h=n(33793),m=n(30485),g=o.default.footer(({theme:e})=>({paddingBottom:"30px",paddingLeft:"40px",paddingRight:"40px",paddingTop:0,transition:(0,u.themedTransition)(e,"all")}),({isVisible:e})=>!e&&{opacity:0,transform:"translateY(100%)"}),y=o.default.div(({theme:e})=>({marginBottom:"24.5px",marginTop:e.spacing.tinier}));t.Footer=({className:e})=>{let t=(0,a.useTheme)(),{state:n}=(0,s.useContext)(l.PlayerContext),{isAd:r,mustShowControls:o,progressBar:u}=n,v="mini"===t.screenSize,b=u.mustShow&&u.draggable&&!v,_=u.mustShow&&v;return(0,i.jsx)(m.Transition,Object.assign({className:e,enter:o||r},{children:e=>(0,i.jsxs)(g,Object.assign({isVisible:e},{children:[(0,i.jsx)(h.TitleImageLogic,{}),(0,i.jsxs)(y,{children:[(0,i.jsx)(d.FadeTransition,Object.assign({isVisible:b},{children:(0,i.jsx)(p.DraggableProgressBar,{})})),(0,i.jsx)(d.FadeTransition,Object.assign({isVisible:_},{children:(0,i.jsx)(f.PassiveProgressBar,{})}))]}
1086),!v&&(0,i.jsx)(c.ControlBar,{})]}))}))}},90463:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAllDrmNamespacesForDrmType=t.isValidDrmNamespace=t.drmNamespaceToDrmType=void 0;let r=n(95283),i={"com.apple.fairplay":"fairplay","com.apple.fps.1_0":"fairplay","com.apple.fps.2_0":"fairplay","com.apple.fps.3_0":"fairplay","com.microsoft.playready":"playready","com.microsoft.playready.recommendation":"playready","com.widevine.alpha":"widevine"};t.drmNamespaceToDrmType=function(e){return i[e]};let a=Object.keys(i);t.isValidDrmNamespace=function(e){return a.includes(e)},t.getAllDrmNamespacesForDrmType=function(e){return(0,r.filterKeysByValue)(i,e)}},90550:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchCompilationItem=void 0;let r=n(70015),i=n(79449);t.fetchCompilationItem=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){let{compilationItemId:n,userState:r,userToken:a}=t,{graphqlClient:o}=e;return o.query(i.COMPILATION_ITEM_GRAPHQL_QUERY_DOCUMENT,{id:n},{authorization:`Bearer ${a}`,"joyn-user-state":r})})}},90634:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createParseAndValidateVast=void 0;let r=n(29655),i=n(41013),a=n(10268);t.createParseAndValidateVast=({xmlToJson:e})=>{let t=(0,a.createXmlToVastJson)({vastScheme:(0,r.createVastStructure)(),xmlToJson:e});return({adIndex:e,xmlString:n,isWithinWrapper:r,url:a})=>t(n,a).chain(t=>(0,i.validateVastJson)({adIndex:e,adSource:{rawVast:n,resource:t,url:a},isWithinWrapper:r}))}},90861:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZodError=t.quotelessJson=t.ZodIssueCode=void 0;let r=n(80750);
1086t.ZodIssueCode=r.util.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),t.quotelessJson=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class i extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(let i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(r);else if("invalid_return_type"===i.code)r(i.returnTypeError);else if("invalid_arguments"===i.code)r(i.argumentsError);else if(0===i.path.length)n._errors.push(t(i));else{let e=n,r=0;for(;r<i.path.length;){let n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}toString(){return this.message}get message(){return JSON.stringify(this.issues,r.util.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t={},n=[];for(let r of this.issues)r.path.length>0?(t[r.path[0]]=t[r.path[0]]||[],t[r.path[0]].push(e(r))):n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}t.ZodError=i,i.create=e=>new i(e)},90867:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChannelsListIcon=void 0;let r=n(80263);t.ChannelsListIcon=()=>(0,r.jsx)("svg",Object.assign({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.75 2.75C2.33579 2.75 2 3.08579 2 3.5C2 3.91421 2.33579 4.25 2.75 4.25C3.16421 4.25 3.5 3.91421 3.5 3.5C3.5 3.08579 3.16421 2.75 2.75 2.75ZM2 7C2 6.58579 2.33579 6.25 2.75 6.25C3.16421 6.25 3.5 6.58579 3.5 7C3.5 7.41421 3.16421 7.75 2.75 7.75C2.33579 7.75 2 7.41421 2 7ZM2 10.5C2 10.0858 2.33579 9.75 2.75 9.75C3.16421 9.75 3.5 10.0858 3.5 10.5C3.5 10.9142 3.16421 11.25 2.75 11.25C2.33579 11.25 2 10.9142 2 10.5ZM5.75 2.75C5.33579 2.75 5 3.08579 5 3.5C5 3.91421 5.33579 4.25 5.75 4.25H11.25C11.6642 4.25 12 3.91421 12 3.5C12 3.08579 11.6642 2.75 11.25 2.75H5.75ZM5 7C5 6.58579 5.33579 6.25 5.75 6.25H11.25C11.6642 6.25 12 6.58579 12 7C12 7.41421 11.6642 7.75 11.25 7.75H5.75C5.33579 7.75 5 7.41421 5 7ZM5 10.5C5 10.0858 5.33579 9.75 5.75 9.75H11.25C11.6642 9.75 12 10.0858 12 10.5C12 10.9142 11.6642 11.25 11.25 11.25H5.75C5.33579 11.25 5 10.9142 5 10.5Z",fill:"white"})}))},91e3:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isContentResourceWithGenres=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47397);t.isContentResourceWithGenres=function(e){return(0,i.isRecord)(e)&&r.default.nonEmptyArray(e.genres)}},91040:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emptyMp4WithAudio=void 0,t.emptyMp4WithAudio="data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE="}
1086,91161:(e,t,n)=>{var r=n(16421),i=n(60161),a=n(2502),o=n(35121);e.exports={fireInit:function(e,t){!this.isInitiated&&(!this.getAdapter()||this.getAdapter()&&!this.getAdapter().flags.isStarted)&&(this.viewTransform.nextView(),this._initComm(),this._startPings(),this.initChrono.start(),this.isInitiated=!0,e=e||{},t&&(e.triggeredEvents=[t]),this.options&&this.options["session.splitViews"]&&(e.viewIndex=this.plugin.viewTransform._viewIndex),this._send(a.WillSendEvent.WILL_SEND_INIT,a.Service.INIT,e),this._adSavedError(),this._adSavedManifest(),r.notice(a.Service.INIT+" "+(e.title||e.mediaResource)))},fireError:function(e,t,n,o){this.fireInit();var s=i.buildErrorParams(e,t,n,o);s.code&&delete s.code,this._send(a.WillSendEvent.WILL_SEND_ERROR,a.Service.ERROR,s),this._adSavedError(),this._adSavedManifest(),r.notice(a.Service.ERROR+" "+s.errorLevel+" "+s.errorCode),"fatal"===s.errorLevel&&this.fireStop()},fireFatalError:function(e,t,n,r){this.fireError(e,t,n,r),this.fireStop()},fireStop:function(e){if(this.isInitiated||this.isStarted){this._adapter&&(this._adapter.flags.isStopped=!0,this._adapter.monitor&&this._adapter.monitor.stop()),this._adsAdapter&&this.isBreakStarted&&(this._adsAdapter.fireStop(),this._adsAdapter.fireBreakStop()),e=e||{},this._send(a.WillSendEvent.WILL_SEND_STOP,a.Service.STOP,e);var t=this._adapter?this._adapter.chronos:null;t&&(t.total.stop(),t.join.reset(),t.pause.reset(),t.buffer.reset(),t.seek.reset()),r.notice(a.Service.STOP+" at "+e.playhead+"s"),this._reset()}},fireOfflineEvents:function(e){this.options&&!this.options.offline?this.isInitiated||this._adapter&&this._adapter.flags.isStarted||this._adsAdapter&&this._adsAdapter.flags.isStarted?r.error("Adapters have to be stopped"):(this._offlineParams=e,this.viewTransform.response.code&&this.viewTransform.response.host?this._generateAndSendOffline():(this.offlineReference=this._generateAndSendOffline.bind(this),this.viewTransform.on(o.Event.DONE,this.offlineReference))):r.error("To send offline events, offline option must be disabled")},_generateAndSendOffline:function(){if(this.options.disableStorage)return null;var e=this._offlineParams;for(this._initComm();;){var t=this.requestBuilder.buildBody(a.Service.OFFLINE_EVENTS).viewJson;if(null===t[0])break;var n=this.viewTransform.nextView(),r=t[0].replace(/CODE_PLACEHOLDER/g,n.toString()).replace(/,"sessionId":"SESSION_PLACEHOLDER"/g,"").replace(/,"sessionRoot":"ROOT_PLACEHOLDER"/g,"");this._send(a.WillSendEvent.WILL_SEND_OFFLINE_EVENTS,a.Service.OFFLINE_EVENTS,e,r,"POST",(function(e,t){this.offlineStorage.removeView(t.offlineId)}).bind(this),{offlineId:t[1]})}this.offlineStorage.sent(),this._offlineParams=null}}},91188:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchMovie=void 0;let r=n(70015),i=n(31596);t.fetchMovie=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){let{movieId:n,userState:r,userToken:a}=t,{graphqlClient:o}=e;return o.query(i.MOVIE_GRAPHQL_QUERY_DOCUMENT,{id:n},{authorization:`Bearer ${a}`,"joyn-user-state":r})})}},91274:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlaybackOverlay=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(95611)),s=n(53239),l=n(14665),u=n(66976),c=n(60623),d=n(1821),p=a.default.header(({theme:e})=>({background:`linear-gradient(to bottom, ${(0,o.default)(e.color.black,.4)}, ${(0,o.default)(e.color.black,0)})`})),f=a.default.div(({theme:e})=>{let{playbackOverlay:t}=e;return{alignItems:"flex-start",boxSizing:"border-box",display:"flex",height:t.height,paddingLeft:t.left,paddingTop:t.top}});function h(e){null!==e.parentElement&&(e.parentElement.style.transform="scale(1)")}t.PlaybackOverlay=()=>{let{state:e}=(0,s.useContext)(u.PlayerContext),{isReadyForPlayback:t,isAd:n,isUpNextVisible:r}=e;if(!t||n||r)return null;let a=function(e){return e.mustShowAgeRating?"ageRating":e.mustShowCornerBug?"cornerBug":e.mustShowBrandLogo||e.mustShowProductPlacement?"brandLogoOrProductPlacement":"nothing"}(e);return(0,i.jsx)(d.PlaybackOverlayTransition,Object.assign({in:function(e){return e.mustShowAgeRating||e.mustShowBrandLogo||e.mustShowProductPlacement||e.mustShowCornerBug}(e),timeout:d.transitionDurationInMilliseconds,classNames:"playback-overlay",mountOnEnter:!0,unmountOnExit:!0,onExited:h},{children:(0,i.jsx)(p,Object.assign({role:"rowheader"},{children:(0,i.jsx)(l.SwitchTransition,Object.assign({mode:"out-in"},{children:(0,i.jsx)(d.PlaybackOverlayTransition,Object.assign({timeout:d.transitionDurationInMilliseconds,classNames:"legal-marking",addEndListener:(e,t)=>{e.addEventListener("transitionend",t,!1)}},{children:(0,i.jsx)(f,{children:(0,c.renderLegalMarkings)(e)})}),a)}))}))}))}},91367:(e,t,n)=>{"use strict";
1086Object.defineProperty(t,"__esModule",{value:!0}),t.videoDescriptorsSchema=void 0;let r=n(47561),i=n(92712);t.videoDescriptorsSchema=i.z.object({name:i.z.string().nullable().transform(r.Maybe.of)}).strict()},91583:(e,t,n)=>{e.exports=n(54906).extend({constructor:function(){this.reset()},reset:function(){this.isStarted=!1,this.isJoined=!1,this.isPaused=!1,this.isSeeking=!1,this.isBuffering=!1,this.isVideoStateBuffering=!1,this.isEnded=!1,this.isStopped=!1,this.lastQuartileSent=0}})},91685:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bootstrap=void 0;let r=n(70015),i=r.__importDefault(n(83862)),a=n(61283),o=n(65661),s=n(24348);t.bootstrap=function(e,t){var n,l;return r.__awaiter(this,void 0,void 0,function*(){let{buildContentResourceForExtra:r,buildContentResourceForHighlight:u,buildContentResourcesForLivestreams:c,buildContentResourceForMovie:d,buildContentResourcesForPlaylist:p,buildContentResourcesForCompilationItem:f,buildContentResourcesForSeriesEpisode:h,buildContentResourceForSportsMatch:m,buildEnvironment:g,createConcurrentStreamingServiceClient:y,createErrorReporter:v,createFireAndForgetInvoker:b,createGraphqlClientLegacy:_,createGraphqlClient:S,createHttpClient:E,createConcurrentStreamingObserver:k,createLogger:A,createToggleRouter:T,createYouboraTrackingProvider:x,createFetchAndBuildContentResourcesForClip:w,createFetchAndBuildContentResourcesForCompilationItem:C,createFetchAndBuildContentResourcesForExtra:I,createFetchAndBuildContentResourcesForHighlight:O,createFetchAndBuildContentResourcesForLivestreams:R,createFetchAndBuildContentResourcesForMovie:P,createFetchAndBuildContentResourcesForPlaylist:N,createFetchAndBuildContentResourcesForSeriesEpisode:L,createFetchAndBuildContentResourcesForSportsMatch:j,createFetchContentResources:M,createFetchUserState:D,createLivestreamFetcher:F,createUtmParametersApi:U,errorTransport:V,fetchCompilationItem:B,fetchExtra:G,fetchHighlight:Y,fetchMovie:z,fetchPlaylist:W,fetchSeriesEpisode:Z,fetchSportsMatch:H,location:K,clock:X,ky:$}=e,J=g.PACKAGE_NAME,q=g.PACKAGE_ID,Q=v({errorTransport:V}),ee=b({errorReporter:Q}),et=yield T({clock:X,fireAndForgetInvoker:ee,location:K},Object.assign(Object.assign({},t),{playerPackageName:J})),en=A(),er=E({ky:$}),ei=k({clock:X,concurrentStreamingServiceClient:y({errorReporter:Q,httpClient:er},Object.assign(Object.assign({},t),{concurrentStreamingServiceBaseUrl:t.concurrentStreamingServiceBaseUrl})),invoker:ee}),{getClientUtmParameters:ea}=t,eo=U({getClientUtmParameters:ea}),{joynDistributionTenant:es}=a.commonRequiredOptionSchema.parse(t),el=yield x({toggleRouter:et,utmParametersApi:eo},{appVersion:t.appVersion,deviceModel:t.deviceModel,distributionTenant:es,playerPackageName:J,playerPackageVersion:q}),eu=_({httpClient:er,joynDistributionTenant:es}),ec=S(t.graphqlEndpoint,t.graphqlServiceApiKey,{httpClient:i.default,joynDistributionTenant:es}),ed=new URL(t.graphqlEndpoint),ep=D({graphqlClient:eu},{graphqlEndpoint:ed,graphqlServiceApiKey:t.graphqlServiceApiKey,isUserLoggedIn:null!=(n=t.isUserLoggedIn)&&n}),{fetchLivestreamsContentResources:ef}=F({graphqlClient:eu,toggleRouter:et},{graphqlEndpoint:ed,graphqlServiceApiKey:t.graphqlServiceApiKey,isUserLoggedIn:null!=(l=t.isUserLoggedIn)&&l}),eh=w({buildContentResourceForClip:o.buildContentResourceForClip,fetchClip:s.fetchClip,graphqlClient:ec},{graphqlEndpoint:ed,graphqlServiceApiKey:t.graphqlServiceApiKey}),em=C({buildContentResourcesForCompilationItem:f,fetchCompilationItem:B,graphqlClient:ec},{graphqlEndpoint:ed,graphqlServiceApiKey:t.graphqlServiceApiKey}),eg=I({buildContentResourceForExtra:r,fetchExtra:G,graphqlClient:ec},{graphqlEndpoint:ed,graphqlServiceApiKey:t.graphqlServiceApiKey}),ey=O({buildContentResourceForHighlight:u,fetchHighlight:Y,graphqlClient:ec},{graphqlEndpoint:ed,graphqlServiceApiKey:t.graphqlServiceApiKey}),ev=R({buildContentResourcesForLivestreams:c,fetchLivestreamsContentResources:ef,toggleRouter:et}),eb=P({buildContentResourceForMovie:d,fetchMovie:z,graphqlClient:ec},{graphqlEndpoint:ed,graphqlServiceApiKey:t.graphqlServiceApiKey}),e_=N({buildContentResourcesForPlaylist:p,fetchPlaylist:W,graphqlClient:ec},{graphqlEndpoint:ed,graphqlServiceApiKey:t.graphqlServiceApiKey}),eS=M({fetchAndBuildContentResourcesForClip:eh,fetchAndBuildContentResourcesForCompilationItem:em,fetchAndBuildContentResourcesForExtra:eg,fetchAndBuildContentResourcesForHighlight:ey,fetchAndBuildContentResourcesForLivestreams:ev,fetchAndBuildContentResourcesForMovie:eb,fetchAndBuildContentResourcesForPlaylist:e_,fetchAndBuildContentResourcesForSeriesEpisode:L({buildContentResourcesForSeriesEpisode:h,fetchSeriesEpisode:Z,graphqlClient:eu},{graphqlEndpoint:ed,graphqlServiceApiKey:t.graphqlServiceApiKey}),fetchAndBuildContentResourcesForSportsMatch:j({buildContentResourceForSportsMatch:m,fetchSportsMatch:H,graphqlClient:ec},{graphqlEndpoint:ed,graphqlServiceApiKey:t.graphqlServiceApiKey}),fetchUserState:ep});return{buildEnvironment:g,clock:X,concurrentStreamingObserver:ei,errorReporter:Q,fetchContentResources:eS,fetchUserState:ep,graphqlClient:eu,httpClient:er,invoker:ee,logger:en,toggleRouter:et,utmParametersApi:eo,youboraTracker:el}})}}
1086,91723:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetchAndBuildContentResourcesForClip=void 0;let r=n(70015);t.createFetchAndBuildContentResourcesForClip=function(e,t){let{buildContentResourceForClip:n,fetchClip:i,graphqlClient:a}=e,{graphqlEndpoint:o,graphqlServiceApiKey:s}=t;return function(e){return r.__awaiter(this,void 0,void 0,function*(){let{clipId:t,userState:r,userToken:l}=e;return[n((yield i({graphqlClient:a},{clipId:t,graphqlEndpoint:o,graphqlServiceApiKey:s,userState:r,userToken:l})))]})}}},91899:(e,t,n)=>{"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,{A:()=>r})},91920:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupGlobalEnvironmentForShaka=void 0;let r=n(70015).__importDefault(n(87244)),i=n(62868);t.setupGlobalEnvironmentForShaka=function(e){let{globalObject:t,polyfill:n}=e;t.muxjs=r.default,(0,i.preserveMediaCapabilities)(),n.installAll(),n.PatchedMediaKeysApple.install()}},92209:e=>{e.exports={Preroll:"pre",Midroll:"mid",Postroll:"post"}},92221:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActionTypes=void 0,function(e){e.Start="xstate.start",e.Stop="xstate.stop",e.Raise="xstate.raise",e.Send="xstate.send",e.Cancel="xstate.cancel",e.NullEvent="",e.Assign="xstate.assign",e.After="xstate.after",e.DoneState="done.state",e.DoneInvoke="done.invoke",e.Log="xstate.log",e.Init="xstate.init",e.Invoke="xstate.invoke",e.ErrorExecution="error.execution",e.ErrorCommunication="error.communication",e.ErrorPlatform="error.platform",e.ErrorCustom="xstate.error",e.Update="xstate.update",e.Pure="xstate.pure",e.Choose="xstate.choose"}(t.ActionTypes||(t.ActionTypes={})),t.SpecialTargets=void 0,function(e){e.Parent="#_parent",e.Internal="#_internal"}(t.SpecialTargets||(t.SpecialTargets={}))},92237:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interceptSeekingAttempts=void 0;let r=n(70015).__importDefault(n(19577));t.interceptSeekingAttempts=function(e){let{platformSpecificPlayerAdapter:t,eventEmitterProxy:n,playbackStateMachineService:i}=e;n.blockEventWhen("playbackFinished",()=>{let{preventPlaybackFinishedEvent:e}=i.getSnapshot().context;return!!e&&(t.play({origin:"api"}),!0)}),n.blockEventWhen("seek",()=>{let{isSeekingAllowed:e}=i.getSnapshot().context;if(!e){let e=t.getPosition();return i.getSnapshot().matches("playback.loaded.notFinished.nextSeekingDisabled")?i.send("ENABLE_SEEKING"):e>0&&(i.send("PREVENT_PLAYBACK_FINISHED_EVENT"),t.forceSeekToStart()),!0}return!1}),n.on("positionChange",()=>{let e=t.getPosition(),n=t.getDuration(),{isSeekingAllowed:a,preventPlaybackFinishedEvent:o}=i.state.context;!a&&o&&e>0&&r.default.number(n)&&e<n&&i.send("ALLOW_PLAYBACK_FINISHED_EVENT")})}},92272:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCreateTrackVastEvent=void 0;let r=n(70015).__importDefault(n(19577)),i=n(2961),a=n(14555);t.createCreateTrackVastEvent=({fetchTrackingUrl:e,encodeURIComponent:t,store:n,collections:o={},getCurrentDate:s=()=>new Date,getDate:l=e=>new Date(e),random:u=()=>Math.random()})=>(c,d)=>{let{impression:p=[],error:f=[],tracking:h=[],click:m=[]}=o,{usedAdSource:g,contentPositionInSeconds:y}=n.getState();function v(n){if(r.default.emptyString(n)||r.default.nullOrUndefined(n))return;let o=(0,a.populateMacroValues)({assetUri:null==g?void 0:g.url,contentPositionInSeconds:y,errorCode:null==d?void 0:d.ERRORCODE},{getCurrentDate:s,getDate:l,random:u}),p=(0,a.replaceMacros)(n,o,t);i.logger.log(`tracking vast event "${c}" with url ${p} from payload`,d),e(p).catch(e=>{i.logger.warn(e)})}"impression"===c?p.forEach(({value:e})=>{v(e)}):"error"===c?f.forEach(({value:e})=>{v(e)}):"click"===c?m.forEach(({value:e})=>{v(e)}):h.forEach(({$event:e,value:t})=>{e===c&&v(t)})}},92320:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLiverampEnvelopes=void 0;let r=n(70015),i=n(47561),a=n(12041);t.getLiverampEnvelopes=()=>r.__awaiter(void 0,void 0,void 0,function*(){let{getLiverampEnvelopes:e}=globalThis,t=i.Maybe.of(e).toOkOrErr(Error("getLiverampEnvelopes is not defined"));try{if(t.isOk()){let e=yield t.value(),n=a.liverampEnvelopesSchema.safeParse(e);if(n.success)return i.Result.ok(n.data);return i.Result.err(Error("Invalid liveramp envelopes"))}return i.Result.ok([])}catch(e){return i.Result.err(e)}})},92367:(e,t)=>{"use strict";function n(e){let[,t]=e;return void 0!==t}
1086Object.defineProperty(t,"__esModule",{value:!0}),t.stripUndefinedProperties=void 0,t.stripUndefinedProperties=function(e){return Object.fromEntries(Object.entries(e).filter(n))}},92575:e=>{e.exports={cdnName:"LEVEL3",parsers:[{element:"host+type",headerName:"X-WR-Diag",regex:/Host:(.+)\sType:(.+)/}],requestHeaders:{"X-WR-Diag":"host"},parseType:function(e){if(e){if(0===e.indexOf("TCP_HIT")||0===e.indexOf("TCP_MEM_HIT")||0===e.indexOf("TCP_IMS_HIT"))return 1;else if(0===e.indexOf("TCP_MISS"))return 2}return 0}}},92686:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReplayIcon=void 0;let r=n(80263),i=n(83947);t.ReplayIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M12,2 C14.6879355,2 17.2094665,3.06675422 19.0721687,4.93003324 L19.016,4.875 L20.4531775,3.43849828 C20.5281921,3.36348373 20.6245883,3.31476663 20.7280416,3.29828037 L20.8067309,3.29205167 C21.0521908,3.29205167 21.2563393,3.46892683 21.2986753,3.70217604 L21.3067309,3.79205167 L21.3067309,7.58007759 C21.3067309,8.09291343 20.9206907,8.51558475 20.4233521,8.57334986 L20.3067309,8.58007759 L16.518705,8.58007759 C16.3860968,8.58007759 16.2589198,8.52739917 16.1651516,8.43363098 C15.9915853,8.26006463 15.9723001,7.99064023 16.1072962,7.79577209 L16.1651516,7.7265242 L17.6022633,6.2890691 C16.116645,4.83132261 14.1253742,4 12,4 C7.581722,4 4,7.581722 4,12 C4,16.418278 7.581722,20 12,20 C16.418278,20 20,16.418278 20,12 C20,11.4477153 20.4477153,11 21,11 C21.5522847,11 22,11.4477153 22,12 C22,17.5228475 17.5228475,22 12,22 C6.4771525,22 2,17.5228475 2,12 C2,6.4771525 6.4771525,2 12,2 Z M9.98397533,8.00116464 C10.1683917,8.00116464 10.3490964,8.05135379 10.5054812,8.14600832 L15.5367476,11.1912671 C15.9975791,11.4701932 16.1376708,12.0580903 15.8496511,12.5043721 C15.7704601,12.6270773 15.6634532,12.7307056 15.5367476,12.8073963 L10.5054812,15.8526551 C10.0446496,16.1315812 9.43758566,15.9959127 9.14956592,15.5496309 C9.05182543,15.3981837 9,15.2231843 9,15.0445905 L9,8.9540729 C9,8.4277962 9.44054076,8.00116464 9.98397533,8.00116464 Z"})}))},92712:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.z=void 0;let s=a(n(53347));t.z=s,o(n(53347),t),t.default=s},93234:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlayerWithContext=void 0;let r=n(80263),i=n(30589),a=n(53239),o=n(66976),s=n(49712),l=n(87120),u=n(945),c=n(40891);t.PlayerWithContext=e=>{let{clock:t,externalState:n,externalActions:d,keyBindings:p,getFeatureValue:f,playerWidth:h,controlsInteractions:m,isUserLoggedIn:g,joynCountry:y,joynDistributionTenant:v,externalChildren:b}=e,_=(0,a.useMemo)(()=>{let e={isUserLoggedIn:g.unwrapOr(!1),joynCountry:y.unwrapOr("DE"),joynDistributionTenant:v.unwrapOr("JOYN"),playerWidth:h};return{actions:d,clock:t,getFeatureValue:f,state:Object.assign(Object.assign({},n),e)}},[y,v,h,n,d,t,g,f]);return(0,a.useEffect)(()=>{_.actions.uiStateChanged()},[_]),p&&p.onKeyHandled(()=>{_.actions.triggerImmediateInteractionAttempt()}),(0,r.jsx)(o.PlayerContext.Provider,Object.assign({value:_},{children:(0,r.jsx)(i.ThemeProvider,Object.assign({theme:(0,l.overrideTheme)((0,u.createTheme)((0,s.getScreenSize)(h)),_.state)},{children:(0,r.jsx)(c.PlayerComposition,{controlsInteractions:m,externalChildren:b})}))}))}},93250:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasCertificateUrl=void 0,t.hasCertificateUrl=function(e){return Object.prototype.hasOwnProperty.call(e,"certificateUrl")}},93324:(e,t,n)=>{"use strict";
1086Object.defineProperty(t,"__esModule",{value:!0}),t.createDataUsageGuardMachine=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47561),o=n(21639),s=n(47397),l=n(30936);function u(e){return(0,s.isRecord)(e)&&(0,s.hasOwnPropertyOf)(e,"effectiveType","string")}function c(e){return(0,s.isRecord)(e)&&(0,s.hasOwnPropertyOf)(e,"cellularConnectionUsagePermitted","boolean")}function d(e){return e.connectionInformation.isJust()&&e.usageSettings.isJust()}function p(e){return!!d(e)&&("cellular"!==e.connectionInformation.value.type||e.usageSettings.value.cellularConnectionUsagePermitted)}t.createDataUsageGuardMachine=function(e){let{networkInformationApi:t,dispatch:n}=e;return(0,o.createMachine)({predictableActionArguments:!0,id:"data-usage-guard-machine",type:"compound",initial:"initializing",context:{connectionInformation:a.Maybe.nothing(),usageSettings:a.Maybe.nothing(),networkServiceInvokeError:a.Maybe.nothing(),playerLifecycleError:a.Maybe.nothing()},preserveActionOrder:!0,on:{CONNECTION_CHANGED:{actions:["saveConnectionInformation","sendToggleBufferingEvent"]},SETTINGS_CHANGED:{actions:["saveUsageSettings","sendToggleBufferingEvent"]},SET_PLAYER_LIFECYCLE_ERROR:{actions:["setPlayerLifecycleError"]},UNSET_PLAYER_LIFECYCLE_ERROR:{actions:["unsetPlayerLifecycleError"]}},states:{initializing:{invoke:{src:"disableBuffering",onDone:{target:"initialized"},onError:{actions:["saveNetworkServiceInvokeError"],target:"#failed"}}},initialized:{type:"parallel",states:{data:{type:"compound",initial:"notAvailable",states:{notAvailable:{on:{DATA_UPDATED:{cond:"isAllDataAvailable",target:"available"}},invoke:[{src:"retrieveConnectionInformation",onDone:{actions:["saveConnectionInformation","sendDataUpdatedEvent"]},onError:{actions:["saveNetworkServiceInvokeError"],target:"#failed"}},{src:"retrieveUsageSettings",onDone:{actions:["saveUsageSettings","sendDataUpdatedEvent"]},onError:{actions:["saveNetworkServiceInvokeError"],target:"#failed"}}]},available:{type:"final",entry:"sendToggleBufferingEvent"}}},buffering:{type:"compound",initial:"disabled",states:{enabling:{invoke:{src:"enableBuffering",onDone:{target:"enabled"},onError:{actions:["saveNetworkServiceInvokeError"],target:"#failed"}}},disabling:{invoke:{src:"disableBuffering",onDone:{target:"disabled"},onError:{actions:["saveNetworkServiceInvokeError"],target:"#failed"}}},disabled:{entry:["sendToggleBufferingEvent"],on:{TOGGLE_BUFFERING:{target:"enabling",cond:"isBufferingAllowed"}}},enabled:{entry:["sendToggleBufferingEvent"],on:{TOGGLE_BUFFERING:{target:"disabling",cond:"isBufferingNotAllowed"}}}}}}},failed:{type:"final",id:"failed",entry:"dispatchError"}}},{actions:{sendToggleBufferingEvent:(0,o.send)("TOGGLE_BUFFERING"),sendDataUpdatedEvent:(0,o.send)("DATA_UPDATED"),saveNetworkServiceInvokeError:(0,o.assign)({networkServiceInvokeError(e,t){if((0,s.isRecord)(t)&&t.data instanceof Error&&i.default.nonEmptyString(t.data.message)){let e=`Failed to detect or apply network usage policies, cause: ${t.data.message}`;return a.Maybe.just(new l.PlayerError("internal",e))}return e.networkServiceInvokeError}}),setPlayerLifecycleError:(0,o.assign)({playerLifecycleError:(e,t)=>(0,s.isRecord)(t)&&"SET_PLAYER_LIFECYCLE_ERROR"===t.type&&t.playerLifecycleError instanceof l.PlayerError?a.Maybe.just(t.playerLifecycleError):e.playerLifecycleError}),unsetPlayerLifecycleError:(0,o.assign)({playerLifecycleError:(e,t)=>(0,s.isRecord)(t)&&"UNSET_PLAYER_LIFECYCLE_ERROR"===t.type?a.Maybe.nothing():e.playerLifecycleError}),saveConnectionInformation:(0,o.assign)({connectionInformation:(e,t)=>(0,s.isRecord)(t)&&u(t.data)?a.Maybe.just(t.data):(0,s.isRecord)(t)&&"CONNECTION_CHANGED"===t.type&&u(t.connectionInformation)?a.Maybe.just(t.connectionInformation):e.connectionInformation}),saveUsageSettings:(0,o.assign)({usageSettings:(e,t)=>(0,s.isRecord)(t)&&c(t.data)?a.Maybe.just(t.data):(0,s.isRecord)(t)&&"SETTINGS_CHANGED"===t.type&&c(t.usageSettings)?a.Maybe.just(t.usageSettings):e.usageSettings}),dispatchError(e){e.networkServiceInvokeError.isJust()?n("dataUsageGuard:error",e.networkServiceInvokeError.value):n("dataUsageGuard:error",new l.PlayerError("internal","Unexpected error happened while determining network usage conditions"))}},guards:{isAllDataAvailable:d,isBufferingAllowed:p,isBufferingNotAllowed:e
1086=>!p(e)},services:{retrieveConnectionInformation:t.getConnectionInformation,retrieveUsageSettings:t.getUsageSettings,disableBuffering(){return r.__awaiter(this,void 0,void 0,function*(){yield n("dataUsageGuard:disableBuffering")})},enableBuffering(e){return r.__awaiter(this,void 0,void 0,function*(){yield n("dataUsageGuard:enableBuffering"),e.playerLifecycleError.isJust()&&"playback_buffering_not_allowed_for_connection_type"===e.playerLifecycleError.value.type&&n("dataUsageGuard:replay")})}}})}},93443:(e,t,n)=>{var r=n(16421);e.exports=n(54906).extend({constructor:function(e){this._fireEvent="function"==typeof e?e:null,"undefined"==typeof window||"object"!=typeof window.npawtmConfig?this._npawtmConfig=null:this._npawtmConfig=window.npawtmConfig},identify:function(e){var t,n;return n=null,t=[],this._npawtmConfig?null===(n=this._getPage(e))?r.warn("no page found"):t=this._getEvents(n):r.warn("no config descriptor available"),"undefined"==typeof window?r.warn("Product Analytics Config: cannot bind events since DOM is not available"):t.length>0&&window.addEventListener("load",(function(){this._bindElements(t)}).bind(this)),n},_getPage:function(e){var t,n,r,i,a,o=null;if("object"==typeof e&&null!==e&&this._npawtmConfig&&this._npawtmConfig.urls&&this._npawtmConfig.regexes&&this._npawtmConfig.domains&&this._npawtmConfig.domains.includes(e.hostname.toLowerCase()))for(void 0!==(r=this._npawtmConfig.urls[e.pathname])&&void 0!==r.page&&(o=r.page),t=e.pathname+e.search,a=0;a<this._npawtmConfig.regexes.length&&null===o;a++)i=new RegExp((n=this._npawtmConfig.regexes[a]).regex),t.match(i)&&(o=n.page);return o},_getEvents:function(e){var t=this._npawtmConfig&&this._npawtmConfig.events?this._npawtmConfig.events[e]:null;return null==t&&(t=[]),t},_bindElements:function(e){var t,n,i,a,o;for(o=0;o<e.length;o++)if(t=e[o],null===(i=document.querySelector(t.selector)))r.warn("element "+t.selector+" not found");else if(0===t.events.length)r.warn("element "+t.selector+" has no events to bind");else for(a=0;a<t.events.length;a++)n=t.events[a],i.npawEventInfo=t,i.npawEventType=n,i.addEventListener(n,(function(e){var t=e.currentTarget.npawEventInfo,n=e.currentTarget.npawEventType;this._elementEvent(t,n,e)}).bind(this))},_elementEvent:function(e,t,n){this._fireEvent?this._fireEvent(e.name,t,{uiElement:e.name,eventName:e.name}):r.warn("Cannot trigger event since no handler has been provided")}})},93918:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetchUserState=void 0;let r=n(70015),i=n(66083);t.createFetchUserState=function(e,t){let{graphqlClient:n}=e,{graphqlEndpoint:a,graphqlServiceApiKey:o,isUserLoggedIn:s}=t;return function(e){return r.__awaiter(this,void 0,void 0,function*(){let t=`Bearer ${e}`;return(yield n.request({endpoint:a.toString(),headers:{"Joyn-Platform":"web",authorization:t,"x-api-key":o},operationName:"UserState",zodSchema:s?i.meQuerySchema:i.meAnonymousQuerySchema})).me})}}},94054:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRatingAb6=void 0;let r=n(80263),i=n(83826);t.AgeRatingAb6=()=>(0,r.jsxs)(i.AgeRatingIcon,Object.assign({width:34,height:20},{children:[(0,r.jsx)("path",{d:"M32 0c1.105 0 2 .895 2 2v16c0 1.105-.895 2-2 2H2c-1.105 0-2-.895-2-2V2C0 .895.895 0 2 0h30zm0 1H2c-.513 0-.936.386-.993.883L1 2v16c0 .513.386.936.883.993L2 19h30c.513 0 .936-.386.993-.883L33 18V2c0-.513-.386-.936-.883-.993L32 1z",transform:"translate(-213 -253) translate(213 253)"}),(0,r.jsx)("path",{d:"M6.986 13.834l.497-1.29h3.178l.507 1.29h1.986L9.977 6.287H8.189L5 13.834h1.986zm3.057-2.88H8.1l.97-2.493.972 2.493zm7.106 3.013c.36 0 .702-.072 1.026-.215.324-.144.607-.34.85-.59.243-.25.434-.547.574-.889.14-.342.21-.712.21-1.109s-.07-.765-.21-1.103c-.14-.339-.331-.633-.574-.883-.243-.25-.526-.445-.85-.585-.324-.14-.666-.21-1.026-.21-.294 0-.561.035-.8.105-.24.07-.458.168-.657.293V6h-1.798v7.834h1.798v-.264c.199.125.418.222.657.292.239.07.506.105.8.105zm-.353-1.468c-.191 0-.38-.033-.568-.099-.188-.066-.366-.195-.536-.386v-1.677c.17-.192.348-.322.536-.392.187-.07.377-.105.568-.105.184 0 .353.035.507.105.155.07.287.165.398.287.11.121.196.26.259.419.063.158.094.33.094.513 0 .191-.031.368-.094.53-.063.162-.149.301-.26.42-.11.117-.242.21-.397.28-.154.07-.323.105-.507.105zM25.96 14c.45 0 .86-.072 1.23-.215.372-.144.692-.34.96-.59.27-.25.477-.545.624-.883.147-.339.22-.703.22-1.093 0-.36-.067-.697-.203-1.01-.136-.312-.326-.586-.568-.821-.243-.236-.536-.425-.878-.569-.342-.143-.722-.226-1.142-.248l1.435-2.24H25.53l-1.953 3.1c-.191.317-.346.622-.463.917-.118.294-.177.595-.177.904 0 .376.072.73.215 1.065.144.335.348.627.613.877.264.25.583.447.954.59.372.144.785.216 1.241.216zm-.002-1.49c-.191 0-.366-.035-.524-.104-.158-.07-.294-.16-.408-.27-.114-.111-.203-.24-.265-.387-.063-.147-.094-.298-.094-.452 0-.14.028-.276.083-.409.055-.132.149-.294.281-.485l.044-.077c.118-.081.252-.144.403-.188.15-.044.31-.066.48-.066.191 0 .366.033.524.099.158.066.293.156.403.27.11.114.197.245.26.392.062.147.093.298.093.453 0 .154-.031.305-.094.452-.062.147-.
1086149.278-.26.392-.11.114-.244.206-.402.276-.158.07-.333.104-.524.104z",transform:"translate(-213 -253) translate(213 253)"})]}))},94059:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUserSettingsStorage=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47561),a=n(61311);function o(e){return r.default.string(e)?i.Maybe.just(e):i.Maybe.nothing()}let s="__player_user-settings";t.createUserSettingsStorage=function(e){let{storageAdapter:t,logger:n}=e,l=n.createChildLogger(["user-settings"]),u=l.createChildLogger(["load"]),c=l.createChildLogger(["save"]);function d(){var e,n,l;let c=t.getItem(s);return c.isErr()?(u.log(c.error),{audioTrackLabel:i.Maybe.nothing(),audioTrackLanguage:i.Maybe.nothing(),audioTrackRole:i.Maybe.nothing(),isMuted:i.Maybe.nothing(),lastSelectedLiveChannelId:i.Maybe.nothing(),liveChannelGroupFilter:i.Maybe.just("DEFAULT"),subtitleLabel:i.Maybe.nothing(),subtitleLanguage:i.Maybe.nothing(),subtitleRole:i.Maybe.nothing(),volume:i.Maybe.nothing()}):{audioTrackLabel:o(c.value.audioTrackLabel),audioTrackLanguage:o(c.value.audioTrackLanguage),audioTrackRole:o(c.value.audioTrackRole),isMuted:(e=c.value.isMuted,r.default.boolean(e)?i.Maybe.just(e):i.Maybe.nothing()),lastSelectedLiveChannelId:o(c.value.lastSelectedLiveChannelId),liveChannelGroupFilter:(n=c.value.liveChannelGroupFilter,a.livestreamGroupsSchema.safeParse(n).success)?i.Maybe.just(c.value.liveChannelGroupFilter):i.Maybe.just("DEFAULT"),subtitleLabel:o(c.value.subtitleLabel),subtitleLanguage:o(c.value.subtitleLanguage),subtitleRole:o(c.value.subtitleRole),volume:(l=c.value.volume,r.default.number(l)?i.Maybe.just(l):i.Maybe.nothing())}}return{load:d,save:function(e){let n=Object.fromEntries(Object.entries(Object.assign(Object.assign({},d()),e)).map(([e,t])=>[e,t.isJust()?t.value:null]));c.log("storing settings",n);let r=t.setItem(s,n);r.isErr()&&c.error(r.error)}}}},94490:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},94621:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetchAndBuildContentResourcesForSportsMatch=void 0;let r=n(70015);t.createFetchAndBuildContentResourcesForSportsMatch=function(e,t){let{buildContentResourceForSportsMatch:n,fetchSportsMatch:i,graphqlClient:a}=e,{graphqlEndpoint:o,graphqlServiceApiKey:s}=t;return function(e){return r.__awaiter(this,void 0,void 0,function*(){let{sportsMatchId:t,userState:r,userToken:l}=e;return[n((yield i({graphqlClient:a},{graphqlEndpoint:o,graphqlServiceApiKey:s,sportsMatchId:t,userState:r,userToken:l})))]})}}},94657:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__clearCache=t.supportsAutoplay=void 0;let r=n(70015),i=n(96545),a=n(91040);function o(e,t,n){e.setAttribute(n,""),e[t]=!0}let s=(e=>{let t=new Map;return{cachedFunction:n=>void 0===n?e(n):(t.has(n)||t.set(n,e(n)),t.get(n)),clearCache:()=>{t.clear()}}})(e=>r.__awaiter(void 0,void 0,void 0,function*(){let t,n=function(e){let t=document.createElement("video");return t.setAttribute("height","0"),t.setAttribute("width","0"),Object.entries({height:"0",opacity:"0",position:"fixed",top:"0",width:"0"}).forEach(([e,n])=>{t.style[e]=n}),o(t,"playsinline","playsinline"),o(t,"webkitPlaysinline","webkit-playsinline"),t.type="video/mp4",t.src=e,t}(a.emptyMp4WithAudio);if(e)o(n,"muted","muted");else n.removeAttribute("muted"),n.muted=!1;try{if(t=n.play(),(0,i.isPromiseLikeValue)(t))return yield function(e){return r.__awaiter(this,void 0,void 0,function*(){try{return yield e,!0}catch(e){return!1}})}(t)}catch(e){}return!n.paused}));t.supportsAutoplay=s.cachedFunction,t.__clearCache=s.clearCache},94707:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRatingAb12=void 0;let r=n(80263),i=n(83826);t.AgeRatingAb12=()=>(0,r.jsxs)(i.AgeRatingIcon,Object.assign({width:40,height:20},{children:[(0,r.jsx)("path",{d:"M38 0c1.105 0 2 .895 2 2v16c0 1.105-.895 2-2 2H2c-1.105 0-2-.895-2-2V2C0 .895.895 0 2 0h36zm0 1H2c-.513 0-.936.386-.993.883L1 2v16c0 .513.386.936.883.993L2 19h36c.513 0 .936-.386.993-.883L39 18V2c0-.513-.386-.936-.883-.993L38 1z",transform:"translate(-213 -293) translate(213 293)"}),(0,r.jsx)("path",{d:"M6.994 13.867l.5-1.296h3.19l.51 1.296h1.994l-3.19-7.579H8.201L5 13.867h1.994zm3.07-2.892h-1.95l.975-2.504.975 2.504zM17.199 14c.362 0 .706-.
1086072 1.03-.216.326-.144.61-.342.854-.593.244-.251.436-.548.576-.892.14-.343.21-.715.21-1.113 0-.4-.07-.769-.21-1.108-.14-.34-.332-.636-.576-.887-.244-.251-.528-.447-.853-.587-.325-.14-.669-.21-1.03-.21-.296 0-.564.034-.804.105-.24.07-.46.168-.66.293V6h-1.805v7.867h1.806v-.266c.2.126.419.224.66.294.24.07.507.105.802.105zm-.354-1.474c-.192 0-.382-.033-.57-.1-.19-.066-.368-.195-.538-.387v-1.684c.17-.192.349-.324.537-.394.189-.07.379-.105.57-.105.186 0 .355.035.51.105.156.07.289.166.4.288.11.122.197.263.26.421.063.16.094.33.094.516 0 .192-.031.369-.094.531-.063.163-.15.303-.26.422-.111.118-.244.212-.4.282-.155.07-.324.105-.51.105zm12.213 1.341v-1.518h-1.75V6.332h-1.12l-2.46.854v1.617l1.774-.498v4.044h-1.884v1.518h5.44zm5.94 0v-1.518h-2.693l1.33-1.485c.22-.25.415-.48.58-.687.167-.207.304-.402.41-.587.108-.185.187-.364.24-.537.05-.174.077-.35.077-.527 0-.332-.056-.64-.167-.925-.11-.284-.275-.534-.493-.748-.218-.214-.489-.382-.814-.504-.325-.122-.702-.183-1.13-.183-.429 0-.816.061-1.164.183-.347.122-.646.294-.897.515-.251.222-.447.491-.587.81-.14.317-.215.668-.222 1.052h1.784c.03-.303.127-.541.294-.715.166-.174.393-.26.681-.26.31 0 .532.08.665.238.133.159.2.334.2.526 0 .23-.086.458-.256.687-.17.23-.395.51-.675.842l-2.538 2.926v.897h5.374z",transform:"translate(-213 -293) translate(213 293)"})]}))},94799:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(7295),i=n(817);function a(e){(0,i.A)(1,arguments);var t=(0,r.A)(e);return t.setMinutes(0,0,0),t}},94807:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createInMemoryToggleRouter=void 0;let r=n(47561);t.createInMemoryToggleRouter=function(e){let t=new Map(Object.entries(e));return{destroy(){t.clear()},getAllFeatures:()=>Object.fromEntries(t),getEnabledFeatures(){let e=[];return t.forEach((t,n)=>{!0===t&&e.push(n)}),e},getFeatureValue:e=>r.Maybe.of(t.get(e)),setFeatureValue(e,n){t.set(e,n)}}}},95269:(e,t,n)=>{var r=i,i={};i.noConflict=function(){return i=r,this},i.VERSION=n(31335),i.polyfills=n(8471),i.polyfills(),i.Object=n(54906),i.Emitter=n(16533),i.Log=n(16421),i.Log.loadLevelFromUrl(),i.Util=n(60161),i.HybridNetwork=n(58498),i.Chrono=n(15210),i.Timer=n(84034),i.Constants=n(2502),i.Request=n(23307),i.Communication=n(62257),i.Transform=n(35121),i.ViewTransform=n(11462),i.ResourceTransform=n(6779),i.CdnParser=n(78542),i.HlsParser=n(30174),i.DashParser=n(64507),i.OfflineParser=n(43446),i.LocationheaderParser=n(16569),i.Options=n(56415),i.Plugin=n(21340),i.Storage=n(98048),i.RequestBuilder=n(73471),i.PlayheadMonitor=n(31989),i.Adapter=n(3656),i.adapters={}
1086,i.Infinity=n(3890),i.BackgroundDetector=n(15415),i.DeviceDetector=n(53725),i.UUIDGenerator=n(43122),i.registerAdapter=(function(e,t){this.adapters[e]=t}).bind(i),i.unregisterAdapter=(function(e){this.adapters[e]=null}).bind(i),e.exports=i},95283:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filterKeysByValue=void 0,t.filterKeysByValue=function(e,t){let n=[];for(let[r,i]of Object.entries(e))i===t&&n.push(r);return n}},95340:(e,t,n)=>{"use strict";var r;n.d(t,{H:()=>r}),function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(r||(r={}))},95371:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(63195);r.__exportStar(n(44665),t),r.__exportStar(n(96988),t),r.__exportStar(n(32385),t),r.__exportStar(n(89914),t),r.__exportStar(n(75026),t)},95543:(e,t,n)=>{"use strict";function r(e){return function e(t,n){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,n){if(null===t)return"null";if(n.includes(t))return"[Circular]";let r=[...n,t];if("function"==typeof t.toJSON){let n=t.toJSON();if(n!==t)return"string"==typeof n?n:e(n,r)}else if(Array.isArray(t)){var i=t,a=r;if(0===i.length)return"[]";if(a.length>2)return"[Array]";let n=Math.min(10,i.length),o=i.length-n,s=[];for(let t=0;t<n;++t)s.push(e(i[t],a));return 1===o?s.push("... 1 more item"):o>1&&s.push(`... ${o} more items`),"["+s.join(", ")+"]"}var o=t,s=r;let l=Object.entries(o);return 0===l.length?"{}":s.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(o)+"]":"{ "+l.map(([t,n])=>t+": "+e(n,s)).join(", ")+" }"}(t,n);default:return String(t)}}(e,[])}n.d(t,{N:()=>r})},95611:(e,t,n)=>{"use strict";var r=n(21397);e.exports=function(e,t){var n=r(e);return(null==t&&(t=n.alpha),"h"===n.space[0])?n.space+("a("+n.values[0]+","+n.values[1]+"%,"+n.values[2]+"%,")+t+")":n.space+("a("+n.values+",")+t+")"}},95643:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgeRating14=void 0;let r=n(80263),i=n(52087);t.AgeRating14=()=>(0,r.jsxs)(i.AgeRatingIcon,Object.assign({width:22,height:22},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 2C22 0.89543 21.1046 0 20 0H2C0.89543 0 0 0.89543 0 2V18C0 19.1046 0.89543 20 2 20H20C21.1046 20 22 19.1046 22 18V2ZM2 1H20L20.1166 1.00673C20.614 1.06449 21 1.48716 21 2V18L20.9933 18.1166C20.9355 18.614 20.5128 19 20 19H2L1.88338 18.9933C1.38604 18.9355 1 18.5128 1 18V2L1.00673 1.88338C1.06449 1.38604 1.48716 1 2 1Z",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.9412 10.9294H17.9412V12.5882H16.9412V14H15.0706V12.5882H11V11.3529L13.1765 6H15.0824L13.2 10.9294H15.0706V8.72941H16.9412V10.9294ZM10.7371 12.423V14H5V12.423H6.98637V8.22158L5.11685 8.73957V7.05899L7.71081 6.17266H8.89094V12.423H10.7371Z",fill:"white"})]}))},95845:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChannelsIcon=void 0;let r=n(80263),i=n(83947);t.ChannelsIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M5 19.5h1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1zm0-7h1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1zm0-7h1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1zm6 14h12a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H11a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1zm0-7h12a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H11a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1zm0-7h12a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H11a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1z"})}))}
1086,95888:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createApi=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47561),o=n(26852),s=n(89220),l=n(18318),u=n(62367);t.createApi=({buildEnvironment:e,clock:t,concurrentStreamingObserver:n,createAdDecisionServiceProvider:c,createAdFeedbackProvider:d,createAdvertisement:p,createBaseUiLayers:f,createCore:h,createFetchContentSource:m,createFetchEntitlement:g,createLivestreamFetcher:y,createFullscreenService:v,createGenerateAlternativeUrl:b,createGetAdClientInformation:_,createGetClientCapabilities:S,createGetLinearAdReplacementOptions:E,createIabOpenMeasurement:k,createNetworkInformation:A,createNielsenTracker:T,createNonceManager:x,createReferrerUrlManager:w,createPlayerUi:C,createShakaPlayerAdapter:I,createSomAdScheduler:O,createUserSettingsStorage:R,createViewabilityObserver:P,errorReporter:N,fetchContentResources:L,fetchUserState:j,getNonceString:M,getReferrerUrl:D,httpClient:F,invoker:U,localStorage:V,location:B,openWebsite:G,graphqlClient:Y,toggleRouter:z,utmParametersApi:W,videoElement:Z,window:H,youboraTracker:K,logger:X},$)=>r.__awaiter(void 0,void 0,void 0,function*(){var r;let{adBlockPreventionBaseUrl:J,isSelfManaged:q,joynDistributionTenant:Q,disableEPG:ee,epgButtonId:et}=$,en=Object.assign(Object.assign({},$),{playerPackageName:e.PACKAGE_NAME,playerPackageVersion:e.PACKAGE_ID}),{uiLayer:er,playbackUiLayer:ei,fullscreenNode:ea}=f({createElement:H.document.createElement.bind(H.document),domNode:en.domNode,fullscreenNode:en.fullscreenNode,videoElement:Z}),eo=v({document:H.document,fullscreenNode:ea}),es=(()=>{let e=z.getFeatureValue("core-log-level").unwrapOr("none");return new Map([["debug","debug"],["error","error"],["warn","warn"],["none","none"],[null,"none"]]).get(e)})();void 0!==es&&X.setLevel(es);let el=yield I({domNode:ei,fullscreenService:eo,httpClient:F,logLevel:es,toggleRouter:z,videoElement:Z}),eu=(0,l.createPlatformAgnosticPlayerController)({logger:X,platformSpecificPlayerAdapter:el}),ec=P(en),ed=b(J),ep=(0,o.createBrokenVastReporter)({httpClient:F,logger:X,toggleRouter:z},en),ef=p({brokenVastReporter:ep,clock:t,generateAlternativeUrl:ed,httpClient:F,openWebsite:G,playbackCore:eu,toggleRouter:z,viewabilityObserver:ec},en),eh=k({location:B,videoElement:Z},en);ef.addAdViewabilityProvider(eh);let em=x({getNonceString:M,logger:X}),eg=w({getReferrerUrl:D,logger:X}),ey=_({errorReporter:N,getTheAdexUserId:s.getTheAdexUserId,httpClient:F,localStorage:V,toggleRouter:z},en),ev=c({errorReporter:N,httpClient:F,toggleRouter:z,utmParametersApi:W},en),eb=O({adDecisionServiceProvider:ev,brokenVastReporter:ep,clock:t,errorReporter:N,generateAlternativeUrl:ed,getAdClientInformation:ey,getTheAdexUserId:s.getTheAdexUserId,httpClient:F,invoker:U,nonceManager:em,referrerUrlManager:eg,toggleRouter:z,utmParametersApi:W},Object.assign({fallbackToSourceAssetOnFailure:!0},en));ef.setAdScheduler(eb);let e_=C(er,{clock:t,toggleRouter:z,window:H},en),eS=R({logger:X,storageAdapter:(0,u.createWebStorageAdapter)({localStorage:globalThis.localStorage})}),{fetchElectronicProgramGuideData:eE}=y({graphqlClient:Y,logger:X,toggleRouter:z},{graphqlEndpoint:new URL($.graphqlEndpoint),graphqlServiceApiKey:$.graphqlServiceApiKey,isUserLoggedIn:null!=(r=$.isUserLoggedIn)&&r}),ek=g({httpClient:F},en),eA=E({getAdClientInformation:ey,nonceManager:em,referrerUrlManager:eg,toggleRouter:z},en),eT=m({fetchEntitlement:ek,getClientCapabilities:S({player:eu,toggleRouter:z},Object.assign(Object.assign({},$),{maxSecurityLevel:1,platform:"browser"})),getLinearAdReplacementOptions:eA,httpClient:F,toggleRouter:z},en),ex=h({clock:t,concurrentStreamingObserver:n,config:{logLevel:es,logServiceCalls:"debug"===es,logServiceEvents:"debug"===es},disableEPG:!i.default.undefined(ee)&&ee,epgButtonId:i.default.undefined(et)?null:et,errorReporter:N,fetchContentResources:L,fetchContentSource:eT,fetchElectronicProgramGuideData:i.default.undefined(ee)||!ee?eE:void 0,fetchUserState:j,invoker:U,isNextEpisodeOverlayAllowed:a.Maybe.of($.enableNextEpisodeOverlay),isSelfManaged:!!i.default.undefined(q)||q,joynCountry:a.Maybe.of(),joynDistributionTenant:Q,networkInformation:A({errorReporter:N,invoker:U,window:globalThis.window}),platformPlayerController:ef,toggleRouter:z,userSettings:eS});if(ex.addTrackingProvider(ev.track),i.default.nullOrUndefined(en.joynCountry)||"DE"===en.joynCountry){let e=T({clock:t,errorReporter:N,invoker:U,utmParametersApi:W,windowLocation:B},en);ex.addTrackingProvider(e)}ex.addTrackingProvider(K);let ew=d({httpClient:F},en);return ex.addTrackingProvider(ew),ex.setUi(e_),ex.setUserToken($.userToken),Object.freeze(Object.assign(Object.assign({},ex),{addContent:e=>{ex.addContent(e)}}))})},96035:(e,t,n)=>{"use strict";
1086Object.defineProperty(t,"__esModule",{value:!0}),t.buildContentResourceForHighlight=t.buildContentResourceForHighlightInOnDemandChannel=void 0;let r=n(47561),i=n(29241);function a(e){return["Episode","Season"].includes(e.__typename)}function o(e){return["Movie","Series"].includes(e.__typename)}function s({extra:e}){var t,n,s,l,u;if(null==e)throw Error("Highlight not found");if(!e.video)throw Error("Highlight has no video");let c=r.Maybe.of(e.brands).andThen(e=>r.Maybe.fromNullable(e[0]));return{ageRating:r.Maybe.of(e.ageRating).map(e=>e.minAge),ageRatingDescriptors:(0,i.extractAgeRatingDescriptors)(e.ageRating),brandName:c.map(e=>e.title),contentType:"short-form",externalTrackingId:r.Maybe.of(null==(t=e.tracking)?void 0:t.externalAssetId),genres:function(e){var t;if(e.parent&&a(e.parent)){let n=null==(t=e.parent.series)?void 0:t.genres.map(e=>{var t;return null!=(t=null==e?void 0:e.name)?t:""});return r.Maybe.of(n)}if(e.parent&&o(e.parent)){let t=e.parent.genres.map(e=>{var t;return null!=(t=null==e?void 0:e.name)?t:""});return r.Maybe.of(t)}return r.Maybe.nothing()}(e),id:e.video.id,infOnlineCode:r.Maybe.of(null==(n=e.tracking)?void 0:n.agofCode),parentTitle:e.parent&&a(e.parent)?r.Maybe.just(null==(s=e.parent.series)?void 0:s.title):e.parent&&o(e.parent)?r.Maybe.just(e.parent.title):r.Maybe.nothing(),path:r.Maybe.of(e.path),poster:r.Maybe.of(e.posterImage).map(e=>new URL(e.url)),primaryColor:r.Maybe.of(e.vibrantColorImage).map(e=>e.vibrantColor),title:e.title,titleImage:r.Maybe.of(e.artLogoImage).map(e=>new URL(e.url)),tvShowId:(l=e).parent&&["Compilation","Movie","Series","SportsCompetition"].includes(l.parent.__typename)?r.Maybe.just(l.parent.id):l.parent&&a(l.parent)?r.Maybe.just(null==(u=l.parent.series)?void 0:u.id):r.Maybe.just(l.id)}}t.buildContentResourceForHighlightInOnDemandChannel=s,t.buildContentResourceForHighlight=s},96108:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createEventsTracer=void 0,t.createEventsTracer=()=>{let e=null,t=0,n=[];return{getEvents:()=>n,saveEvent:(r,i)=>{!(t<1)&&(!e||e.test(r))&&(n=n.slice(-t)).push({args:i,event:r})},setFilter:t=>{e=t},setMaxLength:e=>{(t=e-1)<1&&(n=[])}}}},96399:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChannelItem=void 0;let r=n(80263),i=n(53239),a=n(35018),o=n(80216);t.ChannelItem=e=>{let{channel:t,switchChannel:n,switchChannelEntry:s,selected:l}=e,{channelData:u,contentResource:c,playlistIndex:d}=t,{darkVibrantColor:p,vibrantColor:f}=u;return(0,r.jsxs)(i.Fragment,{children:[(0,r.jsx)(a.ChannelItemHeader,{selected:l,contentResource:c,darkVibrantColor:p,switchChannel:n,switchChannelEntry:s,playlistIndex:d,vibrantColor:f}),function(e){let{channel:t,selected:n,selectedPlaylistChildIndex:i,switchChannel:a,switchChannelEntry:s}=e,{contentResource:l,playlistIndex:u,channelData:c}=t;return(0,r.jsx)(o.ChannelProgram,{darkVibrantColor:c.darkVibrantColor,program:c.program,selected:n,selectedPlaylistChildIndex:i,channelId:l.id,channelType:l.contentType,playlistIndex:u,switchChannel:a,switchChannelEntry:s,vibrantColor:c.vibrantColor,onAir:c.onAir})}(e)]})}},96545:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromiseLikeValue=void 0;let r=n(47397);t.isPromiseLikeValue=function(e){return(0,r.isRecord)(e)&&(0,r.hasPropertyOf)(e,"then","function")&&(0,r.hasPropertyOf)(e,"catch","function")}},96694:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(57908)},96988:(e,t)=>
1086{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},97102:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetchContentResources=void 0;let r=n(70015);t.createFetchContentResources=function(e){let{fetchUserState:t,fetchAndBuildContentResourcesForClip:n,fetchAndBuildContentResourcesForCompilationItem:i,fetchAndBuildContentResourcesForExtra:a,fetchAndBuildContentResourcesForHighlight:o,fetchAndBuildContentResourcesForMovie:s,fetchAndBuildContentResourcesForPlaylist:l,fetchAndBuildContentResourcesForSeriesEpisode:u,fetchAndBuildContentResourcesForSportsMatch:c,fetchAndBuildContentResourcesForLivestreams:d}=e;return function(e){return r.__awaiter(this,void 0,void 0,function*(){let{playlistType:r,userToken:p,isUserLoggedIn:f}=e,h={isUserLoggedIn:f,userState:yield t(p),userToken:p};switch(r){case"clip":return n(Object.assign(Object.assign({},h),{clipId:e.id}));case"compilation-item":return i(Object.assign(Object.assign({},h),{compilationItemId:e.id,initialFetch:e.initialFetch}));case"extra":return a(Object.assign(Object.assign({},h),{extraId:e.id}));case"highlight":return o(Object.assign(Object.assign({},h),{highlightId:e.id}));case"livestream":return d(h);case"movie":return s(Object.assign(Object.assign({},h),{movieId:e.id}));case"playlist":return l(Object.assign(Object.assign({},h),{initialFetch:e.initialFetch,playlistId:e.id,playlistOffset:e.playlistLength}));case"series-episode":return u(Object.assign(Object.assign({},h),{episodeId:e.id,initialFetch:e.initialFetch}));case"sports-match":return c(Object.assign(Object.assign({},h),{sportsMatchId:e.id}));default:throw Error(`"${r}" playlist type was not handled`)}})}}},97110:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDispatcher=void 0;let r=n(5211);t.createDispatcher=()=>{let e={isDestroyed:!1};return{destroy(){e=Object.assign(Object.assign({},e),{isDestroyed:!0})},dispatch(t,...n){if(void 0===e.handlers)throw TypeError(`Canât dispatch "${String(t)}" message because dispatcher hasnât registered any handlers`);if(e.isDestroyed)throw Error(`Canât dispatch "${String(t)}" message because dispatcher instance is destroyed`);return r.logger.log(`dispatching "${String(t)}" with`,...n),e.handlers[t](...n)},isDestroyed:()=>e.isDestroyed,registerHandlers(t){if(void 0!==e.handlers)throw TypeError("Canât register handlers again, they have been already registered");e={handlers:t,isDestroyed:!1}}}}},97250:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EntitlementError=void 0;let r=n(3968),i=n(30936);class a extends i.PlayerError{constructor(e,t="",n="",i){super(e,t),this.code=n,void 0!==i&&(this.serviceRequestOptions=(0,r.encodeURL)(JSON.stringify(i)))}
1086shouldErrorMessageBeReportedToUser(){return this.code.startsWith("ENT_")}}t.EntitlementError=a},97373:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetchEntitlementApi=void 0;let r=n(70015),i=r.__importDefault(n(19577)),a=n(47561),o=n(2275),s=n(2973),l=n(76864),u="UNKNOWN";t.createFetchEntitlementApi=(e,t)=>{let{httpClient:n,logger:c}=e,{appVersion:d,entitlementBaseUrl:p,operatingSystem:f=u,appRuntimeEnvironment:h=u,b2bContext:m=u}=t;return({contentResource:e,personalIdentificationNumber:t,userToken:u})=>r.__awaiter(void 0,void 0,void 0,function*(){let r={Authorization:`Bearer ${u}`,"Joyn-B2B-Context":m,"Joyn-Client-OS":f,"Joyn-Client-Version":d,"Joyn-Platform":h},g=Object.assign({content_id:e.id,content_type:function(e){switch(e.contentType){case"live":return"LIVE";case"interactive":return"ILLY_LIVE_STREAM";default:return"VOD"}}(e)},i.default.string(t)?{pin:t.toString()}:{}),y=`${p}/entitlement-token`;try{let e=yield n.postJson({options:{headers:r,retry:!0,timeout:15e3},payload:g,uri:y}),{entitlement_token:t}=l.entitlementServiceResponseSchema.parse(e),i=(0,o.decodeEntitlementToken)(t),s=i.joyn_packages.includes("DE_PREMIUM");return a.Result.ok({disableNoAdNoContent:s,encodedJsonWebToken:t,entitlementTokenPayload:i})}catch(e){return c.error("Error while fetching entitlement token",e),a.Result.err((0,s.mapUnknownErrorToEntitlementError)(e))}})}},97403:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IconButton=void 0;let r=n(70015),i=n(80263),a=n(25416),o=r.__importDefault(n(28909)),s=r.__importDefault(n(19577)),l=n(90105),u={display:"block"},c={alignItems:"center",display:"flex"},d=(0,o.default)(l.Button)(e=>{let{isIconOnly:t,theme:n}=e;return Object.assign({"@media (hover: hover)":{"&:not(:disabled):hover":{transform:"scale(1.2)"}},fontFamily:n.fontFamily,transition:"transform 300ms ease-in-out"},t?u:c)}),p=(0,a.css)({display:"block",margin:0,padding:0,pointerEvents:"visiblePainted"}),f=o.default.span({cursor:"inherit",display:"block",lineHeight:1,marginLeft:"10px"});t.IconButton=e=>{let{tooltipText:t,icon:n,variant:r="text",defaultOpacity:a,disabled:o,"aria-label":l,type:u,className:c,onClick:h,label:m}=e,g="contained"===r?"2em":"100%",{iconSize:y=g}=e,v=void 0===m;return(0,i.jsxs)(d,Object.assign({"aria-label":l,defaultOpacity:a,type:u,disabled:o,onClick:h,variant:r,className:c,isIconOnly:v,tooltipText:t},{children:[(0,i.jsx)(n,{size:y,className:p}),s.default.string(m)?(0,i.jsx)(f,{children:m}):null]}))}},97613:(e,t,n)=>{var r=n(2502),i=n(16421),a=n(23307),o=n(60161),s=n(3890);e.exports={_initInfinity:function(){this.infinity.on(s.Event.NAV,this._navListener.bind(this)),this.infinity.on(s.Event.SESSION_START,this._sessionStartListener.bind(this)),this.infinity.on(s.Event.SESSION_STOP,this._sessionStopListener.bind(this)),this.infinity.on(s.Event.EVENT,this._eventListener.bind(this))},_sendInfinity:function(e,t,n){var r={params:n=this.requestBuilder.buildParams(n,t),plugin:this,adapter:this.getAdapter(),adsAdapter:this.getAdsAdapter()};if(this.emit(e,r),this.infinity._comm&&null!==n&&this.options.enabled){this.lastServeiceSent=t;var i=new a(null,t,n);this.isMethodPostEnabled()&&i.setPostRequest(!0),this.infinity._comm.sendRequest(i)}},_navListener:function(e){var t=e.data.params||{};this._sendInfinity(r.WillSendEvent.WILL_SEND_NAV,r.Service.NAV,t),this._beat.isRunning||this._beat.start(),i.notice(r.Service.NAV+" "+t.route)},_sessionStartListener:function(e){var t=e.data.params||{};this._sendInfinity(r.WillSendEvent.WILL_SEND_SESSION_START,r.Service.SESSION_START,t),this._beat.isRunning||this._beat.start(),i.notice(r.Service.SESSION_START+" "+t.route)},_sessionStopListener:function(e){var t=e.data.params||{};this._sendInfinity(r.WillSendEvent.WILL_SEND_SESSION_STOP,r.Service.SESSION_STOP,t),this._beat.isRunning&&this._beat.stop(),i.notice(r.Service.SESSION_STOP+" "+t.route)},_eventListener:function(e){var t=e.data.params||{};this._sendInfinity(r.WillSendEvent.WILL_SEND_EVENT,r.Service.EVENT,t),i.notice(r.Service.EVENT+" "+t.name)},_sendBeat:function(e){this._sendInfinity(r.WillSendEvent.WILL_SEND_BEAT,r.Service.BEAT,{diffTime:e}
1086),this.infinity&&this.infinity._setLastActive(),i.verbose(r.Service.BEAT)},getSessionMetrics:function(){return o.getMetricsFrom(this.options["session.metrics"])}}},97642:e=>{e.exports={parsers:[{element:"name",headerName:null,regex:/(.+)/},{element:"host",headerName:null,regex:/(.+)/}]}},97961:e=>{e.exports=function(e){return"[object Array]"===Object.prototype.toString.call(e)}},98044:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTrackingService=void 0;let r=n(70015).__importDefault(n(19577)),i=n(47561),a=n(30936);t.createTrackingService=({invoker:e,versionString:t})=>{let n={},o=[];return{addTrackingProvider(e){o.push(e)},destroy(){n=Object.assign(Object.assign({},n),{destroyed:!0})},reset(){n={destroyed:n.destroyed}},setState:e=>{n=Object.assign(Object.assign({},n),e)},track:(s,l={})=>{var u;if(!0===n.destroyed)return;let c=(({state:e,versionString:t})=>{var n,a,o;return{ad:e.ad,content:{encodedEntitlementJsonWebToken:i.Maybe.of(e.encodedEntitlementJsonWebToken),entitlementTokenPayload:i.Maybe.of(e.entitlementTokenPayload),mimetype:null!=(n=e.mimetype)?n:null,resource:null!=(a=e.contentResource)?a:{},sourceUrl:null!=(o=e.sourceUrl)?o:null},fetchingAd:(({state:e})=>{var t,n,r,i,a,o;return{blockPosition:null!=(n=null==(t=e.fetchingAd)?void 0:t.blockPosition)?n:null,blockType:null!=(i=null==(r=e.fetchingAd)?void 0:r.blockType)?i:null,positionWithinRoll:null!=(o=null==(a=e.fetchingAd)?void 0:a.positionWithinRoll)?o:null}})({state:e}),runtime:(({state:e,versionString:t})=>{var n,i,a,o,s,l,u,c,d,p,f,h,m,g,y,v;let b=(null==(n=e.ad)?void 0:n.adMode)==="linear";return{audioTrackLanguage:null!=(i=e.audioTrackLanguage)?i:null,audioTrackRole:null!=(a=e.audioTrackRole)?a:null,duration:null!=(o=b?e.adDuration:e.duration)?o:null,errorDetails:r.default.string(e.errorDetails)?e.errorDetails:null,errorMessage:null!=(s=e.errorMessage)?s:null,errorType:null!=(l=e.errorType)?l:null,fromPosition:null!=(u=e.fromPosition)?u:null,isAdBlockerEnabled:null!=(c=e.isAdBlockerEnabled)&&c,isInFullscreen:!!e.isFullscreen,isLivestream:null!=(d=e.isLivestream)&&d,mediaType:b?"ad":"content",onDemandChannelPlaylistIndex:null!=(p=e.onDemandChannelPlaylistIndex)?p:null,origin:null!=(f=e.origin)?f:null,playerVersion:null!=t?t:null,playlistIndex:null!=(h=e.playlistIndex)?h:null,playlistLength:null!=(m=e.playlistLength)?m:null,position:null!=(g=b?e.adPosition:e.position)?g:null,touchVideoElementEvent:null!=(y=e.touchVideoElementEvent)?y:null,videoQuality:null!=(v=e.videoQuality)?v:null}})({state:e,versionString:t})}})({state:n,versionString:t});if(l.error){let e=a.PlayerError.fromUnknown(l.error,"unknown"),t=null!=(u=n.destroyReason&&"destroy"===l.abortReason?n.destroyReason:l.abortReason)?u:"unknown",i="lifecycle-abort"===s?`${t} (${e.type})`:null;Object.assign(c.runtime,{errorDetails:r.default.string(e.additionalDetails)?e.additionalDetails:null,errorMessage:e.message,errorType:e.type,lifecycleAbortReason:i})}if("send-ad-feedback"===s&&c.ad&&l.formData&&Object.assign(c.ad,{feedBackData:l.formData}),"lifecycle-play"===s){if(!0===n.isLifecyclePlay)return;n=Object.assign(Object.assign({},n),{isLifecyclePlay:!0})}if("lifecycle-play-rejected"===s){if(!0===n.isLifecyclePlayRejected)return;n=Object.assign(Object.assign({},n),{isLifecyclePlayRejected:!0})}for(let t of("ad-slot-requested"===s&&Object.assign(c.runtime,{duration:null}),o))e.fireAndForget(t,[s,c])}}}},98048:(e,t,n)=>{var r=n(54906),i=n(16421);e.exports=r.extend({constructor:function(e,t,n,r){this.prefix=e||"youbora",this.disableCookies=t,this.forceCookies=n,this.disabled=r},isEnabled:function(){if(this.disabled)return!1;var e=!0;if(!this.forceCookies)try{localStorage.setItem(this.prefix+".test","true"),localStorage.removeItem(this.prefix+".test")}catch(t){e=!1}return e},setLocal:function(e,t){if(this.disabled)return null;var n=null;try{n=!this.forceCookies&&("undefined"!=typeof localStorage&&localStorage||this.disableCookies)?localStorage.setItem(this.prefix+"."+e,t):this._setCookie(this.prefix+".local."+e,t)}catch(e){i.error("Youbora Infinity needs localStorage or cookies, not supported by your browser.")}return n},getLocal:function(e){return this.disabled?null:this._localGetRemove("getItem","_getCookie",e)},removeLocal:function(e){return this.disabled?null:this._localGetRemove("removeItem","_removeCookie",e)},_localGetRemove:function(e,t,n){var r=null;try{r=!this.forceCookies&&("undefined"!=typeof localStorage&&localStorage||this.disableCookies)?localStorage[e](this.prefix+"."+n):this[t](this.prefix+".local."+n)}catch(e){i.error("Youbora Infinity needs localStorage or cookies, not supported by your browser.")}return r},setSession:function(e,t){if(this.disabled)return null;var n=null;try{n=!this.forceCookies&&("undefined"!=typeof sessionStorage&&sessionStorage||this.disableCookies)?sessionStorage.setItem(this.prefix+"."+e,t):this._setCookie(this.prefix+".session."+e,t)}catch(e){i.error("Youbora Infinity needs sessionStorage or cookies, not supported by your browser.")}return n},getSession:function(e){return this.disabled?null:this._sessionGetRemove("getItem","_getCookie",e)},removeSession:function(e){return this.disabled?null:this._sessionGetRemove("removeItem","_removeCookie",e)},_sessionGetRemove:function(e,t,n){var r=null;try{r=!this.forceCookies&&("undefined"!=typeof sessionStorage&&sessionStorage||this.disableCookies)?sessionStorage[e](this.prefix+"."+n):this[t](this.prefix+".session."+n)}catch(e){i.error("Youbora Infinity needs sessionStorage or cookies, not supported by your browser.")}return r}
1086,getStorages:function(e){return this.getSession(e)||this.getLocal(e)},setStorages:function(e,t){this.setSession(e,t),this.setLocal(e,t)},removeStorages:function(e){this.removeSession(e),this.removeLocal(e)},_setCookie:function(e,t){if("undefined"!=typeof document){var n=";";"undefined"!=typeof location&&(n+="domain="+location.host.split(".").reverse().splice(0,2).reverse().join(".")+";path=/;"),document.cookie=e+"="+t+n}},_getCookie:function(e){if("undefined"!=typeof document)for(var t=e+"=",n=decodeURIComponent(document.cookie).split(";"),r=0;r<n.length;r++){for(var i=n[r];" "===i.charAt(0);)i=i.substring(1);if(0===i.indexOf(t))return i.substring(t.length,i.length)}return null},_removeCookie:function(e){this._setCookie(e,"")}})},98164:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createApi=void 0;let r=n(70015),i=n(2961);t.createApi=function({store:e,playbackCore:t,actions:n,externalEmitter:a}){let o=Object.assign(Object.assign({},t),{off:a.off.bind(a),on:a.on.bind(a)}),s={addAdViewabilityProvider:e=>{n.addAdViewabilityProvider(e)},destroy:()=>r.__awaiter(this,void 0,void 0,function*(){return n.destroy()}),getContentPosition:()=>n.getContentPosition(),getDuration:()=>n.getDuration(),getFetcher:()=>n.getFetcher(),getVideoQuality:()=>n.getVideoQuality(),handleNonLinearAdEvent:e=>{n.handleNonLinearAdEvent(e)},mute:e=>{n.mute(e)},openAdClickThrough:()=>{n.openAdClickThrough()},pause:()=>r.__awaiter(this,void 0,void 0,function*(){return n.pause()}),play:e=>r.__awaiter(this,void 0,void 0,function*(){return n.play(e)}),reset:()=>r.__awaiter(this,void 0,void 0,function*(){return n.reset()}),setAdScheduler:e=>{n.setAdScheduler(e)},setContentAndSources:e=>r.__awaiter(this,void 0,void 0,function*(){return n.setContentType(e.contentResource.contentType),n.setPrefetchTime(),n.setContentAndSources(e)}),setVolume:(e,t)=>{n.setVolume(e,t)},skipAd:()=>{n.skipAd()},unmute:e=>{n.unmute(e)}};return Object.keys(s).forEach(t=>{let n=function(t){let n=e=>{if(e&&"store_valididation_failed"===e.code)throw i.logger.warn(e),Error(`API call "${t.name}" aborted because of internal state validation`);throw null!=e?e:Error(`API call "${t.name}" aborted because of internal error`)};return function(...r){if(e.getState().isDestroyed)throw Error(`API call "${t.name}" not done because instance is destroyed`);try{let e=t(...r);return e instanceof Promise?e.catch(n):e}catch(e){n(e);return}}}(s[t]);o[t]=n}),o}},98185:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapLivestreamContentResourceToLegacyContentResource=t.buildContentResourcesForLivestreams=void 0;let r=n(42872),i=n(39352),a=n(79285),o=n(38004),s=n(16052),l=n(11911);function u(e){return e.brand.isJust()}function c(e){return{brandLogo:e.brand.value.livestream.logo.url,brandName:e.brand.value.brandCode,contentType:"live",externalTrackingId:e.id,highestStreamQualityProvided:e.quality.map(e=>"HD"===e?"HIGH_DEFINITION":"STANDARD_DEFINITION"),id:e.id,infOnlineCode:e.agofCode,requiredSubscription:e.markings.includes("PLUS")?"PLUS":"NONE",title:e.title,tvShowId:e.brand.value.id}}function d(e){return e.program.isJust()&&"EpgEntry"!==e.program.value.__typename}t.buildContentResourcesForLivestreams=function(e){let{liveStreams:t}=e;return t.filter(u).map(e=>{if(e.type.isJust()&&"ON_DEMAND"===e.type.value){let t=c(e),n=e.epgEvents.filter(d).map(e=>{let t=e.program.value,n=t.__typename;switch(n){case"Movie":return(0,s.buildContentResourceForMovieInOnDemandChannel)(t);case"Episode":return(0,r.buildContentResourceForSeriesEpisodeInOnDemandChannel)(t);case"CompilationItem":return(0,a.buildContentResourceForCompilationItemInOnDemandChannel)(t);case"SportsMatch":return(0,l.buildContentResourceForSportsMatchInOnDemandChannel)(t);case"Extra":return(0,o.buildContentResourceForHighlightInOnDemandChannel)(t);default:throw Error(`Unknown on demand channel program __typename "${n}"`)}});return Object.assign(Object.assign({},t),{contentType:"live-on-demand",onDemandContentResources:n})}return c(e)})},t.mapLivestreamContentResourceToLegacyContentResource=function(e){let t={brandLogo:e.brandLogo,brandName:e.brandName.unwrapOr(""),contentType:"live",externalTrackingId:e.externalTrackingId,highe
1086stStreamQualityProvided:e.highestStreamQualityProvided.unwrapOr("STANDARD_DEFINITION"),id:e.id,infOnlineCode:e.infOnlineCode.unwrapOr(""),requiredSubscription:e.requiredSubscription,title:e.title,tvShowId:e.tvShowId};if("live-on-demand"===e.contentType){let n=e.onDemandContentResources.map(e=>{let{contentType:t}=e;switch(t){case"movie":return(0,s.mapMovieOnDemandChannelContentResourceToLegacyContentResource)(e);case"series-episode":return(0,r.mapSeriesEpisodeOnDemandChannelContentResourceToLegacyContentResource)(e);case"compilation-item":return(0,a.mapCompilationItemOnDemandChannelContentResourceToLegacyContentResource)(e);case"sports-match":return(0,l.mapSportsMatchOnDemandChannelContentResourceToLegacyContentResource)(e);case"short-form":return(0,o.mapHighlightContentResourceToLegacyContentResource)(e);case"clip":return(0,i.mapClipContentResourceToLegacyContentResource)(e);default:throw Error(`Unknown on demand channel content type "${t}"`)}});return Object.assign(Object.assign({},t),{contentType:"live-on-demand",onDemandContentResources:n})}return t}},98263:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RestrictedContentButtonList=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=n(84808),s=a.default.ul({display:"flex",margin:0,padding:0}),l=a.default.li({listStyle:"none"});t.RestrictedContentButtonList=({listEntries:e,mainButtonHoverColor:t})=>(0,i.jsx)(s,{children:e.map((e,n)=>(0,i.jsx)(l,{children:"main"===e.type?(0,i.jsx)(o.MainButton,Object.assign({"aria-label":e.label,variant:"contained",hoverColor:t,onClick:e.handler},{children:e.label})):(0,i.jsx)(o.GhostButton,Object.assign({"aria-label":e.label,variant:"contained",onClick:e.handler},{children:e.label}))},n))})},98398:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fontSize=void 0;let n={big:"14px",bigger:"16px",biggest:"17px",normal:"12px",small:"10px",tiny:"8px"};t.fontSize={medium:{big:"17px",bigger:"21px",biggest:"22px",normal:"14px",small:"12px",tiny:"10px"},mini:n,small:{big:"16px",bigger:"21px",biggest:"22px",normal:"14px",small:"12px",tiny:"10px"},tiny:n}},98476:(e,t,n)=>{e.exports=n(35121).extend({isBlocking:function(e){return!e.params.sessionId}})},98653:(e,t,n)=>{"use strict";let r;n.d(t,{Ow:()=>a,pq:()=>o,vF:()=>r});var i=n(33184);let a=["debug","info","warn","error","log","assert","trace"];function o(e){if(!("console"in i.OW))return e();let t=i.OW.console,n={};a.forEach(e=>{let r=t[e]&&t[e].__sentry_original__;e in t&&r&&(n[e]=t[e],t[e]=r)});try{return e()}finally{Object.keys(n).forEach(e=>{t[e]=n[e]})}}function s(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?a.forEach(n=>{t[n]=(...t)=>{e&&o(()=>{i.OW.console[n](`Sentry Logger [${n}]:`,...t)})}}):a.forEach(e=>{t[e]=()=>void 0}),t}r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?(0,i.BY)("logger",s):s()},98687:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bootstrapCommonDependencies=t.bootstrapEnvironment=void 0;let r=n(70015),i=r.__importDefault(n(60654)),a=n(4068),o=n(23669),s=n(66975),l=n(20805),u=n(91723),c=n(65661),d=n(24348),p=n(10761),f=n(31408),h=n(90550),m=n(13053),g=n(46565),y=n(54556),v=n(97102),b=n(96035),_=n(57788),S=n(27725),E=n(98185),k=n(85123),A=n(36563),T=n(34748),x=n(91188),w=n(23889),C=n(20021),I=n(71212),O=n(44211),R=n(42872),P=n(75282),N=n(79837),L=n(35230),j=n(83278),M=n(94621),D=n(24474),F=n(19397),U=n(17653),V=n(56428),B=n(72678),G=n(62618),Y=n(79784),z=n(39504),W=n(93918),Z=n(91685);var H=n(60785);Object.defineProperty(t,"bootstrapEnvironment",{enumerable:!0,get:function(){return H.validateBuildEnvironment}});let K=(0,o.createRealClock)();t.bootstrapCommonDependencies=function(e,t){return r.__awaiter(this,void 0,void 0,function*(){return(0,Z.bootstrap)(Object.assign(Object.assign({},e),{buildContentResourceForClip:c.buildContentResourceForClip,buildContentResourceForExtra:m.buildContentResourceForExtra,buildContentResourceForHighlight:b.buildContentResourceForHighlight,buildContentResourceForMovie:T.buildContentResourceForMovie,buildContentResourceForSportsMatch:L.buildContentResourceForSportsMatch,buildContentResourcesForCompilationItem:f.buildContentResourcesForCompilationItem,buildContentResourcesForLivestreams:E.buildContentResourcesForLivestreams,buildContentResourcesForPlaylist:C.buildContentResourcesForPlaylist,buildContentResourcesForSeriesEpisode:R.buildContentResourcesForSeriesEpisode,clock:K,createConcurrentStreamingObserver:l.createConcurrentStreamingObserver,createConcurrentStreamingServiceClient:s.createConcurrentStreamingServiceClient,createErrorReporter:D.createErrorReporter,createFetchAndBuildContentResourcesForClip:u.createFetchAndBuildContentResourcesForClip,createFetchAndBuildContentResourcesForCompilationItem:p.createFetchAndBuildContentResourcesForCompilationItem,createFetchAndBuildContentResourcesForExtra:g.createFetchAndBuildContentResourcesForExtra,createFetchAndBuildContentResourcesForHighlight:S.createFetchAndBuildContentResourcesForHighlight,createFetchAndBuildContentResourcesForLivestreams:k.createFetchAndBuildContentResourcesForLivestreams,createFetchAndBuildContentResourcesForMovie:w.createFetchAndBuildContentResourcesForMovie,createFetchAndBuildContentResourcesForPlaylist:O.createFetchAndBuildContentResourcesForPlaylist,createFetchAndBuildContentResourcesForSeriesEpisode:N.createFetchAndBuildContentResourcesForSeriesEpisode,createFetchAndBuildContentResourcesForSportsMatch:M.createFetchAndBuildContentResourcesForSportsMatch,createFetchContentResources:v.createFetchContentResources,createFetchUserState:W.createFetchUserState,createFireAndForgetInvoker:F.createFireAndForgetInvoker,createGraphqlClient:a.createGraphqlClient,createGraphqlClientLegacy:U.createGraphqlClientLegacy,createHttpClient:V.createHttpClient,createLivestreamFetcher:A.createLivestreamFetcher,createLogger:B.createLogger,createToggleRouter:G.createToggleRouter,createUtmParametersApi:z.createUtmParametersApi,createYouboraTrackingProvider:Y.createYouboraTrackingProvider,fetchClip:d.fetchClip,fetchCompilationItem:h.fetchCompilationItem,fetchExtra:y.fetchExtra,fetchHighlight:_.fetchHighlight,fetchMovie:x.fetchMovie,fetchPlaylist:I.fetchPlaylist,fetchSeriesEpisode:P.fetchSeriesEpisode,fetchSportsMatch:j.fetchSportsMatch,ky:i.default,location:globalThis.location}),t)}
1086)}},98943:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createYouboraClientFactory=void 0;let r=n(70015).__importDefault(n(19577)),i=n(92712),a=n(8250);function o(e,t){return e.localeCompare(t)}let s=i.z.number().positive(),l=e=>s.safeParse(e).success,u=i.z.number().optional().nullable(),c=i.z.object({bitrate:u.transform(e=>l(e)?`@${e}`:""),height:u.transform(e=>l(e)?`x${e}`:""),width:u.transform(e=>l(e)?`${e}`:"")}).transform(({bitrate:e,height:t,width:n})=>{let i=`${n}${t}${e}`;return r.default.emptyString(i)?null:i});t.createYouboraClientFactory=function(e){let{youboraSdkWrapper:t,createAdsAdapter:n,createPlaybackAdapter:i,createYouboraStateContainer:s}=e;return function(e,l){let u=s(),{playbackAdapter:d,adsAdapter:p,plugin:f}=t.initializeSdk({adsAdapter:n(u),playbackAdapter:i(e,u),pluginOptions:Object.assign(Object.assign({accountCode:e.accountCode,"app.releaseVersion":e.appVersion,"content.id":l.assetId,"content.isLive":l.isLive,"content.title":l.assetTitle},r.default.nonEmptyString(e.deviceModel)?{"device.model":e.deviceModel}:{}),{httpSecure:!0})});return d.fireStart(),d.monitorPlayhead(!0,!1),p.monitorPlayhead(!0,!1),{adBreakStart(){p.fireBreakStart(),d.firePause()},adBreakStop(){d.fireResume(),p.fireBreakStop()},adBufferingEnded(){p.fireBufferEnd()},adBufferingStarted(){p.fireBufferBegin()},adClickThrough({clickThroughTarget:e}){p.fireClick(e)},adError({errorType:e,errorMessage:t,errorMetaData:n}){p.fireError(e,t,n)},adFirstQuartile(){p.fireQuartile(1)},adJoin(){p.flags.isJoined||p.fireJoin()},adPause(){p.firePause()},adResume(){p.fireResume()},adSecondQuartile(){p.fireQuartile(2)},adStart(){p.fireStart()},adStop(){p.fireStop()},adThirdQuartile(){p.fireQuartile(3)},bufferingEnded(){d.fireBufferEnd()},bufferingStarted(){d.fireBufferBegin()},contentJoin(){d.flags.isJoined||d.fireJoin()},destroy(){p.dispose(),d.dispose()},error({errorType:e,errorMessage:t}){d.fireError(e,t)},pause(){d.firePause()},resume(){d.fireResume()},seekEnd(){d.fireSeekEnd()},seekStart(){d.fireSeekBegin()},setState(e){u.setState(e);let t={},n=u.getStateProperty("enabledFeatures"),r=u.getStateProperty("errorDetails");null!==r&&(t.errorDetails=r);let i=c.safeParse({bitrate:u.getStateProperty("bitrate"),height:u.getStateProperty("height"),width:u.getStateProperty("width")});f.setOptions({"ad.blockerDetected":u.getStateProperty("adBlockerDetected"),"ad.customDimension.1":u.getStateProperty("slotType"),"content.customDimension.1":JSON.stringify(n.slice().sort(o)),"content.customDimension.2":(0,a.serializeFeatureSet)(u.getStateProperty("allFeatures")),"content.customDimension.3":u.getStateProperty("distributionTenant"),"content.customDimension.4":u.getStateProperty("utmCampaign"),"content.customDimension.5":u.getStateProperty("utmSource"),"content.customDimensions":t,"content.playbackType":u.getStateProperty("playbackType"),"content.rendition":i.success?i.data:null,"content.streamingProtocol":u.getStateProperty("streamingProtocol"),"content.type":u.getStateProperty("type"),username:u.getStateProperty("userId")})},stop(){d.fireStop()}}}}},98978:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProgramEntryProgress=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o="rgba(0, 0, 0, 0.3)",s="#fff",l=a.default.progress({"&::-moz-progress-bar":{backgroundColor:s},"&::-webkit-progress-bar":{backgroundColor:o},"&::-webkit-progress-value":{backgroundColor:s},appearance:"none",backgroundColor:o,border:"none",bottom:0,color:s,display:"block",height:"2px",left:0,position:"absolute",right:0,width:"100%"});t.ProgramEntryProgress=e=>{let{value:t}=e;return(0,i.jsx)(l,{value:t,max:100})}},99139:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RadioButton=void 0;let r=n(70015),i=n(80263),a=r.__importDefault(n(28909)),o=r.__importDefault(n(95611)),s=n(53239),l=a.default.input(({theme:e})=>({":checked + label":{backgroundColor:(0,o.default)(e.color.white,.2),fontFamily:e.fontFamilyBold},":checked + label:hover":{backgroundColor:e.color.white},display:"none"})),u=a.default.label(({theme:e})=>({":hover":{backgroundColor:e.color.white,color:e.color.black},borderRadius:"2px",cursor:"pointer",display:"block",fontSize:"16px",height:"36px",lineHeight:"36px",paddingLeft:"15px",paddingRight:"15px"}));t.RadioButton=e=>{let{id:t,checked:n,name:r,value:a,label:o,onChange:c}=e;return(0,i.jsxs)(s.Fragment,{children:[(0,i.jsx)(l,{type:"radio",id:t,checked:n,name:r,value:a,onChange:function(e){c(e.target.value)}}),(0,i.jsx)(u,Object.assign({className:e.className,htmlFor:t},{children:o}))]})}},99315:(e,t,n)=>{"use strict";
1086Object.defineProperty(t,"__esModule",{value:!0}),t.vastExtensionsSchema=void 0;let r=n(92712),i=n(23017),a=n(19687),o=r.z.object({$provider:r.z.string().optional(),value:r.z.string().optional()}),s=r.z.union([r.z.literal("duplicate"),r.z.literal("transcoding-error"),r.z.literal("ad-source-request-timeout")]),l=r.z.object({value:s}),u=r.z.object({$type:r.z.string().optional(),adverifications:r.z.union([i.vastAdVerificationsSchema,o]).optional(),iconclickfallbackimages:a.vastIconClickFallbackImagesSchema.optional(),invalidationReason:l.optional(),value:r.z.string().optional()}).passthrough().catchall(r.z.unknown());t.vastExtensionsSchema=r.z.object({extension:r.z.array(u).optional()})},99326:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VolumeMuteIcon=void 0;let r=n(80263),i=n(83947);t.VolumeMuteIcon=e=>(0,r.jsx)(i.IconContainer,Object.assign({},e,{children:(0,r.jsx)("path",{d:"M13.094 16.593v-5.156-4.423l-4.966 3.884a1.014 1.014 0 0 1-.625.214H4v5.776h3.503c.228 0 .448.076.625.214l4.966 3.884v-4.393zm2-5.655c1.977 1.647 1.977 4.478 0 6.125v5.957c0 .82-.97 1.276-1.625.764l-6.316-4.94H3c-.552 0-1-.438-1-.978v-7.732c0-.54.448-.978 1-.978h4.153l6.316-4.94c.655-.512 1.625-.056 1.625.764v5.958zm7.27 1.68l1.929-1.886a1.016 1.016 0 0 1 1.414 0c.39.382.39 1 0 1.383L23.778 14l1.93 1.886c.39.382.39 1 0 1.383a1.016 1.016 0 0 1-1.415 0l-1.929-1.886-1.93 1.886a1.016 1.016 0 0 1-1.413 0 .962.962 0 0 1 0-1.382L20.95 14l-1.93-1.886a.962.962 0 0 1 0-1.383 1.016 1.016 0 0 1 1.415 0l1.93 1.887z"})}))},99354:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listVideoDescriptorNames=void 0;let r=n(47561);function i(e){return e.map(e=>e.name).filter(r.Maybe.isJust).map(e=>e.value)}t.listVideoDescriptorNames=function(e){return e.map(i).unwrapOr([])}},99367:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vastUniversalAdIdSchema=void 0;let r=n(92712);t.vastUniversalAdIdSchema=r.z.object({$idregistry:r.z.string().optional(),$idvalue:r.z.string().optional(),value:r.z.string().optional()}).passthrough()},99656:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RawSha256=void 0;var r=n(69956);t.RawSha256=function(){function e(){this.state=Int32Array.from(r.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw Error("Attempted to update an already finished hash.");var t=0,n=e.byteLength;if(this.bytesHashed+=n,8*this.bytesHashed>r.MAX_HASHABLE_LENGTH)throw Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=e[t++],n--,this.bufferLength===r.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),n=this.bufferLength;if(t.setUint8(this.bufferLength++,128),n%r.BLOCK_SIZE>=r.BLOCK_SIZE-8){for(var i=this.bufferLength;i<r.BLOCK_SIZE;i++)t.setUint8(i,0);this.hashBuffer(),this.bufferLength=0}for(var i=this.bufferLength;i<r.BLOCK_SIZE-8;i++)t.setUint8(i,0);t.setUint32(r.BLOCK_SIZE-8,Math.floor(e/0x100000000),!0),t.setUint32(r.BLOCK_SIZE-4,e),this.hashBuffer(),this.finished=!0}for(var a=new Uint8Array(r.DIGEST_LENGTH),i=0;i<8;i++)a[4*i]=this.state[i]>>>24&255,a[4*i+1]=this.state[i]>>>16&255,a[4*i+2]=this.state[i]>>>8&255,a[4*i+3]=this.state[i]>>>0&255;return a},e.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,n=t[0],i=t[1],a=t[2],o=t[3],s=t[4],l=t[5],u=t[6],c=t[7],d=0;d<r.BLOCK_SIZE;d++){if(d<16)this.temp[d]=(255&e[4*d])<<24|(255&e[4*d+1])<<16|(255&e[4*d+2])<<8|255&e[4*d+3];else{var p=this.temp[d-2],f=(p>>>17|p<<15)^(p>>>19|p<<13)^p>>>10,h=((p=this.temp[d-15])>>>7|p<<25)^(p>>>18|p<<14)^p>>>3;this.temp[d]=(f+this.temp[d-7]|0)+(h+this.temp[d-16]|0)}var m=(((s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7))+(s&l^~s&u)|0)+(c+(r.KEY[d]+this.temp[d]|0)|0)|0,g=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&i^n&a^i&a)|0;c=u,u=l,l=s,s=o+m|0,o=a,a=i,i=n,n=m+g|0}t[0]+=n,t[1]+=i,t[2]+=a,t[3]+=o,t[4]+=s,t[5]+=l,t[6]+=u,t[7]+=c},e}()},99663:(e,t,n)=>{"use strict";
1086Object.defineProperty(t,"__esModule",{value:!0}),t.playlistTypeSchema=t.playlistTypePlaylistSchema=t.playlistTypeSportsMatchSchema=t.playlistTypeSeriesEpisodeSchema=t.playlistTypeMovieSchema=t.playlistTypeLivestreamSchema=t.playlistTypeHighlightSchema=t.playlistTypeClipSchema=t.playlistTypeExtraSchema=t.playlistTypeCompilationItemSchema=void 0;let r=n(70015).__importDefault(n(92712));t.playlistTypeCompilationItemSchema=r.default.literal("compilation-item"),t.playlistTypeExtraSchema=r.default.literal("extra"),t.playlistTypeClipSchema=r.default.literal("clip"),t.playlistTypeHighlightSchema=r.default.literal("highlight"),t.playlistTypeLivestreamSchema=r.default.literal("livestream"),t.playlistTypeMovieSchema=r.default.literal("movie"),t.playlistTypeSeriesEpisodeSchema=r.default.literal("series-episode"),t.playlistTypeSportsMatchSchema=r.default.literal("sports-match"),t.playlistTypePlaylistSchema=r.default.literal("playlist");let i=r.default.union([t.playlistTypeCompilationItemSchema,t.playlistTypeClipSchema,t.playlistTypeExtraSchema,t.playlistTypeHighlightSchema,t.playlistTypeMovieSchema,t.playlistTypeSeriesEpisodeSchema,t.playlistTypeSportsMatchSchema]);t.playlistTypeSchema=r.default.union([i,t.playlistTypePlaylistSchema,t.playlistTypeLivestreamSchema])},99918:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vastCreativeCompanionAdsSchema=void 0;let r=n(92712),i=n(65527),a=n(503),o=n(23751),s=r.z.object({$height:(0,o.zodIabStringSchema)(o.AdErrorMessage.ERROR_TYPE_MISSING),$id:r.z.string().optional(),$width:(0,o.zodIabStringSchema)(o.AdErrorMessage.ERROR_TYPE_MISSING),companionclickthrough:a.clickThroughSchema.optional(),companionclicktracking:r.z.array(a.clickTrackingSchema).optional(),htmlresource:r.z.object({value:(0,o.zodIabStringSchema)(o.AdErrorMessage.ERROR_TYPE_MISSING)}).optional(),iframeresource:r.z.object({value:(0,o.zodIabStringSchema)(o.AdErrorMessage.ERROR_TYPE_MISSING)}).optional(),staticresource:r.z.array(i.vastStaticResourceSchema).optional(),trackingevents:a.trackingEventsSchema.optional()}).passthrough();t.vastCreativeCompanionAdsSchema=r.z.object({companion:r.z.array(s).optional()}).passthrough()},99999:(e,t,n)=>{"use strict";n.d(t,{T2:()=>s,XW:()=>a,xg:()=>o});var r,i=n(48641);function a(e){return new s(t=>{t(e)})}function o(e){return new s((t,n)=>{n(e)})}!function(e){e[e.PENDING=0]="PENDING",e[e.RESOLVED=1]="RESOLVED",e[e.REJECTED=2]="REJECTED"}(r||(r={}));class s{__init(){this._state=r.PENDING}__init2(){this._handlers=[]}constructor(e){s.prototype.__init.call(this),s.prototype.__init2.call(this),s.prototype.__init3.call(this),s.prototype.__init4.call(this),s.prototype.__init5.call(this),s.prototype.__init6.call(this);try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new s((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new s((t,n)=>{let r,i;return this.then(t=>{i=!1,r=t,e&&e()},t=>{i=!0,r=t,e&&e()}).then(()=>{if(i)return void n(r);t(r)})})}__init3(){this._resolve=e=>{this._setResult(r.RESOLVED,e)}}__init4(){this._reject=e=>{this._setResult(r.REJECTED,e)}}__init5(){this._setResult=(e,t)=>{if(this._state===r.PENDING){if((0,i.Qg)(t))return void t.then(this._resolve,this._reject);this._state=e,this._value=t,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===r.RESOLVED&&e[1](this._value),this._state===r.REJECTED&&e[2](this._value),e[0]=!0)})}}}}}]);
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.